Data-Driven Offline Decision-Making via Invariant Representation Learning

Han Qi, Yi Su, Aviral Kumar, Sergey Levine

TL;DR

This paper introduces Invariant Objective Models (IOM), a new approach to offline model-based optimization that treats the problem as a form of domain adaptation. By forcing the model’s internal representations to be "invariant" (indistinguishable) between the training data and the designs found during optimization, the model naturally predicts mediocre values for out-of-distribution inputs. This prevents the optimizer from being "fooled" by erroneous overestimations without requiring overly pessimistic constraints.

What Problem Does This Paper Address?

In many fields—from drug discovery to robot design—we want to find a "design" ($x$) that maximizes a specific "utility" ($y$). In the offline setting, we only have a static dataset of previous experiments; we cannot interact with the real world to test new ideas during training.

The fundamental challenge in this setting is distributional shift. When we train a proxy model on static data and then ask an optimizer to find the best design, the optimizer often finds "adversarial" points. These are designs far outside the training distribution where the model's predictions are wildly over-optimistic. Prior methods try to fix this with "conservatism" (explicitly penalizing the model on unseen data), but these penalties can be difficult to tune and often require "cheating" by using online evaluations to pick the best hyperparameters.

Methods

The authors reframe offline optimization as a domain adaptation problem. They treat the training dataset as the "source domain" and the distribution of designs found by the optimizer as the "target domain."

Invariant Objective Models (IOM)

Instead of just training a model to map $x \to y$, IOM splits the model into two parts: a representation learner $\phi(x)$ and a forward model $f(\phi(x))$.

The key innovation is a regularizer that minimizes the discrepancy between the representations of the training data and the representations of the optimized designs.

Illustration of Invariance vs. Conservatism
  • The Mechanism: If the representation $\phi$ is forced to be invariant, it "loses" the information that distinguishes a novel, out-of-distribution (OOD) design from the training data.
  • The Result: Because the model cannot tell the difference between OOD points and the training set at the representation level, it defaults to predicting the average value of the training data for those OOD points. This makes OOD points look "mediocre" rather than "amazing," which naturally keeps the optimizer from straying too far into unknown territory.

Implementation

The authors implement this using an adversarial training procedure (similar to a Least-Squares GAN). A discriminator tries to tell if a representation came from the dataset or the optimizer, while the representation learner tries to "fool" the discriminator into thinking they are the same.

Datasets

The researchers evaluated IOM on the Design-Bench suite, a standard benchmark for offline model-based optimization. The tasks included optimizing the shape of a four-legged robot for speed (Ant Morphology), finding the best neural network weights for a hopping robot (Hopper Controller), and various chemical/biological tasks.

Key Insights and Ideas

  • Invariance as a "Soft" Constraint: Unlike "pessimistic" methods that require you to guess how much to penalize unseen data, IOM uses the data itself to define the boundaries. If the optimizer goes too far, the representation simply fails to provide the information needed to justify a high score.
  • The "Mediocrity" Effect: A major insight is that invariance doesn't make OOD points look bad; it makes them look average. This is often safer than trying to guess exactly how "bad" a point is, which can lead to overly cautious optimization.
  • Principled Offline Tuning: One of the biggest contributions is a working offline hyperparameter tuning strategy. By filtering for models that achieve high invariance and then picking the one with the lowest validation error, the authors provide a way to select models without ever needing to run a real-world experiment.

Key Results

Performance comparison of IOM against baselines
  • State-of-the-Art Performance: IOM outperformed existing methods like COMs (Conservative Objective Models) and MINs across the Design-Bench tasks, achieving higher median and interquartile mean (IQM) normalized scores.
  • Robustness: The method proved to be relatively insensitive to the exact choice of the invariance hyperparameter ($\lambda$), provided the offline tuning strategy was used.
  • Tuning Success: In head-to-head comparisons of offline tuning strategies, IOM’s strategy achieved the lowest "regret" (the gap between the chosen model and the theoretical best model), significantly beating standard validation-error-only approaches.

Limitations and Future Work

  • Sequential Decision Making: While the paper mentions Offline Reinforcement Learning (RL), the experiments and specific formulations in this paper are focused on single-step Model-Based Optimization (MBO). Extending this to multi-step RL is a stated goal for future work.
  • Theoretical Bounds: While the authors provide a theoretical lower bound for IOM, they acknowledge it may not be the "tightest" possible bound, suggesting room for more rigorous mathematical refinement.
  • Dependence on Data Quality: Like all offline methods, IOM is still ultimately limited by the diversity and quality of the initial static dataset. If the dataset contains no "good" directions to explore, invariance won't magically find them.

Summary updated

BibTeX
@inproceedings{qi2022data,
  author = {Han Qi and Yi Su and Aviral Kumar and Sergey Levine},
  title = {{Data-Driven Offline Decision-Making via Invariant Representation Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=gKe_A-DxzkH},
}
Figure