Using multi-task learning to determine gas-phase metallicity of star-forming galaxies

Aims . This study aimed to improve the estimation of the gas-phase metallicity of star-forming galaxies by using a multi-task learning approach that simultaneously performs gas-phase metallicity estimation and spectral classification of galaxies. Methods . We propose a multi-task learning model to perform simultaneous gas-phase metallicity estimation and spectral classification of galaxies (MTLforGalSpecZ). The architecture is composed of three main components: (1) a shared feature extraction module, (2) a channel attention mechanism, and (3) two task-specific output heads. Specifically, the shared feature extraction module consists of stacked convolutional blocks that process spectroscopic inputs to extract global spectral features. These features are then passed to a channel attention mechanism, which adjusts the importance of each spectral channel. Finally, these features are fed into two separate output heads: a regression head to estimate the gas-phase metallicity and a classification head to determine the spectral class. The model is optimised using a combined loss function that includes both classification and regression losses. A conditional masking strategy is applied to the regression loss to ensure that metallicity estimation is performed only for star-forming galaxies. Results . The model was trained on a dataset of approximately 100000 spectra, each labelled with a galaxy class, with gas-phase metallicity labels available for star-forming galaxies. On the test set, it achieves a prediction scatter of σ = 0.0374 for metallicity and a classification accuracy of 97.01%. Compared to running two independent single-task networks, MTLforGalSpecZ improves metallicity prediction performance by 30%, while also reducing total training time by 18.3% and inference time by 45.2%.

Authors

Institutions

Publication Details

Journal
Astronomy and Astrophysics
Published
2025-12-17
DOI
https://doi.org/10.1051/0004-6361/202556460
Primary Topic
Domain Adaptation and Few-Shot Learning
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Using multi-task learning to determine gas-phase metallicity of star-forming galaxies

Jianxiong Feng, Guangjun Yang, Lili Wang
Astronomy and Astrophysics
Domain Adaptation and Few-Shot Learning
article

Using multi-task learning to determine gas-phase metallicity of star-forming galaxies

Jianxiong Feng, Guangjun Yang, Lili Wang
article en

Abstract

Aims . This study aimed to improve the estimation of the gas-phase metallicity of star-forming galaxies by using a multi-task learning approach that simultaneously performs gas-phase metallicity estimation and spectral classification of galaxies. Methods . We propose a multi-task learning model to perform simultaneous gas-phase metallicity estimation and spectral classification of galaxies (MTLforGalSpecZ). The architecture is composed of three main components: (1) a shared feature extraction module, (2) a channel attention mechanism, and (3) two task-specific output heads. Specifically, the shared feature extraction module consists of stacked convolutional blocks that process spectroscopic inputs to extract global spectral features. These features are then passed to a channel attention mechanism, which adjusts the importance of each spectral channel. Finally, these features are fed into two separate output heads: a regression head to estimate the gas-phase metallicity and a classification head to determine the spectral class. The model is optimised using a combined loss function that includes both classification and regression losses. A conditional masking strategy is applied to the regression loss to ensure that metallicity estimation is performed only for star-forming galaxies. Results . The model was trained on a dataset of approximately 100000 spectra, each labelled with a galaxy class, with gas-phase metallicity labels available for star-forming galaxies. On the test set, it achieves a prediction scatter of σ = 0.0374 for metallicity and a classification accuracy of 97.01%. Compared to running two independent single-task networks, MTLforGalSpecZ improves metallicity prediction performance by 30%, while also reducing total training time by 18.3% and inference time by 45.2%.

Astronomy and AstrophysicsVol. 706
Jilin University of Chemical Technology (CN), Dezhou University (CN)
Openalex Percentile: Top 78%
Domain Adaptation and Few-Shot Learning
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.