∇-Reasoner: LLM Reasoning via Test-Time Gradient Descent in Latent Space
$\nabla$-Reasoner improves LLM reasoning by integrating test-time gradient descent over token logits into the decoding loop. Its core Differentiable Textual Optimization simultaneously uses gradient signals from the model's likelihood and a reward model to refine textual representations on the fly. Theoretically, this inference-time gradient descent to maximize reward is shown to be dual to KL-regularized RL policy alignment. Empirically, it achieves over 20% accuracy improvement on mathematical reasoning while reducing model calls by 10–40% versus strong baselines, shifting from zeroth-order search to first-order optimization at test time.