TRANSMISSION // 2612.04532v1

How ContrAst organizes galaxy data clues

Source published

ContrAst separates information shared by galaxy images and spectra from modality-specific information, then tests whether this helps with morphology and redshift tasks. Results vary by task and evaluation method.

AI-generated conceptual illustration for How ContrAst organizes galaxy data clues
AI-generated conceptual illustration; not documentary evidence.

Galaxy images and spectra describe the same objects in different ways. ContrAst separates their overlapping and modality-specific information, then tests whether that organization helps with selected astronomy tasks. The results are promising in some tests, but do not show a general performance gain.

Astronomers study galaxies through different kinds of evidence. Images show visible structure, while spectra—the spread of light by wavelength—can reveal clues such as redshift. These data types overlap, but neither contains exactly the same information as the other.

That raises a question for machine learning: should a model mix information from different data types, or separate what they share from what is unique to each? A preprint introducing ContrAst explores the second approach, testing whether deliberately organizing information can make it more useful for particular astronomy tasks.

Sorting shared and distinct clues

ContrAst is a self-supervised framework: it learns from the structure of the data rather than relying only on task labels during its initial training. It creates two representations for each input type. A shared representation is trained to capture information common to image and spectrum data. A private representation is intended to retain information specific to that input type.

The method uses contrastive learning, which encourages selected examples to have similar representations, alongside information-theoretic objectives designed to encourage or discourage particular forms of overlap. It also uses astronomy-aware image and spectrum augmentations. For images, these include rotations and flips, along with simulated noise or artifacts. The aim is to reduce reliance on unwanted observational effects while retaining useful features.

The researchers did not train a new astronomical foundation model from scratch. Instead, they applied ContrAst’s trainable extractor networks to embeddings from AION-1, a pretrained multimodal astronomy model. Their astronomical data combined DESI spectra with grz-band images from the DESI Legacy Surveys. The paper reports more than four million cross-matched objects for training the extractors.

They evaluated the resulting embeddings on two tasks: classifying galaxy morphology and estimating redshift. For each task, they tested three prediction approaches: k-nearest neighbors, which uses nearby examples in representation space; a linear probe, which tests whether a simple linear rule can extract the answer; and a small multilayer perceptron (MLP), which can learn more complex relationships. The comparison was with AION-1 embeddings.

Gains depend on the task and test

The results were mixed, not a blanket win. For galaxy morphology, the image-specific ContrAst representation and the spectrum’s shared representation improved k-nearest-neighbor accuracy over the AION-1 baseline. Linear-probe and MLP performance was described as comparable to the baseline.

For redshift estimation, the image’s shared representation improved k-nearest-neighbor and MLP results and was close to the baseline on the linear probe. The shared spectrum representation matched the already very strong AION-1 results; the authors describe that baseline as near-saturated for this task. The private spectrum representation did not match it, performing substantially worse on the reported tests.

These patterns fit the authors’ interpretation that galaxy shape is most directly visible in images, while spectral-line shifts can provide redshift information. Images can still carry redshift clues, and spectra can carry information related to morphology. Separating shared from private information may make some clues easier for a particular prediction method to use. It does not establish a definitive physical division between kinds of information.

A key detail is that the strongest reported improvements often appeared with k-nearest neighbors. That method tests how well nearby points group together in representation space; it does not show that every downstream model will perform better. There is also a comparison caveat: the study’s image input used three bands, whereas the cited AION-1 morphology result used four. The authors report a lower AION-1 MLP result under their three-band setup and note that this input is technically outside the image embedder’s usual input distribution.

A promising test, not a general verdict

ContrAst’s factorization depends on training objectives and loss weights, and those choices involve trade-offs. In a toy-data experiment, stronger separation could reduce unwanted overlap, but excessive factorization also weakened the desired recovery of genuinely shared or modality-specific information. Separating representations is therefore not automatically beneficial; the balance matters.

The evaluation covers two tasks and particular datasets, labels, model settings and input bands. The authors say more work is needed to understand when the approach helps most, and propose testing other tasks and additional modalities. The results suggest that reorganizing pretrained embeddings can improve access to some task-relevant information, not that the same gains will transfer to other surveys or scientific questions.

The manuscript describes the work as accepted at the 9th Workshop on Machine Learning and the Physical Sciences (ML4PS 2026), but that status is not independently verified here. The work is available as an arXiv preprint; preprint findings should be treated as provisional.

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