LACONIC: Length-Aware Constrained Reinforcement Learning for LLM
Organizations: University of California, Los Angeles · Salesforce AI Research · National University of Singapore · University of Alberta
Abstract
Reinforcement learning (RL) has enhanced the capabilities of large language models (LLMs) through reward-driven training. Nevertheless, this process can introduce excessively long responses, inflating inference latency and computational overhead. Prior length-control approaches typically rely on fixed heuristic reward shaping, which can misalign with the task objective and require brittle tuning. In this work, we propose LACONIC, a reinforcement learning method that enforces a target token budget during training. Specifically, we update policy models using an augmented objective that combines the task reward with a length-based cost. To balance brevity and task performance, the cost scale is adaptively adjusted throughout training. This yields robust length control while preserving task reward. We provide a theoretical guarantee that support the method. Across mathematical reasoning models and datasets, LACONIC preserves or improves pass@1 while reducing output length by over 50%. It maintains out-of-domain performance on general knowledge and multilingual benchmarks with 44% fewer tokens. Moreover, LACONIC integrates into standard RL-tuning with no inference changes and minimal deployment overhead.
Figures & tables
| Token Budget | AIME2024 | MATH | Minerva | Olympiad | Macro Average | |||||
|---|---|---|---|---|---|---|---|---|---|---|
| Pass@1 | # Tokens | Pass@1 | # Tokens | Pass@1 | # Tokens | Pass@1 | # Tokens | Pass@1 | # Tokens | |
| + LACONIC (2000) | 34.79 | 3976 | 85.61 | 1556 | 31.76 | 1869 | 48.96 | 2448 | 50.28 | 2462 |
| + LACONIC (1750) | 31.21 | 3803 | 84.82 | 1516 | 31.52 | 2059 | 48.88 | 2261 | 49.11 | 2410 |
| + LACONIC (1500) | 29.58 | 3458 | 84.35 | 1353 | 31.48 | 1582 | 47.93 | 2084 | 48.33 | 2119 |
| + LACONIC (1000) | 28.12 | 2665 | 83.75 | 1049 | 29.24 | 1189 | 47.07 | 1669 | 47.05 | 1643 |
Appendix figures & tables6 assets
Supplementary material from the paper’s appendix.
Appendix
| Step size | AIME2024 | MATH | Minerva | Olympiad | Macro Average | |||||
|---|---|---|---|---|---|---|---|---|---|---|
| Pass@1 | # Tokens | Pass@1 | # Tokens | Pass@1 | # Tokens | Pass@1 | # Tokens | Pass@1 | # Tokens | |
| 27.50 | 3231 | 84.25 | 1356 | 30.92 | 1543 | 47.87 | 2090 | 47.64 | 2055 | |
| 29.58 | 3458 | 84.35 | 1353 | 31.48 | 1582 | 47.93 | 2084 | 48.33 | 2119 | |
| 29.79 | 3429 | 84.30 | 1365 | 31.42 | 1602 | 47.19 | 2097 | 48.18 | 2123 | |
| 29.79 | 3477 | 84.20 | 1319 | 31.15 | 1562 | 47.83 | 2067 | 48.24 | 2106 | |
RL for Language Models
Reinforcement learning for language models uses feedback-driven policy updates to improve reasoning, alignment, and interactive behavior.
See all 433 papers