Generating a new biological sequence—whether it's DNA for gene therapy or a protein for a new drug—is rarely about optimizing a single property. In the real world, scientists face a "multi-objective" challenge: a sequence must be active, stable, non-toxic, and "natural" all at once.
A new paper from researchers at Northwestern University introduces DiMOS (Doob-guided Inference-time Multi-Objective Search), a framework designed to solve this puzzle by steering powerful, pre-trained generative models toward these complex goals without needing to retrain them.
TL;DR
DiMOS is a training-free framework that enables pre-trained masked diffusion models to satisfy multiple scientific design constraints simultaneously during the generation process. By combining gradient-free local resampling with a budget-efficient branching search, DiMOS achieves up to a 1.98× higher joint success rate than existing methods across DNA, protein, and RNA design tasks.
What Problem Does This Paper Address?
The current state-of-the-art for sequence generation involves masked diffusion models, which learn the "grammar" of biological sequences by practicing how to fill in missing (masked) tokens. However, these models are "blind" to specific functional goals like binding affinity or thermal stability.
To fix this, researchers usually either:
- Fine-tune the model: This is computationally expensive and must be redone every time a scientist changes their design thresholds.
- Inference-time guidance: This uses a "reward model" to steer the generation process.
The second approach is more flexible but faces two massive hurdles. First, many scientific rewards are "black boxes" or "pass/fail" constraints that provide no mathematical gradients to follow. Second, when you have multiple objectives, the "feasible region" (the set of sequences that satisfy all requirements) becomes incredibly small—a literal needle in a haystack.
Methods
DiMOS tackles these hurdles with a two-pronged strategy that keeps the underlying generative model frozen.
1. Approximate Doob-Guided Local Resampling
To steer the model without gradients, DiMOS uses Doob’s h-transform, a mathematical tool from optimal control. The core idea is to weight the choice of the next token not just by how "natural" it looks to the diffusion model, but by its potential to lead to a high-reward final sequence.
Since calculating the true "future value" of a partial sequence is impossible, DiMOS uses a clever proxy: it performs a quick "stochastic completion" (filling in the remaining masks) and evaluates the reward of that completed sequence. This allows it to use non-differentiable, black-box reward models.
2. Budget-Efficient Trajectory Search
Instead of generating a single sequence from start to finish, DiMOS uses a branching search strategy.
- Stage-Wise Branching: It starts with a shared "prefix" and then splits the generation into multiple parallel branches.
- Reward-Guided Refinement: At specific checkpoints, it evaluates the branches, prunes the low-performers, and clones the high-performers. This focuses the computational "budget" on the most promising paths.
Datasets
The authors evaluated DiMOS across six diverse multi-objective tasks:
- DNA: Optimizing regulatory activity alongside chromatin accessibility (ATAC) or cell-type specificity (MaxGap).
- Protein: Designing binders that satisfy stability ($\Delta\Delta G$) and sequence recovery or hydrophilicity (GRAVY) constraints.
- RNA: Designing 5' UTRs for high translation efficiency (MRL) while maintaining specific structural properties (Accessibility or Folding Stability).
Key Insights and Ideas
- The "Completion" Proxy is Surprisingly Effective: Even a single, rough completion of a sequence provides enough signal to steer the diffusion process effectively. This bypasses the need for complex "value function" training.
- Branching Beats Brute Force: In multi-objective spaces, most trajectories lead to failure. By branching and pruning (as seen in Figure 2), DiMOS navigates the sparse reward landscape much more efficiently than "Best-of-N" sampling.
- Handling "Hard" vs. "Soft" Gates: The authors found that using "soft" gates (smooth rewards) during search helps distinguish between "nearly good" and "totally bad" candidates, even if the final evaluation is a "hard" pass/fail.
Key Results
DiMOS consistently outperformed all baselines, including gradient-based methods like TDS and particle-based methods like SMC.
- Higher Success: On DNA and protein tasks, DiMOS achieved nearly double the joint success rate of the strongest baselines.
- Efficiency: To reach a target success rate, DiMOS required 63% less time on DNA and 74% less time on protein compared to SVDD.
- Quality and Diversity: Despite the heavy steering, the generated sequences remained "natural" (high motif correlation) and highly unique (near 100% uniqueness).
As shown in Figure 1, DiMOS (the pink bubble) consistently occupies the top-right corner, indicating the best balance of success rate and sequence uniqueness.
Limitations and Future Work
- Reward Model Bottleneck: The speed of DiMOS is directly tied to the speed of the reward models. If the reward model (e.g., a complex physics simulation) is slow, the "completion" step becomes a bottleneck.
- Prior Bias: Since the model is frozen, DiMOS is still limited by the "knowledge" of the pre-trained prior. If the prior has zero probability for a certain region of sequence space, DiMOS cannot search there.
- Future Directions: The authors suggest that combining this inference-time search with "outer-loop" iterative refinement (noising and re-denoising) could further improve results for the most difficult constraints.
For more details, you can find the full paper titled "DiMOS: Doob-Guided Inference-Time Multi-Objective Search for Scientific Design" on arXiv.
Summary updated