Manuscript Offprint

arXiv:2610.16839

Label Collapse in Diffusion Language Model In-Context Learning

Ziye Guo, Ye Yuan

Abstract

In-context learning (ICL) applies large language models to new tasks by prepending a few labeled demonstrations to a query. Prior work has studied how demonstration ordering affects ICL, but the interaction between label arrangement patterns and model biases has not been systematically examined. We define label collapse as the failure mode in which the model generates query-independent labels, and show that it is architecturally universal at the tested 8–9B scale: five models spanning autoregressive (Llama-3, Qwen3.5) and discrete diffusion (LLaDA, iLLaDA, LLaDA-Instruct) families all exhibit label collapse even under the class-balanced alternating arrangement, with some label word pairs collapsing in virtually every tested condition and others flipping their collapse direction with arrangement. Critically, accuracy alone cannot detect this collapse: models can achieve near-chance accuracy while generating query-independent labels, a score indistinguishable from balanced performance, so the failure can persist undetected in deployment. We measure separation, the log-odds of the two label words at the query position (the quantity that label-bias calibration operates on), as a complementary diagnostic that exposes collapse hidden beneath surface accuracy, together with a measurement protocol that guards label extraction against tokenizer and formatting artifacts. For autoregressive models, collapse persists where the majority-label-bias account does not apply, and arrangement patterns can reverse the collapse direction; for diffusion models, we present a systematic evaluation of ICL failure modes, complementing contemporaneous studies of dLLM context comprehension and demonstration-order sensitivity, and identify open questions about how iterative denoising interacts with label biases.

1 Introduction

In-context learning (ICL), the ability to perform new tasks from demonstrations in the prompt without weight updates, is a foundational capability of modern language models [1, 2]. A natural approach to class-balanced ICL prompts is an alternating label order. Prior work has studied how demonstration ordering affects ICL performance [3, 4], but the interaction between label arrangement patterns and model biases has not been systematically examined. The gap is particularly acute for diffusion language models (dLLMs), whose ICL capabilities have only recently been demonstrated [5]; contemporaneous work has begun to characterize their context comprehension and demonstration-order sensitivity [6], but query-independent label failure has not been isolated in dLLMs, nor is it known whether AR label-bias findings transfer to iterative denoising.

We define label collapse as a failure mode in which the model generates query-independent labels: regardless of the query input, the model outputs the same label token. We study it along four axes: (1) five models (three dLLMs and two autoregressive (AR) baselines; Section 2), (2) 20 label word pairs spanning sentiment, safety, geometric, and abstract domains, (3) four arrangements of the same demonstrations, and (4) demonstration counts K∈{4,…,30}K \in \{4, \ldots, 30\}.

40th Conference on Neural Information Processing Systems (NeurIPS 2026). Workshop: DiffuLM @ NeurIPS 2026.

We show that label collapse is architecturally universal but graded: every model collapses on some label pairs, with the collapse direction largely traceable to a token-level prior rather than determined by architecture. Critically, accuracy alone cannot distinguish this collapse from balanced competence: a collapsed model that always outputs the same label word scores ∼50%\sim50\% on a balanced binary task, and the failure persists undetected because standard protocols never probe whether predictions are query-dependent.

To expose it, we measure separation: the log-odds of the positive and negative label words at the query position, computed from a single forward pass. This quantity underlies label-bias calibration [4, 7, 8], which subtracts reference points from it to correct predictions; we instead read its distribution over queries as a diagnostic of collapse. Unlike accuracy, separation directly measures whether the model's internal representations distinguish between query inputs. We further provide a measurement protocol for reliable label extraction: tokenizers may split a label word into multiple tokens, and output formats may shift the answer off the parsed line, so we audit every condition for both failure modes and flag the conditions they confound.

In summary, our contributions are: (1) We identify label collapse and demonstrate its architectural universality across five AR and dLLM models, 20 label word pairs, and four arrangements, with severity ranging from universal collapse to model-dependent graded failure. (2) Accuracy alone cannot detect this collapse: collapsed models achieve near-chance accuracy that is indistinguishable from balanced performance, so detection requires a model-internal diagnostic. (3) We adopt separation (the label log-odds at the query position, the quantity underlying label-bias calibration) as a model-agnostic single-pass diagnostic that exposes collapse beneath surface accuracy, with a measurement protocol that guards label extraction against tokenizer and formatting artifacts; the bias structure it exposes also predicts which collapsed conditions calibration can and cannot repair. (4) Arrangement can reverse collapse direction for weak-bias pairs but cannot avert strong-bias collapse; how iterative denoising in dLLMs interacts with label biases remains open. We review related work on label biases, demonstration order, and diffusion language models in Appendix A.

References (26)