Effort-conditioned reward
Add length penalty
×no parameters
The length-penalty term is added to the reward: the number of reasoning tokens over a reference length , times the coefficient, taken off; caps the deduction.
- in
- [B batch, |𝔅|, M] [|𝔅|] [B batch, |𝔅|, M]
- out
- [B batch, |𝔅|, M]
: and are this plate’s names; the report writes the penalty term alone.
Sources1
Direct evidence
§5.1.4, Controllable Reasoning Effort in RL: a scalar effort b ∈ {1, …, 100} is prepended to the system prompt. For each prompt x, M_b responses are sampled at each effort level b ∈ B (eq. 8). Responses sharing (x, b) form a subgroup, within which rewards are mean-centered to compute group-relative advantages. A length-penalty term is added to the reward: −min{C_max, k(b)·ℓ/L_norm} (eq. 9), with k(b) = k₀·exp(−(b − b_min)/τ), τ = λ·Δb̄, Δb̄ the average spacing between the training effort levels (eq. 10).
effort · deepseek-ai/DeepSeek-V4.1-Flash / DeepSeek_V41_Tech_Report.pdf
Pinned revision 2cba9e42aa02 ↗ · p. 29