LARFT: Closing the Cognition-Action Gap for Length Instruction Following in Large Language Models
Not on the map. Why?
Abstract (arXiv)
Despite the strong performance of Large Language Models (LLMs) on complex instruction-following tasks, precise control of output length remains a persistent challenge. Existing methods primarily attempt to enforce length constraints by externally imposing length signals or optimization objectives, while largely overlooking the underlying limitation: the model's intrinsic deficit in length cognition. To address this, we propose LARFT (Length-Aware Reinforcement Fine-Tuning), a training framework that aligns the model's length cognition with its action. Specifically, LARFT integrates length-oriented reinforcement learning with a hindsight length awareness. By transforming on-policy data into hindsight self-awareness tasks where the model learns to identify the actual length of its own generation, LARFT jointly optimizes the model's internal representation of length information and refines its policy to satisfy length constraints, thereby achieving precise and reliable length instruction following. Extensive experiments across four base models demonstrate that LARFT outperforms existing baselines, achieving an average improvement of +20.92 points across three length instruction following benchmarks with only a marginal decline of -1.45 points on four general capability benchmarks.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 39 of its 44 references that are in the map. First posted on arXiv 25 Feb 2026.
Builds on
39 of 44 references.
References · 39
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2024Qwen2.5 Technical Reportcited by 4,713
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
- 2019The Curious Case of Neural Text Degenerationcited by 2,881
- 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,748
- 2024Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameterscited by 1,928
- 2016Understanding intermediate layers using linear classifier probescited by 1,279
27 more
- 2023Instruction-Following Evaluation for Large Language Modelscited by 1,143
- 2017Hindsight Experience Replaycited by 1,096
- 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 584
- 2025Beyond the 80/20 Rule: High-Entropy Minority Tokens Drive Effective Reinforcement Learning for LLM Reasoningcited by 540
- 2025The Entropy Mechanism of Reinforcement Learning for Reasoning Language Modelscited by 463
- 2025Stop Overthinking: A Survey on Efficient Reasoning for Large Language Modelscited by 456
- 2025L1: Controlling How Long A Reasoning Model Thinks With Reinforcement Learningcited by 381
- 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 319
- 2023A Long Way to Go: Investigating Length Correlations in RLHFcited by 285
- 2017What do Neural Machine Translation Models Learn about Morphology?cited by 165
- 2024LongWriter: Unleashing 10,000+ Word Generation from Long Context LLMscited by 142
- 2019Neural Machine Translation with Byte-Level Subwordscited by 115
- 2025JustRL: Scaling a 1.5B LLM with a Simple RL Recipecited by 57
- 20251.4 Million Open-Source Distilled Reasoning Dataset to Empower Large Language Model Trainingcited by 49
- 2024Following Length Constraints in Instructionscited by 45
- 2024HelloBench: Evaluating Long Text Generation Capabilities of Large Language Modelscited by 42
- 2024Crabs: Consuming Resource via Auto-generation for LLM-DoS Attack under Black-box Settingscited by 33
- 2024Language Models can Self-Lengthen to Generate Long Textscited by 24
- 2024Prompt-Based Length Controlled Generation with Multiple Control Typescited by 19
- 2024Precise Length Control in Large Language Modelscited by 13
- 2025AALC: Large Language Model Efficient Reasoning via Adaptive Accuracy-Length Controlcited by 11
- 2025LIFEBench: Evaluating Length Instruction Following in Large Language Modelscited by 10
- 2024PositionID: LLMs can Control Lengths, Copy and Paste with Explicit Positional Awarenesscited by 9
- 2024Length Controlled Generation for Black-box LLMscited by 8
- 2026Can LLMs Track Their Output Length? A Dynamic Feedback Mechanism for Precise Length Regulationcited by 4
- 2025Plan-and-Write: Structure-Guided Length Control for LLMs without Model Retrainingcited by 3
- 2025From Sub-Ability Diagnosis to Human-Aligned Generation: Bridging the Gap for Text Length Control via MARKERGENcited by 2
Built on by
Citing papers per year: 2026: 1.
1 paper.