DeepSeek V4.1

Effort-conditioned reward

Responses

×

MbM_b responses for each prompt and effort; the plate writes MM for a count that may differ from level to level. Those that share a prompt and an effort form a subgroup.

shape
zz [B batch, |𝔅|, M]
Sources

Contextual evidence from Policy

§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).

DeepSeek_V41_Tech_Report.pdf p. 29 ↗ · deepseek-ai/DeepSeek-V4.1-Flash @ 2cba9e42aa02

Contextual evidence from Reward