LIFT: A Novel Framework for Enhancing Long-Context Understanding of LLMs via Long Input Fine-Tuning
Institute for Artificial Intelligence, Peking University(北京大学人工智能研究院);State Key Laboratory of General Artificial Intelligence, BIGAI(通用人工智能国家重点实验室,北京通用人工智能研究院)
长上下文理解仍是大语言模型的挑战,因其上下文窗口有限。本文提出长输入微调(LIFT),一种新型长上下文建模框架,通过动态调整参数增强任意短上下文LLM的长上下文性能。重要的是,LIFT不通过无限扩展上下文窗口来适应更长的输入,而是将长输入存储并吸收进参数中。通过将长输入微调到模型参数中,LIFT允许短上下文LLM在推理时即使所需信息不在上下文中也能回答问题,避免了正常长上下文模型对输入长度的二次复杂度。此外,LIFT不简单地在新长上下文中继续预训练,而是利用精心设计的LLM生成的合成任务来增强长上下文的理解能力,超越单纯的记忆。为适应微调的额外成本,我们设计了一个高度优化的流水线,将8k上下文的Time to First Token(TTFT)减少到10秒以下。我们进一步对LIFT在长上下文理解中的优势和局限性进行了全面分析,讨论了其在大规模现实部署中的可行性,并强调了未来研究的有价值方向。
英文摘要:
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.
SMITE: Enhancing Fairness in LLMs through Optimal In-Context Example Selection via Dynamic Validation
Indian Institute of Technology Delhi, India(印度德里理工学院);Delhi Technological University, India(德里技术大学);Indian Institute of Science Education and Research Kolkata, India(印度科学教育与研究学院科希拉分校);Indian Institute of Technology Kharagpur, India(印度理工学院哈里科格分校)
Time Series Forecasting with LLMs: Understanding and Enhancing Model Capabilities
Rutgers University(罗格斯大学);Shanghai Jiaotong University(上海交通大学);University of Liverpool(利物浦大学);New Jersey Institute of Technology(新泽西理工学院);Xi’an Jiaotong-Liverpool University(西交利物浦大学)
Failures Pave the Way: Enhancing Large Language Models through Tuning-free Rule Accumulation
Tsinghua University(清华大学);Institute for AI Industry Research (AIR), Tsinghua University(清华大学人工智能产业研究院);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室)
Enhancing Character-Level Understanding in LLMs through Token Internal Structure Learning
School of Computer Science and Technology, Chongqing University of Posts and Telecommunications(重庆邮电大学计算机科学与技术学院);Baidu AI Platform & Ecosystem(百度AI平台与生态系统)
本文提出 TIPA 方法,通过基于分词器词表的反向字符预测训练增强 LLM 对 token 内部字符位置的感知,实验证明其可提升位置预测及多类字符级下游任务性能。
Enhancing Document-level Argument Extraction with Definition-augmented Heuristic-driven Prompting for LLMs
School of Engineering and Informatics, University of Sussex(萨塞克斯大学工程与信息学院);International Business School Suzhou, Xi’an Jiaotong-Liverpool University(西交利物浦大学苏州国际商学院);Management School, University of Liverpool(利物浦大学管理学院)
LongFaith: Enhancing Long-Context Reasoning in LLMs with Faithful Synthetic Data
IDEA Research, International Digital Economy Academy(IDEA研究院,国际数字经济学院);Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));DataArc Tech Ltd.(DataArc科技有限公司);Hithink RoyalFlush Information Network Co., Ltd(Hithink皇家Flush信息网络有限公司)
DnA-Eval: Enhancing Large Language Model Evaluation through Decomposition and Aggregation
National University of Singapore(新加坡国立大学);Salesforce Research(Salesforce研究院);Nanyang Technological University(南洋理工大学);Institute for Infocomm Research (IR)(信息通信研究院);A*STAR(新加坡科技研究局)
Parrot: Enhancing Multi-Turn Instruction Following for Large Language Models
Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学高瓴人工智能学院);Kuaishou(快手);School of Information, Renmin University of China(中国人民大学信息学院)
Double-Checker: Enhancing Reasoning of Slow-Thinking LLMs via Self-Critical Fine-Tuning
The Hong Kong University of Science and Technology(香港科学与技术大学);University of Electronic Science and Technology of China(电子科技大学);Dalian University of Technology(大连理工大学);University of Texas at Austin(德克萨斯大学奥斯汀分校);Zhejiang University(浙江大学);University of Oxford(牛津大学);NVIDIA(NVIDIA公司);University of Surrey(萨里大学)
CausalAbstain: Enhancing Multilingual LLMs with Causal Reasoning for Trustworthy Abstention
Department of Computer Science, Hong Kong Baptist University(香港 Baptist 大学计算机科学系);School of Mathematics and Statistics, The University of Melbourne(墨尔本大学数学与统计学学院);School of Computing and Information Systems, Singapore Management University(新加坡管理大学计算与信息系统学院)