Conservative objective models are a special kind of contrastive divergence-based energy model

Christopher Beckham, Christopher PalarXiv 2023 · DOI

Introduction

Conservative Objective Models (COMs) have emerged as a powerful framework for Model-Based Optimization (MBO), particularly in high-stakes design domains such as drug discovery and protein engineering. This paper provides a novel theoretical bridge, revealing that COMs are fundamentally a specific class of Energy-Based Models (EBMs) trained via Contrastive Divergence. By reframing COMs through this probabilistic lens, we introduce "Stochastic" and "Decoupled" variants that significantly improve design diversity and quality by moving beyond simple gradient ascent to more robust sampling techniques.

The Challenge of Model-Based Optimization

In MBO, the goal is to find an input $x$ that maximizes a reward $y = f(x)$. In practice, we often lack a ground-truth evaluator and must rely on a proxy model (an "oracle") trained on a static dataset. A primary failure mode in this setting is the tendency of proxy models to assign erroneously high rewards to "implausible" or out-of-distribution (OOD) inputs—configurations that are physically impossible or simply absent from the training data.

COMs were designed to mitigate this by incorporating a conservatism penalty, effectively lowering the predicted reward for adversarial examples generated by the model itself. While effective, original COMs were treated as purely discriminative. This work explores their hidden generative nature to refine the search for optimal designs.

Theoretical Framework: COMs as EBMs

The authors demonstrate that the training objective of a COM is mathematically equivalent to training an EBM using Contrastive Divergence. Specifically, COMs implicitly model the joint probability $p(x, y)$. The "conservatism" term typically used in COMs functions as a form of density estimation on the input space, penalizing regions where the model lacks data support.

Proposed Methodologies

Building on the EBM interpretation, two primary enhancements are proposed:

1. Stochastic COMs

Original COMs utilize gradient ascent to identify optimal designs, which tends to collapse onto the nearest local modes (peaks) of the reward landscape. Stochastic COMs replace this with Langevin MCMC, a sampling method that injects noise to explore the full distribution of high-reward, plausible designs. This ensures a more diverse set of candidate solutions.

2. Decoupled COMs

Standard COMs often suffer from a "tug-of-war" within a single neural network tasked with learning both the data distribution (plausibility) and the reward function. Decoupled COMs separate these tasks into two distinct models: one for the data density and one for the reward. By using "conditional guidance," the system samples from a "tilted density," effectively finding the intersection of high-reward regions and the valid data manifold.

Experimental Evaluation: The 2D Spiral Dataset

To visualize the MBO challenge, the authors utilize a 2D Spiral Dataset. In this task, data points lie on a 2D spiral, while the reward is maximized at the center of the plot $(0,0)$. Crucially, the center is "empty" (OOD). A successful model must identify points that remain on the spiral manifold while getting as close to the high-reward center as possible.

The 2D Spiral Dataset: The reward y is maximized at the center (0,0), which lies outside the data distribution (orange spiral).

Key Results

Experimental results highlight the limitations of standard approaches and the strengths of the proposed variants:

  • Original COMs: Suffered from mode collapse, failing to provide a diverse set of designs.
  • Stochastic COMs: Improved diversity but struggled to balance the manifold constraint with reward maximization due to the shared-network bottleneck.
  • Decoupled COMs: Achieved the optimal balance. By adjusting the guidance weight $w$, the model successfully generated samples that followed the spiral geometry while clustering at the point closest to the high-reward center.
Decoupled COMs performance across different guidance weights w. As w increases, samples move along the spiral toward the high-reward center without drifting into OOD regions.

Conclusion and Future Work

By establishing the link between COMs and EBMs, this work provides a more principled foundation for conservative optimization. While the 2D spiral serves as a robust proof-of-concept, future work will focus on scaling these methods to high-dimensional biological and chemical data. Additionally, the authors suggest that Score-Based Generative Models (SBGMs) may offer further stability improvements over the Contrastive Divergence approach used here.

Summary updated

BibTeX
@misc{beckham2023conservative,
  author = {Christopher Beckham and Christopher Pal},
  title = {{Conservative objective models are a special kind of contrastive divergence-based energy model}},
  year = {2023},
  eprint = {2304.03866},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2304.03866},
}
Figure