LongPO: Long Context Self-Evolution of Large Language Models through Short-to-Long Preference Optimization
On the map: LLM alignment / RLHF / preference optimisation → LLM preference optimization methods
Abstract (arXiv)
Large Language Models (LLMs) have demonstrated remarkable capabilities through pretraining and alignment. However, superior short-context LLMs may underperform in long-context scenarios due to insufficient long-context alignment. This alignment process remains challenging due to the impracticality of human annotation for extended contexts and the difficulty in balancing short- and long-context performance. To address these challenges, we introduce LongPO, that enables short-context LLMs to self-evolve to excel on long-context tasks by internally transferring short-context capabilities. LongPO harnesses LLMs to learn from self-generated short-to-long preference data, comprising paired responses generated for identical instructions with long-context inputs and their compressed short-context counterparts, respectively. This preference reveals capabilities and potentials of LLMs cultivated during short-context alignment that may be diminished in under-aligned long-context scenarios. Additionally, LongPO incorporates a short-to-long KL constraint to mitigate short-context performance decline during long-context alignment. When applied to Mistral-7B-Instruct-v0.2 from 128K to 512K context lengths, LongPO fully retains short-context performance and largely outperforms naive SFT and DPO in both long- and short-context tasks. Specifically, LongPO-trained models can achieve results on long-context benchmarks comparable to, or even surpassing, those of superior LLMs (e.g., GPT-4-128K) that involve extensive long-context annotation and larger parameter scales. Our code is available at https://github.com/DAMO-NLP-SG/LongPO.
Key facts. Cited by 24 papers in the map (data through 14 Oct 2026). Placed in LLM preference optimization methods, one of 10 directions in LLM alignment / RLHF / preference optimisation. Builds on 30 of its 38 references that are in the map. First posted on arXiv 19 Feb 2025.
Builds on
30 of 38 references.
Closest ancestors · 7
Same direction, newest first
- 2024SimPO: Simple Preference Optimization with a Reference-Free Reward23 May
- 2024ORPO: Monolithic Preference Optimization without Reference Model12 Mar
- 2024Direct Large Language Model Alignment Through Self-Rewarding Contrastive Prompt Distillation19 Feb
- 2024LongAlign: A Recipe for Long Context Alignment of Large Language Models31 Jan
- 2023A General Theoretical Paradigm to Understand Learning from Human Preferences18 Oct
- 2022Self-Instruct: Aligning Language Models with Self-Generated Instructions20 Dec
- 2022Training language models to follow instructions with human feedback4 Mar
Other references · 23
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
- 2017Deep reinforcement learning from human preferencescited by 3,912
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,780
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2022Constitutional AI: Harmlessness from AI Feedbackcited by 3,050
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
11 more
- 2020Learning to summarize from human feedbackcited by 2,588
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
- 2024ChatGLM: A Family of Large Language Models from GLM-130B to GLM-4 All Toolscited by 1,121
- 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 740
- 2024Self-Rewarding Language Modelscited by 681
- 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 601
- 2024∞Bench: Extending Long Context Evaluation Beyond 100K Tokenscited by 367
- 2024Iterative Reasoning Preference Optimizationcited by 246
- 2023DeepSpeed Ulysses: System Optimizations for Enabling Training of Extreme Long Sequence Transformer Modelscited by 245
- 2023Self-Alignment with Instruction Backtranslationcited by 151
- 2023CLEX: Continuous Length Extrapolation for Large Language Modelscited by 44
Built on by
Citing papers per year: 2025: 13; 2026: 11.
24 papers.
Sort:
By area:
- 2025A Survey of Direct Preference Optimizationcited by 36
- 2026OPSDL: On-Policy Self-Distillation for Long-Context Language Modelscited by 30
- 2025LAVa: Layer-wise KV Cache Eviction with Dynamic Budget Allocationcited by 16
- 2026LongRLVR: Long-Context Reinforcement Learning Requires Verifiable Context Rewardscited by 15
- 2025LADM: Long-context Training Data Selection with Attention-based Dependency Measurement for LLMscited by 11
- 2025SoLoPO: Unlocking Long-Context Capabilities in LLMs via Short-to-Long Preference Optimizationcited by 10
- 2025WildLong: Synthesizing Realistic Long-Context Instruction Data at Scalecited by 9
- 2025Finding the Sweet Spot: Preference Data Construction for Scaling Preference Optimizationcited by 9
- 2025When Does Divide and Conquer Work for Long Context LLM? A Noise Decomposition Frameworkcited by 9
- 2025Self-Improving Model Steeringcited by 3
- 2025Chunks as Arms: Multi-Armed Bandit-Guided Sampling for Long-Context LLM Preference Optimizationcited by 3
- 2026Incentivizing In-depth Reasoning over Long Contexts with Process Advantage Shapingcited by 3
12 more
- 2026How to Train Your Long-Context Visual Document Modelcited by 2
- 2026DySCO: Dynamic Attention-Scaling Decoding for Long-Context Language Modelscited by 2
- 2025Modular Techniques for Synthetic Long-Context Data Generation in Language Model Training and Evaluationcited by 1
- 2025Policy Optimization Prefers The Path of Least Resistancecited by 1
- 2025Overcoming State Inertia: Minimally Invasive Temporal Alignment for Evolving Contextscited by 1
- 2026Autoregressive Direct Preference Optimizationcited by 1
- 2025Revisiting Self-Play Preference Optimization: On the Role of Prompt Difficultycited by 0
- 2026Do Implicit Personalization and Explicit Styles Conflict? PsPLUG: A Lightweight Plug-in for Balancing Personalization and Style in Customized LLMscited by 0
- 2026Document Reconstruction Unlocks Scalable Long-Context RLVRcited by 0
- 2026Internalized Reasoning for Long-Context Visual Document Understandingcited by 0
- 2026Unsupervised Post-Training of Foundation Models: A Surveycited by 0
- 2026Reflective Recovery: A Self-Supervised Method for Reasoning by Learning from Mistakescited by 0
- 2026Unsupervised Post-Training of Foundation Models: A Survey25 Aug 2026
- 2026Reflective Recovery: A Self-Supervised Method for Reasoning by Learning from Mistakes24 Jul 2026
- 2026OPSDL: On-Policy Self-Distillation for Long-Context Language Models19 Apr 2026
- 2026Internalized Reasoning for Long-Context Visual Document Understanding31 Mar 2026
- 2026LongRLVR: Long-Context Reinforcement Learning Requires Verifiable Context Rewards2 Mar 2026
- 2026DySCO: Dynamic Attention-Scaling Decoding for Long-Context Language Models25 Feb 2026
- 2026How to Train Your Long-Context Visual Document Model16 Feb 2026
- 2026Autoregressive Direct Preference Optimization10 Feb 2026
- 2026Document Reconstruction Unlocks Scalable Long-Context RLVR9 Feb 2026
- 2026Incentivizing In-depth Reasoning over Long Contexts with Process Advantage Shaping18 Jan 2026
- 2026Do Implicit Personalization and Explicit Styles Conflict? PsPLUG: A Lightweight Plug-in for Balancing Personalization and Style in Customized LLMs10 Jan 2026
- 2025Overcoming State Inertia: Minimally Invasive Temporal Alignment for Evolving Contexts3 Dec 2025
12 more
- 2025Policy Optimization Prefers The Path of Least Resistance22 Oct 2025
- 2025Revisiting Self-Play Preference Optimization: On the Role of Prompt Difficulty7 Oct 2025
- 2025LAVa: Layer-wise KV Cache Eviction with Dynamic Budget Allocation11 Sep 2025
- 2025Modular Techniques for Synthetic Long-Context Data Generation in Language Model Training and Evaluation1 Sep 2025
- 2025Chunks as Arms: Multi-Armed Bandit-Guided Sampling for Long-Context LLM Preference Optimization19 Aug 2025
- 2025Self-Improving Model Steering11 Jul 2025
- 2025When Does Divide and Conquer Work for Long Context LLM? A Noise Decomposition Framework19 Jun 2025
- 2025SoLoPO: Unlocking Long-Context Capabilities in LLMs via Short-to-Long Preference Optimization16 May 2025
- 2025A Survey of Direct Preference Optimization12 Mar 2025
- 2025LADM: Long-context Training Data Selection with Attention-based Dependency Measurement for LLMs4 Mar 2025
- 2025Finding the Sweet Spot: Preference Data Construction for Scaling Preference Optimization24 Feb 2025
- 2025WildLong: Synthesizing Realistic Long-Context Instruction Data at Scale23 Feb 2025
- 2025A Survey of Direct Preference Optimizationcited by 36
- 2025SoLoPO: Unlocking Long-Context Capabilities in LLMs via Short-to-Long Preference Optimizationcited by 10
- 2025Finding the Sweet Spot: Preference Data Construction for Scaling Preference Optimizationcited by 9
- 2025Chunks as Arms: Multi-Armed Bandit-Guided Sampling for Long-Context LLM Preference Optimizationcited by 3
- 2025Overcoming State Inertia: Minimally Invasive Temporal Alignment for Evolving Contextscited by 1
- 2026Autoregressive Direct Preference Optimizationcited by 1
- 2025Revisiting Self-Play Preference Optimization: On the Role of Prompt Difficultycited by 0
- 2026Autoregressive Direct Preference Optimization10 Feb 2026
- 2025Overcoming State Inertia: Minimally Invasive Temporal Alignment for Evolving Contexts3 Dec 2025
- 2025Revisiting Self-Play Preference Optimization: On the Role of Prompt Difficulty7 Oct 2025
- 2025Chunks as Arms: Multi-Armed Bandit-Guided Sampling for Long-Context LLM Preference Optimization19 Aug 2025
- 2025SoLoPO: Unlocking Long-Context Capabilities in LLMs via Short-to-Long Preference Optimization16 May 2025
- 2025A Survey of Direct Preference Optimization12 Mar 2025
- 2025Finding the Sweet Spot: Preference Data Construction for Scaling Preference Optimization24 Feb 2025
- 2026LongRLVR: Long-Context Reinforcement Learning Requires Verifiable Context Rewardscited by 15
- 2026Incentivizing In-depth Reasoning over Long Contexts with Process Advantage Shapingcited by 3
- 2025Policy Optimization Prefers The Path of Least Resistancecited by 1
- 2026Reflective Recovery: A Self-Supervised Method for Reasoning by Learning from Mistakescited by 0
- 2026Reflective Recovery: A Self-Supervised Method for Reasoning by Learning from Mistakes24 Jul 2026
- 2026LongRLVR: Long-Context Reinforcement Learning Requires Verifiable Context Rewards2 Mar 2026
- 2026Incentivizing In-depth Reasoning over Long Contexts with Process Advantage Shaping18 Jan 2026
- 2025Policy Optimization Prefers The Path of Least Resistance22 Oct 2025
- 2026How to Train Your Long-Context Visual Document Modelcited by 2
- 2026How to Train Your Long-Context Visual Document Model16 Feb 2026
- 2025Self-Improving Model Steeringcited by 3
- 2025Self-Improving Model Steering11 Jul 2025
- 2025LADM: Long-context Training Data Selection with Attention-based Dependency Measurement for LLMscited by 11
- 2025WildLong: Synthesizing Realistic Long-Context Instruction Data at Scalecited by 9
- 2025When Does Divide and Conquer Work for Long Context LLM? A Noise Decomposition Frameworkcited by 9
- 2026DySCO: Dynamic Attention-Scaling Decoding for Long-Context Language Modelscited by 2
- 2025Modular Techniques for Synthetic Long-Context Data Generation in Language Model Training and Evaluationcited by 1
- 2026Do Implicit Personalization and Explicit Styles Conflict? PsPLUG: A Lightweight Plug-in for Balancing Personalization and Style in Customized LLMscited by 0
- 2026Document Reconstruction Unlocks Scalable Long-Context RLVRcited by 0
- 2026Internalized Reasoning for Long-Context Visual Document Understandingcited by 0
- 2026Unsupervised Post-Training of Foundation Models: A Surveycited by 0
- 2026Unsupervised Post-Training of Foundation Models: A Survey25 Aug 2026
- 2026Internalized Reasoning for Long-Context Visual Document Understanding31 Mar 2026
- 2026DySCO: Dynamic Attention-Scaling Decoding for Long-Context Language Models25 Feb 2026
- 2026Document Reconstruction Unlocks Scalable Long-Context RLVR9 Feb 2026
- 2026Do Implicit Personalization and Explicit Styles Conflict? PsPLUG: A Lightweight Plug-in for Balancing Personalization and Style in Customized LLMs10 Jan 2026
- 2025Modular Techniques for Synthetic Long-Context Data Generation in Language Model Training and Evaluation1 Sep 2025
- 2025When Does Divide and Conquer Work for Long Context LLM? A Noise Decomposition Framework19 Jun 2025
- 2025LADM: Long-context Training Data Selection with Attention-based Dependency Measurement for LLMs4 Mar 2025
- 2025WildLong: Synthesizing Realistic Long-Context Instruction Data at Scale23 Feb 2025
Similar, not cited
Close in wording, no citation either way
- 2025InfoPO: On Mutual Information Maximization for Large Language Model Alignment
- 2024Self-Boosting Large Language Models with Synthetic Preference Data
- 2025Long-Short Alignment for Effective Long-Context Modeling in LLMs
- 2024Dynamic Rewarding with Prompt Optimization Enables Tuning-free Self-Alignment of Language Models
- 2024LongReward: Improving Long-context Large Language Models with AI Feedback
- 2024Insights into Alignment: Evaluating DPO and its Variants Across Multiple Tasks
- 2025Aligning Large Language Models via Fully Self-Synthetic Data
- 2024Context-DPO: Aligning Language Models for Context-Faithfulness