Plan-and-Write: Structure-Guided Length Control for LLMs without Model Retraining
Not on the map. Why?
Abstract (arXiv)
Length control in Large Language Models (LLMs) is a crucial but under-addressed challenge, with applications ranging from voice interfaces requiring concise responses to research summaries needing comprehensive outputs. Current approaches to length control, including Regularized DPO, Length-Instruction Fine Tuning, and tool-augmented methods, typically require expensive model retraining or complex inference-time tooling. This paper presents a prompt engineering methodology that enables precise length control without model retraining. Our structure-guided approach implements deliberate planning and word counting mechanisms within the prompt, encouraging the model to carefully track and adhere to specified length constraints. Comprehensive evaluations across six state-of-the-art LLMs demonstrate that our method significantly improves length fidelity for several models compared to standard prompting when applied to document summarization tasks, particularly for shorter-to-medium length constraints. The proposed technique shows varying benefits across different model architectures, with some models demonstrating up to 37.6% improvement in length adherence. Quality evaluations further reveal that our approach maintains or enhances overall output quality compared to standard prompting techniques. Our approach provides an immediately deployable solution for applications requiring precise length control, particularly valuable for production environments where model retraining is impractical or cost-prohibitive.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 6 of its 13 references that are in the map. First posted on arXiv 3 Nov 2025.
Builds on
6 of 13 references.
References · 6
- 2022Constitutional AI: Harmlessness from AI Feedbackcited by 2,950
- 2024Length-Controlled AlpacaEval: A Simple Way to Debias Automatic Evaluatorscited by 865
- 2024Justice or Prejudice? Quantifying Biases in LLM-as-a-Judgecited by 354
- 2018Learning to Write with Cooperative Discriminatorscited by 119
- 2024Concise Thoughts: Impact of Output Length on LLM Reasoning and Costcited by 108
- 2022Z-ICL: Zero-Shot In-Context Learning with Pseudo-Demonstrationscited by 70
Built on by
Citing papers per year: 2026: 3.
3 papers.
Similar, not cited
Close in wording, no citation either way
- 2024Prompt-Based Length Controlled Generation with Multiple Control Types
- 2023Prompt-Based Length Controlled Generation with Reinforcement Learning
- 2024PositionID: LLMs can Control Lengths, Copy and Paste with Explicit Positional Awareness
- 2025LIFEBench: Evaluating Length Instruction Following in Large Language Models
- 2025Beyond Single-Task: Robust Multi-Task Length Generalization for LLMs
- 2025Long-Short Alignment for Effective Long-Context Modeling in LLMs
- 2024Beyond the Limits: A Survey of Techniques to Extend the Context Length in Large Language Models
- 2025Generalizing From Short to Long: Effective Data Synthesis for Long-Context Instruction Tuning