记住我:通过三步仅推理衰减弹性策略弥合LVLM中的长距离差距
Remember Me: Bridging the Long-Range Gap in LVLMs with Three-Step Inference-Only Decay Resilience Strategies
AI总结:
针对大视觉语言模型(LVLM)使用ROPE时的长距离注意力衰减问题,提出仅推理的三步衰减弹性策略(T-DRS),通过语义驱动、距离感知控制和重新强化远距离依赖三步策略恢复长距离token对,在VQA基准上无需训练即可持续提升性能。
摘要:
大视觉语言模型(LVLM)在多种多模态任务中取得了令人瞩目的性能。然而,在使用旋转位置编码(ROPE)的情况下,它们在建模长距离依赖关系方面仍面临关键挑战。尽管ROPE可促进对token位置的精确建模,但随着token距离增加,它会引发渐进式注意力衰减,尤其是对远距离token对的渐进式注意力衰减,这严重损害了模型记住全局上下文的能力。为缓解这一问题,我们提出仅推理的三步衰减弹性策略(T-DRS),包括(1)语义驱动DRS(SD-DRS),通过内容感知残差放大语义有意义但遥远的信号;(2)距离感知控制DRS(DC-DRS),基于位置距离平滑调制权重以净化注意力,在保留局部性的同时抑制噪声;(3)重新强化远距离DRS(reRD-DRS),巩固剩余的信息性远程依赖关系以维持全局连贯性。T-DRS共同恢复被抑制的长距离token对,且不损害局部归纳偏置。在视觉问答(VQA)基准上的大量实验表明,T-DRS能以无需训练的方式持续提升性能。代码可在https://github.com/labixiaoq-qq/Remember-me获取。
英文摘要:
Large Vision-Language Models (LVLMs) have achieved impressive performance across a wide range of multimodal tasks. However, they still face critical challenges in modeling long-range dependencies under the usage of Rotary Positional Encoding (ROPE). Although it can facilitate precise modeling of token positions, it induces progressive attention decay as token distance increases, especially with progressive attention decay over distant token pairs, which severely impairs the model's ability to remember global context. To alleviate this issue, we propose inference-only Three-step Decay Resilience Strategies (T-DRS), comprising (1) Semantic-Driven DRS (SD-DRS), amplifying semantically meaningful but distant signals via content-aware residuals, (2) Distance-aware Control DRS (DC-DRS), which can purify attention by smoothly modulating weights based on positional distances, suppressing noise while preserving locality, and (3) re-Reinforce Distant DRS (reRD-DRS), consolidating the remaining informative remote dependencies to maintain global coherence. Together, the T-DRS recover suppressed long-range token pairs without harming local inductive biases. Extensive experiments on Vision Question Answering (VQA) benchmarks demonstrate that T-DRS can consistently improve performance in a training-free manner. The code can be accessed in https://github.com/labixiaoq-qq/Remember-me
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。