Learning The Universe: Cosmological and Astrophysical Parameter Inference With Galaxy Luminosity Functions and Colours
Learning The Universe: Cosmological and Astrophysical Parameter Inference With Galaxy Luminosity Functions and Colours
Learning The Universe: Cosmological and Astrophysical Parameter Inference With Galaxy Luminosity Functions and Colours
1 Institute of Cosmology and Gravitation, University of Portsmouth, Burnaby Road, Portsmouth, PO1 3FX, UK
2 Center for Interdisciplinary Exploration and Research in Astrophysics (CIERA), Northwestern University, 1800 Sherman Ave, Evanston IL 60201, USA
3 Department of Physics and Astronomy, Northwestern University, 2145 Sheridan Rd, Evanston IL 60208, USA
4 NSF-Simons AI Institute for the Sky (SkAI), 172 E. Chestnut St., Chicago, IL 60611, USA
5 Columbia Astrophysics Laboratory, Columbia University, 550 West 120th Street, New York, NY 10027, USA
6 Department of Physics, University of Connecticut, 196 Auditorium Road, U-3046, Storrs, CT 06269-3046, USA
7 Institute for Astronomy, Royal Observatory, University of Edinburgh, Edinburgh EH9 3HJ, UK
8 University of the Western Cape, Department of Physics and Astronomy, Bellville, Cape Town 7535, South Africa
9 South African Astronomical Observatories, Observatory, Cape Town 7925, South Africa
10 Department of Astrophysics, The Graduate Center, City University of New York, 365 5th Ave, New York, NY 10016, USA
11 Mullard Space Science Laboratory, University College London, Holmbury St Mary, Dorking, Surrey, RH5 6NT, UK
12 Astronomy Centre, University of Sussex, Falmer, Brighton BN1 9QH, UK
13 Center for Computational Astrophysics, Flatiron Institute, 162 Fifth Avenue, New York, NY, 10010, USA
14 Departent of Astrophysical Sciences, Princeton University, Princeton NJ 08544, USA
ABSTRACT
We perform the first direct cosmological and astrophysical parameter inference from the combination of galaxy luminosity
functions and colours using a simulation based inference approach. Using the Synthesizer code we simulate the dust attenuated
ultraviolet–near infrared stellar emission from galaxies in thousands of cosmological hydrodynamic simulations from the
CAMELS suite, including the Swift-EAGLE, Illustris-TNG, Simba & Astrid galaxy formation models. For each galaxy we
calculate the rest-frame luminosity in a number of photometric bands, including the SDSS ugriz and GALEX FUV & NUV
filters; this dataset represents the largest catalogue of synthetic photometry based on hydrodynamic galaxy formation simulations
produced to date, totalling >200 million sources. From these we compile luminosity functions and colour distributions, and
find clear dependencies on both cosmology and feedback. We then perform simulation based (likelihood-free) inference using
these distributions, and obtain constraints on both cosmological and astrophysical parameters. Both colour distributions and
luminosity functions provide complementary information on certain parameters when performing inference. Most interestingly
we achieve constraints on 𝜎8 , describing the clustering of matter. This is attributable to the fact that the photometry encodes the
star formation–metal enrichment history of each galaxy; galaxies in a universe with a higher 𝜎8 tend to form earlier and have
higher metallicities, which leads to redder colours. We find that a model trained on one galaxy formation simulation generalises
poorly when applied to another, and attribute this to differences in the subgrid prescriptions, and lack of flexibility in our emission
modelling. The photometric catalogues are publicly available at: https://camels.readthedocs.io/.
Key words: galaxies: abundances – galaxies: photometry – cosmology: cosmological parameters
1 https://learning-the-universe.org/ 2 For Astrid, the 𝐴AGN2 parameter also ranges from 0.25 to 4.0
Table 1. A summary of the physical meaning of the feedback parameters in each of the simulation suites.
Figure 1. Spectral energy distribution of an example galaxy from the Illustris-TNG CV set at 𝑧 = 0.1. Shown is the intrinsic emission from young and old
stars, the combined intrinsic emission, as well as the total attenuated emission. Filter transmission curves for some of the key rest-frame filters used in this work
are also shown.
each galaxy formation model, whether that is Illustris-TNG, Swift- on its age, metallicity and initial stellar mass3 . The ‘current’ stellar
EAGLE, Astrid or Simba. This ensures that the results for each mass of a star particle takes into account the recycling of mass due to
model are comparable; the emission of each galaxy is dependent evolved stellar populations; since SPS models implicitly account for
only on its star formation and metal enrichment history, itself derived this as a function of age, the initial stellar mass must be used as input.
from the distribution of star particle properties. The integrated emission of a galaxy is then the sum of the particle
We use Synthesizer (Lovell et al. in prep., Roper et al. in prep.) to contributions. In order to provide a qualitative assessment of the im-
produce synthetic observables, leveraging flexibility and computa- pact of the choice of SPS model, we generate the emission using two
tional efficiency. Below we describe the different ingredients that go different SPS models: BC03 (Bruzual & Charlot 2003) and BPASS
into our Synthesizer forward model, and the resulting luminosity (Eldridge et al. 2017; Stanway & Eldridge 2018). For BC03, we use
and colour distributions. the Padova 2000 tracks, described in Girardi et al. (2000, 2002). For
BPASS we use v3.2, described in Byrne et al. (2022). For both mod-
els we assume a Chabrier (2003) initial mass function (IMF), with a
high mass cut off of 100 M ⊙ , and a low mass cut off of 0.1 M ⊙ . This is
where 𝜏cloud = 0.67, 𝜏ISM = 0.334 and the dispersion time 𝑡disp =
10 Myr. These parameters were calibrated to nearby galaxies, and 4 LUMINOSITY FUNCTIONS AND COLOURS IN CAMELS
have been used in previous studies employing similar models (Genel
et al. 2014; Trayford et al. 2015). The only property of each galaxy 4.1 CV set distributions
(and by extension each galaxy formation model) that directly affects
4.1.1 Galaxy formation model comparison
the level of attenuation is the ratio of stellar mass formed before or
after 𝑡 disp . The Cosmic Variance (CV) set contains 27 simulations, each using
We use a fixed Milky Way attenuation curve (Pei 1992), the same fiducial parameters, but varying the random seed of the
parametrised using the analytic form of Li et al. (2008). The trans- initial conditions. Figure 2 shows the rest-frame luminosity func-
mission at wavelength 𝜆 for a particle with age 𝑡 is then given by tion (LF) from all 27 CV set simulations combined, for each galaxy
formation model at 𝑧 = 0.1. Each LF is normalised by the total com-
𝜏MW (𝜆)
𝑇 (𝜆, 𝑡) = exp − × (𝜏cloud + 𝜏ISM ) (3) bined volume of the simulations (27 × (25 ℎ −1 ) 3 Mpc3 ). We show
𝜏MW (𝜆 = 5500 Å) the GALEX FUV, SDSS 𝑔 and 𝑖 and 2MASS 𝐾 band to demonstrate
We do not model thermal re-emission from dust, nor scattering; the the full wavelength range probed (1500 Å - 20 000 Å). We also show
4 Assuming a hydrogen density 𝑁Hcloud = 1.37 × 1021 cm −2 and 𝑁HISM = 5 Transmission curves obtained from the Spanish Virtual Observatory Filter
6.79 × 1020 cm −2 , for an extinction cross section 𝐶ext
𝑉 = 4.86 × 10 −22 (Draine Profile Service, (Rodrigo et al. 2012; Rodrigo & Solano 2020), http://
2003), all calculated at visible wavelengths, 𝜆𝑉 = 5500 Å, svo2.cab.inta-csic.es/theory/fps/index.php?mode=voservice.
Figure 2. CV set Luminosity functions (LFs; in AB magnitudes) at 𝑧 = 0.1 for the Illustris-TNG, Simba, Astrid and Swift-EAGLE simulation suites in the
GALEX FUV, SDSS 𝑔 and 𝑖, and UKIRT K bands. Each LF is built using galaxies from all CV simulations combined. Each panel shows the LFs obtained from
the attenuated (solid lines) and intrinsic (dashed lines) emission.
Figure 3. The same as Figure 2, but showing normalised colour distributions. An additional magnitude cut for galaxies above 𝑀𝑟 < −20 has been applied to
remove faint galaxies. Left to right: GALEX FUV − NUV, SDSS 𝑔 − 𝑟, 𝑟 − 𝑖, 𝑖 − 𝑧.
both the intrinsic and dust attenuated LFs in each case. It’s clear that colours. Astrid and Simba show similar colour distributions at all
there are significant differences between the different galaxy forma- wavelengths, with a single strong peak in all distributions that corre-
tion models in all bands. Astrid has the lowest normalisation across sponds to a predominantly blue star forming population. Conversely,
the magnitude range in all bands, which matches what is seen for Swift-EAGLE and Illustris-TNG show more bimodal distributions,
the galaxy stellar mass function (Ni et al. 2022). Simba extends to with a more pronounced red population at all wavelengths.
brighter magnitudes in all bands, but most noticeably at the blue
end, where there is almost an order of magnitude more 𝑀FUV ∼ 21
galaxies than the other models. This may reflect the slightly higher 4.1.2 Redshift evolution
normalisation of the galaxy stellas mass function at the high mass end
in Simba (Davé et al. 2019). Both Illustris-TNG and Swift-EAGLE We have also generated rest-frame luminosity functions at a range
show similar behaviour in the form and normalisation at all wave- of redshifts, shown in Figure 4, showing the evolution in abundance
lengths, but the latter tends to have more faint galaxies in all bands, at different wavelengths6 . In all galaxy formation models the FUV
by approximately 0.5 dex. Dust attenuation has a more significant LF rises quickly, peaking at 𝑧 ∼ 2, before falling again by 𝑧 =
impact on bluer bands, as expected from the form of the attenuation 0. This corresponds to the evolution in the cosmic star formation
curve. rate density (Madau & Dickinson 2014); more recent star formation
leads to higher UV emission. Interestingly, the shape of the LF also
We also show a number of UV-optical (normalised) colour dis- evolves with redshift in Simba, showing a more pronounced bright
tributions in Figure 3, including GALEX FUV − NUV and SDSS
𝑔 − 𝑟, 𝑟 − 𝑖 and 𝑖 − 𝑧. These include all galaxies above our fiducial
stellar mass limit of 108 M ⊙ , as well as a further cut to remove 6 We stress that these rest-frame luminosity functions at higher redshift can-
faint galaxies below an 𝑟-band magnitude limit of 𝑀r < −20. In all not be directly compared to observations without accounting for the necessary
cases the inclusion of dust attenuation leads to minor shifts to redder 𝐾-corrections.
Figure 4. Luminosity functions (LFs; in AB magnitudes) in the GALEX FUV, SDSS 𝑔 and 𝑖, and UKIRT K bands, over a range of redshifts (𝑧 ∈ [0, 6]).
Each LF is built using galaxies from all CV simulations combined, normalised by the total volume (27 × (25 ℎ −1 ) 3 Mpc3 ). We show the relations for the
Illustris-TNG, Simba, Astrid and Swift-EAGLE simulation suites. Each panel shows the LFs for both attenuated (solid lines) and intrinsic (faded dashed
lines) emission.
Figure 5. 1P set variations of the dust-attenuated photometry at 𝑧 = 0.1 for Illustris-TNG, Simba, Astrid and Swift-EAGLE (columns left to right, respectively),
when changing Ωm . Top row: GALEX FUV luminosity function, with observations from GALEX in the FUV (Budavári et al. 2005). Second row: SDSS 𝑟-band
luminosity function, with observations from the GAMA survey (Loveday et al. 2012). Third row: GALEX FUV-NUV colour distribution, with observational
constraints from GAMA. Fourth row: SDSS 𝑔 − 𝑟 colour distribution, with observational constraints from GAMA. Fifth row: GALEX FUV subhalo mass-to-light
ratio against halo mass (individual objects are plotted where there are fewer than 10 sources in a halo mass bin). Sixth row: binned SDSS 𝑟-band subhalo
mass-to-light
MNRAS 000,ratio1–27against
(2024)halo mass. See Section 6.2 for caveats on the observational constraints.
LtU: Parameter inference on photometry 9
that wavelength, decrease in the normalisation at the bright end of the UV LF for the
highest Ωm values in these models.
log10 Υ𝑋 / Υ⊙ = log10 (𝑀subhalo / M ⊙ ) / (𝑀𝑋𝐴𝐵 / 𝑀𝑋,⊙
𝐴𝐵
), (6) The colour distributions also tell an interesting story. As Ωm in-
creases, we see redder colour distributions in both the UV and optical.
where 𝑀subhalo is the total subhalo mass, 𝑀𝑋𝐴𝐵 is the AB absolute
𝐴𝐵 is the absolute magnitude of the sun The magnitude of this effect in the optical is largest for the Swift-
magnitude in band 𝑋, and 𝑀𝑋,⊙ EAGLE model; the blue population centred at 𝑔 − 𝑟 = 0.3 for Ωm =
in band 𝑋 (values obtained from Willmer 2018). 0.1 completely disappears when Ωm is increased to 0.5, leading to a
In order to provide a baseline for comparison we also show obser- unimodal distribution of red galaxies (𝑔 − 𝑟 ∼ 0.8). This behaviour
vational constraints from the GAMA survey (Loveday et al. 2012) in suggests that not only is the abundance of haloes and their ML ratios
the 𝑟-band, GALEX in the FUV (Budavári et al. 2005), and the UV changing with Ωm , but also that this effect is wavelength dependent.
(𝐹𝑈𝑉 − 𝑁𝑈𝑉) and optical (𝑔 − 𝑟) rest-frame colours from GAMA Also interesting is that there are less degeneracies between models
(Liske et al. 2015) as compiled by Pandya et al. (2017), all at 𝑧 ∼ 0.1. with high Ωm in the UV and optical colour spaces, with clear differ-
We stress that these observationally derived rest–frame relations are ences in their colour distributions throughout the range of Ωm probed.
not directly comparable to the results from CAMELS presented here, This will become important when performing SBI to infer the value
for reasons described in depth in Section 6.2; here we just mention of Ωm from these distributions, discussed further in Section 5.3.
that these observations are necessarily 𝐾-corrected, and cover dif- Since a higher Ωm leads to not only a higher abundance of haloes
ferent volumes to those in CAMELS, making direct comparisons but also their accelerated formation (McClintock et al. 2019), the
difficult. stellar ages in these massive haloes may be generally higher, lead-
From these figures it is clear that each parameter has a different ing to the reduced abundance of UV-bright galaxies, and an overall
impact depending on the wavelength and galaxy formation model reddening of their colours. Quiescent fractions have not been stud-
considered. We first explore the cosmological parameters, before ied in the fiducial Astrid simulation at 𝑧 = 0.1, but in EAGLE they
moving on to the impact of the astrophysical parameters. show a strong correlation with galaxy mass (Furlong et al. 2015), in
agreement with observational constraints on the passive fraction, and
supporting this narrative. However, similar behaviour is also seen in
4.2.1 Changes in Ωm Illustris-TNG (Donnari et al. 2019, 2021; Gabrielpillai et al. 2022)
An increase in Ωm leads to an increase in the overall normalisa- and Simba (Davé et al. 2019; Rodríguez Montero et al. 2019; Ap-
tion of the halo mass function (Villaescusa-Navarro et al. 2021b), pleby et al. 2020). Simba produces smoother star formation histories
due to accelerated formation of more massive haloes (McClintock that tend to form later (Dickey et al. 2021), which may also explain
et al. 2019). However, it has been unclear how this translates into the elevated recent SFRs at higher Ωm , since any long-term variabil-
changes in the LFs beyond the increase in the halo number density, ity will have had less time to imprint on the overall SFH (Zheng et al.
since the emission is directly dependent on the star formation and 2022).
metal enrichment history of each galaxy, which itself depends in a Mergers between haloes and their host galaxies are also more
complicated way on the underlying cosmology (Iyer et al. 2020, , in frequent in a universe with higher Ωm . Rodríguez Montero et al.
prep.). (2019) showed how mergers have very little effect on passive fractions
We see in Figure 5 that increasing Ωm leads to an increase in the in Simba, suggesting this effect will have little impact on recent star
number of faint galaxies in the optical (𝑟-band), with little depen- formation, and therefore the UV emission, in this model. Dickey et al.
dence on the galaxy formation model, similar to how it impacts the (2021) showed how passive fractions at low-masses are elevated in
galaxy stellar mass function (Ni et al. 2023; Lovell et al. 2023; Jo et al. isolated galaxies in EAGLE compared to Illustris-TNG and Simba,
2023). We see a similar relationship in the UV, though the relations but lower for the most massive objects, which makes it difficult to
are more noisy, which reflects the sensitivity of the UV emission to pick apart the impact of (recent) mergers in these models.
star formation on relatively short timescales (last ∼ 100 Myr; Lee
et al. 2009). In general, however, for values of Ωm > 0.3 the opti-
cal and UV LFs are mostly degenerate, with very little differences
4.2.2 Changes in 𝜎8
across all magnitudes. The UV and optical ML ratios in Figure 5
help explain this behaviour. Whilst the overall normalisation of the The value of 𝜎8 encodes the degree of matter clustering, and it
halo mass function increases with increasing Ωm , the ML ratio also has an interesting, and perhaps unexpected, impact on the LFs and
increases; galaxies in equal mass haloes are fainter in a universe colours. Increasing 𝜎8 does not have a strong effect on the optical
with a higher Ωm . This trend is monotonic for all models, except LFs in all models, nor the optical ML ratios (except a small increase
Swift-EAGLE, which shows a more complicated evolution for Ωm = for increasing Ωm in Simba at halo masses ∼ 1012 M ⊙ ). However,
0.1 (the ML ratio in the UV and optical is much higher in low mass 𝜎8 does have a discernible effect on the UV LF in some models.
haloes). This effect is most pronounced in Simba, where the magnitude of
Above a halo mass of 1011 M ⊙ there is a general trend across the brightest object in the UV increases by up to 1.5 magnitudes to
all simulations and parameters for the ML ratio to decrease with in- 𝑀FUV = −20 for 𝜎8 = 0.6. This can be explained by increases in
creasing subhalo mass; this explains the characteristic schechter-like the UV ML ratios of up to 0.8 dex in Simba as 𝜎8 increases, much
shape of the luminosity function in these bands at faint magnitudes greater than any other model.
(Bullock & Boylan-Kolchin 2017). The mass at which this fall occurs However, the strongest dependence on 𝜎8 is seen in the colours;
is relatively insensitive to Ωm , which explains the lack of correlation increasing 𝜎8 tends to lead to redder colours in the UV, but partic-
of the shape of the LFs with Ωm (except for in Swift-EAGLE). The ularly in the optical (𝑔 − 𝑟), for all models. In Swift-EAGLE and
magnitude of the dependence of the ML ratio on Ωm is also model Illustris-TNG this manifests as a relative shift in the height of the red
dependent; the largest variations at a halo mass of 1012 M ⊙ are seen and blue populations in their respective bimodal colour distributions.
in Swift-EAGLE and Astrid, with a difference in the ML ratio in In contrast, in Simba and Astrid this manifests as a shift in the peak of
the UV of |Υ𝑋 | > 2. This explains why there is also a significant the unimodal distribution. This suggests that there is a fundamental
Figure 6. The same as Figure 5, but showing the variation in the 𝜎8 1P set.
Figure 7. Top: normalised cosmic star formation history in bins of stellar metallicity, from the Illustris-TNG 1P set, changing 𝜎8 . Bottom: normalised stellar
metallicity distribution in bins of stellar age.
ML ratio and 𝐴SN1 , however in the UV things are more compli- In Astrid 𝐴AGN1 controls energy per unit SMBH accretion, and
cated, with clear dependencies of UV ML on halo mass that further this particular parameter also has no impact on the LFs and colours.
depend on the value of 𝐴SN1 . As for the colours, increasing 𝐴SN1 However, 𝐴AGN2 , which controls the energy injected per unit accre-
leads to bluer galaxy distributions; this may reflect secondary effects tion mass in the thermal feedback mode, has a large impact on the
on the growth of SMBHs, as discussed previously, or the fact that LFs, leading to an increase in excess of 1.5 dex at the bright end of
gas is heated rather than expelled, meaning there is fuel for later the UV LF, and 1 dex in the optical. Why does increasing this par-
star formation. Increasing 𝐴SN2 leads to increased ML ratios in the ticular channel of BH feedback lead to increased number densities?
optical and UV, and subsequently reduced normalisation of the LFs The reason is efficient self-regulation: enhanced thermal feedback
at all magnitudes. It also leads to redder distributions, which reflects severely suppresses the growth of SMBHs, reducing the overall feed-
the fact that galaxies that enrich early are then susceptible to more back injected (particularly in the jet mode), leading to enhanced star
powerful feedback at later times, reducing their star formation. formation (Ni et al. 2023). This also leads to bluer colours in both the
UV and optical. Another reason why we see a stronger effect from
the AGN parameters in Astrid compared to Simba and Illustris-TNG
4.2.4 Changes in AGN feedback parameters is that Astrid has a higher number density of massive black holes in
the fiducial model, as evidenced by the 0.5 dex higher normalisation
As is the case for the supernovae feedback parameters, 𝐴AGN1 and of the black hole mass function at the high-mass end (Ni et al. 2023).
𝐴AGN2 control different elements of the subgrid AGN feedback mod-
els in each galaxy formation model (see Table 1 for a summary), and
cannot be compared directly. Contrary to the supernovae param-
eters, the AGN parameters have a much reduced effect in almost Finally, in Swift-EAGLE AGN feedback is implemented in a
all the galaxy formation models. This reflects the small box size purely thermal mode; 𝐴AGN1 controls the efficiency scaling of the
in CAMELS ((25 ℎ −1 ) 3 Mpc3 ) and subsequent lack of (relatively) Bondi accretion rate, and 𝐴AGN2 the temperature jump of the gas
massive haloes, as well as SMBH self-regulation. during AGN feedback events. Neither parameter has a large effect
In Illustris-TNG, 𝐴AGN1 controls the kinetic energy released per on the optical LFs, but there is a small difference in the bright end
unit SMBH accretion mass, and 𝐴AGN2 the ejection speed and bursti- in the UV, whereby increasing both parameters reduces the abun-
ness of that ejected material (where greater burstiness leads to more dance of UV bright galaxies. The differences in the colours are more
frequent but lower energy feedback events; Tillman et al. 2023). How- pronounced; increasing both parameters lead to redder UV and op-
ever, neither has any appreciable effect in either the LFs or colour tical colours. This suggests that increasing the primary efficacy of
distributions above and beyond butterfly effects (Genel et al. 2019). thermal feedback in Swift-EAGLE does not lead to the same self-
A similar story unfolds for Simba; in this model 𝐴AGN1 controls the regulation effects seen in Astrid, and had a more predictable effect
momentum in quasar and jet mode feedback, and 𝐴AGN2 the speed on the luminosities and colours of massive, bright galaxies hosting
of the jet. However, neither has any impact on the LFs and colours. AGN.
Figure 8. The same as Figure 5, but showing the variation in the 𝐴SN1 1P set.
Figure 9. The same as Figure 5, but showing the variation in the 𝐴SN2 1P set.
Figure 10. The same as Figure 5, but showing the variation in the 𝐴AGN1 1P set.
Figure 11. The same as Figure 5, but showing the variation in the 𝐴AGN2 1P set.
Figure 12. Predicted marginal posteriors on the test set vs the true values for each cosmological (Ωm , 𝜎8 ) and astrophysical (𝐴SN1 , 𝐴SN2 , 𝐴AGN1 , 𝐴AGN2 )
parameter. These estimates use both colours and luminosity functions at 𝑧 = 0.1, described in more detail in Section 5.2, using training and testing data from
the same galaxy formation model; we discuss generalisability across different models in Section 5.4. Top two rows: Swift-EAGLE. Bottom two rows: Astrid.
Figure 13. The same as Figure 12, but showing predictions for Illustris-TNG (top two rows) and Simba (bottom two rows).
Figure 14. Posterior 2D and 1D marginal posteriors for two randomly selected test set simulations from the Illustris-TNG suite. Each column of corner plots
shows the same test set simulation posteriors, assuming different input features. The true values are indicated by the black dashed lines. Top row: posteriors
given luminosity functions (blue), colours (orange), or both combined (green). Bottom row: posteriors given luminosity functions and colours at 𝑧 = 0.1 (navy),
𝑧 = 2.0 (olive), and both redshifts combined (pink).
between models, so instead we focus on the cosmological parameters or just colour distributions, as well as reducing the fidelity of the
Ωm and 𝜎8 . distribution functions by reducing the number of bins, and achieve
similarly poor results.
We find very poor recovery of parameters when testing between
simulations, and this is the case across all simulations used for train- The main source of this lack of robustness is the very different sub-
ing the SBI framework and testing. The reason for this can be clearly grid prescriptions in each model, which lead to different distributions
seen in Figures 5, 6, 8, 9, 10 and 11, which show the range of lumi- of point-in-time properties, such as stellar mass and star formation
nosity functions and colour distributions across the 1P sets of each rate, as well as different overall star formation histories (Iyer et al.
subgrid model. There is very little agreement or overlap in the de- in prep.). Another source of inflexibility is in our forward model for
tailed distributions, which leads to out-of-distribution errors when galaxy emission, which assumes a simple dust prescription, and fixes
performing inference. We have tested using just luminosity functions many key parameters, such as the nebular cloud dispersion time. In
Figure 15. Combined marginal posterior distribution of Ωm , 𝜎8 , 𝐴SN1 and 𝐴SN2 from all test set objects in the Illustris-TNG suite. Left: models trained using
luminosity functions (blue), colours (orange), or both combined (green). Right: models trained using luminosity functions and colours combined at 𝑧 = 0.1
(navy), 𝑧 = 1.0 (green), 𝑧 = 2.0 (olive), and all three redshifts combined (pink).
future work we will self-consistently modify elements and parame- by 𝜎8 , are another surprising result presented in Section 5.2. For all
ters of the forward model, such as the dust attenuation model, which four simulations we achieve a RMSE ⩽ 0.09, despite not including
should lead to increased overlap in colour and luminosity space be- any spatial information in our features at all. In Section 5.3 we show
tween models. We will also explore contrastive learning (Le-Khac that it is a combination of galaxy colours and luminosity functions
et al. 2020) and domain adaptation approaches (Roncoli et al. 2023; that drives this good predictive accuracy in Illustris-TNG, which
Ćiprijanović et al. 2020, 2022), which have shown promise in over- is in turn driven by the older ages of galaxy stellar populations in
coming these issues when combining models, and for extracting simulations with a higher 𝜎8 .
domain-invariant features, as well as approaches for excluding sig- We stress that when interpreting these constraints quantitatively
nificant outliers (Echeverri-Rojas et al. 2023; de Santi et al. 2023a). we must keep in mind that this analysis does not include any obser-
vational uncertainties, which will degrade our constraints (see e.g.
Hernández-Martínez et al. 2024). We discuss other observational
considerations below. Additionally, we do not include any estimate
6 DISCUSSION of the simulation uncertainty; Jo et al. (2023) show that this can be
6.1 Cosmological Constraints derived from the CV set and used within an emulator to assess its im-
pact, and find that it can lead to wider estimated posteriors. Finally,
The constraints on cosmological parameters demonstrated in Sec- our dust model does not depend in any way on galaxy properties.
tion 5.2 are surprising. By just considering UV-optical luminosity Including the correlations and covariances between, for example, the
functions and colours we can obtain precise and accurate estimates mass of dust and the optical depth, or the star-dust geometry and the
of Ωm across different subgrid galaxy evolution models. For Illustris- form of the attenuation curve, will lead to degeneracies with some
TNG, Swift-EAGLE and Simba we obtain a RMSE across the test set of the effects on the LFs and colours seen in Figures 5 and 6, which
of 0.03, and for Astrid slightly higher at 0.07, which represent highly will degrade the constraints on cosmological parameters. However,
significant constraints. These are tighter than those obtained by Hahn conversely, the dust model itself may leak cosmological information,
et al. (2024) on galaxies from the NASA-Sloan Atlas, despite only due to dependencies on the SFZH from each galaxy; we explore this
using summary statistics measured on a fraction of the number of effect with our current galaxy-independent dust model briefly in Sec-
galaxies. In Section 5.3 we show that, in Illustris-TNG, it is pre- tion C. We will explore a more sophisticated model that takes these
dominantly galaxy colours that drive these significant constraints. correlations into account in future work.
This suggests that it is internal galaxy properties that are affected
by changes in the matter density, not just the overall abundance of
haloes and therefore galaxies. This is supported by the dependence
6.2 Performing SBI directly on observations
of the ML ratios on Ωm , which implicitly factors out the change in
halo abundance. These findings somewhat support what was found in When performing inference in a simulation based inference frame-
Villaescusa-Navarro et al. (2022) and Echeverri-Rojas et al. (2023), work on cosmological parameters in particular, one must take into
where the properties of a single galaxy were used to obtain significant account the impact of changing the cosmological parameter on any
constraints on Ωm . The constraints on matter clustering, represented forward modelled properties or distribution functions. In this study,
in filters from the GALEX (𝐹𝑈𝑉 and 𝑁𝑈𝑉), GAMA (𝑢𝑔𝑟𝑖𝑧𝑌 𝐽𝐻𝐾),
Johnson (𝑈𝐵𝑉 𝐽), HST ACS (F435W, F606W, F775W, F814W, and
APPENDIX A: PHOTOMETRY DATABASE
F850LP), HST WFC3 (F098M, F105W, F110W, F125W, F140W
The photometric catalogues produced in this work are avail- and F160W), and JWST NIRCam (F070W, F090W, F115W, F150W,
able at https://camels.readthedocs.io/en/latest/data_ F200W, F277W, F356W and F444W) instruments. These are pro-
access.html. We provide AB rest- and observer-frame magnitudes vided for both the BPASS and BC03 SPS models, and for intrinsic
This paper has been typeset from a TEX/LATEX file prepared by the author.
Figure B1. The same as Figure 15, but showing the combined posteriors for the Simba simulations.
Figure D1. The same as Figures 15 and B1, but showing the combined posteriors for the Swift-EAGLE simulations.
Figure D2. The same as Figures 15 and B1, but showing the combined posteriors for the Astrid simulations.