Language Models can Self-Lengthen to Generate Long Texts
Not on the map. Why?
Abstract (arXiv)
Recent advancements in Large Language Models (LLMs) have significantly enhanced their ability to process long contexts, yet a notable gap remains in generating long, aligned outputs. This limitation stems from a training gap where pre-training lacks effective instructions for long-text generation, and post-training data primarily consists of short query-response pairs. Current approaches, such as instruction backtranslation and behavior imitation, face challenges including data quality, copyright issues, and constraints on proprietary model usage. In this paper, we introduce an innovative iterative training framework called Self-Lengthen that leverages only the intrinsic knowledge and skills of LLMs without the need for auxiliary data or proprietary models. The framework consists of two roles: the Generator and the Extender. The Generator produces the initial response, which is then split and expanded by the Extender. This process results in a new, longer response, which is used to train both the Generator and the Extender iteratively. Through this process, the models are progressively trained to handle increasingly longer responses. Experiments on benchmarks and human evaluations show that Self-Lengthen outperforms existing methods in long-text generation, when applied to top open-source LLMs such as Qwen2 and LLaMA3. Our code is publicly available at https://github.com/QwenLM/Self-Lengthen.
Key facts. Cited by 24 papers in the map (data through 7 Oct 2026). Builds on 32 of its 41 references that are in the map. First posted on arXiv 31 Oct 2024.
Builds on
32 of 41 references.
References · 32
- 2023GPT-4 Technical Reportcited by 18,132
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
- 2023Mistral 7Bcited by 3,065
- 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,674
- 2024Qwen2 Technical Reportcited by 2,076
- 2024LlamaFactory: Unified Efficient Fine-Tuning of 100+ Language Modelscited by 1,442
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,378
- 2019ZeRO: Memory Optimizations Toward Training Trillion Parameter Modelscited by 1,278
- 2018Hierarchical Neural Story Generationcited by 1,182
- 2015A Diversity-Promoting Objective Function for Neural Conversation Modelscited by 1,068
20 more
- 2024A Survey on Knowledge Distillation of Large Language Modelscited by 276
- 2018Plan-And-Write: Towards Better Automatic Storytellingcited by 232
- 2022Re3: Generating Longer Stories With Recursive Reprompting and Revisioncited by 193
- 2024Rephrasing the Web: A Recipe for Compute and Data-Efficient Language Modelingcited by 156
- 2023Self-Alignment with Instruction Backtranslationcited by 149
- 2024LongWriter: Unleashing 10,000+ Word Generation from Long Context LLMscited by 142
- 2019Strategies for Structuring Story Generationcited by 124
- 2023RecurrentGPT: Interactive Generation of (Arbitrarily) Long Textcited by 84
- 2024Self-play with Execution Feedback: Improving Instruction-following Capabilities of Large Language Modelscited by 73
- 2023AlignBench: Benchmarking Chinese Alignment of Large Language Modelscited by 68
- 2019Plan, Write, and Revise: an Interactive System for Open-Domain Story Generationcited by 43
- 2024HelloBench: Evaluating Long Text Generation Capabilities of Large Language Modelscited by 42
- 2021Wordcraft: a Human-AI Collaborative Editor for Story Writingcited by 41
- 2024Suri: Multi-constraint Instruction Following for Long-form Text Generationcited by 34
- 2024Towards Scalable Automated Alignment of LLMs: A Surveycited by 33
- 2024The What, Why, and How of Context Length Extension Techniques in Large Language Models -- A Detailed Surveycited by 32
- 2020Summarize, Outline, and Elaborate: Long-Text Generation via Hierarchical Supervision from Extractive Summariescited by 19
- 2024Towards a Unified View of Preference Learning for Large Language Models: A Surveycited by 17
- 2024DMoERM: Recipes of Mixture-of-Experts for Effective Reward Modelingcited by 15
- 2024Automatically Generating Numerous Context-Driven SFT Data for LLMs across Diverse Granularitycited by 4
Built on by
Citing papers per year: 2024: 2; 2025: 15; 2026: 7.
24 papers.
Sort:
By area:
- 2024Qwen2.5 Technical Reportcited by 4,713
- 2024Scaling of Search and Learning: A Roadmap to Reproduce o1 from Reinforcement Learning Perspectivecited by 49
- 2025OmniThink: Expanding Knowledge Boundaries in Machine Writing through Thinkingcited by 18
- 2025LongEval: A Comprehensive Analysis of Long-Text Generation Through a Plan-based Paradigmcited by 14
- 2025Shifting Long-Context LLMs Research from Input to Outputcited by 13
- 2025LongWriter-Zero: Mastering Ultra-Long Text Generation via Reinforcement Learningcited by 13
- 2025Writing-RL: Advancing Long-form Writing via Adaptive Curriculum Reinforcement Learningcited by 9
- 2025ACE-RL: Adaptive Constraint-Enhanced Reward for Long-form Generation Reinforcement Learningcited by 9
- 2025LongDPO: Unlock Better Long-form Generation Abilities for LLMs via Critique-augmented Stepwise Informationcited by 8
- 2025Generalizing From Short to Long: Effective Data Synthesis for Long-Context Instruction Tuningcited by 7
- 2025LagKV: Lag-Relative Information of the KV Cache Tells Which Tokens Are Importantcited by 7
- 2025SuperWriter: Reflection-Driven Long-Form Generation with Large Language Modelscited by 5
12 more
- 2025Lost-in-the-Middle in Long-Text Generation: Synthetic Dataset, Evaluation Framework, and Mitigationcited by 3
- 2026R2-Write: Reflection and Revision for Open-Ended Writing with Deep Reasoningcited by 3
- 2026On Stable Long-Form Generation: Benchmarking and Mitigating Length Volatilitycited by 3
- 2025LongWeave: A Long-Form Generation Benchmark Bridging Real-World Relevance and Verifiabilitycited by 2
- 2025The PLLuM Instruction Corpuscited by 1
- 2026PodBench: A Comprehensive Benchmark for Instruction-Aware Audio-Oriented Podcast Script Generationcited by 1
- 2026Writer-R1: Enhancing Generative Writing in LLMs via Memory-augmented Replay Policy Optimizationcited by 1
- 2026LARFT: Closing the Cognition-Action Gap for Length Instruction Following in Large Language Modelscited by 1
- 2025Measuring Information Distortion in Hierarchical Ultra long Novel Reconstruction:The Optimal Expansion Ratiocited by 0
- 2025HiCaM: A Hierarchical-Causal Modification Framework for Long-Form Text Modificationcited by 0
- 2026From Coarse to Fine: Benchmarking and Reward Modeling for Writing-Centric Generation Taskscited by 0
- 2026Scaling Long-Form Story Generation via Narrative State Trackingcited by 0
- 2026Scaling Long-Form Story Generation via Narrative State Tracking28 Sep 2026
- 2026On Stable Long-Form Generation: Benchmarking and Mitigating Length Volatility2 May 2026
- 2026From Coarse to Fine: Benchmarking and Reward Modeling for Writing-Centric Generation Tasks30 Apr 2026
- 2026R2-Write: Reflection and Revision for Open-Ended Writing with Deep Reasoning3 Apr 2026
- 2026Writer-R1: Enhancing Generative Writing in LLMs via Memory-augmented Replay Policy Optimization16 Mar 2026
- 2026LARFT: Closing the Cognition-Action Gap for Length Instruction Following in Large Language Models25 Feb 2026
- 2026PodBench: A Comprehensive Benchmark for Instruction-Aware Audio-Oriented Podcast Script Generation21 Jan 2026
- 2025The PLLuM Instruction Corpus21 Nov 2025
- 2025LongWeave: A Long-Form Generation Benchmark Bridging Real-World Relevance and Verifiability28 Oct 2025
- 2025ACE-RL: Adaptive Constraint-Enhanced Reward for Long-form Generation Reinforcement Learning5 Sep 2025
- 2025LongWriter-Zero: Mastering Ultra-Long Text Generation via Reinforcement Learning23 Jun 2025
- 2025Writing-RL: Advancing Long-form Writing via Adaptive Curriculum Reinforcement Learning6 Jun 2025
12 more
- 2025SuperWriter: Reflection-Driven Long-Form Generation with Large Language Models4 Jun 2025
- 2025HiCaM: A Hierarchical-Causal Modification Framework for Long-Form Text Modification30 May 2025
- 2025Measuring Information Distortion in Hierarchical Ultra long Novel Reconstruction:The Optimal Expansion Ratio18 May 2025
- 2025LagKV: Lag-Relative Information of the KV Cache Tells Which Tokens Are Important7 Apr 2025
- 2025Lost-in-the-Middle in Long-Text Generation: Synthetic Dataset, Evaluation Framework, and Mitigation10 Mar 2025
- 2025Shifting Long-Context LLMs Research from Input to Output6 Mar 2025
- 2025LongEval: A Comprehensive Analysis of Long-Text Generation Through a Plan-based Paradigm26 Feb 2025
- 2025Generalizing From Short to Long: Effective Data Synthesis for Long-Context Instruction Tuning21 Feb 2025
- 2025LongDPO: Unlock Better Long-form Generation Abilities for LLMs via Critique-augmented Stepwise Information4 Feb 2025
- 2025OmniThink: Expanding Knowledge Boundaries in Machine Writing through Thinking16 Jan 2025
- 2024Qwen2.5 Technical Report19 Dec 2024
- 2024Scaling of Search and Learning: A Roadmap to Reproduce o1 from Reinforcement Learning Perspective18 Dec 2024
- 2025SuperWriter: Reflection-Driven Long-Form Generation with Large Language Modelscited by 5
- 2026Writer-R1: Enhancing Generative Writing in LLMs via Memory-augmented Replay Policy Optimizationcited by 1
- 2026From Coarse to Fine: Benchmarking and Reward Modeling for Writing-Centric Generation Taskscited by 0
- 2026From Coarse to Fine: Benchmarking and Reward Modeling for Writing-Centric Generation Tasks30 Apr 2026
- 2026Writer-R1: Enhancing Generative Writing in LLMs via Memory-augmented Replay Policy Optimization16 Mar 2026
- 2025SuperWriter: Reflection-Driven Long-Form Generation with Large Language Models4 Jun 2025
- 2024Qwen2.5 Technical Reportcited by 4,713
- 2024Qwen2.5 Technical Report19 Dec 2024
- 2025LongEval: A Comprehensive Analysis of Long-Text Generation Through a Plan-based Paradigmcited by 14
- 2025Shifting Long-Context LLMs Research from Input to Outputcited by 13
- 2025LongWriter-Zero: Mastering Ultra-Long Text Generation via Reinforcement Learningcited by 13
- 2025Writing-RL: Advancing Long-form Writing via Adaptive Curriculum Reinforcement Learningcited by 9
- 2025ACE-RL: Adaptive Constraint-Enhanced Reward for Long-form Generation Reinforcement Learningcited by 9
- 2025LongDPO: Unlock Better Long-form Generation Abilities for LLMs via Critique-augmented Stepwise Informationcited by 8
- 2026On Stable Long-Form Generation: Benchmarking and Mitigating Length Volatilitycited by 3
- 2025LongWeave: A Long-Form Generation Benchmark Bridging Real-World Relevance and Verifiabilitycited by 2
- 2025The PLLuM Instruction Corpuscited by 1
- 2026PodBench: A Comprehensive Benchmark for Instruction-Aware Audio-Oriented Podcast Script Generationcited by 1
- 2026LARFT: Closing the Cognition-Action Gap for Length Instruction Following in Large Language Modelscited by 1
- 2025Measuring Information Distortion in Hierarchical Ultra long Novel Reconstruction:The Optimal Expansion Ratiocited by 0
12 most cited of 14 All 14 (JSON)
- 2026Scaling Long-Form Story Generation via Narrative State Tracking28 Sep 2026
- 2026On Stable Long-Form Generation: Benchmarking and Mitigating Length Volatility2 May 2026
- 2026LARFT: Closing the Cognition-Action Gap for Length Instruction Following in Large Language Models25 Feb 2026
- 2026PodBench: A Comprehensive Benchmark for Instruction-Aware Audio-Oriented Podcast Script Generation21 Jan 2026
- 2025The PLLuM Instruction Corpus21 Nov 2025
- 2025LongWeave: A Long-Form Generation Benchmark Bridging Real-World Relevance and Verifiability28 Oct 2025
- 2025ACE-RL: Adaptive Constraint-Enhanced Reward for Long-form Generation Reinforcement Learning5 Sep 2025
- 2025LongWriter-Zero: Mastering Ultra-Long Text Generation via Reinforcement Learning23 Jun 2025
- 2025Writing-RL: Advancing Long-form Writing via Adaptive Curriculum Reinforcement Learning6 Jun 2025
- 2025HiCaM: A Hierarchical-Causal Modification Framework for Long-Form Text Modification30 May 2025
- 2025Measuring Information Distortion in Hierarchical Ultra long Novel Reconstruction:The Optimal Expansion Ratio18 May 2025
- 2025Shifting Long-Context LLMs Research from Input to Output6 Mar 2025
12 newest of 14 All 14 (JSON)