Manuscript Offprint

arXiv:2610.09145

Noise Your Prompt: Noising Conditioning Tokens in Continuous Diffusion Language Models

Justin Jung

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

We revisit a standard accepted practice in the continuous diffusion language model literature of fixing conditioning prompt tokens clean during training. We make a very simple modification: also noise the conditioning prompt tokens during training. We demonstrate that under this modified training objective, we achieve better generalization in combinatorial reasoning tasks such as Sudoku and N-Queens, with the largest gains on harder variants (3.73% → 24.65% solve rate on Sudoku Hard), and increased diversity of generated solutions (50.60% → 73.79% coverage on 10×10 N-Queens). We also show measurable improvements to natural language generation quality in modest dataset regimes with Gigaword summarization, but notably demonstrate that gains do not transfer to all natural language tasks (e.g open ended dialogue generation). Our method is a single line change to the training objective, requires no additional inference costs by default, and provides the flexibility of classifier-free guidance inspired guided sampling. Our code is publicly available.

1 Introduction

Fundamentally, diffusion and flow models learn a score or velocity corresponding to an ODE which can be integrated to transform a base distribution to the target data distribution. Their objective can be parameterized in different ways, including the denoising parametrization x^1(xt)\hat{x}_1(x_t), where the goal is to predict a clean target data x1x_1 given a current noisy input xtx_t.

Our framework is to view this denoising learning objective from the lens of conditional prediction: given a noisy input, predict a clean target. We then see the varying levels of noise corruption of the input as a spectrum of prediction task difficulties, where the model is trained on harder (more noisy) inputs and easier (less noisy) inputs.

In practice for language modelling, conditional generation is the main paradigm: given a conditioning prompt, generate a response. Currently, conditional generation in continuous diffusion language models and flow language models utilize the following learning objective: given un-noised conditioning tokens xcx^{c} and a noised response yty_{t}, predict the target response y1y_{1}. Likewise in sampling, the conditioning tokens are fixed and not noised.

We improve this conditional learning objective by allowing conditional tokens to also be noised, where the model is given a noised conditional input xtcx_t^c along with the current noised response yty_t. We see this modification as extending the range of prediction tasks difficulties, where the prediction problem (x,yt)→y(x, y_t) \to y is made more difficult not just by increasing the amount of noise in the current response input yty_t but also by increasing the amount of noise in the conditioning input. Moreover, by noising the conditioning input, our model has a wider target that it can learn from (also needs to predict the denoised conditioning input), making learning more efficient. Varying the level of noise on the conditioning input can be seen as conditioning augmentation. Empirically, we evaluate on various reasoning and generalization tasks, specifically Sudoku and N-Queens, and natural language generation tasks of summarization and open ended dialogue generation.

Scope and contributions. Our experimental results utilize flow language models on two combinatorial constraint satisfaction benchmarks, Sudoku and N-Queens, and on two natural language generation datasets,

Noised prompt training improves solution diversity

(a) Five sampled solutions of one 6-solution puzzle

Figure

(b) Coverage vs. number of valid solutions

Figure

Figure 1: Noising the conditioning tokens improves solution diversity. (a) Five board generations of a single held-out N-Queens ( 8×88 \times 8) puzzle that admits six distinct valid solutions (distinguished by color and letter). A model trained with noised conditioning tokens ( pcondclean=0.2p_{condclean}=0.2, top) spreads its generations across the solution set (4/6 distinct solutions), whereas the standard “paste-in” model that keeps conditioning tokens clean throughout training ( pcondclean=1.0p_{condclean}=1.0, bottom) mode-collapses onto a single completion. (b) Solution coverage as a function of the number of valid solutions admitted by the input board, over 750 held-out 10×1010 \times 10 puzzles with k=20 generations each. The noised-prompt model dominates the clean-prompt model at every solution count. We quantify this gap in Section 4.4.

Gigaword summarization and open ended dialogue generation. We provide evidence for three claims: (i) Noising conditioning information during training yields improved solve rates on unseen puzzles versus the default paste-in setup, with the largest gains on the more difficult puzzle settings (Sections 4.3 and 4.4). (ii) Noised prompt training produces more diverse generated solutions, as measured by solution coverage on N-Queens (Section 4.4). (iii) Noised prompt training improves summarization generation quality in the modest dataset regime. With natural language generation, we demonstrate measurable improvements in Gigaword summarization but find null results in open dialogue generation, highlighting that noised prompt training can lead to improvements in some but not all natural language tasks. The takeaway is that the default setup of keeping conditioning tokens clean during training of diffusion and flow language models should be revisited; a trivial change to also noise conditioning tokens during training improves both accuracy and diversity in our controlled puzzle testbeds and shows measurable improvements to generation quality in certain natural language tasks.

References (39)