Introduction
In many scientific and engineering domains—such as drug discovery, materials science, and aerospace engineering—evaluating a new design is an incredibly expensive, time-consuming, or dangerous process. Researchers often rely on a static dataset of past experiments (e.g., "this protein sequence yielded this fluorescence level") to find a new design that maximizes performance. This challenge is known as Offline Model-Based Optimization (MBO).
The standard approach to MBO involves training a neural network "proxy" on the available data and then using gradient ascent to find the input that the proxy predicts will perform best. However, this naive approach has a critical flaw: neural networks are notoriously overconfident on "out-of-distribution" (OOD) data. An optimizer will quickly exploit the model's inaccuracies, finding "adversarial" designs—points where the model erroneously predicts high performance simply because it hasn't seen anything similar, even if the true performance is poor.
To address this, the authors introduce NEMO (Normalized maximum likelihood Estimation for Model-based Optimization), a novel algorithm that leverages Normalized Maximum Likelihood (NML) to prevent optimizers from exploiting model inaccuracies by providing principled, conservative uncertainty estimates.
The NEMO Approach: Normalized Maximum Likelihood
The core innovation of NEMO is replacing standard maximum likelihood estimation with Normalized Maximum Likelihood (NML).
The NML Intuition
NML produces a predictive distribution that remains robust even if the true label for a new, unseen point is chosen by an adversary. This makes the model naturally conservative. If the optimizer explores a design far from the training data, the NML distribution becomes highly "diffuse" (indicating high uncertainty) rather than confidently predicting a single, potentially incorrect high value. By assuming the worst-case label for OOD points, NML minimizes "regret" and prevents the optimizer from cheating its way into poorly constrained regions of the design space.
Making NML Tractable for Deep Learning
Standard NML is mathematically intractable for deep learning because it theoretically requires retraining the model for every possible output value at every optimization step. NEMO solves this through three key approximations:
- Amortization: Instead of retraining from scratch, NEMO maintains $K$ separate models and updates them incrementally alongside the optimization process.
- Quantization: The continuous output space (the target $y$ values) is discretized into a fixed number of bins.
- Discretized Logistic Architecture: Discretization usually creates "flat gradients," which halt gradient-based optimization. To bridge the need for discrete bins and continuous gradients, NEMO uses a specialized architecture that outputs a vector representing the cumulative distribution function (CDF) of a logistic distribution. This allows for smooth, meaningful gradients during the optimization process.
Key Insights: Why Ensembles Aren't Enough
A common baseline technique for estimating uncertainty in deep learning is to use an "ensemble" of models. However, the authors demonstrate that in low-data regimes typical of offline MBO, ensembles can be dangerously "confident but wrong."
As shown above, while an ensemble might agree on an incorrect prediction outside the training distribution, NML correctly identifies its own ignorance by expanding its uncertainty bounds. This diffuse uncertainty is exactly what prevents the gradient ascent process from exploiting the proxy model.
Experimental Results
The authors evaluated NEMO on the Design-bench suite, which includes six high-dimensional tasks ranging from biology to robotics:
- Superconductor: Designing materials with high critical temperatures (81-D input).
- GFP: Optimizing the fluorescence of Green Fluorescent Protein (238-D sequence).
- MoleculeActivity: Designing molecular substructures for high activity (1024-D binary input).
- Robotics Tasks: Optimizing morphology and controllers for simulated robots (Hopper, Ant, and DKitty).
NEMO demonstrated strong, consistent performance across the board, frequently outperforming state-of-the-art methods like Model Inversion Networks (MINs) and Conditioning by Adaptive Sampling (CbAS). Notably, in the Superconductor task, NEMO outperformed all other methods by a very large margin. In the GFP and Materials tasks, NEMO successfully found designs that were significantly better than the best-performing design in the original training dataset. Unlike some baselines that excelled in one domain but failed in others, NEMO remained highly competitive across all six tasks.
Limitations and Future Directions
While highly effective, NEMO does introduce computational overhead. Because it is amortized, NEMO still requires maintaining and updating $K$ separate models (e.g., 20 to 40 bins), making it more computationally expensive than training a single proxy model. Additionally, performance is sensitive to the discretization constant $K$; highly complex output landscapes might require more fine-grained quantization, further increasing costs.
Despite these limitations, the NML framework presents a powerful tool for robust decision-making. The authors suggest that this approach could be extended beyond MBO to other offline problems, such as off-policy evaluation in reinforcement learning or batch learning from bandit feedback, where conservative uncertainty estimation is equally critical.
Summary updated