NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Reasoning via Test-Time Instance-Level Policy Gradient in Latent Space

Hengli Li, Chenxi Li, Tong Wu, Xuekai Zhu, Yuxuan Wang, Zhaoxin Yu, Eric Hanchen Jiang, Song-Chun Zhu, Zixia Jia, Ying Nian Wu, Zilong Zheng

NeurIPS page · Open on the map

Category: LLM Reasoning, Memory & RAG › Reasoning Control · Type: new method · Keywords: latent space policy gradient, test-time optimization, LLM reasoning, mathematical problem solving, parameter-efficient fine-tuning

Areas: LLM Reasoning › Reasoning Strategies › Test-Time Scaling; RL for LLMs & Agents › LLM Reasoning Reinforcement Learning › Reinforcement Learning for Reasoning

Summary

LatentSeek introduces a test-time instance-level policy gradient in latent space to enhance LLM reasoning without changing model parameters.

Explained to a 5-year-old

Big computer brains called LLMs usually think by writing down step-by-step sentences. People sometimes have ideas that pop into their heads without talking. This new idea helps the computer brain have those hidden ideas during testing. It does this by a special learning trick that makes the brain better at solving problems. All of this happens without changing the brain’s memory, so it stays small and fast.

Explained to a 5-year-old, longer

Large language models are computer programs that can talk and write. They usually solve problems by writing down each step in words. But people sometimes have sudden ideas that are not words, like a picture in their mind. This paper wants to give the computer brain a way to have those hidden ideas too. It does this by using a special learning method that works while the computer is answering a question. The learning method looks at a hidden part of the brain called the latent space. It changes that hidden part little by little to make the answer better. The computer gets a score that tells it how good its answer is, and it uses that to improve. This way, each new problem can be solved with its own little improvements. The computer does not need to be retrained or have its memory changed. It only needs a few small steps to get better, so it is fast and uses little power. As a result, the computer can solve harder problems more accurately.

For a technical reader

The paper introduces a test-time optimization technique that fine-tunes a model’s internal latent representations without altering its weights. By using a policy-gradient algorithm guided by a self-generated reward, the model can iteratively improve its reasoning trajectory for each new input. This approach is evaluated on several math benchmarks (GSM8K, MATH-500, AIME2024) and shows better performance than chain-of-thought, best-of-N, and other baseline methods. Experiments demonstrate rapid convergence-often within a few iterations-and a clear scaling effect as more latent updates are performed. The method is lightweight, parameter-free, and can be applied to any large language model to boost its problem-solving ability.

Problem

Large language models typically reason via explicit step-by-step natural language, which may be limited compared to human unconscious reasoning processes. There is a need for a method that can improve reasoning capabilities without modifying model parameters.

Method

The approach uses a test-time policy gradient to iteratively refine latent representations of the model, guided by a self-generated reward signal, allowing per-instance adaptation of the reasoning trajectory.

Results

The approach achieves superior performance over Chain-of-Thought, Best-of-N, and training-based baselines, and its performance scales with the number of latent update iterations while converging quickly.

Contributions

It proposes a lightweight, parameter-free reasoning paradigm that leverages test-time policy gradient in latent space to dynamically adapt reasoning per instance. The work provides empirical evidence of its effectiveness across multiple math benchmarks and LLM families.

Practical relevance

It enables small teams and resource-constrained deployments to boost LLM reasoning performance without costly parameter updates.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction