Manuscript Offprint
arXiv:2608.22614What AstroPT knows about galaxies, and what that can teach us about LLMs
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.
Abstract
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.
1 Astronomy for machine learning
Large language models are hard to interpret in part because their training data is broad, messy, and not grounded in known relations (Bell & de Jong, 2001; Bommasani et al., 2021). Scientific foundation models promise a cleaner setting. In astronomy, many relationships in the data are already known from theory, observation, and long-standing empirical work (e.g. Courteau et al., 2007; Conroy, 2013; UniverseTBD et al., 2025; Dolag et al., 2025). This perspective permits us to ask two questions: when such a model is trained, does its hidden space recover known scientific structure? And can we use that structure as a tool to probe the model's learning dynamics and internalized knowledge?
Modern sky surveys contain millions of galaxy images tied to physical quantities such as brightness, size, stellar mass, morphology, redshift, and star formation history (The Multimodal Universe Collaboration, 2024). These quantities form a natural ladder of difficulty. Some are close to the raw pixels: an apparent magnitude is essentially the galaxy's integrated flux. Other quantities require more physics knowledge and computation to recover—redshift depends on multiple photometric bands or galaxy spectra, and the specific star formation rate is more indirect still (Noeske et al., 2007; Speagle et al., 2014). Galaxy properties are also not independent: stellar mass scales with luminosity, star formation activity anti-correlates with stellar mass, and observed redshift correlates with mass due to survey selection effects. This gives us both a difficulty ordering and a set of known
*Alphabetical ordering, contributions at end of paper. Correspondence to: mike@mjjsmith.com.
relationships, so we can test whether a model merely internalizes only individual labels or also preserves the geometry that connects them.
We study these questions using AstroPT (Fig. 1; Smith et al., 2024; Euclid Collaboration et al., 2025), a model deliberately built to resemble a large language model (LLM). It treats an astronomical observation as a sequence of data chunks: a galaxy image is split into ordered patches, the patches are treated like tokens, and the model learns in a self-supervised way by reconstructing dropped chunks in either an autoregressive GPT-like or masked autoencoding BERT-like fashion (Radford et al., 2018; Devlin et al., 2019). This architectural choice follows Sutton (2019): a scalable general architecture should win out over a bespoke one, and the precise design matters little provided it scales, so the most developed and community-supported option is preferred. That option—the causal autoregressive transformer—is also technically convenient for the many modal domain of astronomy, as it facilitates efficient training and modality fusion by simple token-chaining.
Our goal is not to claim that AstroPT discovers new galaxy laws from scratch. Instead, we ask whether our interpretability tools recover this known structure inside an LLM-like model, whether the order in which that structure emerges tracks known difficulty, whether the latent space geometry preserves the known relationships, and whether these signals survive changes of training recipe. This turns astronomy into a controlled testbed for the developmental, probe-based interpretability methods we otherwise apply to LLMs blind.
A Data
DESI-LS DR8 galaxy
postage stamp
, grz bands
Pretraining set: 8.6M galaxy images
B Spiral tokenization
Patchify and order patches in outward spiral
C AstroPT pretraining
next-patch prediction, self-supervised

Patch
normalization
mean = 0,
std = 1
MLP
tokenizer
- position
embedding
Causal Transformer Decoder
masked self-attention
Next patch
(shifted)
Spiralized patch sequence
Input (previous patches)
Targets (next patches)
Predict next patch
loss: Huber loss
use pretrained AstroPT embeddings
D Downstream scientific use
Penultimate-layer embeddings
Average penultimate-layer outputs over central 64 tokens
Linear probes
Stellar mass
mean sSFR
Galaxy Zoo morphology
Absolute magnitudes
Figure 1: Overview of AstroPT. Galaxy images are split into ordered patch sequences and used to train a GPT (pictured here) or BERT-style transformer via a patch reconstruction objective. The learned embeddings are then used for downstream probes of galaxy properties.
We find that: (1) The order in which galaxy properties become decodable during pre-training tracks their known separation from low-level pixel statistics, and the same order recurs along network depth. We find that directly recoverable quantities emerge early in training and shallow in the network, more complex quantities later and deeper. (2) This order is invariant to training objective, and scales in magnitude but not in sequence with model capacity, so it is a property of the learning problem rather than of the recipe. (3) Our physics probe directions recover the known sign structure among galaxy properties.
More difficult properties emerge later in our training runs. The upper line plots in Fig. 2 show held-out as a function of training progress. We find that our probed properties do not become decodable together, but that the order in which they emerge tracks their known difficulty. mag r rises first and highest, redshift follows, and sSFR stays weak and does not robustly emerge within one epoch. The ordering is fixed across model size, with average probe performance rising with model capacity as expected.

Figure 2: Concepts emerge in a fixed, difficulty-ordered sequence. Held-out mag r, redshift, and sSFR as a function of pre-training progress and model depth. Directly recoverable photometric information (r-band magnitude) is decoded earliest and most strongly; redshift follows more weakly; specific star formation rate remains weakly retrievable after one epoch at our model parameter counts. Likewise, our directly recoverable quantities peak in shallow layers, while integrated and inferred quantities peak deeper. The order is fixed across model size, with capacity raising the attained score rather than reordering the properties.
More difficult properties emerge later in our network architectures. The same ‘difficulty’ ordering also appears as a function of network depth. The rightmost line plots in Fig. 2 show layer-wise held-out . r-band magnitude is decodable early and broadly across layers, while redshift is weak near the input and becomes stronger in later layers. sSFR remains weak across depth, showing that it too complex to learn accurately in a single epoch at our tested model capacity. Along with the training time curves, the heatmaps show us that easier photometric features appear early while more integrated physical quantities become accessible later in training and deeper in the network.
*https://hf.co/datasets/Smith42/galaxies
The order of property emergence is not dependent on objective. If the emergence order were an artifact of the training objective rather than of the data, it should reorder when we change the objective. Fig. 2 shows it does not. We see that the AR and MAE objectives reproduce the same difficulty ordering across our tested model capacities. The ordering therefore reflects what the representation must encode about galaxies, and is not a property of the model pre-training objective.
Our probes’ directions recover known physical structure. Beyond single properties, the directions that our probes assign to different quantities encode the relationships among them. Fig. 3 shows that across our model sweep the luminosity and stellar-mass directions are strongly aligned, the sSFR and mass directions anti-aligned, and the redshift and mass directions positively aligned—the known sign structure of these relationships. We can predict these from known galaxy physics. Luminosity tracks stellar mass because more massive galaxies host more stars; within the star-forming population galaxies follow the well-established main sequence, , with a sub-linear slope (Speagle et al., 2014), so since the sSFR-mass direction is mildly anti-aligned; and the redshift-mass alignment arises primarily from a Malmquist-style selection effect (Malmquist, 1922), as fainter high-redshift galaxies enter a flux-limited sample only when they are brighter and more massive. We also ask a deeper question about the models’ relational encoding of mass and luminosity. To do so we first use to denote the mass residual at fixed luminosity, , the part of stellar mass that luminosity alone cannot predict. We define the absolute -band log-luminosity as , where is the absolute magnitude. A model treating mass as a mere luminosity shortcut would keep the residual direction aligned with the luminosity direction; instead the residual direction is nearly orthogonal to luminosity, increasingly so in our larger models, suggesting AstroPT represents mass-at-fixed-luminosity as a distinct factor. Label-space relationships and their drivers, probe construction, and bootstrapped confidence intervals are shown in Apps. A, B.

Figure 3: Probe geometry recovers the signs of known galaxy relationships. Across model sizes, luminosity and stellar-mass directions are strongly aligned, sSFR and stellar-mass directions are anti-aligned, redshift and stellar-mass directions are positively aligned, and the mass residual is much less aligned with luminosity than stellar mass is, matching the known sign structure of these relationships.
Limitations. Galaxies are not language and image patches are not discrete tokens; we do not claim here that astronomical data is itself useful for the pre-training of LLMs, but that a model which learns like an LLM allows us to calibrate and explore interpretability methods we otherwise apply blindly. While the physical property emergence ordering we recover in this work is robust across our tested objectives and model sizes, several limitations bound its reach and mark avenues we will address in extended future work: our analysis is correlational; our physical labels are catalog-inferred; pre-training is limited to one epoch and a relatively small sweep of parameters; and our linear probes reveal only what is linearly accessible in our tested embedding spaces.
Towards an ‘answer key’ for mechanistic interpretability. We find that galaxy properties become decodable in order of physical complexity across both the extent of pre-training run, and also along network depth. We expect this is because features more directly recoverable from the galaxy image input should emerge earlier in training and shallower in the network, while features that require more complicated integration or inference should emerge later and deeper. We find that the sequence of decodability is invariant to the training objective and to model size. Our probe directions reproduce the known sign structure among physical properties, suggesting that the models internalise the properties in a uniform physically-coherent manner. This is direct evidence that our probes read out real physical structure—evidence that cannot be easily replicated in language due to data constraints. We have undertaken this brief case study as we believe that astronomy offers an underused and underappreciated mechanistic toolbox for the study of language models; astronomy enjoys an abundance of openly accessible data, well-defined physical relations that govern its data, and finds itself happily embroiled within a bubbling wave of foundation model development (Smith & Geach, 2023). We close in the hope that this work encourages more research and effort in the young field of ‘astronomy for AI’.
Contributions
KD developed the embedding processing and extraction software, conducted investigations informing property selection and tokenization strategy, and contributed to reviewing and editing the manuscript.
AK ran experiments before finalization of the experiment code, and reviewed and edited the manuscript.
MJS wrote the AstroPT pre-training code, created figures 2 and 3, wrote the body of the paper, contributed to review and editing, and guided project work.
SS designed which astronomy equations to use and discover, writing, reviewing the initial and final draft, making figure 1, table 1, doing inference and preparing the initial figure 2 and 3. Prepared figures 5–12.
All authors conceptualized the project via ‘strong aura’.
References
E. F. Bell and R. S. de Jong. Stellar Mass-to-Light Ratios and the Tully-Fisher Relation. ApJ, 550(1):212–229, March 2001. doi: 10.1086/319728.
S. Biderman, H. Schoelkopf, Q. G. Anthony, H. Bradley, K. O'Brien, E. Hallahan, M. A. Khan, S. Purohit, U. S. Prashanth, E. Raff, et al. Pythia: A Suite for Analyzing Large Language Models Across Training and Scaling. In International Conference on Machine Learning, pp. 2397–2430. PMLR, 2023. URL https://proceedings.mlr.press/v202/biderman23a.html.
R. Bommasani, Drew A. Hudson, Ehsan Adeli, Russ Altman, Simran Arora, Sydney von Arx, Michael S. Bernstein, Jeannette Bohg, Antoine Bosselut, Emma Brunskill, Erik Brynjolfsson, Shyamal Buch, Dallas Card, Rodrigo Castellon, Niladri Chatterji, Annie Chen, Kathleen Creel, Jared Quincy Davis, Dora Demszky, Chris Donahue, Moussa Doumbouya, Esin Durmus, Stefano Ermon, John Etchemendy, Kawin Ethayarajh, Li Fei-Fei, Chelsea Finn, Trevor Gale, Lauren Gillespie, Karan Goel, Noah Goodman, Shelby Grossman, Neel Guha, Tatsunori Hashimoto, Peter Henderson, John Hewitt, Daniel E. Ho, Jenny Hong, Kyle Hsu, Jing Huang, Thomas Icard, Saahil Jain, Dan Jurafsky, Pratyusha Kalluri, Siddharth Karamcheti, Geoff Keeling, Fereshte Khani, Omar Khattab, Pang Wei Koh, Mark Krass, Ranjay Krishna, Rohith Kuditipudi, Ananya Kumar, Faisal Ladhak, Mina Lee, Tony Lee, Jure Leskovec, Isabelle Levent, Xiang Lisa Li, Xuechen Li, Tengyu Ma, Ali Malik, Christopher D. Manning, Suvir Mirchandani, Eric Mitchell, Zanele Munyikwa, Suraj Nair, Avanika Narayan, Deepak Narayanan, Ben Newman, Allen Nie, Juan Carlos Niebles, Hamed Nilforoshan, Julian Nyarko, Giray Ogut, Laurel Orr, Isabel Papadimitriou, Joon Sung Park, Chris Piech, Eva Portelance, Christopher Potts, Aditi Raghunathan, Rob Reich, Hongyu Ren, Frieda Rong, Yusuf Roohani, Camilo Ruiz, Jack Ryan, Christopher Ré, Dorsa Sadigh, Shiori Sagawa, Keshav Santhanam, Andy Shih, Krishnan Srinivasan, Alex Tamkin, Rohan Taori, Armin W. Thomas, Florian Tramèr, Rose E. Wang, William Wang, Bohan Wu, Jiajun Wu, Yuhuai Wu, Sang Michael Xie, Michihiro Yasunaga, Jiaxuan You, Matei Zaharia, Michael Zhang, Tianyi Zhang, Xikun Zhang, Yuhui Zhang, Lucia Zheng, Kaitlyn Zhou, and Percy Liang. On the Opportunities and Risks of Foundation Models. arXiv, 2021. doi: 10.48550/arXiv.2108.07258.
C. Conroy. Modeling the Panchromatic Spectral Energy Distributions of Galaxies. Annual Review of Astronomy and Astrophysics, (Volume 51, 2013):393–455, 2013. doi: 10.1146/annurev-astro-082812-141017.
S. Courteau, A. A. Dutton, F. C. van den Bosch, L. A. MacArthur, A. Dekel, D. H. McIntosh, and D. A. Dale. Scaling Relations of Spiral Galaxies. Astrophysical Journal, 671(1):203, 2007. ISSN 0004-637X. doi: 10.1086/522193.
J. Devlin, M. Chang, K. Lee, and K. Toutanova. BERT: Pre-training of deep bidirectional transformers for language understanding. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pp. 4171–4186, Minneapolis, Minnesota, 2019. Association for Computational Linguistics. doi: 10.18653/v1/N19-1423. URL https://aclanthology.org/N19-1423.
A. Dey, D. J. Schlegel, D. Lang, R. Blum, K. Burleigh, X. Fan, J. R. Findlay, D. Finkbeiner, D. Herrera, S. Juneau, et al. Overview of the DESI Legacy Imaging Surveys. Astronomical Journal, 157(5):168, 2019. ISSN 1538-3881. doi: 10.3847/1538-3881/ab089d.
K. Dolag, R.-S. Remus, L. M. Valenzuela, L. C. Kimmig, B. Seidel, S. Fortune, J. Stoiber, A. Ivleva, T. Hoffmann, V. Biffi, I. Marini, P. Popesso, and S. Vladutescu-Zopp. Encyclopedia Magneticum: Scaling Relations from Cosmic Dawn to Present Day. ArXiv e-prints, 2025. doi: 10.48550/arXiv.2504.01061.
Euclid Collaboration, M. Siudek, M. Huertas-Company, M. Smith, G. Martinez-Solaeche, F. Lanusse, S. Ho, E. Angeloudi, P. A. C. Cunha, H. D. Sánchez, M. Dunn, Y. Fu, P. Iglesias-Navarro, J. Junais, J. H. Knapen, B. Laloux, M. Mezcua, W. Roster, G. Stevens, J. Vega-Ferrero, N. Aghanim, B. Altieri, A. Amara, S. Andreon, N. Auricchio, H. Aussel, C. Baccigalupi, M. Baldi, S. Bardelli, P. Battaglia, A. Biviano, A. Bonchi, E. Branchini, M. Brescia, J. Brinchmann, S. Camera, G. Cañas-Herrera, V. Capobianco, C. Carbone, J. Carretero, S. Casas, F. J. Castander, M. Castellano, G. Castignani, S. Cavuoti, K. C. Chambers, A. Cimatti, C. Colodro-Conde, G. Congedo, C. J. Conselice, L. Conversi, Y. Copin, F. Courbin, H. M. Courtois, M. Cropper, A. Da Silva, H. Degaudenzi, G. De Lucia, A. M. Di Giorgio, J. Dinis, C. Dolding, H. Dole, F. Dubath, C. A. J. Duncan, X. Dupac, S. Dusini, S. Escoffier, M. Farina, R. Farinelli, F. Faustini, S. Ferriol, F. Finelli, S. Fotopoulou, M. Frailis, E. Franceschi, S. Galeotta, K. George, B. Gillis, C. Giocoli, J. Gracia-Carpio, B. R. Granett, A. Grazian, F. Grupp, S. Gwyn, S. V. H. Haugan, W. Holmes, I. M. Hook, F. Hormuth, A. Hornstrup, K. Jahnke, M. Jhabvala, E. Keihänen, S. Kermiche, A. Kiessling, B. Kubik, M. Kümmel, M. Kunz, H. Kurki-Suonio, Q. L. Boulc'h, A. M. C. L. Brun, D. L. Mignant, S. Ligori, P. B. Lilje, V. Lindholm, I. Lloro, G. Mainetti, D. Maino, E. Maiorano, O. Mansutti, S. Marcin, O. Marggraf, M. Martinelli, N. Martinet, F. Marulli, R. Massey, S. Maurogordato, H. J. McCracken, E. Medinaceli, S. Mei, M. Melchior, Y. Mellier, M. Meneghetti, E. Merlin, G. Meylan, A. Mora, M. Moresco, L. Moscardini, R. Nakajima, C. Neissner, S.-M. Niemi, J. W. Nightingale, C. Padilla, S. Paltani, F. Pasian, K. Pedersen, W. J. Percival, V. Pettorino, S. Pires, G. Polenta, M. Poncet, L. A. Popa, L. Pozzetti, F. Raison, A. Renzi, J. Rhodes, G. Riccio, E. Romelli, M. Roncarelli, R. Saglia, Z. Sakr, A. G. Sánchez, D. Sapone, B. Sartoris, J. A. Schewtschenko, P. Schneider, T. Schrabback, M. Scodeggio, A. Secroun, G. Seidel, M. Seiffert, S. Serrano, P. Simon, C. Sirignano, G. Sirri, L. Stanco, J. Steinwagner, P. Tallada-Crespí, A. N. Taylor, I. Tereno, S. Toft, R. Toledo-Moreo, F. Torradeflot, I. Tutusaus, L. Valenziano, J. Valiviita, T. Vassallo, G. V. Kleijn, A. Veropalumbo, Y. Wang, J. Weller, A. Zacchei, G. Zamorani, F. M. Zerbi, I. A. Zinchenko, E. Zucca, V. Allevato, M. Ballardini, M. Bolzonella, E. Bozzo, C. Burigana, R. Cabanac, A. Cappi, D. Di Ferdinando, J. A. E. Vigo, L. Gabarra, J. Martín-Fleitas, S. Matthew, N. Mauri, R. B. Metcalf, A. Pezzotta, M. Pöntinen, C. Porciani, I. Risso, V. Scottez, M. Sereno, M. Tenti, M. Viel, M. Wiesmann, Y. Akrami, I. T. Andika, S. Anselmi, M. Archidiacono, F. Atrio-Barandela, C. Benoist, K. Benson, D. Bertacca, M. Bethermin, L. Bisigello, A. Blanchard, L. Blot, M. L. Brown, S. Bruton, A. Calabro, B. C. Quevedo, F. Caro, C. S. Carvalho, T. Castro, Y. Charles, F. Cogato, A. R. Cooray, O. Cucciati, S. Davini, F. De Paolis, G. Desprez, A. Díaz-Sánchez, J. J. Diaz, S. Di Domizio, J. M. Diego, P.-A. Duc, A. Enia, Y. Fang, A. G. Ferrari, P. G. Ferreira, A. Finoguenov, A. Fontana, A. Franco, K. Ganga, J. García-Bellido, T. Gasparetto,
V. Gautard, E. Gaztanaga, F. Giacomini, F. Gianotti, G. Gozaliasl, M. Guidi, C. M. Gutierrez, A. Hall, W. G. Hartley, S. Hemmati, C. Hernández-Monteagudo, H. Hildebrandt, J. Hjorth, J. J. E. Kajava, Y. Kang, V. Kansal, D. Karagiannis, K. Kiiveri, C. C. Kirkpatrick, S. Kruk, J. L. Graet, L. Legrand, M. Lembo, F. Lepori, G. Leroy, G. F. Lesci, J. Lesgourgues, L. Leuzzi, T. I. Liaudat, A. Loureiro, J. Macias-Perez, G. Maggio, M. Magliocchetti, E. A. Magnier, F. Mannucci, R. Maoli, C. J. A. P. Martins, L. Maurin, M. Miluzio, P. Monaco, C. Moretti, G. Morgante, C. Murray, K. Naidoo, A. Navarro-Alsina, S. Nesseris, F. Passalacqua, K. Paterson, L. Patrizii, A. Pisani, D. Potter, S. Quai, M. Radovich, S. Sacquegna, M. Sahlén, D. B. Sanders, E. Sarpa, A. Schneider, D. Sciotti, D. Scognamiglio, E. Sellentin, L. C. Smith, K. Tanidis, G. Testera, R. Teyssier, S. Tosi, A. Troja, M. Tucci, C. Valieri, A. Venhola, D. Vergani, G. Verza, P. Vielzeuf, N. A. Walton, and J. G. Sorce. Euclid Quick Data Release (Q1) Exploring galaxy properties with a multi-modal foundation model. ArXiv e-prints, 2025. doi: 10.48550/arXiv.2503.15312.
D. W. Hogg. Distance measures in cosmology. arXiv e-prints, art. astro-ph/9905116, May 1999. doi: 10.48550/arXiv.astro-ph/9905116.
D. W. Hogg. Magnitudes, distance moduli, bolometric corrections, and so much more. arXiv e-prints, art. arXiv:2206.00989, June 2022. doi: 10.48550/arXiv.2206.00989.
P. Madau and M. Dickinson. Cosmic Star-Formation History. ARA&A, 52:415–486, August 2014. doi: 10.1146/annurev-astro-081811-125615.
K. G. Malmquist. On some relations in stellar statistics. Meddelanden fran Lunds Astronomiska Observatorium Serie I, 100:1–52, 1922. URL https://ui.adsabs.harvard.edu/abs/1922MeLuF.100....1M/exportcitation.
K. G. Noeske, B. J. Weiner, S. M. Faber, C. Papovich, D. C. Koo, R. S. Somerville, K. Bundy, C. J. Conselice, J. A. Newman, D. Schiminovich, E. Le Floc'h, A. L. Coil, G. H. Rieke, J. M. Lotz, J. R. Primack, P. Barmby, M. C. Cooper, M. Davis, R. S. Ellis, G. G. Fazio, P. Guhathakurta, J. Huang, S. A. Kassin, D. C. Martin, A. C. Phillips, R. M. Rich, T. A. Small, C. N. A. Willmer, and G. Wilson. Star Formation in AEGIS Field Galaxies since z=1.1: The Dominance of Gradually Declining Star Formation, and the Main Sequence of Star-forming Galaxies. ApJ, 660(1):L43–L46, May 2007. doi: 10.1086/517926.
A. Radford, K. Narasimhan, T. Salimans, and I. Sutskever. Improving language understanding by generative pre-training. OpenAI Whitepaper, 2018. URL https://cdn.openai.com/research-covers/language-unsupervised/language_understanding_paper.pdf.
M. J. Smith and J. E. Geach. Astronomia ex machina: a history, primer and outlook on neural networks in astronomy. R. Soc. Open Sci., 10(5):221454, 2023. ISSN 2054-5703. doi:10.1098/rsos.221454.
M. J. Smith, R. J. Roberts, E. Angeloudi, and M. Huertas-Company. AstroPT: Scaling Large Observation Models for Astronomy. ArXiv e-prints, 2024. doi: 10.48550/arXiv.2405.14930.
J. S. Speagle, C. L. Steinhardt, P. L. Capak, and J. D. Silverman. A Highly Consistent Framework for the Evolution of the Star-Forming “Main Sequence” from z ~0-6. ApJS, 214(2):15, October 2014. doi: 10.1088/0067-0049/214/2/15.
R. Sutton. The Bitter Lesson. https://www.cs.utexas.edu/~eunsol/courses/data/bitterlesson.pdf, 2019. URL http://incompleteideas.net/IncIdeas/BitterLesson.html.
The Multimodal Universe Collaboration. The Multimodal Universe: Enabling Large-Scale Machine Learning with 100 TB of Astronomical Scientific Data. Advances in Neural Information Processing Systems, 37:57841–57913, 2024. URL https://proceedings.neurips.cc/paper_files/paper/2024/hash/6a57493d35fefea59d06396c7cb69228-Abstract-Datasets_and_Benchmarks_Track.html.
UniverseTBD, :, K. Duraphe, M. J. Smith, S. Sourav, and J. F. Wu. The Platonic Universe: Do Foundation Models See the Same Sky? ArXiv e-prints, 2025. doi: 10.48550/arXiv.2509.19453.
M. Walmsley, T. Géron, S. Kruk, A. M. M. Scaife, C. Lintott, K. L. Masters, J. M. Dawson, H. Dickinson, L. Fortson, I. L. Garland, et al. Galaxy Zoo DESI: Detailed morphology measurements for 8.7M galaxies in the DESI Legacy Imaging Surveys. Monthly Notices of the Royal Astronomical Society, 526(3):4768–4786, 2023. ISSN 0035-8711. doi: 10.1093/mnras/stad2919.
A. R. Wetzel, J. L. Tinker, and C. Conroy. Galaxy evolution in groups and clusters: star formation rates, red sequence fractions and the persistent bimodality. Monthly Notices of the Royal Astronomical Society, 424(1):232–243, 2012. ISSN 0035-8711. doi: 10.1111/j.1365-2966.2012.21188.x.
A Linear probe training and alignment details
For each checkpoint and layer we extract the representation for each galaxy image, and train linear ridge probes for several catalog quantities: mag , an absolute -band luminosity proxy, stellar mass, specific star formation rate, and redshift. We define the luminosity proxy as , where is the absolute -band magnitude; the factor follows from , with the additive constant absorbed by the intercept of the linear fit. For a target the probe is , and we use the normalized weight vector as the model-space direction for that property, comparing directions by cosine similarity. Positive cosine means two properties are represented along similar directions, negative cosine means opposite directions, and values near zero mean the directions are orthogonal.
A.1 Supporting relational-geometry plots
Before studying the model representation, we first check the relationships already present in the catalog labels, since our goal is to ask whether known relationships are preserved inside the model's hidden space rather than to rediscover them.

Figure 4: Label-space galaxy relationships used as baselines for the representation-geometry analysis. Left: specific star formation rate is anti-correlated with stellar mass. Middle: redshift is positively correlated with stellar mass. Right: absolute r-band luminosity is strongly correlated with stellar mass. These label-space relationships set the expected signs for the probe-direction analysis in the main text.
Fig. 4 shows the raw catalog relationships, each with a known physical origin that fixes the sign we expect the probe directions to recover. Luminosity and stellar mass are strongly related (right), as the presence of luminous stars means more mass. Specific star formation rate is mildly anti-correlated with stellar mass (left). This is because, within the star-forming population, galaxies follow the well-established main sequence ( ), with a sub-linear slope (Speagle et al., 2014). Since it follows that
a mildly negative trend. This is reinforced by the rising quiescent (non-star-forming) fraction at high stellar mass (Wetzel et al., 2012), though both effects are weak relative to the several orders of magnitude that sSFR spans at fixed mass. Redshift and stellar mass are positively correlated (middle), arising primarily from a Malmquist-style selection effect (Malmquist, 1922). Higher-redshift galaxies appear fainter, so only intrinsically luminous (i.e. more massive) galaxies exceed the survey detection threshold, biasing high-redshift samples toward larger stellar masses. Higher-redshift galaxies are also observed to have higher star-formation rates (Madau & Dickinson, 2014), which further contributes to the sSFR–redshift correlation. In short, these label-space signs result from intrinsic galaxy physics and survey selection effects, and set the expectations for the probe-direction analysis in the main text.
A.2 Training-time stability of relationship geometry
Figs. 5 and 6 show that the signs of the cosine physical property relationships are stable over our pre-training runs.

Figure 5: Training-time relationship geometry under the AR objective. Left: the sSFR direction is anti-aligned with the stellar-mass direction through training. Right: the redshift direction is positively aligned with the stellar-mass direction through training. The signs are also stable across model sizes, suggesting that the relationships are not confined to our fully pre-trained models.

Figure 6: Training-time relationship geometry under the MAE objective. Left: the sSFR direction is anti-aligned with the stellar-mass direction through training. Right: the redshift direction is positively aligned with the stellar-mass direction through training. The signs are also stable across model sizes, suggesting that the relationships are not confined to our fully pre-trained models.
A.3 Layer-wise relationship geometry
Figs. 7 and 8 show the same qualitative relationships across layers, supporting the claim that AstroPT's hidden space preserves galaxy relationships across its' layers in both the AR and MAE regimes.
A.4 Final-checkpoint bootstrap metrics
Tab. 1 reports final-checkpoint bootstrap metrics across objective and model-size choices. Here we provide the final-checkpoint uncertainty estimates for the main probe quantities and the relational-geometry analysis. The block includes the luminosity proxy, stellar mass, the mass residual, sSFR, and redshift. The cosine block supports the probe-geometry result in Fig. 3. Across configurations, luminosity and stellar mass remain strongly aligned, sSFR and stellar mass remain anti-aligned, and redshift and stellar mass remain positively aligned.

Figure 7: Layer-wise relationship geometry under the AR objective. The luminosity and stellar-mass directions remain strongly aligned across layers, the sSFR and stellar-mass directions remain anti-aligned, and the redshift direction is positively aligned with both mass and luminosity. This suggests the relationship geometry is distributed across layers rather than confined to the final layer.

Figure 8: Layer-wise relationship geometry under the MAE objective. Luminosity and stellar mass remain strongly aligned across layers, sSFR and stellar mass remain anti-aligned, and redshift remains positively aligned with both mass and luminosity. The same sign structure appears under MAE and AIM, supporting the claim that the recovered geometry is not tied to a single training objective.
Table 1: Final-checkpoint bootstrap metrics across objective and model-size choices. Here is the absolute -band log-luminosity proxy, is stellar mass, and is the residual mass at fixed luminosity. Intervals are 95% bootstrap intervals.
| Config | |||||
|---|---|---|---|---|---|
| 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] |
| Config | |||||
| AR 1M | 0.951 [0.940, 0.960] | -0.590 [-0.647, -0.540] | 0.462 [0.420, 0.502] | 0.123 [0.024, 0.231] | 0.418 [0.327, 0.503] |
| AR 21M | 0.931 [0.919, 0.942] | -0.364 [-0.422, -0.295] | 0.599 [0.556, 0.636] | -0.180 [-0.270, -0.089] | 0.175 [0.089, 0.262] |
| AR 100M | 0.915 [0.903, 0.925] | -0.420 [-0.466, -0.369] | 0.563 [0.524, 0.604] | -0.177 [-0.241, -0.112] | 0.222 [0.163, 0.276] |
| MAE 1M | 0.970 [0.961, 0.977] | -0.731 [-0.780, -0.687] | 0.504 [0.455, 0.551] | 0.355 [0.249, 0.459] | 0.568 [0.487, 0.643] |
| MAE 21M | 0.951 [0.942, 0.959] | -0.632 [-0.680, -0.586] | 0.604 [0.572, 0.638] | 0.206 [0.133, 0.280] | 0.489 [0.424, 0.547] |
| MAE 100M | 0.946 [0.940, 0.953] | -0.589 [-0.622, -0.557] | 0.571 [0.541, 0.595] | 0.104 [0.051, 0.164] | 0.408 [0.363, 0.458] |
B Residual mass-at-fixed-luminosity and activation patching
This appendix reports an exploratory analysis of AstroPT representations beyond the dominant luminosity-mass axis. For each checkpoint and layer we freeze AstroPT and extract the representation for each galaxy image, then train the same probe directions defined in App. A (linear ridge probes for the luminosity proxy , stellar mass, sSFR, and redshift, with directions compared by the cosine similarity of their normalized weight vectors ).
We test whether stellar mass is represented only through luminosity. We fit the empirical mass–luminosity relation on the training split, , and define the mass residual at fixed luminosity (Hogg, 1999; 2022),
which measures whether a galaxy is more or less massive than expected from its r-band luminosity alone, reflecting variation in mass-to-light structure (stellar-population age, star formation history, dust, metallicity, IMF, or catalog-model assumptions).

Figure 9: Empirical mass–luminosity relation used to define the residual mass at fixed luminosity. The horizontal axis is a log-luminosity proxy from absolute r-band magnitude, . The dashed line is the linear fit on the training split, and color shows the residual .
Figs. 10 and 11 show that the residual result is stable across objective choices. Across configurations, luminosity and stellar mass are decoded much better than the residual , which remains weak. The cosine plots show that luminosity and stellar-mass directions are strongly aligned, while the residual direction is much less aligned with luminosity than the stellar-mass direction is. Fig. 12 then demonstrates an activation-patching check in the AR setting. We patch between matched galaxy pairs and show that this can move the residual readout above targeted controls.

Figure 10: Residual mass-at-fixed-luminosity remains weak across objective choices. Each panel reports final-checkpoint, best-layer for the luminosity proxy , stellar mass , and the residual , with error bars showing 95% bootstrap confidence intervals (300 resamples). Luminosity and stellar mass are consistently easier to decode, while the residual remains weak across AR/MAE objectives.

Figure 11: Residual probe directions are separated from the dominant luminosity-mass axis, with error bars showing 95% bootstrap confidence intervals (300 resamples). Across objective choices, luminosity and stellar-mass directions remain strongly aligned. The residual direction is much less aligned with luminosity than the stellar-mass direction is, indicating that the residual probe is not reading out the same luminosity direction. The separation is strongest in the larger AR models and weaker in the MAE setting.

Figure 12: Causal tracing of the mass-luminosity residual. Patching activations between galaxy pairs with similar luminosity but different mass residual moves the residual prediction toward the source more often than same-residual and shuffled-probe controls.