# Geometric Prompt-Trajectory Planning for Test-Time Scaling

*Zhengqi Pei, Anran Zhang, Qingming Huang, Shuhui Wang*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/150955) · [OpenReview](https://openreview.net/forum?id=e22Krci8Dn) · [Open on the map](../papers.html#p150955)

Category: [LLM Reasoning, Memory & RAG](../pcat/19.md) › [Test-Time Scaling and Optimization](../pgroup/415.md) · Type: new method · Keywords: test-time scaling, prompt trajectory planning, geometric embedding, LLM inference efficiency, reasoning benchmarks

Areas: [LLM Reasoning](../areas/reasoning.md) › Reasoning Strategies › Test-Time Scaling

## Summary
Maze is a test-time scaling framework that plans prompt trajectories in a geometric space to achieve strong reasoning improvements with fewer LLM calls.

## Explained to a 5-year-old
Some smart people want to help a big computer brain think harder without using a lot of energy. They give the brain a set of example questions and arrange them like a path in a special space. A small helper looks at many possible paths and picks the best ones. After the helper picks the best routes, the big brain is asked only a few times using those routes. This saves time while still getting better answers.

## Explained to a 5-year-old, longer
A big computer brain, like a language model, can get smarter by trying many different ways to answer a hard question. Usually it does this by asking itself the same question over and over again, which uses a lot of computer power. Sometimes all those tries make the same mistake, so it doesn't help much. Researchers wanted a way to get better answers without using as much power. They thought of giving the brain a list of example questions and arranging them like a route in a special space. A small helper program looks at many possible routes and decides which ones are most likely to lead to good answers. This helper does not need to be the big brain; it can be a separate, simpler program. After the helper picks the best routes, the big brain is asked only a few times using those routes. This saves a lot of computer time because the brain doesn't have to answer many times. Even though it answers fewer times, the brain still gets better results, almost as good as before. The researchers also showed that if the helper can find good routes and cover many possibilities, it can replace many of the old repeated tries. This new idea helps make powerful computer brains more useful without costing too much energy.

## For a technical reader
The paper addresses the inefficiency of traditional test-time scaling, which repeatedly queries a large language model to improve reasoning. Maze introduces a separate planner that embeds ordered few-shot exemplars into a latent geometric space and ranks candidate trajectories using a lightweight metric. By selecting only the most promising trajectories, the target LLM is called just once (or a few times), dramatically reducing inference cost while preserving performance. MultiMaze extends this idea to multiple calls, recovering most of the gains of width-heavy scaling with far fewer model invocations and lower latency. A theoretical analysis links the rankability and coverage of prompt trajectories to the amount of scaling benefit that can be achieved without additional sampling.

## Problem
Test-time scaling often relies on repeated sampling and aggregation, which scales linearly with compute and can be brittle when sampled trajectories share failure modes. This leaves a need for more efficient scaling that reduces the number of target model calls while preserving reasoning performance.

## Method
The approach treats ordered exemplar sequences as prompt trajectories embedded in a latent geometric space, ranks candidate trajectories using cached encoder representations and a lightweight path scorer, and then queries the target LLM only on the most promising trajectories. This decouples planning from the LLM, preserving black-box deployability.

## Results
The approach achieves stronger reasoning performance with a single LLM call compared to existing single-call prompt-optimization methods, and MultiMaze recovers most of the gains of width-heavy scaling while using far fewer LLM calls and lower latency.

## Contributions
It introduces a planner-side ranking of prompt trajectories in a geometric space, enabling efficient test-time scaling with minimal target model calls, and provides a theoretical analysis linking rankability and coverage to scaling benefits.

## Research questions this paper is counted under

- [How can we reduce the computational cost of test-time reasoning while maintaining accuracy?](../q/409.md)

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](../feedback/?on=p/150955)
