读取、分配、路由:面向像素空间生成式Transformer的角色耦合分词

·

研究论文 · 2026/10/30

像素空间生成式Transformer通常每个图像块使用一个token,因此捕捉更精细细节需要更多token,导致全局注意力计算成本增加。我们观察到精细细节不一定需要更多全局通信:低频结构受益于全局交换,而高频细节可以在局部建模。基于此,我们提出SpecSlot,一种像素空间整流流Transformer,将输出细节与全局注意力序列长度解耦。SpecSlot将每个空间锚点扩展为多个槽,每个槽分配不重叠的DCT系数频带,从而将锚点密度与频谱细分分离。每个锚点仅最低频槽参与全局注意力,所有槽在局部交互。这使得模型可以在不扩大全局序列的情况下增加频谱细节。空间头进一步对频谱预测添加局部校正,而生成状态、目标和损失保持在像素空间。在ImageNet-256上,SpecSlot达到与FLOPs匹配的JiT控制模型相当的最终FID,同时收敛更快。在ImageNet-512上,它以少3.9%的FLOPs将FID比控制模型提升2.84,且仅比JiT-B/16差0.69 FID,成本低38.2%。在文本到图像生成中,SpecSlot在DPG-Bench上以低40.6%的前向成本超过JiT-B/8 1.06。

该论文提出了一种新颖的tokenization方法,有效解决了像素空间生成Transformer中细节与计算成本的矛盾,在多个任务上以更低成本取得更好性能,对高效生成模型设计有重要参考价值。

Pixel-space generative Transformers typically use one token per image patch, so capturing finer detail requires more tokens and makes global attention increasingly expensive. We observe that finer detail does not necessarily require more global communication: low-frequency structure benefits from global exchange, while high-frequency detail can be modeled locally. Based on this insight, we introduce SpecSlot, a pixel-space rectified-flow Transformer that decouples output detail from the length of the global attention sequence. SpecSlot expands each spatial anchor into multiple slots, each assigned a disjoint band of DCT coefficients; this separates anchor density from spectral subdivision. Only the lowest-frequency slot from each anchor participates in global attention, while all slots interact locally. This allows the model to increase spectral detail without enlarging the global sequence. A spatial head further adds a local correction to the spectral prediction, while the generative state, target, and loss remain in pixel space. On ImageNet-256, SpecSlot achieves a comparable final FID to a FLOPs-matched JiT control while converging faster. On ImageNet-512, it improves FID by 2.84 over the control with 3.9% fewer FLOPs, and comes within only 0.69 FID of JiT-B/16 at 38.2% lower cost. On text-to-image generation, SpecSlot surpasses JiT-B/8 on DPG-Bench by 1.06 at 40.6% lower forward cost.

阅读原文

参与讨论