Introduction
In the early stages of scientific discovery, researchers often face a significant bottleneck: high-quality experimental data is expensive and time-consuming to acquire. While deep learning has transformed fields with abundant data, it frequently struggles in chemistry, where datasets often consist of only tens or hundreds of samples. In these "small data" regimes, Gaussian Processes (GPs) emerge as the mathematical gold standard, offering exact Bayesian inference and reliable uncertainty quantification.
However, a gap has existed between GP theory and chemical practice. Standard GPs are optimized for continuous inputs, whereas chemistry is inherently discrete and structured, involving molecular graphs, SMILES strings, and high-dimensional fingerprints. GAUCHE (GAUssian processes in CHEmistry) bridges this gap by providing a specialized library for chemical machine learning.
The GAUCHE Framework
GAUCHE is an open-source library built upon GPyTorch and BoTorch, inheriting their modularity and GPU acceleration. Its primary contribution is a suite of "bespoke" kernels designed specifically for chemical representations.
The library supports several key representation-kernel pairs:
- Fingerprint Kernels: Includes the Tanimoto kernel, a staple in chemoinformatics, now formalized for GP regression.
- String Kernels: Operates directly on SMILES or SELFIES strings using bag-of-characters approaches to compare sub-strings.
- Graph Kernels: Interfaces with the GraKel library to utilize topological comparisons like the Weisfeiler-Lehman kernel.
- Reaction Kernels: Features specialized representations like the Differential Reaction Fingerprint (DRFP) to model chemical transformations.
Experimental Evaluation
The authors validated GAUCHE across a diverse set of benchmarks, including molecular property prediction (Photoswitch, ESOL, FreeSolv, Lipophilicity) and chemical reaction yield prediction (Pd-catalysed Buchwald–Hartwig and Suzuki–Miyaura couplings).
Key Results
The experiments revealed that "shallow" GPs using Tanimoto kernels on fingerprints often match or exceed the performance of complex Bayesian Neural Networks (BNNs) and Graph Neural Networks (GNNs) on small datasets. Crucially, GPs provided superior uncertainty calibration, which is vital for decision-making in experimental loops.
In Bayesian Optimization (BO) tasks, GAUCHE-powered models identified optimal molecules and reaction conditions significantly faster than random search. For instance, in the Buchwald-Hartwig reaction yield prediction, the combination of DRFP and the Tanimoto kernel achieved an $R^2$ of 0.94, outperforming standard RBF kernels.
Discussion and Insights
Three major insights emerged from the development of GAUCHE:
- Uncertainty is Paramount: In BO, a model's ability to quantify its own ignorance is often more important than its raw predictive accuracy.
- Representation is Task-Dependent: No single representation (SMILES, graphs, or fingerprints) is universally superior; GAUCHE allows researchers to empirically determine the best fit for their specific problem.
- Occam's Razor: GPs "just work" with fewer hyperparameters than deep ensembles, making them ideal for automated scientific discovery where manual fine-tuning is impractical.
Conclusion and Future Work
GAUCHE establishes Gaussian Processes as a first-class citizen in the chemical machine learning ecosystem. While currently optimized for small-to-mid-sized datasets, future developments will focus on scaling to larger libraries via sparse GPs, implementing multi-objective optimization, and integrating with generative models like Variational Autoencoders.
The GAUCHE library is open-source and available for the community to accelerate molecular discovery and reaction engineering.
Summary updated