ICLR papers
Search ICLR papers by title, author, or track. Open a paper’s abstract to read more.
Explore the ICLR analysisSearch results
221–240 of 333
- ICLR · Workshop · ReALM-GEN: Real-World Constrained and Preference-Aligned Flow- and Diffusion-based Generative Models
HardFlow: Hard-Constrained Sampling for Flow-Matching Models via Trajectory Optimization
Zeyang Li, Kaveh Alim, Navid Azizan
Abstract
Diffusion and flow-matching have emerged as powerful methodologies for generative modeling, with remarkable success in capturing complex data distributions and enabling flexible guidance at inference time. Many downstream applications, however, demand enforcing hard constraints on generated samples—for example, robot trajectories must avoid obstacles—a requirement that goes beyond simple guidance. Prevailing projection-based approaches constrain the entire sampling path to the constraint manifold, which is overly restrictive and degrades sample quality. In this paper, we introduce a novel framework that reformulates hard-constrained sampling as a trajectory optimization problem. Our key insight is to leverage numerical optimal control to steer the sampling trajectory so that constraints are satisfied precisely at the terminal time. By exploiting the underlying structure of flow-matching models and adopting techniques from model predictive control, we transform this otherwise complex constrained optimization problem into a tractable surrogate that can be solved efficiently and effectively. Furthermore, this trajectory optimization perspective offers significant flexibility beyond mere constraint satisfaction, allowing for the inclusion of integral costs to minimize distribution shift and terminal objectives to further enhance sample quality, all within a unified framework. We provide a control-theoretic analysis of our method, establishing bounds on the approximation error between our tractable surrogate and the ideal formulation. Extensive experiments across diverse domains, including robotics (planning), partial differential equations (boundary control), and vision (text-guided image editing), demonstrate that our algorithm, which we name HardFlow, substantially outperforms existing methods in both constraint satisfaction and sample quality.
Abstract source - ICLR · Workshop · ReALM-GEN: Real-World Constrained and Preference-Aligned Flow- and Diffusion-based Generative Models
Aligning Diffusion Language Models via Unpaired Preference Optimization
Vaibhav Jindal, Hejian Sang, Chun-Mao Lai, Yanning Chen, Zhipeng Wang
Abstract
Diffusion language models (dLLMs) are an emerging alternative to autoregressive (AR) generators, but aligning them to human preferences is challenging because sequence log-likelihoods are intractable and pairwise preference data are costly to collect. We introduce ELBO-KTO, which combines an Evidence Lower Bound (ELBO) surrogate for diffusion log-likelihoods with a prospect-theoretic, unpaired preference objective (Kahneman–Tversky Optimization, KTO). We analyze the bias and variance induced by the ELBO substitution and employ variance-reduction practices that stabilize gradients during training. Applied to LLaDA-8B-Instruct, ELBO-KTO yields 65.9\% and 62.3\% adjusted win rates on kto-mix-14k and UltraFeedback-Binary, respectively, versus the base model under an automatic LLM judge. Across downstream tasks, including GSM8K, MMLU, and additional reasoning/knowledge benchmarks, ELBO-KTO trained on UltraFeedback-Binary performs on par with or better than the base model under identical decoding. This establishes unpaired preference optimization as a viable alternative to pairwise alignment in diffusion LLMs.
Abstract source - ICLR · Workshop · ReALM-GEN: Real-World Constrained and Preference-Aligned Flow- and Diffusion-based Generative Models
TD3B: Transition-Directed Discrete Diffusion for Allosteric Binder Generation
Hanqun Cao, Aastha Pal, Sophia Tang, Yinuo Zhang, Jingjie Zhang, Pheng-Ann Heng, Pranam Chatterjee
Abstract
Protein function is often controlled by ligands that bias the direction of state transitions, such as agonists and antagonists, rather than stabilizing a single conformation. This is especially important for clinically relevant G protein-coupled receptors (GPCRs), where therapeutic efficacy depends on functional directionality. Structure-based design methods optimize binding to static conformations and cannot represent non-reversible, directional effects or systematically distinguish agonist from antagonist behavior. To address this gap, we introduce Transition-Directed Discrete Diffusion for allosteric Binder design (TD3B), a sequence-based generative framework that designs binders with specified agonist or antagonist behavior via a directional transition control objective. TD3B combines a target-aware Direction Oracle, a soft binding-affinity gate, and amortized fine-tuning of a pre-trained discrete diffusion model, enabling targeted agonist and antagonist generation decoupled from binding affinity and unattainable by equilibrium-based or inference-only guidance baselines.
Abstract source - ICLR · Workshop · ReALM-GEN: Real-World Constrained and Preference-Aligned Flow- and Diffusion-based Generative Models
EntRGi: Entropy Aware Reward Guidance for Diffusion Language Models
Atula T Neerkaje, Litu Rout, Constantine Caramanis, Sanjay Shakkottai, sujay sanghavi
Abstract
Reward guidance has been applied to great success in the test-time adaptation of continuous diffusion models; it updates each denoising step using the gradients from a downstream reward model. We study reward guidance for discrete diffusion language models, where one cannot differentiate through the natural outputs of the model because they are discrete tokens. Existing approaches either replace these discrete tokens with continuous relaxations, or employ techniques like the straight-through estimator. In this work, we show the downsides of both these methods. The former degrades gradient feedback because the reward model has never been trained with continuous inputs. The latter involves incorrect optimization because the gradient evaluated at discrete tokens is used to update continuous logits. Our key innovation is to go beyond this tradeoff by introducing a novel mechanism called EntRGi: Entropy aware Reward Guidance that dynamically regulates the gradients from the reward model. By modulating the continuous relaxation using the model’s confidence, our approach substantially improves reward guidance while providing reliable inputs to the reward model. We empirically validate our approach on a 7B-parameter diffusion language model across 3 diverse reward models and 3 multi-skill benchmarks, showing consistent improvements over state-of-the-art.
Abstract source - ICLR · Workshop · ReALM-GEN: Real-World Constrained and Preference-Aligned Flow- and Diffusion-based Generative Models
Bad-OOD: Discovering Harmful Synthetic Diffusion Outliers via Confidence Calibration
Donglin Ni, Zhixin Feng, Ke Li, Yue Zhang, Yonggang Qi
Abstract
Utilizing synthetic outlier samples has shown great promise in out-of-distribution (OOD) detection. In particular, impressive results have been achieved by employing diffusion models to generate synthetic outliers in the low-density manifold. However, guiding diffusion models to generate meaningful synthetic outliers remains challenging. The synthesized samples often fall either too close to the in-distribution (ID) data (risking overlap and ambiguity) or too far (leading to visually unrealistic results). Both extremes have been shown to degrade OOD detection performance. In this work, we propose a novel OOD synthesis framework that combines a pre-trained Representation Diffusion Model (RDM) with a simple yet effective classifier calibration strategy. RDM enables global semantic embedding generation without requiring auxiliary labels or text, producing diverse yet ID-relevant outliers, thereby facilitating a more compact ID-OOD decision boundary. To ensure the utility of these samples, we calibrate a binary classifier on both ID data and synthesized OODs to assign confidence-based anomaly scores. We find that mid-confidence outliers, i.e., those balancing realism and deviation, are most informative, and using them significantly boosts detection performance. Extensive experimental results validate the superiority of our calibrated OOD sampler over several strong baselines.
Abstract source - ICLR · Workshop · ReALM-GEN: Real-World Constrained and Preference-Aligned Flow- and Diffusion-based Generative Models
Inference-Time CLIP Embedding Manipulation for Compositional Text-to-Image Alignment
Sujung Hong, Tae Eun Choi, Youngjun Jun, Chanyong Yoon, Seong Jae Hwang
Abstract
Text-to-image (T2I) diffusion models have advanced notably, but still fail to satisfy prompt conditions, resulting in attribute mismatches and missing objects. These errors normally fall into two categories: $\textit{concept loss}$, when an object or attribute (i.e., concept) goes missing, and $\textit{concept confusion}$, when an attribute is assigned to the wrong object or multiple objects blend together. Recent studies suggest that these challenges are caused by the limited capacity of CLIP text encoder to capture fine-grained semantic details. Although several methods have been proposed, concept loss and concept confusion persist in recent T2I models when handling multi-object, multi-attribute prompts. In this paper, we conduct an embedding-level analysis to develop an inference time, model independent solution, addressing concept loss and concept confusion. We find that (1) concepts mentioned later exhibit higher embedding entropy, indicating higher uncertainty and making them more vulnerable to concept loss, and (2) the first CLIP attention layer captures the strength of binding between each object and its attribute. Guided by our findings, we introduce TIE, a method that improves semantic alignment through a single text-embedding update. TIE addresses concept loss via entropy-aware singular value amplification and resolves concept confusion through interpolation–extrapolation binding based on CLIP attention scores, all in a training-free manner. Extensive experiments demonstrate that TIE enhances semantic fidelity in multi-concept scenarios with minimal sampling overhead.
Abstract source - ICLR · Workshop · ReALM-GEN: Real-World Constrained and Preference-Aligned Flow- and Diffusion-based Generative Models
Energy-Guided Diffusion for Valid SMILES Generation
Ivan Gurev, Nikolay Nikitin
Abstract
Diffusion models provide a flexible framework for molecular generation, yet their application to SMILES sequences is fundamentally constrained by chemical va- lidity. In continuous diffusion over token embeddings, denoising trajectories of- ten drift off the discrete manifold of valid SMILES, producing syntactic errors, chemical violations, and corrupted stereochemistry after decoding. We analyze these failure modes and show that they stem from a misalignment between smooth probability paths in embedding space and the rule-governed structure of symbolic molecular representations. We frame SMILES validity as an inference-time align- ment problem and interpret valid generation as sampling from a tilted distribution that reweights a base diffusion model toward structurally valid regions. Based on this perspective, we introduce validity-aware diffusion mechanisms that combine auxiliary training objectives with energy-based guidance during sampling, steer- ing diffusion trajectories toward the valid SMILES manifold without changing the underlying representation or retraining the base model. Experiments demon- strate substantial improvements in SMILES validity while preserving diversity and novelty, showing that inference-time aligned diffusion can be competitive with autoregressive and masked language models for molecular string generation and suggesting broader applicability to structured symbolic domains such as code and discrete diffusion language models.
Abstract source - ICLR · Workshop · ReALM-GEN: Real-World Constrained and Preference-Aligned Flow- and Diffusion-based Generative Models
CMAD: Cooperative Multi-Agent Diffusion via Stochastic Optimal Control
Riccardo Barbano, Alexander Denker, Runchang Li, Zeljko Kereta, Francisco Vargas
Abstract
Continuous-time generative models have achieved remarkable success in image restoration and synthesis. However, controlling the composition of multiple pre-trained models remains an open challenge. Current approaches largely treat composition as an algebraic combination of probability densities, such as via products or mixtures of experts. This perspective assumes the target distribution is known explicitly, which is almost never the case. In this work, we propose a different paradigm that formulates compositional generation as a cooperative Stochastic Optimal Control problem. Rather than combining probability densities, we treat pre-trained diffusion models as interacting agents whose diffusion trajectories are jointly steered, via optimal control, toward a shared objective defined on their aggregate output. We validate our framework on conditional MNIST generation and compare it against a naïve inference-time DPS-style baseline that replaces learned cooperative control with per-step gradient guidance.
Abstract source - ICLR · Workshop · ReALM-GEN: Real-World Constrained and Preference-Aligned Flow- and Diffusion-based Generative Models
Learning Illumination Control in Diffusion Models
Nishit Anand, Manan Suri, Christopher Metzler, Dinesh Manocha, Ramani Duraiswami
Abstract
Controlling illumination in images is essential for photography and visual content creation. While closed-source models have demonstrated impressive illumination control, open-source alternatives either require heavy control inputs like depth maps or do not release their data and code. We present a fully open-source and reproducible pipeline for learning illumination control in diffusion models. Our approach builds a data engine that transforms well-lit images into supervised training triplets consisting of a poorly-illuminated input image, a natural language lighting instruction, and a well-illuminated output image. We finetune a diffusion model on this data and demonstrate significant improvements over baseline SD 1.5, SDXL, and FLUX.1-dev models in perceptual similarity, structural similarity, and identity preservation. Our work provides a reproducible solution built entirely with open-source tools and publicly available data. We will release our data engine, all our code and model checkpoints upon acceptance.
Abstract source - ICLR · Workshop · ReALM-GEN: Real-World Constrained and Preference-Aligned Flow- and Diffusion-based Generative Models
Rethinking the Design Space of Reinforcement Learning for Diffusion Models: On the Importance of Likelihood Estimation Beyond Loss Design
Jaemoo Choi, Yuchen Zhu, Wei Guo, Petr Molodyk, Bo Yuan, Jinbin Bai, Yi Xin, Molei Tao, Yongxin Chen
Abstract
Reinforcement learning has been widely applied to diffusion and flow models for visual tasks such as text-to-image generation. However, these tasks remain challenging because diffusion models have intractable likelihoods, which creates a barrier for directly applying popular policy-gradient type methods. Existing approaches primarily focus on crafting new objectives built on already heavily engineered LLM objectives, using ad hoc estimators for likelihood, without a thorough investigation into how such estimation affects overall algorithmic performance. In this work, we provide a systematic analysis of the RL design space by disentangling three factors: i) policy-gradient objectives, ii) likelihood estimators, and iii) rollout sampling schemes. We show that adopting an evidence lower bound (ELBO) based model likelihood estimator, computed only from the final generated sample, is the dominant factor enabling effective, efficient, and stable RL optimization, outweighing the impact of the specific policy-gradient loss functional. We validate our findings across multiple reward benchmarks using SD 3.5 Medium, and observe consistent trends across all tasks. Our method improves the GenEval score from $0.24$ to $0.95$ in $90$ GPU hours, which is $4.6\times$ more efficient than FlowGRPO and $2\times$ more efficient than the SOTA method DiffusionNFT without reward hacking.
Abstract source - ICLR · Workshop · ReALM-GEN: Real-World Constrained and Preference-Aligned Flow- and Diffusion-based Generative Models
A Unified Density Operator View of Flow Control and Merging
Riccardo De Santi, Malte Franke, Ya-Ping Hsieh, Andreas Krause
Abstract
Recent progress in large-scale flow and diffusion models raised two fundamental algorithmic challenges: $(i)$ control-based reward adaptation of pre-trained flows, and $(ii)$ integration of multiple models, i.e., flow merging. While current approaches address them separately, we introduce a unifying probability-space framework that subsumes both as limit cases, and enables *reward-guided flow merging*, allowing principled, task-aware combination of multiple pre-trained flows (e.g., merging priors while maximizing drug-discovery utilities). Our formulation renders possible to express a rich family of *operators over generative models densities*, including intersection (e.g., to enforce safety), union (e.g., to compose diverse models), interpolation (e.g., for discovery), their reward-guided counterparts, as well as complex logical expressions via *generative circuits*. Next, we introduce Reward-Guided Flow Merging (RFM), a mirror-descent scheme that reduces reward-guided flow merging to a sequence of standard fine-tuning problems. Then, we provide first-of-their-kind theoretical guarantees for reward-guided and *pure* flow merging via RFM. Ultimately, we showcase the capabilities of the proposed method on illustrative settings providing visually interpretable insights, and apply our method to high-dimensional de-novo molecular design.
Abstract source - ICLR · Workshop · ReALM-GEN: Real-World Constrained and Preference-Aligned Flow- and Diffusion-based Generative Models
Constraint-Aware Flow Matching via Randomized Exploration
Zhengyan Huan, Jacob Boerma, Liping Liu, Shuchin Aeron
Abstract
We consider the problem of designing constraint-aware flow matching (FM) models that address the issue of constraint violations commonly observed in vanilla generative models. We consider two scenarios, viz.: (a) when a differentiable distance function to the constraint set is given, and (b) when the constraint set is only available via queries to a membership oracle. For case (a), we propose a simple adaptation of the FM objective with an additional term that penalizes the distance between the constraint set and the generated samples. For case (b), we propose to employ randomization and learn a mean flow that is numerically shown to have a high likelihood of satisfying the constraints. This approach deviates significantly from existing works that require simple convex constraints, knowledge of a barrier function, or a reflection mechanism to constrain the probability flow. Furthermore, in the proposed setting we show that a two-stage approach, where both stages approximate the same original flow but with only the second stage probing the constraints via randomization, is more computationally efficient than the corresponding one-stage approach. Through several synthetic cases of constrained generation, we numerically show that the proposed approaches achieve significant gains in terms of constraint satisfaction while matching the target distributions. As a showcase for a practical oracle-based constraint, we show how our approach can be used for training an adversarial example generator, using queries to a hard-label black-box classifier. We conclude with several future research directions.
Abstract source - ICLR · Workshop · ReALM-GEN: Real-World Constrained and Preference-Aligned Flow- and Diffusion-based Generative Models
Guidance Is Not a Hyperparameter: Learning Dynamic Control in Diffusion Language Models
Fan Zhou, Tim Van de Cruys
Abstract
Classifier-Free Guidance (CFG) is a widely used mechanism for controlling diffusion-based generative models, yet its guidance scale is typically treated as a fixed hyperparameter throughout generation. This static design yields a suboptimal controllability–quality tradeoff, as the optimal degree of guidance varies across tasks and across different stages of the diffusion process, especially in NLP domain. We recast CFG scale selection as a sequential decision-making problem and propose to learn dynamic guidance trajectories via reinforcement learning. Specifically, we model the guidance scale as a discrete control action selected at each generation step based on the evolving diffusion state, and optimize a policy using Proximal Policy Optimization (PPO) under task-level rewards. Experiments on three controlled NLP generation tasks using discrete diffusion language models demonstrate that adaptive guidance consistently achieves a better balance between controllability and generation quality than fixed-scale strategies. Further analysis of the learned policies reveals distinct and interpretable guidance trajectories across tasks, underscoring the importance of treating guidance as a dynamic control process rather than a static design choice.
Abstract source - ICLR · Workshop · ReALM-GEN: Real-World Constrained and Preference-Aligned Flow- and Diffusion-based Generative Models
Reward-Guided Discrete Diffusion via Clean-Sample Markov Chain
Prin Phunyaphibarn, Minhyuk Sung
Abstract
Discrete diffusion models have recently emerged as a powerful class of generative models for chemistry and biology data. In these fields, the goal is to generate various samples with high rewards (e.g., drug-likeness in molecules), making reward-based guidance crucial. Most existing methods are based on guiding the diffusion model using intermediate rewards but tend to underperform since intermediate rewards are noisy due to the non-smooth nature of reward functions used in scientific domains. To address this, we propose Clean-Sample Markov Chain (CSMC) Sampler, a method that performs effective test-time reward-guided sampling for discrete diffusion models, enabling local search without relying on intermediate rewards. CSMC constructs a Markov chain of clean samples using the Metropolis-Hastings algorithm such that its stationary distribution is the target distribution. We design a proposal distribution by sequentially applying the forward and backward diffusion processes, making the acceptance probability tractable. Experiments on molecule and biological sequence generation with various reward functions demonstrate that our method consistently outperforms prior approaches that rely on intermediate rewards.
Abstract source - ICLR · Workshop · ReALM-GEN: Real-World Constrained and Preference-Aligned Flow- and Diffusion-based Generative Models
Decoupling Tilting from Transport: Stable Online Alignment of Flow and Diffusion Policies
Chubin Zhang, Zhenglin Wan, Feng Chen, Fuchao Yang, Lang Feng, Yaxin Zhou, Xingrui Yu, Yang You, Ivor Tsang, Bo An
Abstract
Expressive generative models, such as diffusion and flow matching, have shown great promise in representing multimodal distributions for continuous control. However, aligning these models with dynamic reward signals via online reinforcement learning (RL) remains a formidable challenge, primarily due to intractable likelihoods and the instability of propagating gradients through long sampling chains. In this work, we introduce GoRL (Generative Online Reinforcement Learning), a framework that achieves stable *reward-guided* alignment by structurally decoupling optimization from generation. We view online improvement as *reward-guided distribution tilting*, and realize it by decoupling *tilting from transport*: GoRL confines the alignment process to a tractable latent space—effectively learning a tractable steering policy—while delegating complex action synthesis to a conditional generative decoder. Crucially, unlike methods that steer fixed backbones, GoRL *co-evolves* the tilting and transport mechanisms on two timescales. We employ a **prior-anchored refinement** strategy that prevents collapse by forcing the transport map to progressively expand its support to cover the high-reward modes discovered by the latent policy. Empirically, GoRL demonstrates superior stability and performance in aligning flow- and diffusion-based policies, achieving episodic returns exceeding $3\times$ that of strong baselines on challenging tasks like HopperStand.
Abstract source - ICLR · Workshop · ReALM-GEN: Real-World Constrained and Preference-Aligned Flow- and Diffusion-based Generative Models
Hamiltonian-Guided Diffusion Fields for Variable-Length Rigid-Arm Trajectory Generation
Guorui Sang, Pedram Rooshenas
Abstract
Generating rigid-arm trajectories is fundamental for planning, imitation learning, and proposal generation. In many deployment settings, a simulator may be unavailable, so trajectory generation must rely on offline data while remaining faithful to rigid-body dynamics. We use diffusion probabilistic fields (DPFs) to model trajectories as continuous-time fields, enabling variable-length generation by querying arbitrary time coordinates. Purely data-driven DPF samples can violate Hamiltonian structure, particularly when trajectories must satisfy Hamilton’s equations under actuation and remain energy-consistent in unforced regimes. We therefore learn a system Hamiltonian with a Hamiltonian neural network (HNN) and use it to define a physics inconsistency residual over entire trajectories. We incorporate two guidance mechanisms that condition DPF sampling on this residual: a one-step, gradient-based guidance applied during denoising, and a multi-sample self-normalized importance sampling scheme that reweights candidate trajectories toward physics-consistent outcomes. On 2-DoF and 3-DoF MuJoCo arms across diverse torque policies, Hamiltonian-guided DPF sampling reduces error relative to simulator rollouts and improves generalization to unseen trajectory lengths and torque policies, with importance sampling providing stronger consistency at increased sampling cost.
Abstract source - ICLR · Workshop · ReALM-GEN: Real-World Constrained and Preference-Aligned Flow- and Diffusion-based Generative Models
Generative Control as Optimization: Time Unconditional Flow Matching for Adaptive and Robust Robotic Control
Zunzhe Zhang, Runhan Huang, Yicheng Liu, Shaoting Zhu, Linzhan Mou, Hang Zhao
Abstract
Diffusion models and flow matching have become a cornerstone of robotic imitation learning, yet they suffer from a structural inefficiency where inference is often bound to a fixed integration schedule that is agnostic to state complexity. This paradigm forces the policy to expend the same computational budget on trivial motions as it does on complex tasks. We introduce **Generative Control as Optimization (GeCO)**, a time-unconditional framework that transforms action synthesis from trajectory integration into iterative optimization. GeCO learns a stationary velocity field in the action-sequence space where expert behaviors form stable attractors. Consequently, test-time inference becomes an adaptive process that allocates computation based on convergence—exiting early for simple states while refining longer for difficult ones. Furthermore, this stationary geometry yields an intrinsic, training-free safety signal, as the field norm at the optimized action serves as a robust out-of-distribution (OOD) detector, remaining low for in-distribution states while significantly increasing for anomalies. We validate GeCO on standard simulation benchmarks and demonstrate seamless scaling to $\pi_0$-series Vision-Language-Action (VLA) models. As a plug-and-play replacement for standard flow-matching heads, GeCO improves success rates and efficiency with an optimization-native mechanism for safe deployment.
Abstract source - ICLR · Workshop · ReALM-GEN: Real-World Constrained and Preference-Aligned Flow- and Diffusion-based Generative Models
Diffusion Policy Optimization without Drifting Apart
Haozhe Jiang, Haiwen Feng, Jiantao Jiao, Angjoo Kanazawa, Nika Haghtalab
Abstract
RL post-training has become increasingly pivotal for improving diffusion policies, but existing diffusion policy gradient methods are often unstable and cannot achieve reliable policy improvement. We identify the cause as the double drift phenomenon: optimizing a variational surrogate can let the ELBO separate from true log-likelihood, which then makes the resulting proxy policy gradient misaligned with the true policy gradient of expected return. We propose DiPOD, a diffusion policy optimization framework that maintains tight-bound behavior throughout training by interleaving self-distillation with policy-improving gradient updates. This leads to a simple and practical algorithm: augmenting each diffusion policy-gradient update with an on-policy ELBO regularizer. Across diffusion language model post-training and continuous-control diffusion policies, DiPOD substantially stabilizes training and reaches higher rewards against previous methods.
Abstract source - ICLR · Workshop · ReALM-GEN: Real-World Constrained and Preference-Aligned Flow- and Diffusion-based Generative Models
Activation Steering for Masked Diffusion Language Models
Adi Shnaidman, Erin Feiglin, Osher Yaari, Efrat Mentel, Amit LeVi, Raz Lapid
Abstract
Masked diffusion language models (MDLMs) generate text via iterative masked-token denoising, enabling mask-parallel decoding and distinct controllability and efficiency tradeoffs from autoregressive LLMs. Yet, efficient representation-level mechanisms for inference-time control in MDLMs remain largely unexplored. To address this gap, we introduce an activation steering primitive for MDLMs: we extract a single low-dimensional direction from contrastive prompt sets using one prompt-only forward pass, and apply a global intervention on residual-stream activations throughout reverse diffusion, without performing optimization or altering the diffusion sampling procedure. Using safety refusal as a deployment-relevant case study, we find that refusal behavior in multiple MDLMs is governed by a consistent, approximately one-dimensional activation subspace. Applying the corresponding direction yields large and systematic behavioral shifts and is substantially more effective than prompt-based and optimization-based baselines. We further uncover diffusion-specific accessibility: effective directions can be extracted not only from post-instruction tokens, but also from pre-instruction tokens that are typically ineffective in autoregressive models due to causal attention. Ablations localize maximal leverage to early denoising steps and mid-to-late transformer layers, with early diffusion blocks contributing disproportionately. Finally, in an MDLM trained on English and Chinese, extracted directions transfer strongly between English and Chinese, but do not reliably generalize to an autoregressive architecture, highlighting architecture-dependent representations of safety constraints.
Abstract source - ICLR · Workshop · ReALM-GEN: Real-World Constrained and Preference-Aligned Flow- and Diffusion-based Generative Models
Protein generation with embedding learning for motif diversification
Kevin Michalewicz, Chen Jin, Philip Teare, Tom Diethe, Mauricio Barahona, Barbara Bravi, Asher Mullokandov
Abstract
A fundamental challenge in protein design is the trade-off between generating structural diversity while preserving motif biological function. Current state-of-the-art methods, such as partial diffusion in RFdiffusion, often fail to resolve this trade-off: small perturbations yield motifs nearly identical to the native structure, whereas larger perturbations violate the geometric constraints necessary for biological function. We introduce Protein Generation with Embedding Learning (PGEL), a general framework that learns high-dimensional embeddings encoding sequence and structural features of a target motif in the representation space of a diffusion model's frozen denoiser, and then enhances motif diversity by introducing controlled perturbations in the embedding space. PGEL is thus able to loosen geometric constraints while satisfying typical design metrics, leading to more diverse yet viable structures. We demonstrate PGEL on ten representative cases, which include a cancer-related transcription factor complex, an antibody-antigen complex, and an enzyme. PGEL achieves greater structural diversity, better designability, and improved self-consistency, as compared to partial diffusion. Our results establish PGEL as a general strategy for embedding-driven protein generation allowing for systematic, viable diversification of functional motifs.
Abstract source