Paper: 2603.22216 Authors: Chi Zhang, Xixi Hu, Bo Liu, Qiang Liu Categories: cs.CL Venue: ICLR 2026

Abstract

The slow, sequential nature of autoregressive (AR) language models has driven the adoption of parallel decoding methods. However, non-AR models often sacrifice generation quality as they struggle to model the complex joint distribution of token sequences. Gumbel Distillation is a novel technique that enables parallel decoders to learn this distribution effectively by leveraging the Gumbel-Max trick to create a deterministic mapping from a latent Gumbel noise space to the output tokens of an AR teacher. As a model-agnostic technique, it seamlessly integrates with diverse parallel decoding architectures including MDLM and BD3-LM. Experiments on LM1B and OpenWebText show 30.0% improvement in MAUVE score and 10.5% in generative perplexity over MDLM.

Key Contributions

  • Gumbel Distillation framework: Transforms the difficult joint-distribution matching problem into a supervised learning problem using the Gumbel-Max reparameterization
  • Model-agnostic plug-and-play: Integrates with MDLM, BD3-LM, and Medusa with minimal architectural changes
  • Significant quality gains: 30% MAUVE improvement and 10.5% generative perplexity reduction on OpenWebText
  • Theoretical grounding: Provides principled approach to capturing token dependencies that parallel decoders typically miss

The Fundamental Problem

Parallel decoders generate multiple tokens simultaneously but must assume conditional independence:

pθ(xIx¬I)=iIpθ(xix¬I)p_\theta(x_I | x_{\neg I}) = \prod_{i \in I} p_\theta(x_i | x_{\neg I})

This assumption ignores dependencies within the target token set. For example, predicting “San Francisco” requires knowing that “Francisco” depends on “San” — but parallel models predict both independently. This leads to token repetition, incoherent text, and grammatical errors.

The key question: Can we make the learning problem easier by providing a “blueprint” from a powerful AR teacher?

The Gumbel-Max Trick

The core insight leverages the Gumbel-Max trick for categorical sampling. To sample from a distribution with logits l = (l₁, …, l_V):

  1. Draw i.i.d. Gumbel noise: ξ_k ~ G(0,1)
  2. Compute: Y = argmax_k (l_k + ξ_k)

The crucial observation: once the logits and noise are known, the argmax is fully deterministic. The randomness is entirely externalized into the Gumbel noise vector.

Two-Stage Framework

Stage 1: Data Generation

For each training example:

  1. Run the AR teacher to generate a token sequence
  2. Record both the output tokens AND the Gumbel noise vectors used in sampling
  3. Store (noise, token) pairs as training data

This creates a dataset where each Gumbel noise vector serves as a latent “blueprint” — uniquely encoding the sampling decisions that produced the corresponding text.

Stage 2: Student Training

Train the parallel student model to reconstruct text conditioned on:

  • The input context (as usual)
  • The Gumbel noise vectors (new conditional input)

This transforms joint-distribution matching into supervised regression: given the noise “blueprint,” predict the deterministic output.

Why It Works

Traditional distillation asks the student to match the teacher’s output distribution — a hard problem when the student assumes conditional independence. Gumbel Distillation sidesteps this by:

  1. Externalizing randomness: The Gumbel noise captures all stochastic decisions
  2. Deterministic mapping: Given noise, the mapping from noise → tokens is deterministic
  3. Supervised learning: The student learns input-output pairs, not distributions
  4. Implicit dependencies: Token dependencies are encoded in the noise vectors, allowing the student to capture them without explicit joint modeling

Results

MDLM + Gumbel Distillation on OpenWebText

MetricMDLMMDLM + GumbelImprovement
MAUVE ↑baseline+30.0%Significant
Gen. Perplexity ↓baseline-10.5%Significant

Integration with Multiple Architectures

  • MDLM: Masked diffusion language model — improvements across all metrics
  • BD3-LM: Block-decomposed diffusion — consistent gains with block-wise generation
  • Medusa: Multi-token prediction heads — enhanced speculative decoding quality

Takeaways

  • The conditional independence assumption in parallel decoders is the primary quality bottleneck — Gumbel Distillation provides a principled solution
  • By externalizing randomness via Gumbel noise, the intractable distribution-matching problem becomes tractable supervised learning
  • The approach is model-agnostic: any parallel decoder can benefit from Gumbel Distillation as a plug-and-play module
  • This work addresses a fundamental limitation shared by masked diffusion models, multi-token prediction, and other non-AR approaches
  • Published at ICLR 2026 with code available, enabling broad adoption

论文: 2603.22216 作者: Chi Zhang, Xixi Hu, Bo Liu, Qiang Liu 分类: cs.CL 发表: ICLR 2026

摘要

自回归(AR)语言模型缓慢的顺序生成特性推动了并行解码方法的采用。然而,非AR模型通常牺牲生成质量,因为它们难以建模令牌序列的复杂联合分布。Gumbel蒸馏是一种新技术,利用Gumbel-Max技巧创建从潜在Gumbel噪声空间到AR教师输出令牌的确定性映射,使并行解码器能有效学习该分布。作为模型无关技术,它可无缝集成到MDLM和BD3-LM等多种并行解码架构中。在LM1B和OpenWebText上的实验表明,MAUVE分数提升30.0%,生成困惑度改善10.5%。

主要贡献

  • Gumbel蒸馏框架:利用Gumbel-Max重参数化将困难的联合分布匹配问题转化为监督学习问题
  • 模型无关的即插即用:以最少的架构改动集成到MDLM、BD3-LM和Medusa中
  • 显著质量提升:在OpenWebText上MAUVE提升30%,生成困惑度降低10.5%
  • 理论基础:为捕获并行解码器通常遗漏的令牌依赖关系提供原则性方法

根本问题

并行解码器同时生成多个令牌,但必须假设条件独立性:

pθ(xIx¬I)=iIpθ(xix¬I)p_\theta(x_I | x_{\neg I}) = \prod_{i \in I} p_\theta(x_i | x_{\neg I})

此假设忽略了目标令牌集内的依赖关系。例如,预测”San Francisco”需要知道”Francisco”依赖于”San”——但并行模型独立预测两者。这导致令牌重复、文本不连贯和语法错误。

核心问题:能否通过提供来自强大AR教师的”蓝图”来简化学习问题?

Gumbel-Max技巧

核心洞察利用了分类采样的Gumbel-Max技巧。从具有logits l = (l₁, …, l_V)的分布中采样:

  1. 抽取独立同分布的Gumbel噪声:ξ_k ~ G(0,1)
  2. 计算:Y = argmax_k (l_k + ξ_k)

关键观察:一旦logits和噪声已知,argmax是完全确定性的。随机性完全外部化到Gumbel噪声向量中。

两阶段框架

第一阶段:数据生成

对每个训练样本:

  1. 运行AR教师生成令牌序列
  2. 记录输出令牌和采样中使用的Gumbel噪声向量
  3. 存储(噪声,令牌)对作为训练数据

这创建了一个数据集,其中每个Gumbel噪声向量作为潜在”蓝图”——唯一编码了产生相应文本的采样决策。

第二阶段:学生训练

训练并行学生模型基于以下条件重建文本:

  • 输入上下文(如常)
  • Gumbel噪声向量(新的条件输入)

这将联合分布匹配转化为监督回归:给定噪声”蓝图”,预测确定性输出。

为什么有效

传统蒸馏要求学生匹配教师的输出分布——当学生假设条件独立时这是一个困难问题。Gumbel蒸馏通过以下方式绕过此问题:

  1. 外部化随机性:Gumbel噪声捕获所有随机决策
  2. 确定性映射:给定噪声,从噪声到令牌的映射是确定性的
  3. 监督学习:学生学习输入-输出对,而非分布
  4. 隐式依赖:令牌依赖关系编码在噪声向量中,使学生无需显式联合建模即可捕获

实验结果

MDLM + Gumbel蒸馏在OpenWebText上

指标MDLMMDLM + Gumbel提升
MAUVE ↑基线+30.0%显著
生成困惑度 ↓基线-10.5%显著

与多种架构集成

  • MDLM:掩码扩散语言模型——所有指标均有提升
  • BD3-LM:块分解扩散——分块生成中一致获益
  • Medusa:多令牌预测头——增强推测解码质量

要点总结

  • 并行解码器中的条件独立假设是主要质量瓶颈——Gumbel蒸馏提供了原则性解决方案
  • 通过Gumbel噪声将随机性外部化,将难处理的分布匹配问题转化为可处理的监督学习
  • 该方法与模型无关:任何并行解码器都可作为即插即用模块受益于Gumbel蒸馏
  • 本工作解决了掩码扩散模型、多令牌预测和其他非AR方法共有的根本限制
  • 在ICLR 2026发表并提供代码,便于广泛采用