过渡定律的格

·

研究论文 · 2026/10/10

扩散模型和自回归(AR)模型长期被视为不同类别的生成模型,扩散擅长连续场,AR擅长离散标记。近期工作试图结合两者优势,每种混合模型在设计上固定了解码调度。本文研究是否能在固定步数解码前预测一种模型解码调度的性能。我们将扩散、AR及介于两者之间的模型描述为同一损坏格上的路径,并将调度的成本定义为其并行步骤所丢弃的依赖关系。该成本表明,零成本调度的最少步数由数据几何决定,对标记和连续场同样如此。特别地,对于在图上马尔可夫且沿其路径依赖的数据,最少步数等于图的树深,该值对序列长度呈对数关系,对网格边长呈线性关系。当步数少于树深时,每种调度都付出正成本,我们通过从预训练权重估计的成对依赖核在解码前预测其排名。在文本生成、图像生成和视频生成中,我们验证了关于不同调度在不同指标和基准下排名的大部分预测。因此,这项工作为未来AR模型、扩散模型及介于两者之间的模型的解码提供了设计原则。我们的代码可在https://github.com/TSUITUENYUE/The-Lattice-of-Transition-Laws获取。

该论文为扩散和自回归模型的解码调度提供了统一的理论框架和可预测的设计原则,有助于在实际生成任务中提前选择高效调度,推动混合生成模型的发展。

Diffusion and autoregression (AR) have long been seen as different categories of generative models, with diffusion specialising in continuous fields and AR specialising in discrete tokens. Recent work seeks to combine the advantages of the two models, and each hybrid fixes its decoding schedule by design. In this paper, we ask whether the performance of decoding schedules of one model can be predicted before decoding at a fixed number of steps. We describe diffusion, AR, and models in between as paths on one corruption lattice, and define the cost of a schedule as the dependence its parallel steps discard. The cost shows that the fewest steps of a zero-cost schedule are set by the geometry of the data, in the same way for tokens and for continuous fields. In particular, for data that are Markov on a graph and dependent along its paths, the fewest steps equal the graph's treedepth, which is logarithmic in the length of a sequence and linear in the side length of a grid. With fewer steps than the treedepth, every schedule pays a positive cost, whose ranking we predict before decoding with a kernel of pairwise dependence estimated from pretrained weights. Across text generation, image generation, and video generation, we verify most of the predictions about the rankings of different schedules under different metrics and benchmarks. This work therefore provides a design principle for decoding for future AR models, diffusion models, and anything in between. Our code is available at https://github.com/TSUITUENYUE/The-Lattice-of-Transition-Laws.

阅读原文

参与讨论