What AstroPT knows about galaxies, and what that can teach us about LLMs
Researchers used a galaxy-image AI (AstroPT) as an answer key to test whether interpretability tools that probe language models actually find real concepts
The team trained AstroPT, a GPT/BERT-style transformer, on millions of galaxy images and proposed it as a calibration testbed for interpretability methods normally applied to language models. Because astronomy already has known ground-truth difficulty and relationships among galaxy properties, they could check whether a model's learned representations emerge in the correct order and encode the correct relationships. They found that galaxy properties become decodable in the expected difficulty order, and that the probe directions reproduce the known signs of physical relationships between properties.
METAL LAB explanatory visual
Using AstroPT as an answer key to calibrate interpretability methods
Evidence statusMeasured results reported
- Input: galaxy image patchesMillions of galaxy images split into ordered patch sequences, trained self-supervised with GPT-like (AR) or BERT-like (MAE) objectives
- Known difficulty ladderr-band magnitude (near-direct from pixels), redshift (needs multiple bands), and sSFR (inferred) form a difficulty order known in advance from astrophysics
- Probing for emergence orderLinear probes measure when each property becomes decodable across training progress and network depth, checking it matches the known difficulty order
- Probing for relationship geometryCosine similarity between probe directions checks whether known sign relationships (luminosity-mass, sSFR-mass, redshift-mass) appear inside the model
- Causal check on mass residualTests whether the part of mass not explained by luminosity is separately represented, and uses activation patching to probe whether that information is causally used
What they did
- Quantities nearly readable straight from pixels (band magnitude) became decodable early in training and in shallow layers, while quantities requiring multi-band or inferred information (redshift, specific star formation rate) emerged later in training and deeper in the network.
- This emergence order held across both GPT-like autoregressive (AR) and BERT-like masked-autoencoding (MAE) training objectives, and stayed fixed across model sizes (1M/21M/100M parameters), with larger models only raising scores, not reordering them.
- Comparing the direction vectors learned by linear probes (simple linear regressions that read a specific property out of the model's hidden representations), luminosity and stellar-mass directions were strongly aligned, sSFR and mass were anti-aligned, and redshift and mass were positively aligned, matching the known sign structure from galaxy physics.
- The 'residual' part of stellar mass that luminosity alone cannot predict was represented in a direction nearly orthogonal to the luminosity direction, suggesting the model does not treat mass merely as a stand-in for luminosity.


| Config | R2(ℓr) | R2(M⋆) | R2(ϵM|ℓr) | R2(logsSFR) | R2(z) |
|---|---|---|---|---|---|
| AR 1M | 0.422 [0.420, 0.424] | 0.535 [0.533, 0.536] | 0.101 [0.099, 0.104] | 0.258 [0.256, 0.260] | 0.410 [0.408, 0.412] |
| AR 21M | 0.499 [0.496, 0.501] | 0.610 [0.608, 0.612] | 0.109 [0.104, 0.114] | 0.298 [0.295, 0.302] | 0.503 [0.499, 0.506] |
| AR 100M | 0.530 [0.526, 0.533] | 0.639 [0.636, 0.641] | 0.110 [0.103, 0.116] | 0.309 [0.304, 0.313] | 0.573 [0.568, 0.576] |
| MAE 1M | 0.356 [0.354, 0.358] | 0.454 [0.452, 0.456] | 0.085 [0.082, 0.087] | 0.248 [0.245, 0.250] | 0.328 [0.326, 0.330] |
| MAE 21M | 0.350 [0.347, 0.354] | 0.446 [0.443, 0.449] | 0.070 [0.065, 0.075] | 0.228 [0.224, 0.232] | 0.323 [0.319, 0.327] |
| MAE 100M | 0.386 [0.381, 0.390] | 0.488 [0.484, 0.491] | 0.080 [0.075, 0.085] | 0.246 [0.243, 0.250] | 0.349 [0.343, 0.354] |

Findings
- r-band magnitude (a directly observable quantity) was decoded earliest and most strongly, in both training progress and shallow layers; redshift followed more weakly; sSFR remained only weakly decodable within one training epoch (Fig. 2).
- This difficulty ordering was invariant across both AR and MAE training objectives and across all tested model sizes (1M/21M/100M parameters), with capacity raising average probe performance rather than reordering properties.
- Probe direction comparisons showed luminosity and stellar-mass directions strongly aligned, sSFR and stellar-mass directions anti-aligned, and redshift and stellar-mass directions positively aligned, matching the known sign structure of galaxy relationships (Fig. 3, compared against label-space baselines in Fig. 4).
- The mass residual not explained by luminosity was much harder to decode (lower R2) than luminosity or stellar mass, and its probe direction was nearly orthogonal to the luminosity direction, far less aligned than the stellar-mass direction is (Fig. 10, Fig. 11, Table 1).
- In an activation-patching experiment swapping activations between galaxy pairs with similar luminosity but different mass residuals, the residual prediction moved toward the source galaxy more often than in same-residual or shuffled-probe control conditions (Fig. 12).
Where it can be used
- Testing methods that ask when concepts emerge during training and at what network depth, first in a domain with known ground truth (astronomy) before applying them to language models.
- Validating whether linear probe directions actually capture real relationships between concepts, a methodology that could extend to other scientific foundation models.
- Using galaxy datasets as a benchmark for causal-tracing techniques such as activation patching.
Limits and open work
- Galaxies are not language and image patches are not discrete tokens; the paper does not claim astronomical data itself is useful for pre-training LLMs.
- The analysis is correlational, and the physical labels used as ground truth are themselves catalog-inferred values that may carry their own error.
- Pre-training was limited to one epoch and a relatively small sweep of model sizes ({1M, 21M, 100M} parameters).
- Linear probes only reveal information that is linearly accessible in the tested embedding spaces, potentially missing nonlinearly encoded structure.
- The activation-patching experiment on the mass residual is described as exploratory and would need further validation.

Why it matters
Interpretability research on language models asks when concepts emerge and whether probes recover real structure, but language offers no ground truth to check these claims against. Astronomy provides a domain where the difficulty and relationships among concepts are already known, giving researchers an answer key to calibrate the same interpretability tools before applying them blindly to LLMs.
Terms in this paper
- AstroPT · A transformer trained on galaxy images split into patch sequences, using GPT-like or BERT-like self-supervised objectives
- linear probe · A simple linear regression fit on a model's frozen hidden representations to test whether a target property can be read out
- redshift · A measure of how much a galaxy's light has stretched due to cosmic expansion, requiring multiple photometric bands or spectra to estimate
- specific star formation rate (sSFR) · Star formation rate divided by stellar mass, an inferred and indirect physical quantity
- cosine similarity · A measure of how aligned two direction vectors are; positive means similar direction, negative means opposite
Original abstract (English)
Interpretability research increasingly asks when concepts emerge during training and whether linear probes recover real structure, but in language models these claims are hard to validate because language offers little ground-truth ordering of concepts or relationships among them. We propose the use of astronomical ground truth through AstroPT, a transformer trained on millions of galaxy images, as a calibration testbed. AstroPT is an LLM-like model trained within a domain where the difficulty ordering of concepts and the relations among them are known in advance. Probing frozen representations across checkpoints, layers, model sizes, and objective choices, we find that galaxy properties emerge in a fixed order that tracks their known difficulty---quantities written almost directly into the pixels (band magnitude) become decodable early in training and shallow in the network, while multiband/spectra based and inferred quantities (such as redshift and specific star formation rate) emerge later and deeper. This order is invariant to our tested training objectives, and scales in magnitude but not in sequence with capacity. Our linear probe directions further recover the known physical structure among galaxy properties. Our findings suggest that astronomy offers a controlled sandbox for calibrating mechanistic interpretability methods we otherwise apply to LLMs blind.
Read on arXivLatest papers
- FIRSTPASS: A Multi-Domain, Multi-Round Peer Review Dataset Grounded in Real Editorial OutcomesA dataset that finally teaches AI what biology, chemistry, and physics peer reviewers actually argue about, not just CS reviewers
- JIT-Agent: Scaling Harness Intelligence via Just-in-Time Harness EvolutionAn AI system that writes a custom 'operating scaffold' for other AI agents on the spot, for every new task
- The Dialect Tax: Dialectal Biases Persist throughout the Language Modeling PipelineAI language models still charge a hidden 'dialect tax' on AAVE and other non-standard English at every stage, not just tokenization
- Sycophantic Chatbots Cause Delusional Spiraling, Even in Ideal BayesiansA math model shows that even a perfectly rational person can be talked into delusion by a chatbot that keeps agreeing with them
- Autonomous Mathematical Discovery in an Open-World Multi-Agent EnvironmentAI agents from different companies self-organized in an open-world simulation and produced new results on five math problems, with no one directing them
- Automata from Agent Traces: Failure and Next-Step PredictionCompressing thousands of LLM agent execution logs into one tiny 7-to-43-state machine that predicts both the next action and eventual failure
- MARS: Multi-Specialist LLM Relay System for Competitive ProgrammingLetting topic-specialist AIs take turns fixing code beats one generalist coder on programming contest problems
- AgentRoom: Concurrent Multi-Agent Coding in a CRDT-Backed Shared WorkspaceLetting multiple AI coding agents share one workspace and coordinate in real time beats running them one-by-one or in uncoordinated parallel
Latest from METAL LAB
- Claude Code's weekly limit rises 25% permanently on Sept 14, but that's actually a cut
- Musk says 15GW of 2027 AI compute won't switch on even with power secured
- Claude Code Gets Faster Startup, Clearer Token Tracking, Remote Control Fixes
- NVIDIA, Salesforce earnings ease AI spending worries
- OpenAI to end Cursor contract in November after SpaceX acquisition
Figures: UniverseTBD et al., arXiv:2608.22614, CC BY-SA 4.0