Papers › Using convolutional neural networks to predict galaxy metallicity from three-color images

Using convolutional neural networks to predict galaxy metallicity from three-color images

30 Oct 2018arXiv:1810.12913links table onlyarchive 2025-07-28

John F. Wu, Steven Boada

The archive published only this paper's code-link row. Authors, date and abstract are from arXiv's metadata (CC0), read from the Kaggle arXiv metadata snapshot of 2026-09-12 where its title matched the archive's; the title is the archive's.

We train a deep residual convolutional neural network (CNN) to predict the gas-phase metallicity (Z) of galaxies derived from spectroscopic information (Z ≡12 + log(O/H)) using only three-band gri images from the Sloan Digital Sky Survey. When trained and tested on 128 ×128-pixel images, the root mean squared error (RMSE) of Z_(pred) - Zₜᵣᵤₑ is only 0.085 dex, vastly outperforming a trained random forest algorithm on the same data set (RMSE =0.130 dex). The amount of scatter in Z_(pred) - Zₜᵣᵤₑ decreases with increasing image resolution in an intuitive manner. We are able to use CNN-predicted Z_(pred) and independently measured stellar masses to recover a mass-metallicity relation with $0.10$ dex scatter. Because our predicted MZR shows no more scatter than the empirical MZR, the difference between Z_(pred) and Zₜᵣᵤₑ can not be due to purely random error. This suggests that the CNN has learned a representation of the gas-phase metallicity, from the optical imaging, beyond what is accessible with oxygen spectral lines.

PaperPDFCode

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

Code

jwuphysics/galaxy-cnns officialmentioned on GitHubpytorchGPL-3.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

Not run by Syntology. Nothing on this page verifies that the listed code works.

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections