Goto

Collaborating Authors

 dlm


A Decision-Language Model (DLM) for Dynamic Restless Multi-Armed Bandit Tasks in Public Health

Neural Information Processing Systems

Restless multi-armed bandits (RMAB) have demonstrated success in optimizing resource allocation for large beneficiary populations in public health settings. Unfortunately, RMAB models lack flexibility to adapt to evolving public health policy priorities. Concurrently, Large Language Models (LLMs) have emerged as adept automated planners across domains of robotic control and navigation. In this paper, we propose a Decision Language Model (DLM) for RMABs, enabling dynamic fine-tuning of RMAB policies in public health settings using human-language commands. We propose using LLMs as automated planners to (1) interpret human policy preference prompts, (2) propose reward functions as code for a multi-agent RMAB environment, and (3) iterate on the generated reward functions using feedback from grounded RMAB simulations. We illustrate the application of DLM in collaboration with ARMMAN, an India-based non-profit promoting preventative care for pregnant mothers, that currently relies on RMAB policies to optimally allocate health worker calls to low-resource populations. We conduct a technology demonstration in simulation using the Gemini Pro model, showing DLM can dynamically shape policy outcomes using only human prompts as input.


Characterizing Memorization in Diffusion Language Models: Generalized Extraction and Sampling Effects

arXiv.org Artificial Intelligence

Autoregressive language models (ARMs) have been shown to memorize and occasionally reproduce training data verbatim, raising concerns about privacy and copyright liability. Diffusion language models (DLMs) have recently emerged as a competitive alternative, yet their memorization behavior remains largely unexplored due to fundamental differences in generation dynamics. To address this gap, we present a systematic theoretical and empirical characterization of memorization in DLMs. We propose a generalized probabilistic extraction framework that unifies prefix-conditioned decoding and diffusion-based generation under arbitrary masking patterns and stochastic sampling trajectories. Theorem 4.3 establishes a monotonic relationship between sampling resolution and memorization: increasing resolution strictly increases the probability of exact training data extraction, implying that autoregressive decoding corresponds to a limiting case of diffusion-based generation by setting the sampling resolution maximal. Extensive experiments across model scales and sampling strategies validate our theoretical predictions. Under aligned prefix-conditioned evaluations, we further demonstrate that DLMs exhibit substantially lower memorization-based leakage of personally identifiable information (PII) compared to ARMs.


Why Diffusion Language Models Struggle with Truly Parallel (Non-Autoregressive) Decoding?

arXiv.org Artificial Intelligence

Diffusion Language Models (DLMs) are often advertised as enabling parallel token generation, yet practical fast DLMs frequently converge to left-to-right, autoregressive (AR)-like decoding dynamics. In contrast, genuinely non-AR generation is promising because it removes AR's sequential bottleneck, better exploiting parallel hardware to reduce synchronization/communication overhead and improve latency scaling with output length. We argue that a primary driver of AR-like decoding is a mismatch between DLM objectives and the highly sequential structure of widely used training data, including standard pretraining corpora and long chain-of-thought (CoT) supervision. Motivated by this diagnosis, we propose NAP (Non-Autoregressive Parallel DLMs), a proof-of-concept, data-centric approach that better aligns supervision with non-AR parallel decoding. NAP curates examples as multiple independent reasoning trajectories and couples them with a parallel-forced decoding strategy that encourages multi-token parallel updates. Across math reasoning benchmarks, NAP yields stronger performance under parallel decoding than DLMs trained on standard long CoT data, with gains growing as parallelism increases. Our results suggest that revisiting data and supervision is a principled direction for mitigating AR-like behavior and moving toward genuinely non-autoregressive parallel generation in DLMs. Our code is available at https://github.com/pixeli99/NAP.


Prompt Optimization Via Diffusion Language Models

arXiv.org Artificial Intelligence

We propose a diffusion-based framework for prompt optimization that leverages Diffusion Language Models (DLMs) to iteratively refine system prompts through masked denoising. By conditioning on interaction traces, including user queries, model responses, and optional feedback, our method enables flexible, span-level prompt updates without requiring gradient access or modifying the downstream language model. Across diverse benchmarks (e.g., $ฯ„$-bench, SST-2, SST-5), DLM-optimized prompts consistently improve the performance of a frozen target LLM (e.g., GPT-4o-mini). We further show that moderate diffusion step counts provide the best balance between refinement quality and stability. These results highlight diffusion-based prompt optimization as a general, model-agnostic, and scalable approach for enhancing LLM performance through iterative prompt refinement.


One Token Is Enough: Improving Diffusion Language Models with a Sink Token

arXiv.org Artificial Intelligence

Diffusion Language Models (DLMs) have emerged as a compelling alternative to autoregressive approaches, enabling parallel text generation with competitive performance. Despite these advantages, there is a critical instability in DLMs: the moving sink phenomenon. Our analysis indicates that sink tokens exhibit low-norm representations in the Transformer's value space, and that the moving sink phenomenon serves as a protective mechanism in DLMs to prevent excessive information mixing. However, their unpredictable positions across diffusion steps undermine inference robustness. To resolve this, we propose a simple but effective extra sink token implemented via a modified attention mask. Specifically, we introduce a special token constrained to attend solely to itself, while remaining globally visible to all other tokens. Experimental results demonstrate that introducing a single extra token stabilizes attention sinks, substantially improving model performance. Crucially, further analysis confirms that the effectiveness of this token is independent of its position and characterized by negligible semantic content, validating its role as a robust and dedicated structural sink.


Membership Inference Attacks Against Fine-tuned Diffusion Language Models

arXiv.org Artificial Intelligence

Large Language Models (LLMs) demonstrate transformative capabilities across diverse applications (Team, 2024; Qwen, 2025; DeepSeek-AI, 2025). While autoregressive models (ARMs) based on sequential next-token prediction remain dominant, Diffusion Language Models (DLMs) are rapidly emerging as a compelling alternative (Gulrajani & Hashimoto, 2023; Gong et al., 2024; Ye et al., 2025b). These models, leveraging bidirectional context to reverse data corruption by reconstructing masked tokens, are increasingly adopted for their strong scalability, performance competitive with ARM counterparts, and their ability to address ARM-specific limitations like the reversal curse (Berglund et al., 2024). Recent industrial developments, such as Google's Gemini Diffusion (DeepMind, 2025), further underscore the growing relevance of this paradigm, offering performance competitive with significantly larger autoregressive models. The privacy risks associated with LLMs, particularly their propensity to memorize training data, have been extensively studied for ARMs (Carlini et al., 2021; Mireshghallah et al., 2024; Merity et al., 2018; Hartmann et al., 2023). Membership Inference Attacks (MIAs) (Shokri et al., 2017), which aim to determine if a specific data sample was part of a model's training corpus, are the primary benchmark for quantifying these risks, with numerous techniques developed to probe ARM vulnerabilities (Mattern et al., 2023; Duan et al., 2024; Fu et al., 2024). However, for the burgeoning class of DLMs, which operate on distinct principles of iterative, bidirectionally-conditioned mask prediction, the extent and nature of such privacy vulnerabilities remain critically uncharted.



Diffusion Language Model Inference with Monte Carlo Tree Search

arXiv.org Artificial Intelligence

This formulation enables parallel refinement, improves global coherence, and offers flexible qualityDiffusion language models (DLMs) have relatency trade-offs, thus challenging the dominancecently emerged as a compelling alternative to autoregressive generation, offering parallel gen-of AR paradigms (Li et al., 2025b). Dur-The inference process of DLMs can be natuing inference, DLMs generate text by itera-rally formulated as a search problem: starting from tively denoising masked sequences in parallel; however, determining which positions to a corrupted sequence, the model iteratively decides which positions to unmask and which tounmask and which tokens to commit forms akens to assign, navigating an exponential space large combinatorial search problem. Existing inference-timeinference methods approximate this search using heuristics, which often yield suboptimalmethods approximate this search using confidencedecoding paths; other approaches instead relydriven heuristics, such as greedily unmasking the on additional training to guide token selection. We forced to adapt around them, often leading to sub-employ Monte Carlo Tree Search at the initialization stage to explore promising unmaskingoptimal trajectories. Another line of work adjusts trajectories, providing a robust starting pointmasking schedules dynamically (Peng et al., 2025; for subsequent refinement. This design enables Zhao et al., 2024), but such approaches typically efficient inference-time scaling, allowing generation quality to improve as the search budget To this end, we propose 1 Introduction MEDAL, a framework that integrates Monte Carlo In recent years, diffusion language models (DLMs) Tree SEarch initialization for Diffusion LAnguage have emerged as a powerful alternative for gen-Model inference. Unlike heuristic or schedulebased methods, which either commit to tokenserative modeling over discrete sequences (Zhu greedily or depend on auxiliary samplers, MEDALet al., 2025; Ye et al., 2025). Unlike autoregressive (AR) models (Achiam et al., 2023; Minaeeadopts a principled search-based approach, using et al., 2024), which rely on a strictly left-to-right Monte Carlo Tree Search (MCTS) (Yoon et al., 2025; Browne et al., 2012) to balance exploitationfactorization, DLMs learn to invert a stochastic corof high-confidence tokens with exploration of al-ruption process that independently masks tokens (Lou et al., 2023; Shi et al., 2024; Nie et al., 2025). The core idea is to define a forward ing tokens and positions.


Unlocking the Potentials of Retrieval-Augmented Generation for Diffusion Language Models

arXiv.org Artificial Intelligence

Diffusion Language Models (DLMs) have recently demonstrated remarkable capabilities in natural language processing tasks. However, the potential of Retrieval-Augmented Generation (RAG), which shows great successes for enhancing large language models (LLMs), has not been well explored, due to the fundamental difference between LLM and DLM decoding. To fill this critical gap, we systematically test the performance of DLMs within the RAG framework. Our findings reveal that DLMs coupled with RAG show promising potentials with stronger dependency on contextual information, but suffer from limited generation precision. We identify a key underlying issue: Response Semantic Drift (RSD), where the generated answer progressively deviates from the query's original semantics, leading to low precision content. We trace this problem to the denoising strategies in DLMs, which fail to maintain semantic alignment with the query throughout the iterative denoising process. To address this, we propose Semantic-Preserving REtrieval-Augmented Diffusion (SPREAD), a novel framework that introduces a query-relevance-guided denoising strategy. By actively guiding the denoising trajectory, SPREAD ensures the generation remains anchored to the query's semantics and effectively suppresses drift. Experimental results demonstrate that SPREAD significantly enhances the precision and effectively mitigates RSD of generated answers within the RAG framework.


Beyond Next-Token Prediction: A Performance Characterization of Diffusion versus Autoregressive Language Models

arXiv.org Artificial Intelligence

Large Language Models (LLMs) have achieved state-of-the-art performance on a broad range of Natural Language Processing (NLP) tasks, including document processing and code generation. Autoregressive Language Models (ARMs), which generate tokens sequentially conditioned on all previous tokens, have been the predominant paradigm for LLMs. While these models have achieved high accuracy across a range of downstream tasks, they exhibit low arithmetic intensity due to the inherent sequential dependency in next-token prediction. Recently, Diffusion Language Models (DLMs) have emerged as a promising alternative architecture. DLMs generate output tokens in parallel, mitigating the limitations of sequential decoding. However, the performance implications of DLMs relative to commonly deployed ARMs are not fully understood. In this work, we present a comprehensive study of the performance characteristics of ARMs and DLMs, combining theoretical analysis with empirical profiling to characterize the trade-offs between these approaches. We show that although DLMs can achieve higher arithmetic intensity than ARMs by leveraging parallelism across token positions, they fail to scale effectively with longer contexts. We then explore block-wise decoding for DLMs, which decouples arithmetic intensity from sequence length and enables better scaling to long contexts (similar to ARMs). We also examine batched inference and find that ARMs exhibit superior throughput as they benefit more from parallelism across sequences in the batch. Finally, we highlight opportunities for accelerating DLM inference, emphasizing that reducing the number of sampling steps is key for open-source DLMs to achieve lower latency relative to ARMs.