Research map / Large language models / Language, safety and interpretability
Length Controlled Generation for Black-box LLMs
Yuxuan Gu, Wenjie Wang, Xiaocheng Feng, Weihong Zhong, Kun Zhu, Lei Huang, Ting Liu, Bing Qin, Tat-Seng Chua
Harbin Institute of Technology · National University of Singapore · Peng Cheng Laboratory
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| apply the iterative Metropolis-Hastings sampling framework | Llama-3.1-8B · CNN/DailyMail | length control accuracy: 7.7% -> 100.0% | Improved |
| apply the framework | GPT-4 · CNN/DailyMail | length control accuracy: 15.7% -> 99.2% | Improved |
| apply the framework | Llama-2-7B, Qwen-2.5-7B, Llama-3-8B · CNN/DailyMail | length control accuracy: 4.1% -> 81.6% (Llama-2), 3.2% -> 86.4% (Qwen-2.5), 9.1% -> 78.6% (Llama-3) | Improved |
| apply the framework | LLMs on CNN/DailyMail · CNN/DailyMail | ROUGE-1/2/L: Llama-3.1: 0.38/0.13/0.24 before and after | No clear effect |
| apply the framework | GPT-4 · Alpaca-Eval-LI | length-instructed win rate: 30.2% -> 92.0% | Improved |
| replace random resampling with Metropolis-Hastings (original proposal) (ablation) | Llama-3.1-8B (beam 1) · CNN/DailyMail | length control accuracy: 38.8% -> 40.2% | No clear effect |
| add importance sampling to the proposal distribution (ablation) | Metropolis-Hastings, Llama-3.1-8B · CNN/DailyMail | length control accuracy: 40.2% -> 93.3% | Improved |
| add importance sampling (ablation) | Metropolis-Hastings, Llama-3.1-8B · CNN/DailyMail | average iteration steps: 17.1 -> 2.4 | Improved |
| increase iteration trials from 0 to 5 (ablation) | Qwen-2.5-7B (beam 16) · CNN/DailyMail | length control accuracy: 3.2% -> 86.4% | Improved |
| increase beam size from 1 to 16 (ablation) | Qwen-2.5-7B (5 trials) · CNN/DailyMail | length control accuracy: 24.6% -> 86.4% | Improved |
| prefer more iteration trials over larger beam (ablation) | Qwen-2.5-7B · CNN/DailyMail | length control accuracy: 38.7% (2 beams x 5 trials) vs 25.4% (16 beams x 1 trial) | Improved |
| increase iteration trials (ablation) | Llama-3.1-8B (beam 16) · CNN/DailyMail | length control accuracy: 7.7% -> 86.4% after 1 trial; 100.0% at 4 trials | Improved |
Open problems this paper states
- “Tests only widely used LLMs, with no white-box models of 70B or larger and few API-based models.” → Tested on one or two model families, mostly 7B or 13B and smaller. (an open problem in parallel and early-exit decoding)
Open problems in parallel and early-exit decoding
Which fast-decoding methods keep quality when used with batching, thresholds that need no tuning, and models they cannot open up?
- Tested on one or two model families, mostly 7B or 13B and smaller. · 12 papers state it
- Speedups are measured at batch size one, and batching is left unstudied. · 9 papers state it
- Thresholds and mixing weights are tuned per model and task. · 8 papers state it
Closest papers by meaning
- Hansel: Output Length Controlling Framework for Large Language Models (AAAI 2025 · similarity 0.90)
- LongGenBench: Benchmarking Long-Form Generation in Long Context LLMs (ICLR 2025 · similarity 0.89)
- LIFEBENCH: Evaluating Length Instruction Following in Large Language Models (NeurIPS 2025 · similarity 0.88)
- Turning Up the Heat: Min-p Sampling for Creative and Coherent LLM Outputs (ICLR 2025 · similarity 0.88)
- Controlled Text Generation via Language Model Arithmetic (ICLR 2024 · similarity 0.87)
- LongWriter: Unleashing 10,000+ Word Generation from Long Context LLMs (ICLR 2025 · similarity 0.87)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.