Introduction
Optimizing complex designs—such as DNA sequences, superconducting materials, or robot morphologies—using only a static dataset is notoriously difficult. Traditional models tend to hallucinate high scores for unrealistic designs when pushed beyond the data they were trained on. To address this, researchers have introduced Guided Trajectory Generation (GTG), a novel approach that uses diffusion models to generate step-by-step trajectories from low-scoring to high-scoring designs. By learning the "path to improvement" rather than just guessing the final answer, GTG achieves state-of-the-art results on offline optimization benchmarks.
The Challenge of Offline MBO
This paper tackles Offline Model-Based Optimization (MBO). In many scientific and engineering fields, testing new designs in the real world (online evaluation) is expensive, slow, or unsafe. Instead, researchers must rely on a pre-existing, static dataset of past experiments to find a new design that scores higher than anything previously recorded.
The core hurdle is the Out-of-Distribution (OOD) problem. If you train a standard neural network (a "proxy") to predict scores from designs and then ask an optimizer to find the best design, the optimizer will exploit the proxy's blind spots. It will output bizarre, unrealistic designs that the proxy mistakenly believes are incredible. Prior methods attempt to fix this by making the proxy highly conservative or by training generative models to map high scores directly to designs. However, these methods often struggle to capture the complex, multi-modal landscape of the actual target function.
Guided Trajectory Generation (GTG)
To overcome these limitations, the authors propose shifting the focus from generating a single optimal design to generating a sequence of improvements.
The GTG framework operates in four main steps:
- Trajectory Construction (The Setup): Instead of training on raw, isolated data points, the authors build synthetic "trajectories" (paths) from the offline dataset. Starting at a low-scoring data point, they iteratively find nearest neighbors with slightly higher scores. This injects a locality bias, ensuring the path represents smooth, consistent improvements rather than random, unrealistic jumps.
- Training the Diffusion Model: A continuous diffusion model is trained to generate these entire trajectories at once. The model is conditioned on the total sum of the scores along the trajectory, learning the "gradient" or shape of the black-box function.
- Guided Sampling: To find new, optimal designs, the system samples from the diffusion model using two key techniques:
- Classifier-free guidance: This mathematically pushes the diffusion model to generate trajectories corresponding to an artificially high target score.
- Context Conditioning: The model "inpaints" the first few steps of the generated trajectory using real data points. This anchors the generation process in reality before letting the model extrapolate into new, high-scoring territory.
- Filtering: Finally, the endpoints of several generated trajectories are evaluated using a standard proxy model to select the top candidates for final use.
Key Insights
- The journey teaches you about the landscape: By training a model to generate a sequence of local improvements, the model implicitly learns how to navigate the complex landscape of the target function.
- Locality bias prevents mode collapse: Previous trajectory-based methods simply sorted the best data points into a sequence. GTG forces synthetic trajectories to take small steps to better neighbors. This prevents the model from memorizing the single best point in the dataset and encourages it to explore diverse paths to success.
- Anchoring generative models is crucial: Diffusion models are highly expressive, but in offline MBO, they can easily wander into OOD territory. "Context conditioning" successfully tethers the model's imagination to the actual data distribution.
Results
The authors evaluated GTG on a toy 2D Branin function for visual intuition, as well as the standard Design-Bench suite (including discrete tasks like DNA sequence binding affinity, and continuous tasks like Superconductor critical temperatures and robot morphologies).
- State-of-the-Art Performance: GTG achieved an average rank of 1.6 across 15 competitive baselines on Design-Bench, outperforming both traditional methods (like CMA-ES) and recent diffusion-based inverse methods (like DDOM).
- Highly Robust to Bad Data: To simulate real-world messiness, the authors tested GTG on artificially degraded datasets. In sparse settings, GTG trained on just 1% of the dataset still managed to find high-scoring designs, outperforming baselines with the same limited data. It showed similar resilience when 50% noise was added to the scores.
- Efficiency: During the sampling phase, the diffusion denoising steps could be reduced by a factor of 10 (from 200 to 20) with minimal loss in performance, enabling fast inference (under 10 seconds for a batch of 128 trajectories).
Limitations and Future Work
While GTG sets a new standard for offline MBO, it still relies on a proxy model to filter the final generated candidates. If this proxy is highly inaccurate in unexplored regions, it can occasionally select sub-optimal designs. Additionally, the filtering step boosts the maximum score but can reduce the diversity of the final candidate pool—a critical factor in fields like drug discovery.
Future work will likely focus on developing uncertainty-aware proxy models. By measuring how "unsure" the proxy is about a generated design, the system could automatically balance the trade-off between chasing the highest possible score and maintaining a diverse, reliable set of candidates.
Summary updated