← Latest papers
💻 computer science

Training Diffusion Language Models for Black-Box Optimization

This paper proposes a two-stage post-training framework that adapts diffusion language models with delimiter tokens and reinforcement learning to effectively bridge the domain gap between natural language and heterogeneous black-box optimization signals, achieving state-of-the-art results in offline design discovery with limited data.

Original authors: Zipeng Sun, Can Chen, Ye Yuan, Haolun Wu, Jiayao Gu, Christopher Pal, Xue Liu

Published 2026-03-19
📖 4 min read☕ Coffee break read

Original authors: Zipeng Sun, Can Chen, Ye Yuan, Haolun Wu, Jiayao Gu, Christopher Pal, Xue Liu

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are a master chef trying to invent a new, perfect recipe. You have a notebook (your offline dataset) containing 500 old recipes and a score for how delicious each one tasted. However, you can't taste-test new recipes in real life because the ingredients are too expensive or the cooking takes too long. You need to figure out the perfect recipe just by looking at your notebook.

This is the problem of Black-Box Optimization. Scientists face this every day when designing DNA sequences, robot bodies, or new materials. They have data, but they can't easily run new experiments to test every idea.

The Old Way: The "One-Way Street" Chef

Previously, researchers used AI models (like standard Large Language Models) to solve this. Think of these models as chefs who write recipes one word at a time, from left to right.

  • They start with "Salt," then "Pepper," then "Flour."
  • The Problem: In complex designs (like DNA), the ingredients interact in all directions. The "Salt" at the beginning might need to match the "Pepper" at the very end. A left-to-right chef can't see the end of the recipe while writing the beginning, so they miss these crucial connections.

The New Solution: The "All-Seeing" Diffusion Chef

The authors of this paper propose a new approach using Diffusion Language Models. Imagine a chef who doesn't write the recipe from scratch. Instead, they start with a blank page covered in scribbles (noise) and slowly, step-by-step, erase the scribbles to reveal the perfect recipe.

Because they are "erasing" and "refining" the whole page at once, they can see the entire recipe (the beginning, middle, and end) simultaneously. This allows them to understand how the "Salt" at the start connects to the "Pepper" at the end. This is called bidirectional modeling.

The Challenge: Speaking Two Languages

There's a catch. These "Diffusion Chefs" were originally trained only on normal text (like writing stories or emails). But in our problem, the notebook contains:

  1. Instructions (Natural Language: "Make a DNA sequence...")
  2. The Design (The Recipe: ['A', 'C', 'G', 'T'...])
  3. The Score (The Label: +0.027)

If you just dump this into the chef, they get confused. They might think the DNA letters are just random words in a story.

The Fix: The "Traffic Light" System (Delimiters)

To fix this, the authors invented delimiter tokens. Think of these as special traffic lights or brackets that act as signposts for the AI.

  • |design-start| ... |design-end| (Red Light: "Stop! This is the recipe.")
  • |label-start| ... |label-end| (Green Light: "Go! This is the score.")

By adding these signposts, the AI learns exactly where the instructions end, where the recipe begins, and where the score is. It bridges the gap between "reading a story" and "solving an engineering problem."

The Training: Two Steps to Perfection

The authors didn't just give the AI the notebook; they trained it in two specific phases:

  1. Supervised Fine-Tuning (The "Copycat" Phase):
    The AI is shown a prompt with some old recipes and asked to generate a new recipe that is guaranteed to be better than the ones in the prompt. It learns to mimic the pattern of "good" designs. It's like a student copying the best answers from a textbook to learn the style.

  2. Reinforcement Learning (The "Taste-Test" Phase):
    Now, the AI tries to generate designs on its own. If the new design gets a higher score than the prompt, it gets a reward (a virtual high-five). If it gets a lower score, it gets a penalty. The AI learns to maximize these rewards, fine-tuning its ability to find the absolute best designs, not just "good" ones.

The Result: A Masterpiece

When tested on real-world challenges like designing DNA to bind to proteins or creating robot shapes that move faster, this new method (DiBO) beat almost every other existing method.

In summary:
The paper teaches a "super-seeing" AI (Diffusion Model) how to read a scientific notebook by giving it special signposts (Delimiters) and training it first to copy good examples, then to compete for the highest scores. This allows scientists to discover better designs for robots and medicine without needing to run thousands of expensive physical experiments.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →