Skip to main content
QUICK REVIEW

[Paper Review] Training Diffusion Language Models for Black-Box Optimization

Zipeng Sun, Can Chen|arXiv (Cornell University)|Mar 18, 2026
Machine Learning in Materials ScienceMaterials Science0 citations
TL;DR

The paper introduces DiBO, a diffusion LLM framework for offline black-box optimization that uses domain adaptation with delimiter tokens and a two-stage post-training (SFT then RL) to generate high-label designs from heterogeneous prompts, designs, and labels, achieving state-of-the-art results on Design-Bench in small-data settings.

ABSTRACT

We study offline black-box optimization (BBO), aiming to discover improved designs from an offline dataset of designs and labels, a problem common in robotics, DNA, and materials science with limited labeled samples. While recent work applies autoregressive LLMs to BBO by formatting tasks as natural-language prompts, their left-to-right design generation struggles to capture the strong bidirectional dependencies inherent in design problems. To address this, we propose adapting diffusion LLMs to offline BBO to leverage their bidirectional modeling capabilities. However, a domain gap exists between the natural text pre-training of diffusion LLMs and the heterogeneous signals in BBO (prompts, designs, and labels). To bridge this gap, we construct a unified prompt-response corpus and introduce delimiter tokens to explicitly mark field boundaries for domain adaptation. We further propose a two-stage post-training framework to align the diffusion LLM generation with high-label designs. The first stage performs supervised fine-tuning on the unified dataset via masked-response prediction, and the second stage adopts reinforcement learning with rewards defined by label improvements. Our method achieves state-of-the-art results on Design-Bench small-data settings.

Motivation & Objective

  • Bridge the gap between natural-language pre-training and offline design data by enabling bidirectional modeling for BBO.
  • Leverage diffusion LLMs to capture bidirectional dependencies in design spaces.
  • Develop a domain-adaptation and post-training pipeline to align diffusion generation with high-label designs.
  • Demonstrate strong performance on Design-Bench in small-data settings across discrete and continuous tasks.

Proposed method

  • Construct a unified prompt–response corpus with explicit delimiter tokens to mark designs and labels.
  • Perform domain adaptation by jointly predicting masked tokens in prompts and responses (joint DA loss).
  • Adopt a two-stage post-training: supervised fine-tuning on the unified corpus (masked-response prediction) followed by reinforcement learning using rewards defined by label improvements.
  • Use a one-step log-probability RL approximation for efficiency, with rewards r(q,o)=y(o)−y(q) and normalization by the reward standard deviation.
  • Evaluate on Design-Bench tasks (TF8, TF10, Ant Morphology, D’Kitty Morphology) with 128 candidates per task and analyze robustness via ablations.
Figure 1 : Overview of the DiBO framework. (a) Unified Prompt–Response Corpus: Heterogeneous BBO signals (natural-language prompts, offline designs and their associated labels) are unified using explicit delimiter tokens. (b) Domain Adaptation (DA): The diffusion LLM is domain-adapted via joint mask
Figure 1 : Overview of the DiBO framework. (a) Unified Prompt–Response Corpus: Heterogeneous BBO signals (natural-language prompts, offline designs and their associated labels) are unified using explicit delimiter tokens. (b) Domain Adaptation (DA): The diffusion LLM is domain-adapted via joint mask

Experimental results

Research questions

  • RQ1Can diffusion LLMs capture bidirectional dependencies in offline BBO better than autoregressive LLMs?
  • RQ2Does domain adaptation with delimiter-enhanced prompts improve learning from heterogeneous offline data?
  • RQ3Does a three-stage training pipeline (DA, SFT, RL) yield superior alignment to high-label designs in small-data regimes?
  • RQ4How does DiBO perform relative to diverse baselines across discrete and continuous design tasks?
  • RQ5What is the impact of prompt similarity, delimiter tokens, and training stages on performance?],
  • RQ6key_findings':['DiBO achieves state-of-the-art performance on Design-Bench in small-data settings across multiple tasks.
  • RQ7Delimiter tokens significantly improve performance across all training stages compared to plain-text boundaries.
  • RQ8A three-stage pipeline (DA + SFT + RL) outperforms two-stage variants, with RL providing fine-grained reward optimization.
  • RQ9Similarity-conditioned context construction (prompt examples chosen by design similarity) substantially boosts performance over random contexts.
  • RQ10DiBO consistently outperforms forward surrogate-guided methods and many diffusion-based baselines, especially on Ant Morphology and TF Bind tasks.
  • RQ11The method remains robust to hyperparameters such as RL learning rate and prompt template variations.

Key findings

  • DiBO (ours) achieves 0.944±0.016 on Ant Morphology, 0.923±0.002 on TF8, 0.965±0.038 on TF8, and 0.755±0.012 on TF10 in the reported setup.
  • Post-training stages contribute progressively to performance, with the full pipeline delivering the best results.
  • Delimiter tokens provide clear semantic separation and improve domain adaptation efficacy, particularly in continuous spaces.
Figure 2 : Hyperparameter sensitivity on TF Bind 8 and Ant Morphology at the RL stage: (a) the number of few-shot examples in the prompt (context length), (b) size of the offline dataset, (c) learning rate used in RL stage, and (d) variations of prompt templates. Results are reported as relative per
Figure 2 : Hyperparameter sensitivity on TF Bind 8 and Ant Morphology at the RL stage: (a) the number of few-shot examples in the prompt (context length), (b) size of the offline dataset, (c) learning rate used in RL stage, and (d) variations of prompt templates. Results are reported as relative per

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.