SparseEB-gMCR: A Generative Solver for Extreme Sparse Components with Application to Contamination Removal in GC-MS

Yu-Tang Chang, Shih-Fang Chen · 2025

Read SparseEB-gMCR: A Generative Solver for Extreme Sparse Components with Application to Contamination Removal in GC-MS by Yu-Tang Chang, Shih-Fang Chen (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2510-20364.txt.

Introduction

Yu-Tang Chang and Shih-Fang Chen introduce SparseEB-gMCR, a generative solver for separating mixtures whose component profiles are themselves extremely sparse. High-resolution instruments such as gas chromatography-mass spectrometry produce sparse signals, and the earlier energy-based generative curve resolution solver could recover a component pool and count without being told the count. A dense learned profile, however, cannot represent an exact zero in a sparse profile.

Their fix adds a static support gate that applies the same selection mechanism to the coordinates of each profile, reparameterizing the pool rather than changing the model. On synthetic data the solver matches the dense version accuracy, and on real chromatograms it removes siloxane contamination signals without supervision, making compound identification more reliable.

Catalog record

CREATORYu-Tang Chang, Shih-Fang Chen
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE35 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2510-20364

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

SparseEB-gMCR: A Generative Solver for Extreme Sparse Components with Application to Contamination Removal in GC-MS Yu-Tang Chang, Shih-Fang Chen Abstract Analytical chemistry instruments provide physically meaningful signals for elucidating analyte composition and play important roles in material, biological, and food analysis. These instruments are valued for strong alignment with physical principles, enabling compound identification through pattern matching with chemical libraries. More reliable instruments generate sufficiently sparse signals for direct interpretation. Generative multivariate curve resolution (gMCR) and its energy-based solver (EB-gMCR) offer powerful tools for decomposing mixed signals suitable for chemical data analysis. However, extreme signal sparsity from instruments such as GC-MS or ¹H-NMR can impair EB-gMCR decomposability. To address this, a fixed EB-select module inheriting EB-gMCR’s design was introduced for handling extreme sparse components. Combined with minor adjustments to energy optimization, this led to SparseEB-gMCR. In synthetic datasets, SparseEB-gMCR exhibited comparable decomposability and graceful scalability to dense-component EB-gMCR. The sparse variant was applied to real GC-MS chromatograms for unsupervised contamination removal. Analysis showed siloxane-related pollution signals were effectively eliminated, improving compound identification reliability. Results demonstrate that SparseEB-gMCR preserves the decomposability and self-determining component capability of EB-gMCR while extending adaptability to sparse and irregular chemical data. With this sparse extension, the EB-gMCR family becomes applicable to wider ranges of real-world chemical datasets, providing a general mathematical framework for signal unmixing and contamination elimination in analytical chemistry. 1 Introduction Instruments in analytical chemistry elucidate chemical composition in analytes and provide valuable insight for material, biological, and food analysis ( He & Toh 2006 ; Aksenov et al. 2017 ; Valdés et al. 2022 ) . More powerful instruments often generate data in simpler and more interpretable forms, as seen in mass spectrometry (MS) and hydrogen-1 nuclear magnetic resonance (¹H-NMR). These techniques rely on sophisticated machinery and robust physical principles to ensure that each chemical component produces a unique signal pattern. In practice, the detected patterns are extremely sparse, enabling efficient and precise matching against pre-recorded chemical libraries. This sparse format also allows analysts to interpret results more directly. For instance, in a mass spectrum, the mass-to-charge (m/z) values of carbon dioxide appear at 12, 16, 28, and 44, corresponding to \text{C}^{+} , \text{O}^{+} , \text{CO}^{+} , and \text{CO}^{+}_{2} . In real data, isotopes of carbon and oxygen activate nearby m/z channels adjacent to these major responses. All values in the detected data carry physical meaning, which is why such instruments are regarded as the gold standard for elucidating unknown compounds. The collected data are not always sufficiently “clean” to allow straightforward identification of chemical composition. Impurities in signal patterns can arise from many factors, including experimental design, device maintenance, or component aging. More specifically, misconfigured chromatography, sample contamination, or neglected replacement of expired parts can all lead to noisy spectra. Although sparsity generally improves clarity and efficiency in pattern matching—particularly when candidate patterns are already narrowed to a small set—it also becomes problematic when unexpected or uncertain patterns are present. Noise may take the form of multiple overlapping signals or contamination of unknown origin, creating what is effectively an unknown signal mixture. Multivariate curve resolution (MCR) algorithms are well-suited to such mixtures ( de Juan & Tauler 2021 ) since signals from analytical instruments typically obey the Beer–Lambert law. In some cases, external information such as chemical libraries or structural priors (e.g., peak-like patterns in 2D gas chromatography; van Stokkum et al. 2009 can improve decomposition of sparse chemical signals. However, not all sparse data allow access to candidate sets, and in rare situations unknown patterns are absent from libraries altogether. External structures may also deviate from reality: for example, baseline correction or peak models proposed by van Stokkum et al. 2009 may not fit the collected data in some special cases. For instance, certain contamination patterns may mimic real compounds while appearing across all retention times (RTs), and it is challenging to categorize such patterns into a peak or a baseline. For these reasons, when libraries are incomplete and external structures deviate from reality, a generalized MCR framework that remains effective under extreme sparsity, capable of decomposing mixtures is still necessary. MCR refers to a family of algorithms designed to decompose mixtures ( D in Eq. 1 ) into base patterns (components, S ) and their corresponding intensities (concentrations, C^{T} ). In the classical setting of chemical signals, concentrations are non-negative, and the concentration matrix is sparse. In this study, the focus is further narrowed to conditions where the component matrix itself is also sparse. MCR is generally formulated as a matrix factorization (MF) problem, with algorithms divided into iterative and non-iterative approaches. Non-iterative MCR methods often require additional constraints, such as orthogonality, which may not reflect the structure of the data, particularly when the number of collected samples is insufficient to ensure uniqueness of Eq. 1 ( Maeder 1987 ) . Iterative approaches are more widely used, including non-negative matrix factorization (NMF) and its extensions such as sparse NMF and Bayesian NMF ( Lee & Seung 1999 ; Hoyer 2004 ; Schmidt et al. 2009 ) . Among these, MCR–alternating least squares (ALS; Tauler et al. 1995 ) is the most popular and has been broadly applied in chemical data analysis, especially spectroscopy ( Garrido et al. 2008 ; Felten et al. 2015 ; Smith et al. 2019 ) . More recently, energy-based generative MCR (EB-gMCR; Chang & Chen 2025 ) introduced a framework that re-models MCR as a data generation process, providing high scalability for large component datasets. A distinctive feature of EB-gMCR is that the number of components can be determined automatically rather than specified by the user. \ {D}={C}{S}+{E} (1) To adapt EB-gMCR for sparse component learning, SparseEB-gMCR extends the EB-select gating mechanism by introducing a fixed gate that masks zero indices in the component matrix. In addition to benchmarking reconstruction performance against classical MCR methods under sparse conditions, this study applies SparseEB-gMCR to remove polluted patterns in a real-world GC-MS dataset where the contamination source is unknown. Although ground truth for quantitative evaluation of pollution removal is not available, quantitative MS analysis was performed to verify the effectiveness. This application illustrates how direct data generation modeling can advance real-world chemical data analysis. The results suggest that generative MCR frameworks can extend beyond synthetic validation to real-world problems, offering a new pathway for analyzing sparse chemical signals. Such capability may open further applications in mass spectrometry, spectroscopy, and other analytical platforms where sparsity is intrinsic. 2 SparseEB-gMCR 2.1 Preliminary The core concept of EB-gMCR is to reformulate the classical MCR decomposition (Eq. 2 ; Chang & Chen 2025 ). The key difference from conventional MCR is the inclusion of an indicator function \delta hat governs component selection. A “selected component” refers to one actively contributing to the generation of mixed signals. In practice, \delta is parameterized by a neural network (NN) using the Gumbel–Softmax reparameterization trick ( Jang et al. 2016 ; Maddison et al. 2016 ) , forming the EB-select module. The concentration matrix C is also predicted by a NN, while S is defined as a set of learnable components, aligning with dictionary learning. N denotes the number of components used to generate the observed signals, and \Phi is the aggregation function that combines selected

Read the complete text