arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2604.20915cs.LGcs.AIcs.CLcs.SEmath.OC
收藏

吸收式大语言模型:利用因果同步进行测试时训练

Absorber LLM: Harnessing Causal Synchronization for Test-Time Training

Peking University(北京大学)

Zhixin Zhang, Shabo Zhang, Chengcan Wu, Zeming Wei, Meng Sun

AI总结:

本文提出Absorber LLM,通过自监督因果同步解决长上下文保留问题,优化模型在测试时的内存和准确率。

摘要:

Transformer因自注意力机制计算成本随序列长度增加而升高,导致长序列推理受限于内存消耗。常内存替代方案如RNN和SSM将历史压缩为固定大小状态,从而丢失长尾依赖。而将上下文记忆到参数中的方法,如测试时训练(TTT),易导致过拟合token级投影,无法保持预训练LLM中的因果效应。本文提出Absorber LLM,将长上下文保留视为自监督因果同步:在吸收历史上下文到参数后,无上下文模型应在未来生成中与原模型在完整上下文情况下匹配。通过同步更新模型的内部行为与原模型,确保上下文吸收和泛化。在长上下文和流式基准测试中,Absorber LLM减少了推理内存并优于先前参数作为内存基线。

英文摘要:

Transformers suffer from a high computational cost that grows with sequence length for self-attention, making inference in long streams prohibited by memory consumption. Constant-memory alternatives such as RNNs and SSMs compress history into states with fixed size and thus lose long-tail dependencies, while methods that memorize contexts into parameters, such as Test-Time Training (TTT), are prone to overfitting token-level projection and fail to preserve the causal effect of context in pretrained LLMs. We propose Absorber LLM, which formulates long-context retention as a self-supervised causal synchronization: after absorbing historical contexts into parameters, a contextless model should match the original model with full context on future generations. We optimize this objective by synchronizing internal behaviors of the updated model with the original one, ensuring context absorption and generalization. Experiments on long-context and streaming benchmarks show that Absorber LLM reduces inference memory and improves accuracy over prior parameter-as-memory baselines.

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

↑