Modern language models predict the next token in the sequence by considering the past text through a powerful function such as attention. However, language models have no explicit mechanism that allows them to spend computation time for planning long-distance future text, leading to a suboptimal token prediction. In this paper, we propose a planner that predicts a latent plan for many sentences into the future. By sampling multiple plans at once, we condition the language model on an accurate approximation of the distribution of text continuations, which leads to better next token prediction accuracy. In effect, this allows trading computation time for prediction accuracy.
LLM as Attention-Informed NTM and Topic Modeling as long-input Generation: Interpretability and long-Context Capability
Beijing University of Posts and Telecommunications(北京邮电大学);University of Science and Technology Beijing(北京科技大学);Beijing Value Simplex Technology Co. Ltd(北京价值简单科技有限公司);Zhongguancun Laboratory(中关村实验室)
Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学 polled 智能学院);DIRO, Université de Montréal(蒙特利尔大学 DIRO);Beijing Key Laboratory of Big Data Management and Analysis Methods(北京大数据管理与分析方法重点实验室)
L$^2$M: Mutual Information Scaling Law for Long-Context Language Modeling
NSF AI Institute for Artificial Intelligence and Fundamental Interactions(NSF人工智能与基础相互作用研究院);Massachusetts Institute of Technology(麻省理工学院);Polytechnic University of Catalonia(加泰罗尼亚理工大学);Harvard University(哈佛大学);University of California, Los Angeles(加州大学洛杉矶分校)
Long-Short Range Context Neural Networks for Language Modeling
Spoken Language Systems (LSV)(口语语言系统(LSV));Collaborative Research Center on Information Density and Linguistic Encoding(信息密度与语言编码合作研究中心)
语言建模技术的目标是从训练语料库中获取自然语言的统计和结构特性。该任务通常涉及学习短程依赖关系,其通常对语言的句法属性和/或长程依赖关系进行建模,其本质上是语义的。本文提出了一种新的多跨度体系结构,它分别对短和长上下文信息进行建模,同时动态地合并它们来执行语言建模任务。这是通过一种新的经常性长短范围上下文(LSRC)网络来实现的,该网络使用两个随时间演变的独立隐藏状态来显式地对局部(短)和全局(长)上下文进行建模。这种新架构是对长短期记忆网络(LSTM)的适应,以考虑语言属性。在Penn Treebank(PTB)和Large Text Compression Benchmark(LTCB)语料库上进行的大量实验表明,与最先进的语言建模技术相比,该方法显着减少了困惑。
Poolingformer: Long Document Modeling with Pooling Attention
Sichuan University(四川大学);Microsoft Research Asia(微软亚洲研究院);Microsoft Azure AI(微软Azure人工智能);University of Science and Technology of China(中国科学技术大学)
在本文中,我们介绍了一个两级的注意力模式,Poolingformer,长文档建模。它的第一级使用较小的滑动窗口模式来聚合来自邻居的信息。第二层采用更大的窗口来增加感受野,集中注意力以减少计算成本和内存消耗。我们首先评估Poolingformer两个长序列QA任务:单语NQ和多语言TyDi QA。实验结果表明,Poolingformer在F1测量的三个官方排行榜上名列前茅,在NQ长答案上超过了之前最先进的模型1.9分(79.8 vs. 77.9),在TyDi QA通道答案上超过了1.9分(79.5 vs. 77.6),在TyDi QA最小答案上超过了1.6分(67.6 vs. 66.0)。我们进一步评估Poolingformer在一个长序列摘要任务。arXiv基准测试的实验结果继续证明了其卓越的性能。
Long-Short Alignment for Effective Long-Context Modeling in LLMs
State Key Lab of General Artificial Intelligence, School of Intelligence Science and Technology, Peking University, China(人工智能国家重点实验室,智能科学与技术学院,北京大学);MIT CSAIL, USA(麻省理工学院计算机科学与人工智能实验室);Institute for Artificial Intelligence, Peking University, China(人工智能研究院,北京大学)