结构化残差连接对扩散Transformer至关重要

·

研究论文 · 2026/09/29

扩散Transformer(DiTs)已成为高保真图像生成的可扩展骨干网络。然而,与依赖固定手工跳跃连接的U-Net扩散模型不同,DiTs主要使用统一的残差流,将所有前层整合为单一状态。本文重新思考扩散Transformer中的残差连接,提出将其从被动求和转变为针对图像去噪优化的主动检索机制。首先,对DiT内部表示进行系统分析,揭示出对早期层特征重用和对称层引导的潜在偏好。基于此,引入一种结构化连接设计,明确整合局部残差连接与长程路径。该方法不是静态跳跃连接或密集全层路由,而是使每个Transformer块能够选择性地“关注”关键的早期表示,通过直接、可微的跨深度路径动态检索空间和语义线索。实验表明,自适应连接带来更快收敛,训练迭代减少高达1.73倍,并在FID和视觉质量上显著提升,额外参数少于0.1%,进一步将强大的REPA-XL/2模型在无引导下从5.9 FID提升至4.34 FID,在分类器自由引导下达到1.39 FID。研究结果表明,自适应跨层连接是扩散Transformer中关键但未被充分探索的因素,引入结构化信息路径为改进可扩展生成模型提供了简单有效的方向。

该研究揭示了扩散Transformer中自适应跨层连接的重要性,以极低参数开销显著提升生成质量与训练效率,为改进可扩展生成模型提供了简单有效的方向。

Diffusion Transformers (DiTs) have established themselves as a scalable backbone for high-fidelity image synthesis. However, unlike U-Net based diffusion models that rely on rigid, hand-crafted skip connections, DiTs predominantly use a uniform residual stream that integrates all preceding layers as a monolithic state. In this work, we rethink residual connections in diffusion transformers and propose to transform them from passive summation into an active retrieval mechanism optimized for image denoising. First, we conduct a systematic analysis of DiT's internal representation, revealing a latent preference for early-layer feature reuse and symmetric layer guidance. Motivated by this, we introduce a structured connectivity design that explicitly integrates local residual connections with long-range pathways. Instead of static skip connections or dense all-layer routing, our method enables each transformer block to selectively ``attend'' to critical earlier representations, dynamically retrieving spatial and semantic cues through direct, differentiable cross-depth paths. Experiments show that our adaptive connectivity leads to faster convergence, with up to 1.73times fewer training iterations, and significant gains in FID and visual quality with less than 0.1% additional parameters, further improving a strong REPA-XL/2 model from 5.9 to 4.34 FID without guidance and reaching 1.39 FID with classifier-free guidance. Our findings suggest that adaptive cross-layer connectivity is a critical yet underexplored factor in diffusion transformers, and that incorporating structured information pathways provides a simple and effective direction for improving scalable generative models.

阅读原文

参与讨论