                                        LLMs Can Reason Faster Only If We Let Them

space and eventual convergence to valid solutions. This              introduce a step count penalty term for correct solutions:
combination teaches the model to balance exploration with                         (
goal-directed behavior.                                                             max(1 − nα, β) + κ1Ti ∈y∗ if y is correct
                                                                     V (Ti , y) =
The SFT objective follows standard language model finetun-                          −1                                 if y is incorrect
ing approaches, using teacher forcing with a cross-entropy                                                                          (2)
loss:                                                                where n is the number of steps in the solution, α is the step
                                                                     penalty factor, β is the cut-off to protect long solutions being
                         X                                           given less reward then incorrect solutions, e.g., β = −0.5,
              L(θ) = −       log pθ (yt |x, y<t )         (1)        κ controls the incentive if the transition was in the path
                                                                     of the correct solution, and y ∗ is the correct CoT solution
                                                                     that can be extracted from a correct solution y. In cases
where x = (sstart , sgoal ) is the input problem specification       where it might be difficult to extract correct solution trace,
and y is the target sequence containing the state-thinking-          we can simply set κ = 0. We show in our experiments that
transition triplets.                                                 κ term is not crucial, though helps with faster adaptation
                                                                     and slightly higher performance. This formulation creates a
The training process develops several key capabilities in
                                                                     clear trade-off: while the model is primarily incentivized to
the model. It learns to systematically explore the search
                                                                     find correct solutions, it receives higher rewards for doing
space while maintaining accurate state tracking. The ex-
                                                                     so with fewer steps.
plicit thinking steps help the model develop robust reason-
ing about state transitions and their consequences. The              The choice of α is crucial and depends on both the problem
model also learns to recognize promising solution paths and          domain and the context window constraints. For a given
successfully navigate toward goal states.                            problem type and context window size w, we aim to set α
                                                                     such that:
This supervised learning phase establishes the foundation
                                                                                            1 − wα ≳ β                       (3)
for the subsequent RL optimization stage. While the SFT
stage focuses on teaching the model the basic structure of           This ensures that a correct solution using the maximum
planning with thinking steps, the RL stage will introduce            available context length receives a reward slightly higher
rewards to encourage more efficient solutions while main-            than an incorrect solution. Such calibration helps to have
taining these core planning capabilities.                            more fine-grained levels of brevity to rewarded correctly.
                                                                     Our reward model notably differs from traditional ap-
4.2. Reward Model                                                    proaches in RLHF by eschewing learned reward models
While traditional reward models in language model align-             in favor of this objective metric. This design choice offers
ment often rely on human feedback or complex learned                 several advantages: it eliminates the need for reward model
reward functions, our objective is more straightforward: we          training, reduces computational overhead during RL train-
with the model to generate solutions that are both correct           ing stage and provides clear, interpretable feedback to the
and efficient. To this end, we develop a simple but effective        model. Most importantly, it creates a direct optimization
reward function that balances solution validity with length          pressure for finding shorter valid solutions while maintain-
efficiency. In this section, we will use V for our reward            ing the priority of solution correctness.
models due to them actually being value models used in RL
frameworks. This difference stem from the fact that most             Reward model alternatives. The problems we focus on,
RLHF frameworks consider the whole solution as a single              i.e., planning problems, typically have the trait of verifying
action, therefore framing the problem as a single-step RL, in        the solutions are much easier than producing solutions to
which reward and value models are the same. In our frame-            them. This assumption also affects the reward function
work, we consider each transition step as an action, leading         we propose in (2). In cases where we have more compute
to our following feedback models being value models. If              available but the number of examples are more limited, it is
they were to be thought of as actual reward models, due to           possible to have even finer grained feedback to the model
their definitions, the language model would try to hack the          still with the assumption of no human-feedback. Consider
reward by being close to the solution but prolonging the             the following reward model,
solution to receive more total reward, conflicting with our
                                                                     Vπθ (T ; sgoal ) = Ey∼πθ (·|x=(T ′ ,sgoal ) 1(solution y is correct),
intention of shorter solutions.
                                                                                                                                      (4)
The base reward structure assigns +1 for correct solutions           where T ′ refers to the ending state in transition T and x =
and -1 for incorrect ones, providing a clear signal for solu-        (T ′ , sgoal ) is the new problem where we prompt the model.
tion validity. However, this alone would not encourage the           Here, we would like to attract attention to binary reward is
model to find more concise solutions. To address this, we            coming from not the solution of the model for the starting

                                                                 6
