Design Editing for Offline Model-based Optimization

Ye Yuan, Youyuan Zhang, Can Chen, Haolun Wu, Melody Zixuan Li, Jianmo Li, James J. Clark, Xue Liu

Design Editing for Offline Model-based Optimization (DEMO) is a novel framework designed to solve the "over-optimization" problem in offline design tasks. By first using gradient ascent to find high-scoring (but potentially unrealistic) designs and then employing a diffusion model to "edit" them back onto the manifold of valid data, DEMO bridges the gap between theoretical optimization and practical realism.

The Challenge of Out-of-Distribution Designs

In fields like robotics, drug discovery, and material science, researchers often seek a "design"—a specific set of parameters—that maximizes a desired property, such as a robot's speed or a material's conductivity. Because running real-world experiments is expensive and time-consuming, the standard approach is Offline Model-based Optimization (MBO). This involves taking a fixed dataset of previous designs and their scores, training a "surrogate" neural network to predict those scores, and then using that surrogate to search for the best possible new design.

However, surrogate models are notoriously unreliable outside the range of their training data. If you simply perform gradient ascent to maximize the predicted score, you frequently end up with "adversarial" designs. These are parameters that the surrogate model thinks are exceptional, but are actually physically impossible or low-performing in reality. This is widely known as the out-of-distribution (OOD) issue.

The DEMO Approach: Search and Edit

To tackle the OOD problem, the authors propose a two-phase approach called DEMO:

  1. Acquirement of Pseudo Design Candidates: The algorithm starts with the best designs in the existing dataset and performs standard gradient ascent using the surrogate model. This creates "pseudo candidates" that have high predicted scores but are likely unrealistic because they have drifted too far from the original data distribution.
  2. Design Editing via Diffusion Prior: This is the core innovation of the paper. Inspired by image editing techniques (like SDEdit), the authors train a conditional diffusion model on the offline dataset to learn the "manifold" of valid designs.
DEMO Method Overview

As illustrated above, the pseudo candidates are first "perturbed" by adding a specific amount of noise (controlled by a hyperparameter $m$). The diffusion model then "denoises" them. This effectively projects these wild, over-optimized designs back toward the distribution of valid, high-performing designs. The entire process is conditioned on the maximum score in the dataset to ensure the edited designs remain in the high-performance regime.

By decoupling the search for high performance (gradient ascent) from the enforcement of realism (diffusion editing), DEMO avoids the stability issues inherent in trying to accomplish both simultaneously.

Key Insights

  • The "Wild" Search vs. "Sober" Refinement: Most MBO methods attempt to regularize the search while it is happening. DEMO argues it is more effective to let the search go "wild" first to capture information beyond the dataset, and then use a separate, powerful prior (diffusion) to perform a sanity check and refinement.
  • Diffusion as an Editor, Not Just a Generator: Instead of generating designs from pure noise—which might ignore the surrogate's guidance—DEMO uses diffusion to fix existing ideas. This preserves the high-performance features found by gradient ascent while stripping away OOD artifacts.
  • The Goldilocks Zone of Noise ($m$): The amount of noise added during editing is critical. Too little noise leaves you stuck with an invalid, over-optimized design; too much noise washes away the surrogate's insights, reverting the design back to those already present in the dataset.

Experimental Results

The authors evaluated DEMO on seven diverse tasks from the Design-Bench and BayesO benchmarks, covering both continuous tasks (e.g., Superconductor material design, Ant Morphology) and discrete tasks (e.g., TF Bind DNA sequence design, Neural Architecture Search).

DEMO achieved state-of-the-art or highly competitive results across the board:

  • Rankings: Out of 19 total methods compared, DEMO achieved a mean rank of 2.1 and a median rank of 1, outperforming established baselines like COMs, ROMA, and DDOM.
  • Reliability: In a dedicated reliability study, DEMO consistently produced a higher proportion of designs that surpassed the best designs in the original dataset compared to "diffusion-only" or "gradient-only" approaches.
  • Efficiency: Despite utilizing diffusion models, DEMO remains computationally efficient, requiring less time to optimize design candidates than other diffusion-based methods.

Limitations and Future Work

While highly effective, DEMO's performance relies heavily on tuning the noise level $m$. Although the authors found $m=600$ (out of 1000 steps) worked well across their tasks, real-world applications might require careful, task-specific calibration. Additionally, DEMO struggled slightly on the Neural Architecture Search (NAS) task, which the authors attribute to the limitations of one-hot encoding for complex discrete structures. Future work could explore more sophisticated embeddings for discrete architectures to further broaden DEMO's applicability.

Summary updated

BibTeX
@inproceedings{yuan2025design,
  author = {Ye Yuan and Youyuan Zhang and Can Chen and Haolun Wu and Melody Zixuan Li and Jianmo Li and James J. Clark and Xue Liu},
  title = {{Design Editing for Offline Model-based Optimization}},
  booktitle = {DeLTa @ ICLR},
  year = {2025},
  url = {https://openreview.net/forum?id=fF1KXgAhKN},
}
Figure