GILC Steers Biological AI Without Retraining, Beating Fine-Tuned Rivals
GILC steers pretrained discrete diffusion models toward target biological properties at inference time, no retraining required, beating fine-tuned baselines on DNA, protein, and molecule design
Takeaways
- GILC is a plug-and-play guidance framework for discrete diffusion models that requires no retraining and works at inference time.
- It corrects the model's output logits using a Jacobian-free gradient mechanism, avoiding the instability of backpropagating through high-dimensional discrete spaces.
- Supports both differentiable and black-box reward functions, making it compatible with physics simulators and wet-lab oracles.
- Benchmarked on DNA sequence design, protein engineering, and molecular generation -- outperforms training-free baselines and matches fine-tuned models.
- Compared against strong baselines including DRAKES, SMC, SVDD, and CFG; achieves state-of-the-art without parameter updates.
- No public code repository released yet; method is fully described in the arxiv paper.
Diffusion models have conquered images, audio, and video. But biology runs on sequences -- DNA, proteins, small molecules -- and those are discrete: a finite alphabet of letters, not a smooth continuous space. Getting a pretrained discrete diffusion model to generate sequences that hit a specific target property (high binding affinity, drug-likeness, promoter activity) has been surprisingly hard. The standard playbook either demands retraining the model or bolts on guidance methods so expensive they barely scale. A new paper from Hongkun Dou and colleagues proposes a cleaner path.
The work introduces GILC (Gradient-Informed Logit Correction), a plug-and-play guidance framework for discrete diffusion that requires zero additional training and works with virtually any reward function -- differentiable or not. On benchmarks spanning regulatory DNA design, protein engineering, and molecular generation, GILC matches or beats methods that required expensive fine-tuning.
Why steering discrete diffusion is so painful
Recent studies show that diffusion models hold significant potential in discrete spaces, spanning domains such as language generation, biological sequence synthesis, and molecular design. But while discrete diffusion effectively captures complex categorical data distributions, many scientific and industrial applications require generated samples that are not only realistic but also optimized for specific task objectives, moving beyond unconditional generation.
The core difficulty is mathematical. In continuous diffusion (think image generation), you can compute a gradient -- a direction to nudge the generation -- with respect to any differentiable objective. In discrete spaces, tokens are integers. There is no gradient to take. Applying guidance to discrete diffusion is challenging because guidance terms are not differentiable with respect to the discrete representations.
The workarounds each carry a steep cost. Existing efforts based on Sequential Monte Carlo (SMC) or importance sampling often suffer from prohibitively high computational costs and demonstrably limited steering effectiveness. The other route -- fine-tuning the model with a reward signal -- works but classical approaches typically employ classifier/classifier-free guidance or extensive model fine-tuning; however, these established methods demand additional training stages, which fundamentally limit their generalizability and introduce significant computational overhead.
The GILC approach: correct the logits, skip the Jacobian
GILC is an efficient, principled, and training-free method for steering discrete diffusion. It reframes the guidance task as estimating the gradient of a value function that measures the expected future reward from intermediate states, employing a variational method where the pre-trained denoising network serves as a proxy for this value estimation.
In plain terms: at each denoising step, instead of asking "what token should I pick?", GILC asks "given where I am now, what clean sequence am I likely to end up with, and how good would that be?" The pretrained model's own internal predictions (its logits -- the raw scores it assigns to each possible token) are used as a stand-in for that future-reward estimate. Those logits are then nudged in the direction that increases expected reward.
The tricky part is computing that nudge without blowing up. GILC introduces two key practical insights for robust gradient computation: combining the Gumbel-Softmax trick and a Straight-Through estimator to maintain gradient flow in the discrete space. The Gumbel-Softmax trick (a way to draw differentiable "soft" samples from a categorical distribution) lets gradients flow through what would otherwise be a hard, non-differentiable token selection. The Straight-Through estimator is a classic trick that passes gradients through discrete operations as if they were continuous during backpropagation.
To circumvent the gradient instability inherent in high-dimensional discrete spaces, GILC introduces a Jacobian-free mechanism that directly corrects the clean prediction logits, facilitating stable and effective guidance. Normally, computing how a change in logits propagates through the full network requires a Jacobian matrix -- an expensive object in high dimensions. GILC sidesteps this entirely by operating directly on the output logits rather than backpropagating through the network's internals.

The framework comes in two flavors:
- GILC-DB (Differentiable Backpropagation): for reward functions where gradients are available (e.g., a neural network scorer).
- GILC-PG (Policy Gradient): for black-box or non-differentiable rewards, using a gradient estimator that only needs reward evaluations, not derivatives.
What it was tested on
The team evaluates GILC-DB and GILC-PG across three scientific domains: regulatory DNA sequence design, protein engineering, and small-molecule generation. These are not toy problems -- each domain has its own pretrained backbone model and its own reward functions reflecting real biological objectives (promoter activity, protein stability, drug-likeness).
The baselines are comprehensive:
- Standard guidance: Classifier Guidance (CG) and Classifier-Free Guidance (CFG)
- Fine-tuning methods: DRAKES, a specialized approach for discrete diffusion and flows, along with its variant without KL regularization.
- Training-free methods: Best-of-N, Sequential Monte Carlo (SMC), SVDD, and TFG-Flow.

Empirically, GILC not only significantly outperforms popular training-free discrete diffusion guidance methods in both sample quality and computational efficiency, but also competitively matches the performance of fine-tuning-based approaches, achieving state-of-the-art results for controlled discrete generation.
The clean-prediction guidance plot above illustrates one key insight: guiding on the model's predicted clean sequence (rather than the noisy intermediate state) produces substantially higher rewards, with a 4.1+ improvement margin at convergence. This validates the core design choice of operating on logits rather than noisy latents.
The real unlock: no retraining, any reward
The headline result is not just "better numbers." It is that GILC decouples the generative model from the objective. Unlike fine-tuning approaches, GILC adopts a plug-and-play fashion. By utilizing reward functions without parameter updates, it avoids the heavy computational overhead of fine-tuning and mitigates the common pitfall of reward hacking.
The method accommodates both differentiable and non-differentiable reward functions. This is significant: many of the most useful biological oracles (wet-lab simulators, physics-based energy functions, lookup tables from experimental data) have no gradient. GILC's policy-gradient variant handles these natively, without approximation.
Practically, this means a team that has already trained a large discrete diffusion model on protein sequences can point GILC at any new property they care about -- thermostability, solubility, binding affinity -- and get steered samples immediately, without touching the model weights.
Where it falls short
A few limitations are worth noting. GILC still requires multiple forward passes through the denoising network per step to estimate the value function, so it is not free -- it is just cheaper than SMC or fine-tuning. The Gumbel-Softmax relaxation introduces a temperature hyperparameter that needs tuning. And like all guidance methods, very strong guidance signals can push samples off the data manifold, generating sequences that score well on the reward but are biologically implausible. The KL-regularization that fine-tuning methods like DRAKES use explicitly guards against this; GILC relies on the pretrained model's prior implicitly.
No code repository was announced alongside the paper, though the method is described in enough detail to reimplement from the arxiv preprint.
The bigger picture
Discrete diffusion models are gaining traction across language generation, biological sequence synthesis, and molecular design. As these models grow larger and more expensive to train, the ability to steer them at inference time -- without touching the weights -- becomes increasingly valuable. GILC is a step toward treating a pretrained discrete diffusion model the way practitioners already treat large language models: as a foundation to be guided, not retrained, for each new task.
For anyone working on AI-driven drug discovery, protein engineering, or synthetic biology, this is a practical tool worth watching. The combination of training-free operation, support for black-box rewards, and competitive performance against fine-tuned baselines addresses the three most common objections to using discrete diffusion in real scientific workflows.