arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.26752cs.LGcs.AI
收藏

用于多模态检索与生成的深度链接残差令牌

Depth-Linked Residual Tokens for Multimodal Retrieval and Generation

Meta AI

Jiangfan Zhang, Wentao Bao, Xian Wu, Xiangjun Fan, Jianpeng Cheng, Jun Xiao

AI总结:

提出DepThink框架,通过深度链接残差令牌解决循环架构延迟与学习型令牌冗余问题,在多模态任务中兼顾效率与性能,训练推理速度显著提升。

摘要:

循环架构(如循环语言模型)可提升Transformer的参数效率与推理能力,但其串行主干迭代会带来显著的计算延迟。相反,可并行的学习型特殊令牌(如Vision Transformer中的寄存器令牌)虽能实现高效的单次推理,但常因缺乏串行优化而存在令牌间表示冗余的问题。为解决这些挑战,我们提出深度链接残差令牌(DepThink),这是一种专为多模态检索与生成设计的高效框架。DepThink在单次预填充前向传播中运行,附加K个可学习残差令牌序列,其隐藏状态通过轻量级可学习残差循环耦合。该机制使每个残差令牌能逐步捕获前序令牌遗漏的互补信息。理论上,我们证明DepThink相比标准学习型令牌具有严格扩展的几何方向可达性,并保证可证明的一步下降优势。我们在多模态检索与生成任务中评估DepThink,结果显示,在LoRA和全参数微调下,DepThink在稠密(2B、8B)及稀疏混合专家(30B-A3B)主干上始终优于学习型令牌基线,且与循环架构相当或超越,同时相比循环架构将训练速度提升最高11.9倍,推理速度提升最高4.3倍。

英文摘要:

Iterative architectures such as looped language models improve parameter efficiency and reasoning capacity of transformers, yet their sequential backbone iterations introduce substantial computational latency. Conversely, parallelizable learnable special tokens (such as the register tokens in Vision Transformer) enable efficient single-pass inference, but often suffer from the absence of sequential refinement and exhibit redundant representations across tokens. To address these challenges, we introduce Depth-Linked Residual Tokens (DepThink), an efficient framework designed for multimodal retrieval and generation. Operating within a single pre-filling forward pass, DepThink appends a sequence of K learnable residual tokens whose hidden states are coupled through a lightweight, learnable residual recurrence. This mechanism enables each residual token to progressively capture complementary information missed by preceding tokens. Theoretically, we prove that DepThink provides strictly expanded geometric directional reachability over standard learnable tokens and guarantees a provable one-step descent advantage. We evaluate DepThink across multimodal retrieval and generation tasks. DepThink consistently outperforms learnable-token baselines and matches or exceeds looped architectures across dense (2B, 8B) and sparse mixture-of-experts (30B-A3B) backbones under both LoRA and full-parameter fine-tuning, while accelerating training by up to 11.9 and inference by 4.3 over looped architectures.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑