Applications of Gaussian Processes at Extreme Lengthscales: From Molecules to Black Holes

Ryan-Rhys GriffithsarXiv 2023 · DOI

Abstract

In many areas of the observational and experimental sciences, data is a scarce resource. High-energy astrophysics is often hampered by celestial occlusions and limited telescope time, while laboratory experiments in synthetic chemistry and materials science are both time- and cost-intensive. However, these fields often possess significant prior knowledge about data-generation mechanisms. This combination of small datasets and underlying physical knowledge makes Gaussian processes (GPs) ideal candidates for scientific modeling. This paper explores the application of GPs across extreme lengthscales—from the latent emission signatures of black hole accretion discs to the virtual screening of novel photoswitch molecules. We introduce the GAUCHE library for chemical GPs and a Bayesian optimization framework designed to handle aleatoric uncertainty, facilitating the discovery of robust material compositions.

Introduction: The Small-Data Challenge in Science

While deep learning has revolutionized fields with abundant data, many of the most challenging problems in the natural sciences remain in the "small-data" regime. Scientific discovery often involves gapped observations, such as telescopes being unable to monitor a black hole continuously, or structured inputs like molecules that cannot be easily represented as simple numerical vectors. Furthermore, experimental noise is rarely uniform; measurement error often varies across the input space (heteroscedasticity).

Gaussian processes (GPs), a class of Bayesian non-parametric models, offer a robust solution to these challenges. By providing principled uncertainty estimates and allowing for the integration of domain-specific knowledge through kernel engineering, GPs serve as a powerful "workhorse" for scientific inference and optimization.

Methodological Contributions

Kernel Engineering and the GAUCHE Library

A primary hurdle in applying GPs to chemistry is the representation of molecular structures. Standard machine learning models often struggle with the graph-based or string-based nature of molecules without massive training sets. To address this, we developed GAUCHE, an open-source library that implements bespoke kernels for chemical structures. This includes the Tanimoto kernel for molecular fingerprints and specialized kernels for SMILES strings and molecular graphs, enabling GPs to operate directly on the native representations used by chemists.

Multioutput GPs for Property Prediction

To enhance performance in data-poor scenarios, we utilize Multioutput GPs (MOGPs) for multitask learning. By simultaneously training on multiple related molecular properties—such as different light absorption wavelengths—the model can leverage correlations between tasks. This "information sharing" significantly improves predictive accuracy for properties where experimental data is particularly sparse.

Robust Bayesian Optimization

In industrial and laboratory settings, finding a high-performing material is insufficient if its performance is hypersensitive to minor variations in manufacturing conditions. We introduce a heteroscedastic Bayesian optimization framework that accounts for input-dependent (aleatoric) noise. By utilizing new acquisition functions like HAEI (Heteroscedastic Augmented Expected Improvement) and ANPEI (Augmented Noisy Probability of Improvement), the model explicitly penalizes regions of high inherent noise, guiding researchers toward "flat" regions of the design space where performance is both high and stable.

Applications and Results

From Black Holes to Molecular Discovery

The versatility of the GP framework is demonstrated through two vastly different applications:

  1. Astrophysics: We applied GP modeling to reason about the latent emission signature from the Seyfert galaxy Markarian 335. The GP interpolation suggested that the distance between UV and X-ray emission regions is greater than current theoretical models of accretion discs predict, providing critical data for refining astrophysical theory.
  2. Photoswitch Chemistry: In a benchmark study, our GP model was pitted against 14 professional chemists to predict the properties of photoswitch molecules. The GP significantly outperformed human intuition, especially as molecular complexity increased.

Efficiency and Validation

The practical utility of these models is underscored by their efficiency. In a virtual screening of over 7,000 molecules, the GP framework identified 11 lead candidates for high-tech applications like LEDs. Six of these were experimentally validated to meet all performance criteria. Notably, while standard quantum mechanical simulations (TD-DFT) would have required nearly 400 days of CPU time to screen the benchmark set, the GP inference was completed in less than one minute with comparable accuracy.

Conclusion and Future Outlook

Gaussian processes provide a mathematically rigorous framework for scientific discovery in data-constrained environments. By bridging the gap between physical theory and empirical observation, they allow researchers to test hypotheses and optimize experiments with unprecedented efficiency.

Future work will focus on addressing the cubic scalability limit of GPs ($O(N^3)$) through Deep GPs and Normalizing Flows, as well as extending the GAUCHE framework to the even more complex structural challenges of protein engineering. As experimentalists increasingly rely on Bayesian optimization, developing "offline simulators" will be crucial for building trust in these automated discovery systems.

Summary updated

BibTeX
@misc{griffiths2023applications,
  author = {Ryan-Rhys Griffiths},
  title = {{Applications of Gaussian Processes at Extreme Lengthscales: From Molecules to Black Holes}},
  year = {2023},
  eprint = {2303.14291},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2303.14291},
}
Figure