Can LLMs Track Their Output Length? A Dynamic Feedback Mechanism for Precise Length Regulation
Not on the map. Why?
Abstract (arXiv)
Precisely controlling the length of generated text is a common requirement in real-world applications. However, despite significant advancements in following human instructions, Large Language Models (LLMs) still struggle with this task. In this work, we demonstrate that LLMs often fail to accurately measure their response lengths, leading to poor adherence to length constraints. To address this issue, we propose a novel length regulation approach that incorporates dynamic length feedback during generation, enabling adaptive adjustments to meet target lengths. Experiments on summarization and biography tasks show our training-free approach significantly improves precision in achieving target token, word, or sentence counts without compromising quality. Additionally, we demonstrate that further supervised fine-tuning allows our method to generalize effectively to broader text-generation tasks.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 21 of its 40 references that are in the map. First posted on arXiv 5 Jan 2026.
Builds on
21 of 40 references.
References · 21
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
- 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,919
- 2023G-Eval: NLG Evaluation using GPT-4 with Better Human Alignmentcited by 2,205
- 2023FActScore: Fine-grained Atomic Evaluation of Factual Precision in Long Form Text Generationcited by 1,259
- 2022A Survey on In-context Learningcited by 717
- 2019ELI5: Long Form Question Answeringcited by 567
- 2018A Discourse-Aware Attention Model for Abstractive Summarization of Long Documentscited by 477
- 2015A Neural Attention Model for Abstractive Sentence Summarizationcited by 394
- 2021Efficient Attentions for Long Document Summarizationcited by 342
9 more
- 2023A Long Way to Go: Investigating Length Correlations in RLHFcited by 285
- 2019BIGPATENT: A Large-Scale Dataset for Abstractive and Coherent Summarizationcited by 155
- 2023The Learnability of In-Context Learningcited by 126
- 2019BillSum: A Corpus for Automatic Summarization of US Legislationcited by 117
- 2019Positional Encoding to Control Output Sequence Lengthcited by 56
- 2024Following Length Constraints in Instructionscited by 45
- 2024Prompt-Based Length Controlled Generation with Multiple Control Typescited by 19
- 2021LenAtten: An Effective Length Controlling Unit For Text Summarizationcited by 14
- 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: 4.
4 papers.
- 2026Parallel Context Compaction for Long-Horizon LLM Agent Servingcited by 4
- 2026LARFT: Closing the Cognition-Action Gap for Length Instruction Following in Large Language Modelscited by 1
- 2026Length Value Model: Scalable Value Pretraining for Token-Level Length Modelingcited by 0
- 2026NELSSA: A GPU-PNM Heterogeneous System for Mixed-Length LLM Serving via Length-based Request Placementcited by 0
- 2026NELSSA: A GPU-PNM Heterogeneous System for Mixed-Length LLM Serving via Length-based Request Placement29 Jul 2026
- 2026Parallel Context Compaction for Long-Horizon LLM Agent Serving22 May 2026
- 2026Length Value Model: Scalable Value Pretraining for Token-Level Length Modeling29 Apr 2026
- 2026LARFT: Closing the Cognition-Action Gap for Length Instruction Following in Large Language Models25 Feb 2026