A length penalty is a soft objective term that discourages excessively long outputs. In reasoning-language-model reinforcement learning, it reduces the incentive to learn from answers truncated by maximum-length limits. section 6.5
Operationally, the penalty:
- Targets samples that are too long rather than imposing a hard exclusion. section 6.5
- Avoids learning from truncated answers, which may provide a poor training signal. section 6.5
- Fits into existing reinforcement-learning infrastructure as one modification used by DAPO for long reasoning traces. section 6.5
