LIFT: A Novel Framework for Enhancing Long-Context Understanding of LLMs via Long Input Fine-Tuning
Not on the map. Why?
Abstract (arXiv)
Long-context understanding remains challenging for LLMs due to limited context windows. This paper introduces Long Input Fine-Tuning (LIFT), a framework that improves the long-context performance of arbitrary short-context LLMs by dynamically adapting their parameters to each long input. Instead of endlessly extending context windows to fit longer inputs in context, LIFT stores and absorbs the input in parameters. By fine-tuning long inputs into parameters, LIFT enables short-context LLMs to answer questions even when required information is absent from the inference context, avoiding the quadratic input-length complexity of standard long-context models. Rather than simple continued pretraining on new long contexts, LIFT uses carefully designed LLM-generated synthetic tasks to enhance comprehension beyond memorization. To offset fine-tuning overhead, we design a highly optimized pipeline that reduces Time to First Token (TTFT) to under 10 seconds for 8k context. We further analyze LIFT's strengths and limitations, discuss large-scale deployment feasibility, and highlight future research directions. Implementation is open-sourced at https://github.com/MuLabPKU/LIFT.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 39 of its 56 references that are in the map. First posted on arXiv 20 Feb 2025.
Builds on
39 of 56 references.
References · 39
- 2017Attention Is All You Needcited by 59,932
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2020Reformer: The Efficient Transformercited by 1,658
- 2024From Local to Global: A Graph RAG Approach to Query-Focused Summarizationcited by 1,411
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
- 2024LongMemEval: Benchmarking Chat Assistants on Long-Term Interactive Memorycited by 656
- 2017The NarrativeQA Reading Comprehension Challengecited by 590
- 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 584
- 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 483
27 more
- 2020Efficient Content-Based Sparse Attention with Routing Transformerscited by 469
- 2023LongLLMLingua: Accelerating and Enhancing LLMs in Long Context Scenarios via Prompt Compressioncited by 443
- 2024MInference 1.0: Accelerating Pre-filling for Long-Context LLMs via Dynamic Sparse Attentioncited by 375
- 2018Efficient Attention: Attention with Linear Complexitiescited by 366
- 2021Efficient Attentions for Long Document Summarizationcited by 342
- 2024Learning to (Learn at Test Time): RNNs with Expressive Hidden Statescited by 329
- 2015MovieQA: Understanding Stories in Movies through Question-Answeringcited by 304
- 2024Titans: Learning to Memorize at Test Timecited by 303
- 2024AIR-Bench: Benchmarking Large Audio-Language Models via Generative Comprehensioncited by 215
- 2022Test-Time Training with Masked Autoencoderscited by 208
- 2021QuALITY: Question Answering with Long Input Texts, Yes!cited by 204
- 2023LooGLE: Can Long-Context Language Models Understand Long Contexts?cited by 200
- 2023Augmenting Language Models with Long-Term Memorycited by 186
- 2023FLatten Transformer: Vision Transformer using Focused Linear Attentioncited by 170
- 2024Rephrasing the Web: A Recipe for Compute and Data-Efficient Language Modelingcited by 156
- 2024LLM Maybe LongLM: Self-Extend LLM Context Window Without Tuningcited by 133
- 2023Retrieval meets Long Context Large Language Modelscited by 114
- 2024LongRAG: Enhancing Retrieval-Augmented Generation with Long-context LLMscited by 104
- 2024MEMORYLLM: Towards Self-Updatable Large Language Modelscited by 89
- 2024Inference Scaling for Long-Context Retrieval Augmented Generationcited by 65
- 2024Instruction-tuned Language Models are Better Knowledge Learnerscited by 54
- 2024With Greater Text Comes Greater Necessity: Inference-Time Training Helps Long Text Generationcited by 36
- 2024Better Synthetic Data by Retrieving and Transforming Existing Datasetscited by 36
- 2025MB-TaylorFormer V2: Improved Multi-branch Linear Transformer Expanded by Taylor Formula for Image Restorationcited by 36
- 2022TTTFlow: Unsupervised Test-Time Training with Normalizing Flowcited by 33
- 2024Genie: Achieving Human Parity in Content-Grounded Datasets Generationcited by 31
- 2024Mixtures of In-Context Learnerscited by 5
Built on by
Citing papers per year: 2025: 4; 2026: 2.
6 papers.
- 2025Cartridges: Lightweight and general-purpose long context representations via self-studycited by 74
- 2025ContextNav: Towards Agentic Multimodal In-Context Learningcited by 9
- 2025ETT: Expanding the Long Context Understanding Capability of LLMs at Test-Timecited by 1
- 2026RAG-Enhanced Large Language Models for Dynamic Content Expiration Prediction in Web Searchcited by 1
- 2025CreAgentive: An Agent Workflow Driven Multi-Category Creative Generation Enginecited by 0
- 2026S3-Attention:Attention-Aligned Endogenous Retrieval for Memory-Bounded Long-Context Inferencecited by 0
- 2026RAG-Enhanced Large Language Models for Dynamic Content Expiration Prediction in Web Search13 May 2026
- 2026S3-Attention:Attention-Aligned Endogenous Retrieval for Memory-Bounded Long-Context Inference25 Jan 2026
- 2025ContextNav: Towards Agentic Multimodal In-Context Learning6 Oct 2025
- 2025CreAgentive: An Agent Workflow Driven Multi-Category Creative Generation Engine30 Sep 2025
- 2025ETT: Expanding the Long Context Understanding Capability of LLMs at Test-Time8 Jul 2025
- 2025Cartridges: Lightweight and general-purpose long context representations via self-study6 Jun 2025