Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attention

この論文は 2024 年に発表され、Litlas には被引用 175 件が記録されています。

This work introduces an efficient method to scale Transformer-based Large Language Models (LLMs) to infinitely long inputs with bounded memory and computation. A key component in our proposed approach is a new attention technique dubbed Infini-attention. The Infini-attention incorporates a compressive memory into the vanilla attention mechanism and builds in both masked local attention and long-term linear attention mechanisms in a single Transformer block. We demonstrate the effectiveness of our approach on long-context language modeling benchmarks, 1M sequence length passkey context block retrieval and 500K length book summarization tasks with 1B and 8B LLMs. Our approach introduces minimal bounded memory parameters and enables fast streaming inference for LLMs.

Compressive Transformersfor Long-Range Sequence…Compressive Transformers for Long-Range Sequence ModellingLongformer: TheLong-Document…Longformer: The Long-Document TransformerLearning AssociativeInference Using Fast…Learning Associative Inference Using Fast Weight MemoryMemorizing TransformersMemorizing TransformersTrain Short, Test Long:Attention with Linear…Train Short, Test Long: Attention with Linear Biases Enables Input Length ExtrapolationExtending Context Windowof Large Language Model…Extending Context Window of Large Language Models via Positional InterpolationAdapting Language Modelsto Compress ContextsAdapting Language Models to Compress ContextsIn-context Autoencoderfor Context Compression…In-context Autoencoder for Context Compression in a Large Language ModelData Engineering forScaling Language Models…Data Engineering for Scaling Language Models to 128K ContextEffective Long-ContextScaling of Foundation…Effective Long-Context Scaling of Foundation ModelsInfLLM: Unveiling theIntrinsic Capacity of…InfLLM: Unveiling the Intrinsic Capacity of LLMs for Understanding Extremely Long Sequences with Training-Free MemoryEfficient StreamingLanguage Models with…Efficient Streaming Language Models with Attention SinksRecurrent ContextCompression: Efficientl…Recurrent Context Compression: Efficiently Expanding the Context Window of LLMBlock Transformer:Global-to-Local Languag…Block Transformer: Global-to-Local Language Modeling for Fast InferenceChain of Agents: LargeLanguage Models…Chain of Agents: Large Language Models Collaborating on Long-Context TasksXL3M: A Training-freeFramework for LLM Lengt…XL3M: A Training-free Framework for LLM Length Extension Based on Segment-wise InferenceWriting in the Margins:Better Inference Patter…Writing in the Margins: Better Inference Pattern for Long Context RetrievalFocusLLM: PreciseUnderstanding of Long…FocusLLM: Precise Understanding of Long Context by Dynamic CondensingKimi Linear: AnExpressive, Efficient…Kimi Linear: An Expressive, Efficient Attention ArchitectureScale-invariantAttentionScale-invariant AttentionExpansion Span:Combining Fading Memory…Expansion Span: Combining Fading Memory and Retrieval in Hybrid State Space ModelsFrom Masks to Worlds: AHitchhiker's Guide to…From Masks to Worlds: A Hitchhiker's Guide to World ModelsInfinite Retrieval:Attention Enhanced LLMs…Infinite Retrieval: Attention Enhanced LLMs in Long-Context ProcessingStar Attention:Efficient LLM Inference…Star Attention: Efficient LLM Inference over Long SequencesLeave No Context Behind:Efficient Infinite…Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attention過去の参考文献中心の論文この論文を引用する論文古い新しい