Papers › Photometric Redshifts from SDSS Images with an Interpretable Deep Capsule Network

Photometric Redshifts from SDSS Images with an Interpretable Deep Capsule Network

7 Dec 2021arXiv:2112.03939links table onlyarchive 2025-07-28

Biprateep Dey, Brett H. Andrews, Jeffrey A. Newman, Yao-Yuan Mao, Markus Michael Rau, Rongpu Zhou

The archive published only this paper's code-link row. Authors, date and abstract are from arXiv's metadata (CC0), read from the Kaggle arXiv metadata snapshot of 2026-09-12 where its title matched the archive's; the title is the archive's.

Studies of cosmology, galaxy evolution, and astronomical transients with current and next-generation wide-field imaging surveys like the Rubin Observatory Legacy Survey of Space and Time (LSST) are all critically dependent on estimates of photometric redshifts. Capsule networks are a new type of neural network architecture that is better suited for identifying morphological features of the input images than traditional convolutional neural networks. We use a deep capsule network trained on ugriz images, spectroscopic redshifts, and Galaxy Zoo spiral/elliptical classifications of ∼400,000 Sloan Digital Sky Survey (SDSS) galaxies to do photometric redshift estimation. We achieve a photometric redshift prediction accuracy and a fraction of catastrophic outliers that are comparable to or better than current methods for SDSS main galaxy sample-like data sets (r≤17.8 and z_(spec)≤0.4) while requiring less data and fewer trainable parameters. Furthermore, the decision-making of our capsule network is much more easily interpretable as capsules act as a low-dimensional encoding of the image. When the capsules are projected on a 2-dimensional manifold, they form a single redshift sequence with the fraction of spirals in a region exhibiting a gradient roughly perpendicular to the redshift sequence. We perturb encodings of real galaxy images in this low-dimensional space to create synthetic galaxy images that demonstrate the image properties (e.g., size, orientation, and surface brightness) encoded by each dimension. We also measure correlations between galaxy properties (e.g., magnitudes, colours, and stellar mass) and each capsule dimension. We publicly release our code, estimated redshifts, and additional catalogues at https://biprateep.github.io/encapZulate-1 .

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2112.03939")

Code

Syntology Ran 0 of 17 code samples harvested from 1 repository linked to this paper; 17 have no recorded run.

By repository: official repository: 17 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

17 samples harvested; 0 ran; 0 honoured the contract we drafted; 17 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

17unverified

Licence: 0 of the 17 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from biprateep/encapZulate-1. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

CapsNet biprateep/encapZulate-1/src/encapzulate/models/mnist.py official repository unverified MIT (permissive) · 4c2151e7395bab36 · report
CapsNet biprateep/encapZulate-1/src/encapzulate/models/morphCaps.py official repository unverified MIT (permissive) · 6cb5c4cdcc763ed0 · report
PrimaryCap biprateep/encapZulate-1/src/encapzulate/base/capsulelayers.py official repository unverified MIT (permissive) · 14652bd7094d5f4e · report
central_bias biprateep/encapZulate-1/src/encapzulate/base/loss.py official repository unverified MIT (permissive) · 81c96231f346fb2e · report
central_mse biprateep/encapZulate-1/src/encapzulate/base/loss.py official repository unverified MIT (permissive) · fa884912b636d261 · report
evaluate biprateep/encapZulate-1/src/encapzulate/base/run_model.py official repository unverified MIT (permissive) · bcc255c29c35ada2 · report
load_cifar10 biprateep/encapZulate-1/src/encapzulate/data_loader/data_loader.py official repository unverified MIT (permissive) · d918fcad643bf10e · report
load_data biprateep/encapZulate-1/src/encapzulate/data_loader/data_loader.py official repository unverified MIT (permissive) · cc46682041726145 · report
load_mnist biprateep/encapZulate-1/src/encapzulate/data_loader/data_loader.py official repository unverified MIT (permissive) · ea3d5625d0edc156 · report
mqe biprateep/encapZulate-1/src/encapzulate/base/loss.py official repository unverified MIT (permissive) · 41b0a8638f636a11 · report
own_batch_dot biprateep/encapZulate-1/src/encapzulate/base/batchdot.py official repository unverified MIT (permissive) · 9c7dfeb5dfb34d6c · report
predict biprateep/encapZulate-1/src/encapzulate/base/run_model.py official repository unverified MIT (permissive) · 294b452ea4501cb9 · report
squash biprateep/encapZulate-1/src/encapzulate/base/capsulelayers.py official repository unverified MIT (permissive) · ae823ae127199b54 · report
squash biprateep/encapZulate-1/src/encapzulate/base/deepCapsLayers.py official repository unverified MIT (permissive) · 7c3da8b78efbfce9 · report
squeeze biprateep/encapZulate-1/src/encapzulate/base/deepCapsLayers.py official repository unverified MIT (permissive) · e7e5a13dd8c18121 · report
train biprateep/encapZulate-1/src/encapzulate/base/run_model.py official repository unverified MIT (permissive) · 79a4779ca17d1af8 · report
update_routing biprateep/encapZulate-1/src/encapzulate/base/deepCapsLayers.py official repository unverified MIT (permissive) · 2b1b2c6fa385e1f1 · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections