读取、分配、路由:像素空间生成式Transformer的角色耦合分词
Read, Allocate, Route: Role-Coupled Tokenization for Pixel-Space Generative Transformers
AI总结:
该研究针对像素空间生成式Transformer的全局注意力成本问题,提出SpecSlot模型,通过将空间锚点扩展为多slot并分离频谱与锚点密度,在降低计算成本的同时提升了图像生成的FID指标。
摘要:
像素空间生成式Transformer通常每个图像块使用一个token,因此捕捉更精细的细节需要更多token,这使得全局注意力的计算成本越来越高。我们观察到,更精细的细节并不一定需要更多的全局通信:低频结构受益于全局交换,而高频细节可以在局部建模。基于这一见解,我们提出SpecSlot,一种像素空间整流流Transformer,它将输出细节与全局注意力序列的长度解耦。SpecSlot将每个空间锚点扩展为多个slot,每个slot被分配一个不相交的DCT系数带;这将锚点密度与频谱细分分离。每个锚点仅最低频率的slot参与全局注意力,而所有slot进行局部交互。这允许模型在不扩大全局序列的情况下增加频谱细节。空间头进一步对频谱预测添加局部校正,而生成状态、目标和损失仍保留在像素空间中。在ImageNet-256上,SpecSlot实现了与FLOPs匹配的JiT控制相当的最终FID,同时收敛更快。在ImageNet-512上,它比该控制的FID提高了2.84,且FLOPs减少了3.9%,在成本降低38.2%的情况下,仅比JiT-B/16的FID低0.69。在文本到图像生成任务中,SpecSlot在DPG-Bench上比JiT-B/8高出1.06,且前向成本降低了40.6%。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。