TRANSMISSION // 2612.00497v1

Gandalf aims to ease galaxy-survey calibration

Source published

A machine-learning emulator trained on Dark Energy Survey image injections reproduces many galaxy-selection and measurement effects, but one redshift bin shows a notable offset.

AI-generated conceptual illustration for Gandalf aims to ease galaxy-survey calibration
AI-generated conceptual illustration; not documentary evidence.

Weak-lensing studies need reliable estimates of how far away their galaxies are. Gandalf is designed to make a demanding calibration step more computationally efficient. Tests on Dark Energy Survey data show where its emulation agrees with an existing method—and where it still needs work.

Weak gravitational lensing offers a way to study how matter is distributed across the universe: gravity from foreground structures subtly distorts the apparent shapes of more distant galaxies. To interpret those distortions, researchers need to know the galaxies’ distances. In large surveys, distances are often inferred from broadband colors rather than measured individually. The survey’s observing conditions and measurement process also affect which galaxies are detected and what their measured colors look like.

A calibration method must account for this observational filter, known as the survey transfer function. The Dark Energy Survey (DES) has used Balrog, which inserts modeled galaxies into real survey images and runs the images through the standard processing pipeline. This produces paired information: each injected galaxy’s input properties and how it was measured afterward. The approach is useful, but computationally expensive.

A new preprint introduces Gandalf, a machine-learning emulator trained to reproduce Balrog’s selection and measurement effects. The researchers ask whether it can generate useful Balrog-like catalogs for redshift calibration while retaining accuracy relevant to weak-lensing analyses. The method is intended to make it easier to generate additional samples; the paper does not report a direct runtime or speed comparison.

Learning selection and measurement

The researchers trained Gandalf using DES Year 3 (Y3) Balrog injections, deep-field galaxy properties, and maps of local observing conditions, including image sharpness, airmass, limiting magnitude, and Galactic dust extinction. The training data included more than 21 million injected objects for the selection model and more than 7 million objects passing the broader selection used to train the measurement model.

Gandalf has two parts. First, a probabilistic classifier estimates whether an object with particular intrinsic properties, observed under particular conditions, passes the training selection. Second, a conditional normalizing flow—a generative machine-learning model—samples likely measured properties for selected objects. These include photometry and shape-related quantities. The team then applies the DES Y3 weak-lensing selection cuts and uses the resulting catalog in the existing SOMPZ redshift-calibration method.

The tests compare selection rates and measured-property distributions against Balrog, then check whether the two catalogs lead to similar redshift distributions across the four tomographic bins used in DES Y3. Tomographic bins group galaxies by estimated distance for analysis.

Close agreement, with a notable exception

For the training selection, Gandalf’s overall selected fraction was 0.3330, compared with 0.3335 for Balrog. The paper reports that the model captures the main selection trends and generally reproduces measured-property distributions in well-populated regions. Differences are more apparent in sparse regions, distribution tails, and near sharp selection boundaries, including faint magnitude limits.

The broad shapes of the redshift distributions agree across all four bins. The mean-redshift differences (Gandalf minus Balrog) were 0.0049, −0.0028, −0.0123, and −0.0071. The authors compare these offsets with an adopted DES Y3 redshift-calibration uncertainty of 0.01. The differences in bins one, two, and four fall within that interval; the third-bin offset does not. In that bin, the Gandalf bootstrap results indicate that finite sampling alone does not explain the discrepancy.

A mismatch in measured galaxy properties can carry through calibration into a shift in the estimated distance distribution. The authors examined the cells with the largest differences and found no conspicuous color-based explanation. Identifying which parts of the measured-property space drive the third-bin offset remains an open task.

A complement, not a replacement

Gandalf’s intended practical benefit is to generate additional transfer-function samples from a model trained on image-level injections, rather than repeating the full injection and image-processing workload for every sample. The paper presents it as a complement to Balrog, not a replacement for the image-based reference data. Nor does it show that the emulator improves cosmological measurements: the study tests transfer-function emulation and redshift calibration, not a full cosmological-parameter analysis.

The evidence is specific to a model trained and tested using DES Y3 data and that analysis pipeline. The authors identify further work, including investigating residuals, testing spatially dependent training and test splits, and propagating emulator errors into cosmological parameter estimates. Results on one survey setup do not establish performance for other surveys or observing conditions.

This article is based on a December 2026 preprint, rather than a peer-reviewed publication. The paper notes that it underwent internal DES collaboration review, but that is not the same as external journal review. Its findings should be read as a research result awaiting further scrutiny and validation.

Reviewed cross-references

These connections were reviewed by a model, not independently fact-checked by a human. Similarity does not imply agreement; consult the original papers and the evidence below.

  • DES cosmic shear sharpens a view of matter

    Shared method: Both studies use Balrog injections to represent survey selection effects within SOMPZ redshift calibration: Gandalf emulates the DES Year 3 transfer function and compares resulting redshift distributions with Balrog, while the DES Year 6 cosmic-shear analysis uses Balrog to connect deep-field phenotypes to wide-field detections. This is a methodological connection, not evidence that the emulator was used or validated in the Year 6 analysis.

    Model review: · openai-codex/gpt-6-luna

    Evidence and provenance

    Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.

    • 2612.00497v1 — Original paper

      Excerpt reference: static/papers/2612.00497v1.md:1239-1376
      Basis: Paper text
      Source file SHA-256: bfe6c928c41024dd66d91f1bed2b4593a81a18aa4d4241ccf58ae6abc039b61f

    • 2602.10065v2 — Original paper

      Excerpt reference: static/papers/2602.10065v2.md:420-479
      Basis: Paper text
      Source file SHA-256: 89cf16decd73ce531556caad8a7d26480aebab43a895803dc977060e8a2ef38d

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.