EB-gMCR: Energy-Based Generative Modeling for Signal Unmixing and Multivariate Curve Resolution

Yu-Tang Chang, Shih-Fang Chen · 2025

Read EB-gMCR: Energy-Based Generative Modeling for Signal Unmixing and Multivariate Curve Resolution 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-2507-23600.txt.

Introduction

Yu-Tang Chang and Shih-Fang Chen present a method in two thousand twenty-five for unmixing signals from chemical mixtures. A single measure of a mixture records the sum of its few components, each weighted by its amount. The task is to recover both the components and their amounts from many samples.

Their solver, EB-gMCR, models how a sample is made, rather than just factoring a data matrix. They prove that, under set conditions, the solution with the fewest component uses is the true one. The solver picks components for each sample with an energy-based gate and a penalty on use. It found the right component count on synthetic mixtures and on two public spectroscopy data sets.

Catalog record

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

Source: https://arxiv.org/abs/2507-23600

Browse the full library · About the Tower of Babel

Full text

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

EB-gMCR: Energy-Based Generative Modeling for Signal Unmixing and Multivariate Curve Resolution Yu-Tang Chang, Shih-Fang Chen Abstract Signal unmixing analysis decomposes data into basic patterns and is widely applied in chemical and biological research. Multivariate curve resolution (MCR), a branch of signal unmixing, separates mixed chemical signals into base patterns (components) and their concentrations, playing a key role in understanding composition. Classical MCR is typically framed as matrix factorization (MF) and requires a user-specified component count, usually unknown in real data. As dataset size or component count increases, the scalability and reliability of MF-based MCR face significant challenges. This study reformulates MCR as a generative process (gMCR), and introduces an energy-based deep learning solver, EB-gMCR, that automatically discovers the smallest component set able to reconstruct the data faithfully. EB–gMCR starts from a large candidate pool (e.g., 1024 spectra) and employs a differentiable gating network to retain only active components while estimating their concentrations. On noisy synthetic datasets containing up to 256 latent sources, EB–gMCR maintained R 2 ≥ R^{2}\geq 0.98 and recovered the component count within 5% of the ground truth; at lower noise it achieved R 2 ≥ R^{2}\geq 0.99 with near exact component estimation. Additional chemical priors, such as non-negativity or nonlinear mixing, enter as simple plug-in functions, enabling adaptation to other instruments or domains without altering the core learning process. By uniting high-capacity generative modeling and hard component selection, EB-gMCR offers a practical route to large-scale signal unmixing analysis, including chemical library-driven scenarios. The source code is available at https://github.com/b05611038/ebgmcr_solver . 1 Introduction Multivariate curve resolution (MCR) is a signal unmixing technique commonly applied to chemical data, such as optical or mass spectra ( de Juan & Tauler 2021 ) . The core concept involves treating chemical data ( \mathbf{D} ) as a mixture of signals from multiple unknown and independent source patterns. One primary goal of MCR is to obtain these patterns ( \mathbf{S} ) and their concentrations ( \mathbf{C} ,Eq. 1 ). Usually, the formulation of MCR includes a noise term ( \mathbf{E} ) to represent signals introduced by chemical instruments. If a separated pattern closely approximates an actual source chemical pattern, it is possible to identify the chemical composition of the tested sample. Although MCR is conceptually intuitive, various practical difficulties arise in real-world applications. For instance, the types and number of mixed patterns are often unknown. The solution space becomes infinite unless additional constraints are imposed when solving the MCR equation. \mathbf{D}=\mathbf{C}\mathbf{S}+\mathbf{E} (1) MCR solvers can generally be divided into two categories: iterative and non-iterative. Non-iterative solvers find the solution by introducing suitable constraints to satisfy the full-rank condition, then solving the system of equations using classical matrix factorization methods in linear algebra. Constraints may be imposed on both the pattern and concentration matrices, primarily determined by the chemical properties of the data. One commonly used constraint is retaining maximum information and imposing orthogonality on the pattern matrix, i.e. applying principal components for MCR solutions method ( Lawton & Sylvestre 1971 ) , evolving factor analysis (EFA) ( Keller & Massart 1991 ) , etc. Because some applications cannot formulate matrices that meet the full-rank requirement, iterative solvers are often viewed as a more general option for real-world problems. Iterative solvers compute solutions using a convex objective function, including Parallel Factor Analysis 2 (PARAFAC2) ( Harshman 1972 ) , MCR-alternating least squares (ALS) ( Tauler et al. 1995 ) , etc. Although both iterative and non-iterative solvers can achieve satisfactory signal separation, their performance degrades under measurement noise and the numerical instability of large linear systems. Specifically, removing certain rows from the data matrix often prevents the estimated pattern and concentration matrices from remaining close to those derived from the full data matrix, even if both subsets originate from the same data acquisition process. This instability has led to a practical concern: can the calculated chemical components be readily used when a new dataset is collected? Alternatively, if candidate components are known based on prior chemical knowledge, is it possible to incorporate them into the MCR solver? For instance, ( Barcaru et al. 2017 ) parsed GC–MS spectra using an existing mass spectrum library, and ( Heinecke et al. 2021 ) analyzed metabolites by incorporating prior information from NMR signals. Another practical concern in existing MCR solvers lies in their limited ability to honor basic chemical priors such as non-negativity in spectral data. Even a minor new constraint often requires a fresh solver because the task is framed as a fixed linear system. To align MCR more naturally with domain knowledge, we introduce generative MCR (gMCR) and—built on top of it—the energy-based solver EB-gMCR. Our contributions are fourfold: • EB-gMCR solver. An energy-based generative solver that starts from an oversized component pool and uses the learnable gate EB-select to retain only the components needed for accurate reconstruction of mixed spectra. • Functional learning formulation of MCR. The multicomponent resolution task is reformulated as learning a generating function via mini-batch optimization, avoiding repeated global matrix factorizations. • High-capacity yet compact solutions. A selection energy objective combined with a non-duplicated component constraint lets the solver examine pools above 100 candidates—about ten times the scale of typical practice—yet still converge to models using less components. • Chemistry oriented plug-in priors. Domain knowledge such as concentration normalization or non-negativity constraints enters through simple plug-in operators added to the model forward computation, so chemists can tailor the solver to new datasets without redesigning the core algorithm. The study validates these ideas on all-positive, mixed spectral datasets, showing that EB-gMCR achieves high reconstruction accuracy while activating the fewest necessary components. 2 Generative Multivariate Curve Resolution (gMCR) Revisiting the MCR problem setup, it represents mixed signals (data) as a linear combination of unknown components, where N\in\mathbb{N} . Typically, specifying a very large number of components (for example, more than a thousand) is impractical when both concentration and component matrices are unknown. However, if no prior assumption is made about potential chemical components, the number of components must be set high enough to ensure a sufficiently comprehensive solution space. Although using a large number of components is not common in traditional MCR solvers, searching for and combining both known and unknown patterns aligns more closely with the core idea of the original MCR problem. Consequently, the gMCR framework reformulates the MCR equation as a data generating function describing the mixing of chemical patterns, providing a dual representation: a generative view of the classical MCR problem (Eq. 2 ; Fig. 1 ) In this formulation, \delta is an indicator function for candidate patterns that participate in the mixing process, and \Phi is an aggregation function for these patterns. The nature of this aggregation depends on the instrument; for instance, in mass spectrometry it can be treated as simple addition. Furthermore, because each component’s indicator function is considered independent in the chemical signal mixing, the resulting generation process approximating the true data generation process satisfies an intuitive incremental property (Eq. 3 ), where D_{1} denotes the generation process for a single component. \mathbf{D}(\omega)=\Phi\left(\{\delta_{i}(\omega),\mathbf{C}_{i}(\omega),\mathbf{S}_{i}(\omega)\}_{i=1}^{N}\right)+\mathbf{E}(\omega) (2) \mathbf{D}_{i+j}(\omega)\approx\mathbf{D}_{i}(\omega)+\mathbf{D}_{j}(\omega) (3) Figure 1: Graphical model of multivariate curve resolution (gMCR). Only the black node (representing the data \mathbf{D} ) is an observed variable, whereas the other gray nodes are

Read the complete text