mlsanityData to 14 Oct 2026

Prompt-Based Length Controlled Generation with Multiple Control Types

arXiv 2406.10278 ↗First posted 12 Jun 2024cs.CL cs.AIcited by 19

Not on the map. Why?

Abstract (arXiv)

Large language models (LLMs) have attracted great attention given their strong performance on a wide range of NLP tasks. In practice, users often expect generated texts to fall within a specific length range, making length controlled generation an important topic, especially for GPT-style models. Existing length control methods mostly focus on a simple control type of "equal to" a target length. Different from them, we propose a prompt-based method to achieve length controlled generation under different control types with high accuracy. In particular, we adopt reinforcement learning (RL) and sample filtering with the reward signal given by rule-based reward models, which enhances the length control ability of models by rewarding outputs that follow certain control instructions. In addition, we introduce a standard prompt extractor to parse arbitrary users' input into standard control instructions. Experiments show that our method significantly improves the accuracy of prompt-based length control on popular summarization datasets like CNNDM and NYT under multiple control types. Moreover, both the standard prompt extractor and RL-tuned model show strong generalization to unseen control prompt templates.

Key facts. Cited by 19 papers in the map (data through 14 Oct 2026). Builds on 32 of its 44 references that are in the map. First posted on arXiv 12 Jun 2024.

Builds on

32 of 44 references.

References · 32

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2022Training language models to follow instructions with human feedbackcited by 15,971
  3. 2017Proximal Policy Optimization Algorithmscited by 15,215
  4. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  5. 2019BERTScore: Evaluating Text Generation with BERTcited by 5,512
  6. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
  7. 2017Deep reinforcement learning from human preferencescited by 3,912
  8. 2022Scaling Instruction-Finetuned Language Modelscited by 3,024
  9. 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,592
  10. 2020Learning to summarize from human feedbackcited by 2,588
  11. 2023A Survey of Large Language Modelscited by 2,576
  12. 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,234
20 more
  1. 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,218
  2. 2015Teaching Machines to Read and Comprehendcited by 1,049
  3. 2024TinyLlama: An Open-Source Small Language Modelcited by 618
  4. 2017A Deep Reinforced Model for Abstractive Summarizationcited by 365
  5. 2022News Summarization and Evaluation in the Era of GPT-3cited by 327
  6. 2021Recursively Summarizing Books with Human Feedbackcited by 290
  7. 2016Deep Reinforcement Learning for Dialogue Generationcited by 288
  8. 2022Is Reinforcement Learning (Not) for Natural Language Processing: Benchmarks, Baselines, and Building Blocks for Natural Language Policy Optimizationcited by 246
  9. 2019ERNIE 2.0: A Continual Pre-training Framework for Language Understandingcited by 231
  10. 2016An Actor-Critic Algorithm for Sequence Predictioncited by 159
  11. 2020Human-centric Dialog Training via Offline Reinforcement Learningcited by 93
  12. 2023A Complete Survey on Generative AI (AIGC): Is ChatGPT from GPT-4 to GPT-5 All You Need?cited by 84
  13. 2020Text Generation by Learning from Demonstrationscited by 64
  14. 2019Positional Encoding to Control Output Sequence Lengthcited by 56
  15. 2020Asking Questions the Human Way: Scalable Question-Answer Generation from Text Corpuscited by 40
  16. 2016Learning-Based Single-Document Summarization with Compression and Anaphoricity Constraintscited by 34
  17. 2020Controlling Dialogue Generation with Semantic Exemplarscited by 25
  18. 2017End-to-End Offline Goal-Oriented Dialog Policy Learning via Policy Gradientcited by 23
  19. 2021LenAtten: An Effective Length Controlling Unit For Text Summarizationcited by 14
  20. 2022Latent Prompt Tuning for Text Summarizationcited by 6

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 3; 2025: 10; 2026: 6.

19 papers.

Sort:

By area:

  1. 2024Zero-Shot Strategies for Length-Controllable Summarizationcited by 10
  2. 2025CEC-Zero: Zero-Supervision Character Error Correction with Self-Generated Rewardscited by 10
  3. 2026Can LLMs Track Their Output Length? A Dynamic Feedback Mechanism for Precise Length Regulationcited by 5
  4. 2025Prompt-Based One-Shot Exact Length-Controlled Generation with LLMscited by 4
  5. 2026Steering Language Models Before They Speak: Logit-Level Interventionscited by 4
  6. 2024Prompting and Fine-Tuning of Small LLMs for Length-Controllable Telephone Call Summarizationcited by 3
  7. 2025C3TG: Conflict-aware, Composite, and Collaborative Controlled Text Generationcited by 3
  8. 2024Self-controller: Controlling LLMs with Multi-round Step-by-step Self-awarenesscited by 2
  9. 2025Considering Length Diversity in Retrieval-Augmented Summarizationcited by 2
  10. 2025Strategic Planning and Rationalizing on Trees Make LLMs Better Debaterscited by 2
  11. 2026Controlling Distributional Bias in Multi-Round LLM Generation via KL-Optimized Fine-Tuningcited by 2
  12. 2025Measuring temporal effects of agent knowledge by date-controlled tool usecited by 1
7 more
  1. 2025Length Representations in Large Language Modelscited by 1
  2. 2026LARFT: Closing the Cognition-Action Gap for Length Instruction Following in Large Language Modelscited by 1
  3. 2025VisuCraft: Enhancing Large Vision-Language Models for Complex Visual-Guided Creative Content Generation via Structured Information Extractioncited by 0
  4. 2025BeLLMan: Controlling LLM Congestioncited by 0
  5. 2025Progress Ratio Embeddings: An Impatience Signal for Robust Length Control in Neural Text Generationcited by 0
  6. 2026From Instruction to Output: The Role of Prompting in Modern NLGcited by 0
  7. 2026ScopeIF: Improving Scope-Aware Precise Instruction-Following in Large Language Models via Graded Reward Modelingcited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2023Prompt-Based Length Controlled Generation with Reinforcement Learning
  2. 2025Plan-and-Write: Structure-Guided Length Control for LLMs without Model Retraining
  3. 2025LongWriter-Zero: Mastering Ultra-Long Text Generation via Reinforcement Learning
  4. 2024From Tarzan to Tolkien: Controlling the Language Proficiency Level of LLMs for Content Generation
  5. 2026On the Optimal Reasoning Length for RL-Trained Language Models
  6. 2025CIE: Controlling Language Model Text Generations Using Continuous Signals
  7. 2024Controllable Text Generation for Large Language Models: A Survey
  8. 2025From General to Targeted Rewards: Surpassing GPT-4 in Open-Ended Long-Context Generation