arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.20843cs.CLcs.AIcs.LG
收藏

HiCI:层次化构造-整合用于长上下文注意力

HiCI: Hierarchical Construction-Integration for Long-Context Attention

School of Computer Science, University of Sydney(悉尼大学计算机科学学院);Westlake University(西湖大学)

Xiangyu Zeng, Qi Xu, Yunke Wang, Chang Xu

AI总结:

HiCI通过层次化构造-整合模块,提升长上下文注意力模型的性能,通过参数高效适应LLaMA-2,将上下文长度扩展至10万和6.4万token,并在多个基准测试中超越现有模型。

摘要:

长上下文语言建模通常被视为token级注意力的可扩展性挑战,但现有方法中局部到全局信息结构仍较为隐含。基于话语理解的认知理论,我们提出HiCI(层次化构造-整合),一种层次化注意力模块,构建段级表示,将它们整合到共享的全局上下文中,并广播两者以条件段级注意力。我们通过仅需<5.5%额外参数的参数高效适应LLaMA-2,将上下文长度从4K扩展到100K tokens(7B)和64K tokens(13B)。在语言建模、检索和指令遵循基准测试中,HiCI在强基线模型上表现出一致的改进,包括在主题检索上匹配专有模型并在代码理解上超越GPT-3.5-Turbo-16K。这些结果证明了显式层次化结构作为长上下文建模归纳偏置的有效性。

英文摘要:

Long-context language modeling is commonly framed as a scalability challenge of token-level attention, yet local-to-global information structuring remains largely implicit in existing approaches. Drawing on cognitive theories of discourse comprehension, we propose HiCI (Hierarchical Construction--Integration), a hierarchical attention module that constructs segment-level representations, integrates them into a shared global context, and broadcasts both to condition segment-level attention. We validate HiCI through parameter-efficient adaptation of LLaMA-2 with only <5.5% additional parameters, extending context from 4K to 100K tokens (7B) and 64K tokens (13B). Across language modeling, retrieval, and instruction-following benchmarks, HiCI yields consistent improvements over strong baselines, including matching proprietary models on topic retrieval and surpassing GPT-3.5-Turbo-16K on code comprehension. These results demonstrate the effectiveness of explicit hierarchical structuring as an inductive bias for long-context modeling.

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

↑