Introduction
When the Curiosity rover analyzes Martian rocks using Laser-Induced Breakdown Spectroscopy (LIBS), it generates high-dimensional signals that must be translated into chemical compositions. Traditionally, supervised learning models trained on terrestrial laboratory data are used for this task. However, Mars often presents mineral compositions unseen in Earth labs. Standard deep learning models frequently "fail silently" in these scenarios, providing confident but incorrect predictions. This research introduces the Structured Normalizing Flow Gaussian Process (SNFGP), a hybrid generative model designed to provide principled uncertainty quantification, ensuring models can signal when they encounter unfamiliar data.
Methodology
The SNFGP architecture decomposes the problem into three distinct layers to balance representational power with robust uncertainty estimation:
- Dimensionality Reduction: Principal Component Analysis (PCA) projects massive spectroscopic data (thousands of wavelengths) onto a manageable 15-dimensional manifold.
- Normalizing Flows (RealNVP): A series of invertible transformations maps the PCA-reduced data into a latent space where the data distribution is simplified, capturing complex non-linear structures.
- Gaussian Processes (GPs): Within the latent space, the relationship between chemical composition and the latent representation is modeled using GPs. GPs provide exact likelihood calculations and, crucially, predictive variance that naturally increases as the model moves further from its training distribution.
Experimental Setup and Results
The model was evaluated using ChemCam calibration data consisting of 2,442 spectra from 466 unique materials. The primary target was the oxide weight percentage of silica ($SiO_2$). To test the model's ability to handle unfamiliar data, an "extrapolation regime" was created by training only on materials with less than 80% $SiO_2$ and testing on those with more than 90% $SiO_2$.
As shown in the performance metrics, the model maintains high reliability even when accuracy drops. In the interpolation regime, the model achieved an $R^2$ of 0.91 with 95% coverage. In the challenging extrapolation regime, while the $R^2$ became negative, the coverage remained high at 89%, indicating that the model's uncertainty intervals still captured the true values the vast majority of the time.
This behavior is visualized in the composition analysis. For samples within the training distribution, predictions are tight and accurate. As the model encounters high-$SiO_2$ samples in the extrapolation range (the rightmost points), the uncertainty bars significantly widen. This "principled extrapolation" allows the model to effectively say "I don't know," providing a critical safeguard for high-stakes scientific exploration.
Conclusion and Future Work
The SNFGP demonstrates that combining PCA and Normalizing Flows with Gaussian Processes allows for the capture of complex physical manifolds while maintaining a mathematical "sense of distance." While currently focused on $SiO_2$, future work aims to expand this to multi-component Martian geochemistry and account for environmental differences between Earth-based laboratories and the Martian surface.
Summary updated