arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.37432cs.CV
收藏

基于Transformer的原生可扩展记忆模型

Native Scalable Memory Models with Transformers

Huazhong University of Science and Technology(华中科技大学);University of Salerno(萨勒诺大学)

Ziyang Xu, Lucia Cascone, Aniello Castiglione, Michele Nappi, Wenyu Liu, Xinggang Wang

AI总结:

该研究提出Memory Transformer(MeT),将原生视觉记忆作为可独立扩展的架构资源,在THUMOS14等数据集上,MeT-Large较同规模ViT精度提升显著,且推理速度更快、内存占用更低。

摘要:

我们提出了Memory Transformer(MeT),这是一种用于原生视觉记忆建模的新方法,为视觉Transformer开辟了新的扩展维度。其分层记忆维护从空间特征更新的循环状态,并通过残差读出返回,使持久上下文成为表示层次结构的固有组成部分。独立的隐藏状态宽度控制记忆容量,与主干网络的宽度和深度无关,同时保留的状态在输入序列增长时保持有界。MeT揭示了两种互补的扩展趋势:在固定空间主干下增加记忆容量可持续提高精度,而在匹配记忆宽度下更大的模型可带来进一步的性能提升。涵盖三种模型规模和十五种容量配置的研究证明了这些增益,与相同规模的ViT相比,MeT具有紧凑的状态和较低的计算开销;在记忆扩展过程中,每帧延迟几乎保持不变。在THUMOS14和SSv2数据集上,MeT-Large在精度上优于最先进的方法,与相同规模的ViT相比,mAP和Top-1精度分别提高了6.69和26.91,且参数数量、GFLOPs和GPU峰值相当。与TRecViT-Large相比,MeT-Large使用的持久状态减少了92.7%,并提供了约3.0倍更快的因果逐帧推理。MeT将原生视觉记忆确立为一种可独立扩展的架构资源,为构建更强的视觉模型开辟了直接途径。项目页面:this https URL

英文摘要:

We introduce Memory Transformer (MeT), a novel method for native visual memory modeling that opens a new scaling dimension for vision Transformers. Its hierarchical memory maintains recurrent states updated from spatial features and returned through residual readouts, making persistent context an intrinsic part of the representation hierarchy. A separate hidden-state width controls memory capacity independently of backbone width and depth, while the retained state remains bounded as the input sequence grows. MeT reveals two complementary scaling trends: increasing memory capacity consistently improves accuracy at a fixed spatial backbone, and larger models deliver further gains at matched memory widths. Studies spanning three model sizes and fifteen capacity configurations demonstrate these gains with compact states and low computational overhead relative to same-size ViTs; per-frame latency remains nearly unchanged during memory scaling. On THUMOS14 and SSv2, MeT-Large outperforms state-of-the-art methods in accuracy, improving mAP and Top-1 accuracy over same-size ViTs by 6.69 and 26.91, respectively, with comparable parameter counts, GFLOPs, and GPU peak. Compared with TRecViT-Large, MeT-Large uses 92.7% less persistent state and provides approximately 3.0$\times$ faster causal framewise inference. MeT establishes native visual memory as an independently scalable architectural resource, opening a direct route to stronger visual models. Project page at https://hustvl.github.io/MeT.

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

↑