Elamur Research

Reasoning with Language Model is Planning with World Model

Paper · 2023 · Shibo Hao, Yi Gu, Haodi Ma et al.

Summary

Solving a problem requires more than producing a sensible next sentence. A movement may satisfy part of a goal while blocking the rest of it. A calculation may establish a quantity that the solution never needs. A deduction may follow a valid rule while taking the argument away from the hypothesis. “Reasoning with Language Model is Planning with World Model” investigates how a system can compare such choices before committing to a complete answer. Its proposal, Reasoning via Planning, or RAP, organizes reasoning around descriptions of the current situation, possible actions, predictions of their consequences, and scores that guide further investigation.

RAP gives a language model different jobs through prompting. As an agent, it suggests what to do next. As a world predictor, it describes what that choice would establish or change. In a block-moving task, these outputs concern physical arrangements; in mathematics, they concern intermediate quantities; in deduction, they concern facts reached through rules. Monte Carlo Tree Search, abbreviated MCTS, manages the alternatives. It extends promising routes, investigates less familiar ones, and carries information from later outcomes back to earlier choices. These updates affect the search tree during inference. They do not update the language model’s parameters.

The experiments apply this organization to Blocksworld planning, GSM8K word problems, and PrOntoQA deduction. The default predictor is LLaMA-33B. For the selected Blocksworld difficulty groups, RAP obtains an average plan success rate of 64%; the authors also report a planning comparison in which it exceeds GPT-4 using chain-of-thought by 33% relative improvement. On GSM8K, a reward-selected RAP trajectory yields 48.8% answer accuracy, and aggregating answers from the search adds an improvement described as approximately 3%. On PrOntoQA, the reported accuracies are 94.2% for the final judgment and 78.8% for the proof. Experiments with Llama-2 70B extend the planning analysis to more demanding cases.

The paper’s contribution is a way to organize inference using an existing predictor. It makes the consequences of candidate steps available to a search algorithm, instead of asking a forward-generated explanation to carry all the burden of planning. The evidence supports this combination on the evaluated tasks, but it also shows why the scoring mechanism matters: action likelihood helps structured block commands more reliably than freely phrased mathematical questions. Predicted consequences can still be mistaken, agreement among samples can still support an incorrect answer, and finite search cannot guarantee a solution. The authors leave improved world-prediction training and integration with external tools as directions for further work.

Interesting ideas

Represent what a decision leaves behind. A procedure becomes easier to investigate when its record includes the situation after each operation. This exposes dependencies that a list of instructions can conceal: whether an object is accessible, whether a quantity has been derived, or whether a claim now supports another rule. The idea applies to workflow execution, symbolic reasoning, and analysis pipelines whose later operations depend on earlier changes.

Give proposal and consequence prediction different interfaces. Suggesting a useful operation requires a different judgment from determining its effects. RAP expresses that distinction through separate prompting roles, even though they share an underlying predictor. Elsewhere, the same distinction can support specialized components, clearer error reports, and replacement of uncertain predictions by exact transition functions.

Let later outcomes revise earlier priorities. An attractive immediate result is weak evidence when subgoals interact. Search can investigate a continuation and use what happens there to reconsider its starting choice. This is useful in proof construction, scheduling, and problem decomposition, where a poor early commitment may become apparent only after substantial downstream work.

Treat exploration as a resource decision. Unexamined alternatives deserve some attention even when a familiar route currently looks strongest. RAP combines estimated continuation quality with visit information to manage that tradeoff. The general lesson is to declare how uncertainty affects allocation of computation, instead of allowing the first plausible candidate to absorb the entire budget.

Choose a score for the property being judged. Fluent wording, repeated agreement, relevance, and actual goal satisfaction are different signals. The reward comparisons show that their usefulness depends on the task and on how actions are expressed. This lesson applies to candidate ranking, automated criticism, and rule induction: a convenient score needs evidence that it guides the intended decision.

Adjust support as the unresolved task changes. Useful progress alters the problem that remains. RAP’s adaptive prompting shortens demonstration trajectories as its planning state advances. A related principle applies to retrieved examples, diagnostic context, and procedural assistance: supporting material should fit the current obligation, rather than remain anchored to the original difficulty.

Require evidence appropriate to the deliverable. A vote among final mathematical answers can help select a number. It cannot establish that a plan is executable or that a proof contains valid transitions. Evaluation and aggregation should therefore follow the output contract. This matters wherever a system owes the user a usable procedure or justification, rather than an endpoint alone.

Deep dive: Reasoning with Language Model is Planning with World Model

How Reasoning via Planning uses predicted states, task rewards, and tree search to improve planning, mathematical reasoning, and logical proofs. · about 45 minutes to read

How Mova uses it

Mova is a transparent language system written in Rust. Its native path builds linguistic structure, interprets frames, maintains worlds, and performs supported mathematical or operational work. Those mechanisms already overlap with several of RAP’s organizing ideas. That overlap does not establish that Mova implements RAP, uses MCTS for general reasoning, or has gained accuracy from this paper.

The following connections are implementation proposals assessed against the documented Mova mechanisms. The status labels describe the scope of that comparison. They are provisional judgments, and an unlisted mechanism may exist beyond the available documentation. For Mova’s preference for rules, logic, and statistics, the most direct transfer is a typed search architecture with checkable transitions. Reusing RAP need not mean making a neural predictor responsible for every transition or reward.

Idea: Store a successor situation beside each candidate operation. Where: Language Model as World Model. Area: knowledge representation. Mova: вже є (world, frame-based interpretation in prag, and math::qworld). Mova already tracks narrative changes and quantitative state. RAP motivates making comparable before-and-after records available when several candidate continuations are being compared. A common record could identify the operation, affected entities, established facts, and unresolved obligations. Why Mova: a questionable transition would become a concrete object for explanation and diagnosis.

Idea: Expose action suggestion separately from effect calculation. Where: Language Model as World Model. Area: reasoning architecture. Mova: частково є (math::steps, deduct, layers, and native deputy adapters). Existing components distinguish several stages of task handling, but a shared interface for hypothetical operations and their effects is not established. A proposed extension would return candidate operations independently of the function that checks or computes their consequences. Why Mova: this separation would identify whether failure came from choosing poorly or updating the situation incorrectly.

Idea: Reconsider a choice after investigating its continuation. Where: Planning with Monte Carlo Tree Search, Back-propagation. Area: search. Mova: частково є (mathematical alternatives and the top-K judge described in the architecture). RAP suggests testing a continuation-sensitive ranking against local branch scores. A native version could use checked mathematical steps rather than generated assessments. Why Mova: some unsuitable decompositions reveal their weakness only when the remaining obligations are attempted.

Idea: Use visit information to distribute exploration. Where: Planning with Monte Carlo Tree Search, Selection. Area: statistics and resource allocation. Mova: нове. The proposed addition is an explicit policy combining continuation estimates with counts of prior investigations, with deterministic tie resolution. This status concerns that policy; incomplete documentation cannot establish its universal absence. Why Mova: recording what has received attention could prevent repeated investment in one familiar route while other admissible choices remain untested.

Idea: Keep scoring signals semantically distinct. Where: Reward Design and Reward Choice. Area: evaluation. Mova: частково є (native checks, mathematical judging, and regression gates). Mova could distinguish a candidate’s admissibility, relevance, expected progress, and validation status instead of placing every signal under an undifferentiated quality score. RAP’s domain-dependent reward findings motivate evaluating each contribution separately. Why Mova: different signals support different decisions, and preserving their meanings makes a ranking easier to audit.

Idea: Rebuild the task description from the current remainder. Where: Plan Generation, Case study. Area: context management. Mova: частково є (world working state and bounded task resolution in the native deputy). A planning experiment could derive a fresh description of outstanding obligations after each accepted hypothetical transition. It would preserve provenance while avoiding dependence on a narrative of every previous attempt. Why Mova: the current state may explain the next decision more clearly than the original request and a growing history.

Idea: Match examples to the present stage of work. Where: Adaptive Prompting. Area: retrieval and teaching. Mova: нове. A proposed review or teaching workflow could retrieve examples whose remaining obligations resemble those of the current subtask. This would concern separately admitted teaching activity, rather than consultation during native assessment. Why Mova: an example suitable for a difficult initial task may provide poor guidance once most of that task has been resolved.

Idea: Check the promised artifact at its own level. Where: RAP-Aggregation and Logical Reasoning. Area: evaluation. Mova: вже є (distinct evidence categories in the hybrid-system contract, mathematical justifications, and worker-result boundaries). RAP reinforces separate obligations for an answer, a derivation, and an executed procedure. Mova could make those distinctions explicit in search reports as well as execution reports. Why Mova: agreement about a conclusion should not conceal an unsupported explanation or unusable action sequence.

Idea: Generate only operations whose preconditions are satisfied. Where: Plan Generation, Task setup. Area: operational planning. Mova: частково є (configured capabilities and installed Rust handlers in the deputy). Present support restrictions concern what the worker can perform. A hypothetical planner could additionally test each operation’s preconditions against its candidate state before expanding a branch. Why Mova: rejecting impossible actions early would conserve computation and provide a specific reason for rejection.

Idea: Describe transitions through added and withdrawn conditions. Where: Plan Generation, Task setup; Plan Generation prompts. Area: state representation. Mova: частково є (world entities, holdings, and event changes). RAP’s treatment of block conditions suggests a reviewable delta format for hypothetical updates. Such a format should identify what becomes true, what stops being true, and what is preserved. Why Mova: explicit withdrawals help detect stale information that would otherwise remain available to later inference.

Idea: Choose the next mathematical question from established quantities. Where: Math Reasoning, Task setup. Area: mathematical decomposition. Mova: частково є (math::steps, deduct, and quantitative readers). Mova could compare several requests for an intermediate quantity after each checked calculation, instead of relying on a decomposition fixed before those quantities are known. Why Mova: this would test whether an unsuccessful solution lacks a computational skill or follows an unhelpful dependency order.

Idea: Judge relevance independently of arithmetic validity. Where: Math Reasoning and Reward Design, Self-evaluation by the LLM. Area: mathematical verification. Mova: частково є (the exact mathematical core and mathematical judge). A valid calculation can answer an irrelevant subquestion. A proposed scoring record would therefore distinguish whether an expression is correct from whether its result contributes to the requested quantity. Why Mova: exact arithmetic cannot rescue a solution that computes the wrong thing.

Idea: Carry a named inference focus through a proof branch. Where: Logical Reasoning, Task setup. Area: logic. Mova: частково є (world facts, global links, and justification chains). RAP’s focused-fact state suggests a compact native branch record containing the current claim, applicable rules, and provenance. The wider knowledge context would remain accessible. Why Mova: an explicit focus could make irrelevant rule applications easier to recognize without discarding supporting evidence.

Idea: Make a verified dead end affect future branch priority. Where: Logical Reasoning, Results. Area: failure analysis. Mova: частково є (gap queues, reports of mathematical disagreement, and persistent worker failures). A proposed search component could attach a failed obligation to the choices that produced it and revise their ranking on later exploration. Why Mova: failure records would guide the next attempt instead of serving only as retrospective diagnostics.

Idea: Give predictions and execution observations separate identities. Where: Language Model as World Model. Area: operational evidence. Mova: вже є (explicit observation and execution boundaries in the hybrid-system architecture). Any RAP-inspired planner should label imagined effects independently of tool receipts and observed outcomes. Why Mova: a predicted successful operation is evidence about a hypothesis, whereas a receipt concerns what an actual worker did.

Idea: Declare how the candidate set was bounded. Where: Appendix, MCTS Planning. Area: search efficiency. Mova: частково є (bounded task handling, top-K evaluation, and bounded enrichment). A native experiment could record the rules that generated candidates, which candidates were excluded, and whether a resource limit stopped generation. Why Mova: search failure has a different meaning when the useful operation was absent from the candidate set.

Idea: Reserve expensive checks for selected investigations. Where: Planning with Monte Carlo Tree Search, Simulation. Area: performance engineering. Mova: частково є (compiled rules, cheap native profiles, and bounded worker activity). RAP’s lightweight rollout policy suggests separating inexpensive preliminary screening from costlier validation, while retaining the latter as a final obligation. Why Mova: more alternatives might become affordable without allowing a cheap heuristic to authorize an answer.

Idea: Evaluate a prior by how well it orders investigation. Where: Appendix, MCTS Planning. Area: statistics. Mova: частково є (learned feature weights and explicit decision rules). An initial branch preference could be useful even when it cannot establish correctness. Mova could measure whether it brings successful checked routes into view sooner, separately from its agreement with final answers. Why Mova: evidence sufficient for prioritizing work need not be sufficient for accepting a result.

Idea: Examine how scoring responds to derivation length. Where: Math Reasoning, the future-average value equation. Area: mathematics and evaluation. Mova: нове. A proposed comparison would hold candidate derivations fixed while testing accumulated scores against average step scores and existing native rankings. RAP motivates the question without establishing the best rule for Mova. Why Mova: a ranking should not reward unnecessary steps merely because each contributes another positive value.

Idea: Test the policy that extracts the completed route. Where: Planning with Monte Carlo Tree Search, final selection discussion. Area: search evaluation. Mova: нове. If a search tree is introduced, Mova could compare following edge values with selecting an observed complete route or a heavily visited terminal branch. Why Mova: discovering a useful derivation and returning that derivation are separate accomplishments.

Idea: Combine equivalent answers without merging their derivations. Where: RAP-Aggregation. Area: ensemble reasoning. Mova: частково є (parser agreement mechanisms and typed correspondence checks). A mathematical extension could group exactly equivalent answers while retaining the individual supporting routes. It should avoid constructing a new proof by joining incompatible fragments. Why Mova: collective support for an endpoint does not validate an arbitrary combination of its explanations.

Idea: Describe agreement as agreement rather than correctness. Where: Reward Design, Confidence of the state. Area: uncertainty. Mova: частково є (treeagree agreement measures and provenance-bearing dictionary evidence). RAP uses answer concentration as a confidence signal. Mova could report the procedure producing that concentration and the independent checks still outstanding. Why Mova: several outputs can repeat the same unsupported assumption.

Idea: Compare shared-prefix search against independent attempts. Where: Math Reasoning, Results. Area: experimental design. Mova: частково є (held-out comparisons, repeated deterministic runs, and negative controls). A search study could distinguish the benefit of retaining partial work from the benefit of spending additional computation. Resource accounting should describe the actual operations performed. Why Mova: a higher score alone would not identify which part of the new procedure caused the improvement.

Idea: Score the conclusion and its justification independently. Where: Logical Reasoning, Results. Area: evaluation. Mova: вже є (answer explanations, exact mathematical steps, and separate evidence types). RAP motivates reporting these obligations separately wherever a reader or worker produces both. Why Mova: a correct conclusion with a faulty reason requires a different repair from an incorrect conclusion reached through valid local operations.

Idea: Expose privileged information used to choose demonstrations. Where: Analysis, Complex problems. Area: evaluation design. Mova: частково є (assessment controls and held-out data discipline). Experiments involving retrieved lessons or examples could distinguish selection using known difficulty from selection using only information available during ordinary use. Why Mova: favorable support selection can otherwise be mistaken for stronger reasoning.

Idea: Hold the reasoning machinery fixed when testing inference changes. Where: Limitations; Related work: world model and planning. Area: controlled evaluation. Mova: вже є (separate training and admission paths, versioned artifacts, and regression checks). A search experiment can preserve its parser, seeds, and accepted knowledge while changing only the decision procedure. Why Mova: this makes the source of any observed improvement more identifiable.

Idea: Search over admissible syntactic repairs. Where: Language Model as World Model; Appendix, MCTS Planning. Area: syntax. Mova: частково є (treeagree, structural UD gates, and closed French repair rules). A proposed transfer would treat a candidate dependency tree as a state and a permitted repair as an action. Structural validation would constrain every successor. Why Mova: interactions between plausible local edits could be studied without silently promoting unreviewed trees into training material.

Idea: Investigate lexical distinctions through adaptive evidence queries. Where: Math Reasoning, state-dependent subquestion choice. Area: lexicography. Mova: частково є (dictindex retrieval, statistical proposals, and reviewed labels). A dictionary worker could select its next corpus query according to the distinction still unresolved, while preserving the separation between examples, labels, and admission. Why Mova: this could reveal whether a proposed sense lacks supporting occurrences, a useful selector, or a sufficiently clear definition.

Idea: Search pragmatic interpretations without turning attributed content into fact. Where: Language Model as World Model. Area: pragmatics. Mova: частково є (Frame::attr, attribution-sensitive assertion, and explicit connective observations). A proposed interpretation search could preserve who holds a claim in every branch and keep alternative readings separate. RAP provides the state-and-action perspective; this application is a Mova hypothesis. Why Mova: exploring consequences should not erase the difference between what a narrator asserts and what a speaker merely believes.

Idea: Preserve alternate readings when local evidence cannot decide. Where: Planning with Monte Carlo Tree Search, Selection and Expansion. Area: ambiguity management. Mova: частково є (connective alternatives and configured-task failures for ambiguity). A bounded native search could retain multiple admitted readings and test their consequences against later context. Why Mova: premature commitment can make later inconsistency appear to be missing knowledge instead of unresolved interpretation.

Idea: Represent stopping reasons as part of the result. Where: Plan Generation, Task setup; Planning with Monte Carlo Tree Search. Area: diagnostics. Mova: частково є (bounded worker outcomes, enrichment gates, and retained failures). A proposed search report would distinguish reaching a goal from reaching a depth or computation limit. Why Mova: ending an investigation does not establish that its obligation was satisfied.

Idea: Reduce demonstration mismatch with intermediate examples. Where: Adaptive Prompting. Area: data preparation. Mova: нове. In a separate teaching experiment, intermediate states from accepted worked examples could become indexed support material, with their original provenance retained. This differs from simply retrieving examples by current difficulty: it prepares the support states in advance. Why Mova: a worked example contains useful partial situations that may otherwise remain inaccessible as independent evidence.

Idea: Keep a world-transition error distinct from a search error. Where: Language Model as World Model; Planning with Monte Carlo Tree Search. Area: analysis. Mova: частково є (explicit gaps and fast-reader miss categories). Mova could classify failures according to whether the candidate was missing, its effect was wrong, its score was misleading, or its branch received insufficient attention. Why Mova: improvements become more targeted when representation, prediction, and resource allocation are diagnosed separately.

Idea: Distinguish task progress from temporary goal satisfaction. Where: Plan Generation, Case study. Area: planning heuristics. Mova: частково є (world changes and task-specific mathematical judgments). A candidate action may satisfy a visible condition while making another obligation harder. A native experiment could check whether provisional progress survives a continuation. Why Mova: local success should remain revisable when several requirements depend on one another.

Idea: Treat exploratory search records as analysis, not learned knowledge. Where: RAP’s inference formulation and Limitations. Area: learning boundaries. Mova: вже є (reviewed annotation paths, staged enrichment, and explicit knowledge-admission rules). Search traces could support diagnosis or generate proposals, but entering accepted dictionaries, seeds, or training data would remain a separate operation. Why Mova: a often visited hypothesis should not acquire authority merely because the system explored it repeatedly.

The problem and its context

A reasoning sequence needs a way to choose

The paper begins with the difficulty of making deliberate choices inside a multistep task. Producing intermediate text can help expose a solution, but a sequence of explanations does not automatically provide a mechanism for comparing futures. Once a forward-generated chain has taken an unfortunate direction, everything that follows may be organized around that choice.

Block rearrangement makes this difficulty visible. A planner must respect the present configuration, the availability of its hand, and the order in which blocks can be accessed. The goal may require several relations to hold together. Establishing one relation too early can obstruct another, so proximity to an individual subgoal is an incomplete guide.

The introduction cites an earlier planning comparison in which GPT-3 obtains 1% success and human participants obtain 78%. Those values motivate the problem; they are not results from RAP’s own experiments. The authors use the contrast to argue that impressive language generation does not by itself ensure reliable anticipation of changing conditions.

Mathematical and logical tasks express a related dependency problem without physical movement. A word problem may require establishing a quantity before another expression can be evaluated. A proof may offer several applicable rules, only some of which lead towards the hypothesis. Local plausibility and eventual usefulness can therefore diverge.

What the human-planning analogy contributes

The authors draw on accounts of mental representations in human reasoning. Their motivating picture is that people can imagine a situation, consider an operation, anticipate a consequence, and revise a plan without performing every action externally. This supplies a functional template for RAP.

The analogy concerns the organization of computation. It does not make the benchmark results a test of psychological equivalence. Nothing in the experiments measures whether the internal processes resemble those of a human brain. The relevant engineering question is whether explicit predicted situations help a search procedure choose better reasoning steps.

The authors identify connected shortcomings in ordinary language-model reasoning: no explicit transition mechanism for tracking the situation, no general reward structure for directing progress, and no systematic allocation of exploration among alternatives. RAP responds by making these components visible and connecting them through planning.

This framing is stronger than saying that longer explanations are needed. A long chain can contain the same unexamined commitment as a short one. RAP changes the decision procedure around intermediate reasoning, including how earlier choices can be revisited.

Earlier prompting approaches

Chain-of-thought supplies intermediate reasoning before the answer. The paper treats it as an important starting point, while emphasizing the limitations of generating a chain forward without explicit consideration of competing continuations.

Least-to-most prompting organizes a difficult question into simpler questions. Those questions are then answered in sequence. RAP shares the decomposition perspective in its mathematics application, but allows later subquestions to depend on information already established.

Self-consistency generates multiple reasoning attempts and combines their answers through voting. This provides a way to benefit from diverse trajectories. However, separate complete attempts do not inherently maintain a common search structure in which evidence about a shared early decision can accumulate.

The paper also discusses feedback on intermediate reasoning. Work such as Reflexion belongs to that background. RAP incorporates criticism as a possible reward source, rather than assuming that generation alone supplies the best available judgment about a step.

Search was already part of the discussion

The authors acknowledge earlier and concurrent efforts to move beyond a linear chain. Their account of CoRe describes trained components for mathematical step generation and verification, together with MCTS-based decoding. Concurrent Tree of Thoughts work investigates structured reasoning through depth-first or breadth-first exploration.

RAP’s claimed contribution is the explicit combination of a transition predictor, task states, rewards, and planning. These components give search something more specific to operate on than a collection of text continuations. A node describes the situation reached, an edge identifies the operation, and a score estimates the desirability of proceeding.

This is an architectural distinction. It should not be inflated into a claim that no earlier method retained context, compared candidates, or used feedback. The paper’s own related-work discussion identifies several such ingredients in prior research.

Planning through formal environments and imagined transitions

Another line of work translates a natural-language request into a formal planning problem. The paper describes approaches using executable representations such as PDDL, followed by a classical planning algorithm. Here, the language system helps formulate a problem for another reasoning mechanism.

The authors argue that this arrangement depends on the formal domains and environments available. RAP instead uses language generation to predict transitions, allowing the same framework to express a mathematical answer or a logical consequence as well as a physical rearrangement.

The appendix connects this idea with planning research involving learned dynamics and imagined trajectories. It discusses tree-search systems and world-based learning, including the background represented by Dream to Control. RAP’s distinction is that its reported procedure obtains the transition role from an already available language model and uses it during inference.

That choice makes adaptation flexible but leaves prediction fallible. A formal transition system can encode a rule exactly within its domain. A prompted transition can express a wider variety of consequences, but its account of those consequences needs empirical checking.

The method, step by step

RAP first requires a task-specific description of what the reasoning state contains. A state must preserve the information needed for subsequent decisions. The corresponding action must identify an operation that can change or extend that state.

For block planning, the state contains the arrangement and relevant conditions of the blocks and hand. In mathematics, it records intermediate variable values. For deduction, it identifies the fact on which the current inference focuses. The word “world” therefore has a functional meaning: it is the situation within which an action has consequences.

The designer also specifies candidate generation, transition prediction, scoring, and stopping conditions. These choices determine what the shared planning algorithm can investigate. A missing action cannot be recovered by a selection rule, and an omitted constraint cannot guide legality checks.

The overall procedure can be understood as a repeated cycle:

The RAP reasoning cycle

The steps in order.

The RAP reasoning cycleStep 1: Encode the present situation1. Encode the present situationStep 2: Suggest admissible candidate operations2. Suggest admissible candidate operationsStep 3: Predict each successor situation3. Predict each successor situationStep 4: Evaluate immediate evidence and progress4. Evaluate immediate evidence and progressStep 5: Investigate selected future routes5. Investigate selected future routesStep 6: Revise values of earlier choices6. Revise values of earlier choicesStep 7: Return a route or combine answers7. Return a route or combine answers

Obtain actions and transitions through prompting

The action-generating role samples a possible next operation:

aₜ ∼ p(a | sₜ, c)

The symbol aₜ denotes the proposed action at position t in the reasoning process. The variable a ranges over possible actions, and p is the generation distribution. The state available at that position is sₜ. The prompt c supplies instructions and may include demonstrations. Sampling is represented by ∼.

After an action is chosen, the transition role predicts its result:

p(sₜ₊₁ | sₜ, aₜ, c′)

The next state is sₜ₊₁. Its predicted distribution depends on sₜ, the chosen action aₜ, and a prompt c′ that requests the consequence. The prime indicates that the transition prompt can differ from the action prompt. The same underlying language model serves both roles.

This separation is central. A proposal can be strategically weak even if its effects are predicted correctly. Conversely, a good proposal can be undermined by a mistaken account of its effects. Giving the outputs different roles makes these failures distinguishable in the search representation.

The complete trajectory alternates between the two kinds of object:

(s₀, a₀, s₁, …, aₜ₋₁, sₜ)

The sequence begins at s₀ and ends at sₜ. Each action links a preceding state to a successor state. The ellipsis indicates intervening actions and situations. Unlike an instruction-only sequence, this representation retains what each operation is expected to leave available for subsequent work.

The paper casts the process as a Markov decision process. In that formulation, decisions depend on the current state. Whether a particular textual state captures every relevant dependency remains an implementation question; the formulation itself does not prove that an arbitrary description is sufficient.

Construct a Blocksworld branch

Blocksworld uses a constrained vocabulary of movements. The paper names Stack, Unstack, Put, and Pickup. Objects complete the operation: an action must identify which block is manipulated and, where applicable, the block involved in the placement relation.

Available movements are generated from the domain restrictions and current arrangement. A block cannot be picked up while the hand is occupied. A covered block cannot simply be removed as if it were accessible. Stacking requires an appropriate held block and an available destination.

The world-prediction prompt then describes changes relevant to the selected movement. The implementation incorporates newly true conditions and withdraws obsolete ones. Picking up a block changes its relation to the table and changes the hand from empty to occupied. Conditions involving unrelated blocks should remain intact.

The distinction between proposing an operation and updating conditions keeps the transition local. Instead of asking for the entire successful plan immediately, RAP asks what a particular permitted movement would do in the current situation.

A branch terminates when all goal conditions are satisfied or when the search reaches its depth limit. The former supplies a candidate solution. The latter supplies a bounded investigation that may still leave the goal unresolved.

Construct a mathematical branch

A mathematics action asks a subquestion about an intermediate quantity. The transition role answers it using the problem statement and previously obtained values. The answer becomes part of the state available for subsequent questions.

The appendix demonstrates this with an age problem. Mohamed’s present age is established as 60; his earlier age is then 56; the corresponding earlier age for Kody is 28; and the requested present age is 32. These are the values in the demonstration. The important structural feature is that each later quantity uses a dependency made explicit by an earlier question.

The money demonstration offers another pattern. The sequence establishes total funds, an amount transferred, the remainder after that transfer, expenditure on dinner, and the final balance. Rather than treating the story as a single arithmetic expression to guess, the prompt presents a succession of questions whose answers reveal the necessary quantities.

Subquestion and answer pairs are appended as the process proceeds. As a result, the next proposal can respond to the quantities already available. The decomposition is not fully committed before any intermediate work has been done.

The prompt also specifies a recognizable transition to answering the original question. That provides an endpoint for the branch. It does not remove the need to assess whether the earlier quantities were correct or whether the final question was reached appropriately.

Construct a deduction branch

In PrOntoQA, the state is a currently focused fact. The action selects a rule from the supplied facts and rules. Applying that rule yields another focused fact.

The appendix’s demonstrations include chains involving insects, arthropods, and other categories. Such examples illustrate that several consequences may be available from a claim. Some are pertinent to the queried property; others continue the deduction without resolving it.

The action prompt requires rule text to come from the supplied material. This constrains invention at the rule-selection stage. The transition still needs to apply the rule correctly to the current fact.

A finishing action marks the point at which the required conclusion has been established. This matters because continuing indefinitely through valid consequences is not the task. The proof must reach the hypothesis or the relevant opposing conclusion, and the final judgment must follow from that route.

Define rewards as evidence about a step

The paper introduces a real-valued step score:

rₜ = r(sₜ, aₜ) ∈ ℝ

Here r is the reward function, and rₜ is its value for action aₜ in state sₜ. The symbol ℝ denotes the real numbers. Depending on the task, evaluating the action can involve its predicted successor and its relation to the goal.

Action likelihood is one possible component. RAP can use the log probability assigned to the proposed operation under the action prompt. This expresses the generator’s preference. It can guide investigation before longer-term evidence has been collected.

A different component measures consistency of transition answers. The system samples several answers to the same mathematical subquestion and takes the proportion represented by the most frequent answer. This is a concentration measure over generated answers. It estimates confidence operationally, without independently proving truth.

Self-evaluation supplies another signal. A prompt asks the language model to judge a candidate reasoning step, and the probability of an affirmative answer becomes a reward. The exact judgment can vary with the task; mathematical helpfulness is part of the formulation used for word problems.

Finally, a task-specific function can measure progress directly. In Blocksworld, the predicted arrangement is compared with the requested conditions. Meeting some conditions supplies a progress signal, while satisfying the full goal receives a dominant reward intended to make the successful route preferable.

Combine helpfulness and transition consistency

For mathematics, the reward joins self-evaluated usefulness and answer confidence through a weighted geometric mean:

rₜ = rₜ,₁^α × rₜ,₂^(1 − α)

The combined score is rₜ. The component rₜ,₁ measures the self-evaluation of helpfulness, while rₜ,₂ measures consistency of the predicted answer. The exponent parameter α determines the weighting. Multiplication combines the powered components.

This design recognizes that relevance and dependable calculation are separate requirements. A useful question can receive an uncertain answer. A highly repeatable answer can concern a quantity that does not help solve the original problem.

The expression is a task choice, instead of a universal law of reasoning. The reward analyses investigate whether particular components help under the authors’ settings. They do not establish that the same weighting or combination should be transferred unchanged to another domain.

Attach future value to each choice

The tree search maintains a value function over states and actions:

Q: S × A → ℝ

The set S contains states, and A contains actions. Their Cartesian product S × A represents state-action pairs. The function Q assigns each pair a real-valued estimate of future reward.

This differs from the immediate score r. A local score evaluates evidence available around the current choice. Q is revised using continuations explored from that choice.

Suppose a movement looks promising because it immediately establishes a desired block relation. If its continuation repeatedly fails to satisfy the remaining goal, the value attached to that movement can change. Conversely, a locally unremarkable operation can become attractive when investigation shows that it opens a successful route.

Each tree node stores a state. Each edge corresponds to an action and its successor transition. Paths can therefore share established prefixes and diverge only when a different operation is proposed.

Select where to investigate next

MCTS repeatedly descends through the existing tree to choose a leaf for further investigation. RAP uses the UCT criterion, which joins estimated value with an exploration term:

a* = argmaxₐ∈A(s) [Q(s, a) + w √(ln N(s) / N(c(s, a)))]

The selected operation is a*. The notation argmax chooses the action producing the largest expression. The candidate actions already represented at state s form A(s). The estimated value of an action is Q(s, a).

The count N(s) records visits to the parent state. The child reached by action a is c(s, a), and N(c(s, a)) records visits to that child. The logarithm is written ln, and w weights the exploration contribution.

A often investigated route must justify further attention through its value. A less investigated route receives an exploration contribution because its potential remains less well established. The rule therefore avoids making current preference the sole determinant of future computation.

The appendix describes a practical adaptation for actions not yet visited. Their initial value estimate can come from a cheap local reward. This supplies an informed starting preference under a restricted iteration budget.

Expand a leaf with candidate successors

At the chosen leaf, the agent proposes d candidate actions. The transition role predicts a successor for each, producing new children. The symbol d is the number of candidates considered during expansion.

For open-ended mathematical questions, enumerating every possible action is impossible. Sampling a finite set is therefore part of the method, instead of a convenience that leaves the theoretical action space fully explored.

This restriction has an important consequence. The exploration algorithm can allocate effort among generated alternatives, but it cannot select an absent proposal. Candidate quality and search quality remain separate determinants of performance.

If the selected node already ends a reasoning trajectory, the procedure does not need to expand it. Its outcome can instead contribute directly to updating the path that reached it.

Simulate continuations economically

After expansion, RAP estimates what may happen farther along a route. It generates candidate operations, chooses a strong local option, predicts the consequence, and continues until a terminal situation is reached.

The rollout policy does not necessarily calculate every expensive reward component. Repeated answer generation for a confidence estimate can be costly, so the implementation uses a lighter assessment during provisional continuation.

This is a deliberate approximation in the allocation of computation. The purpose of a rollout is to obtain useful evidence about where a branch may lead without paying the full assessment cost at every imagined step.

The paper’s design therefore separates a detailed evaluation signal from the cheaper policy used to explore farther. That distinction matters when interpreting search efficiency: some savings arise from simplifying provisional decisions, rather than from reducing the reasoning problem itself.

Back up information from completed investigations

Once a route terminates, its rewards influence earlier state-action values. An early choice is reassessed in light of what its continuation achieved.

For mathematical reasoning, the value formulation uses the best future average:

Q*(sₜ, aₜ) = max over continuations (sₜ, aₜ, rₜ, …, sₗ, aₗ, rₗ, sₗ₊₁) of avg(rₜ, …, rₗ)

The quantity Q*(sₜ, aₜ) is the target value for the action at state sₜ. The maximum ranges over continuations beginning with that pair. The index l marks a continuation’s last rewarded step, and sₗ₊₁ is the resulting state. The function avg averages the rewards along the specified suffix.

Using an average addresses the effect of trajectory length on the score. Taking the maximum favors the strongest continuation available to the estimate. The logical application uses the same future-average approach.

In a finite run, the search can only obtain evidence from routes it actually investigates. The maximum in the formulation should not be read as proof that every possible reasoning continuation has been considered.

Decide what to return

The search runs until its declared iteration budget is exhausted. It then needs a policy for selecting an output from the tree.

The paper discusses traversing from the root through high-valued actions, returning the observed complete route with the strongest reward, and selecting a frequently visited terminal route. The authors find the best observed complete route often preferable in practice.

For mathematics, RAP-Aggregation can combine answers produced during different iterations. The article does not specify a detailed aggregation formula beyond this mechanism, so no additional weighting procedure is implied.

Planning and deduction retain a different output requirement. They must return a complete sequence of operations or proof steps. A consensus over terminal labels would leave the validity of that sequence unresolved.

Demonstrations and inference settings

RAP does not introduce a new training procedure in these experiments. Its language model stays frozen, while prompts define the available roles and demonstrations illustrate the task format.

The official code is identified as llm-reasoners. The reported decoding temperature is 0.8. Generation stops at a newline or at the maximum length of 2048.

The computing description names 4 NVIDIA A5000 GPUs, each with 24GB memory. These details situate the experiments, but they do not make a search iteration equivalent in cost to an independently sampled answer.

A single iteration can include several proposals, predicted successors, and reward evaluations. The appendix’s modifications—finite candidate sampling and inexpensive initial or rollout scores—respond directly to the expense of repeatedly invoking language generation.

Experiments and results

Different tasks require different success criteria

The main comparisons use LLaMA-33B as the shared predictor. This keeps the underlying language capability common while varying the reasoning procedure. Where feasible, the planning analysis also includes GPT-4.

Blocksworld asks whether an action sequence reaches its requested arrangement. GSM8K evaluates the mathematical answer. PrOntoQA separately evaluates the final judgment and the proof.

Those metrics are not interchangeable. A correct number does not certify the calculation that produced it. A correct logical label does not establish that every inference is valid. Planning success concerns the behavior of the sequence under the task’s restrictions, rather than how convincing its wording appears.

The selected Blocksworld groups

The initial planning evaluation divides cases according to the minimum number of required actions. The paper gives 30 cases for the 2-step group, 57 for the 4-step group, and 114 for the 6-step group. A case contains no more than 5 blocks.

The chain-of-thought baseline receives 4 solved examples before generating a plan. RAP uses the same demonstration content when evaluating action likelihood, while adding state tracking, constrained action generation, transition prediction, and search.

With LLaMA-33B, the baseline succeeds on only a few short cases and fails on the harder groups described by the authors. RAP solves almost all cases within the 4-step range and some of the longer cases. Its reported average across the selected groups is 64%.

The paper separately reports 42% success for 6-step cases under 20 MCTS iterations. The following chart preserves these distinct scopes. It is a descriptive comparison of the grouped average with the harder subset, not a controlled comparison of iteration settings.

Blocksworld plan success, grouped average and harder subset

RAP retains substantial difficulty on the longer plans despite its stronger grouped result.

Blocksworld plan success, grouped average and harder subsetRAP, selected-group average (this paper): 64RAP, selected-group average (this paper)64RAP, 6-step cases, 20 iterations: 42RAP, 6-step cases, 20 iterations42
The numbers
System or settingplan success %
RAP, selected-group average (this paper)64
RAP, 6-step cases, 20 iterations42

The authors characterize the potential search space for the longer cases with the expression 5^6. This indicates the branching challenge they wish to emphasize. It does not report the number of states actually generated or evaluated in a RAP run.

The headline comparison against GPT-4 is a reported 33% relative improvement for RAP with LLaMA-33B over GPT-4 with chain-of-thought. That claim belongs to the planning setting under comparison. It cannot be generalized into a ranking of the underlying predictors across tasks or inference procedures.

The Blocksworld caption also distinguishes ordinary single-plan evaluation from pass@10. In the latter, 10 plans are sampled and a case counts as solved if any sampled plan succeeds. RAP’s reported single-plan results should not be interpreted as receiving that acceptance rule.

How the planning example supports the mechanism

The planning case study describes an ordering conflict between goals. A tempting route establishes one requested block relation early, but doing so obstructs another requirement.

RAP can initially make the same choice. Its distinguishing behavior is that an unsuccessful continuation can redirect later search. The initial intuition becomes one investigated possibility, rather than an irreversible commitment.

The authors also highlight legality. Maintaining the arrangement allows the system to generate operations that fit the current state, instead of relying on a complete verbal plan to track every restriction implicitly.

Another advantage concerns late-stage scoring. A partially solved arrangement can be presented as the start of a smaller planning problem. The remaining action choice may then be easier to assess than it was when embedded in the original longer task.

GSM8K answer accuracy

The mathematics experiments compare RAP against chain-of-thought, least-to-most prompting, and self-consistency versions of those approaches. All methods use the same 4-shot demonstration set.

RAP’s single-trajectory result is 48.8% accuracy. The authors emphasize that the final route is chosen by its reward, so this result does not depend on combining several terminal answers.

Adding RAP-Aggregation yields a further improvement reported as roughly 3%. That approximate statement should remain separate from the single-route accuracy; it does not license constructing a new exact result through arithmetic.

The paper also examines different MCTS iteration counts and different numbers of independently sampled baseline answers. It reports that RAP-Aggregation performs better throughout the tested budgets.

This supports the claim that guided exploration can make limited attempts more productive. It does not establish equal computational cost for an iteration and a self-consistency sample. The procedures contain different amounts and kinds of generation and evaluation.

PrOntoQA judgments and proofs

The logical experiment uses PrOntoQA’s true-ontology condition and random presentation order for rules. The sampled problems mix proof lengths of 3, 4, and 5 hops. This prevents a uniform expected length from serving as a shortcut for deciding when reasoning should stop.

The authors generate 500 examples using the released dataset script. RAP uses 20 MCTS iterations. The self-consistency comparison uses 20 samples.

The final-judgment accuracy is 94.2%, while complete-proof accuracy is 78.8%. The authors report a 14% proof-accuracy advantage over chain-of-thought and a 4.4% prediction-accuracy advantage over self-consistency chain-of-thought.

These separate measurements are essential to the interpretation. The final judgment can be correct when the proof does not meet the complete-proof criterion. RAP improves both aspects under the tested conditions, but its answer accuracy does not imply uniformly dependable deduction.

The qualitative example emphasizes a branch that reaches an unproductive point. That outcome can influence earlier choices and prompt investigation of another rule. The self-evaluation signal also discourages steps judged incorrect.

Full Blocksworld with a stronger predictor

The additional planning study uses Llama-2 70B and the full Blocksworld collection, which contains 602 cases before demonstration exclusions.

In the Easy setting, the authors assume knowledge of the minimum solution length. Cases are grouped by that length, and 10 cases from each group become a demonstration pool. The remaining members of each group form its test set. At inference, 4-shot demonstrations are sampled from the relevant pool.

The Hard setting constructs a global demonstration pool from 10 cases and excludes those cases from testing. Its sampled 4-shot examples need not match the minimum action count of the current problem.

RAP runs with 10 iterations and adaptive prompting. The authors report a substantial advantage over chain-of-thought in both settings. They describe a particularly marked deterioration for the baseline when problems require six or more actions, while RAP remains more successful.

These results broaden the evidence beyond the default predictor and initial selected groups. They do not isolate every contributing change: predictor capability, demonstration construction, adaptive prompting, and the difficulty distribution differ across the studies.

What the ablations show

Reward combinations matter

The reward ablations investigate whether the scoring components contribute useful guidance. This is important because search alone does not identify a promising direction; it needs signals that relate candidate choices to the task.

For Blocksworld, the principal configuration joins action likelihood with goal-condition progress. The authors report that this combination exceeds the corresponding single-signal settings.

The components describe different properties. Likelihood expresses which movement the predictor favors under its demonstrations. Goal comparison describes how the predicted arrangement relates to the requested conditions. Their combination can therefore supply information that neither component provides alone.

Introducing self-evaluation yields a further improvement characterized as slight. The paper does not present it as the main source of planning success. Its explanation is that likelihood already offers an effective initial preference for the compact, patterned block operations.

The task heuristic is also imperfect as a complete strategic judgment. The case study shows that satisfying a condition now can obstruct another condition later. The reward combination still benefits from investigation of continuations.

Mathematical rewards change with search depth

The GSM8K reward analysis uses the first 300 examples. It examines transition confidence alone and its combination with other signals.

The authors report that adding action likelihood or self-evaluation can help when the procedure has one iteration. With more iterations, however, likelihood can lower accuracy. Self-evaluation provides the best overall performance in their discussion.

This is a meaningful distinction between a useful initial tendency and a reliable ongoing objective. A score can help an early choice without continuing to help as search concentrates on high-scoring routes.

The appendix’s references to individual rows are not entirely consistent in their prose, but the stated qualitative conclusion is clear: mathematical self-evaluation is valuable, whereas action likelihood does not retain its advantage as the iteration budget grows. The available numerical claims do not support reconstructing missing ablation scores.

Why the action representation affects likelihood

The authors relate likelihood’s usefulness to the form of the decision being scored. A block action has a restricted vocabulary and predictable structure. Differences in its probability can therefore be more closely associated with which movement is being proposed.

A mathematical subquestion has greater expressive freedom. The same useful request can appear in different sentence forms, and a familiar-looking sentence can ask for an unhelpful quantity. Probability can become entangled with wording that is incidental to the reasoning objective.

This explanation is an interpretation of the observed domain contrast. The paper does not establish a universal threshold at which linguistic freedom makes likelihood unusable.

The reusable experimental lesson is narrower and stronger: a scoring signal should be evaluated together with the representation it scores. Changing the action vocabulary can change what the same mathematical quantity means operationally.

Why a critic helps more readily in mathematics

The paper argues that some mathematical errors are easier to detect once a candidate step exists. A generated calculation or proposed subquestion gives the evaluator something specific to inspect.

Strategic block-action evaluation can be harder to reduce to a local judgment. Determining whether a legal movement is useful may require anticipating several subsequent movements. A quick critic may therefore face much of the original planning difficulty.

This explains why the self-evaluation component has different roles across the tasks. It can offer a useful mathematical prior without replacing the need for longer-term planning.

The evidence should not be read as demonstrating that self-criticism is generally dependable. The critic shares the underlying predictor and can share its mistakes. The ablation supports its usefulness in the tested reward combination.

Adaptive prompting addresses a moving target

As planning makes progress, the remaining problem changes. A situation reached deep in the tree can require fewer movements than the original request, while the demonstrations may still show longer complete tasks.

The adaptive technique prepares intermediate states from the demonstration trajectories. During inference, it removes earlier portions of those trajectories so the remaining demonstrations better resemble the current planning stage.

The authors describe a strong benefit, especially on complicated problems where mismatch is more damaging. The mechanism responds to a distribution shift created by the reasoning procedure itself.

This analysis differs from a reward ablation. It concerns what examples accompany a decision, rather than how the decision is scored. Both can influence the same search, and their contributions should not be conflated.

Some evidence remains qualitative

The paper reports that selecting the strongest complete route encountered during search often works better than alternative extraction policies. It does not give a universally optimal rule for returning a result.

Likewise, the planning and deduction examples show how a bad continuation can redirect investigation. They make the proposed mechanism understandable, but they do not quantify how frequently each kind of recovery accounts for the overall gain.

The complete experimental system combines representations, prompts, action restrictions, rewards, and search. The analyses explain several important components without establishing a separate causal contribution for every design choice.

Limitations

What the authors explicitly leave open

The authors identify frozen language models as a central restriction. The search can reorganize available capabilities, but it remains dependent on the proposals and transitions that pretraining makes possible.

They suggest fine-tuning as a way to improve reasoning and world prediction. That is future work in relation to RAP’s reported experiments. The current results do not demonstrate a trained transition predictor optimized specifically for these planning roles.

They also propose combining RAP with external tools, referring to work such as ToolkenGPT and Toolformer. The experiments do not establish a general tool-integrated system that verifies every mathematical or physical consequence through an independent execution mechanism.

The ethics statement treats the evaluated applications as posing no significant ethical concern, while acknowledging misuse risks for broader deployment. This is an author-stated concern about future applications. It is not a measured safety assessment.

A state description can be explicit and incorrect

A limitation inferred from the method is that visibility does not ensure accuracy. RAP records successor situations explicitly, but the transition role can still invent, omit, or misinterpret a consequence.

In mathematics, a mistaken intermediate value can become an input to later questions. In planning, an incorrect condition can make an unavailable movement appear legal. In deduction, a faulty rule application can supply the premise for another step.

Search may uncover such mistakes when alternative paths or reward signals expose the inconsistency. It may also favor them if the scoring function rewards a coherent but wrong continuation.

The role separation improves inspectability and search organization. It does not make the proposal, prediction, and criticism channels independent, since they use the same underlying language model.

The interpretation of a world predictor is operational

The paper motivates RAP with a broad claim about missing internal world representations in ordinary language-model reasoning. Its experiments establish a narrower point: an explicit prompted transition role, combined with rewards and search, improves the evaluated procedures.

They do not determine what representations already exist inside the predictor. Nor do they establish that the mechanism matches human conscious planning.

The term “world model” names a functional component in RAP: it predicts a successor situation from a current situation and operation. That use should not be expanded into a claim that the system possesses a validated, general account of physical or conceptual reality.

This distinction matters especially when moving from structured benchmarks to open-ended tasks. The representation may omit relevant conditions, and the transition mechanism may encounter consequences that the demonstrations do not adequately constrain.

Imagined consequences differ from observed consequences

RAP’s trajectories are simulated internally. Candidate block movements are not all carried out in an external environment before the search decides which plan to return.

This enables inexpensive exploration relative to performing every hypothetical action. It also means that the reasoning trace is not a sequence of independent environmental confirmations.

A deployed system would need to account for perception, execution failures, unexpected changes, and disagreement between predicted and observed states. The reported procedure does not provide a complete treatment of those problems.

These are limitations of what the setup demonstrates, rather than additional empirical failure rates. The benchmarks evaluate planning and reasoning under their specified conditions; they do not establish a robust embodied agent.

Bounded exploration cannot compensate for every omission

For open-ended tasks, RAP proposes a limited action set. If the needed mathematical question is never generated, the selection rule cannot investigate it.

Even represented alternatives may not receive enough attention before the budget expires. MCTS manages incomplete knowledge about the tree; it does not make the finite run exhaustive.

A high-reward route is also only as useful as the relation between reward and task success. The mathematical ablation shows that a plausible score can become harmful with more search. Increasing optimization pressure on a weak signal can direct effort away from the desired result.

The paper sometimes describes its objective in terms of optimal reasoning. The experiments support improved search performance, instead of a general guarantee of global optimality.

Confidence is not independent verification

The transition-confidence reward measures repeated agreement among generated answers. This can correlate with reliability, but it can also reflect a shared error reproduced across samples.

Self-evaluation faces a related dependency. The same predictor may regard its own mistaken assumptions as convincing. A favorable affirmative probability is evidence about its assessment, not an external certificate.

The reward results show practical utility under the studied conditions. They do not establish calibration, universal reliability, or a guarantee that strong sample agreement warrants acceptance.

The logical evaluation’s separate proof score is therefore particularly informative. It prevents the final-answer metric from standing in for the stronger claim that the complete reasoning artifact is correct.

Computational claims require an accounting unit

The authors explicitly respond to computational expense by using sampled candidates and cheaper rollout signals. Nonetheless, an iteration can involve considerably different work from an independently generated chain.

Equal counts of iterations and samples do not imply equal runtime, equal generation length, or equal use of hardware. The reported comparisons should be interpreted using their stated procedural budgets.

The computing setup helps identify the experimental conditions, but it does not establish universal efficiency across different implementations or deployment environments.

A careful resource comparison would distinguish the cost of proposing actions, predicting states, and evaluating rewards. The paper’s accuracy gains should not be turned into an unstated claim about every possible cost measure.

Generality remains bounded by the evaluations

The tasks cover different forms of reasoning, which strengthens the architectural case. Their structures still matter. Blocksworld offers explicit movement restrictions. GSM8K provides word problems with mathematical answers. The PrOntoQA experiment uses generated deduction problems under a specified ontology setting.

Those conditions do not establish arbitrary planning competence, unrestricted theorem proving, or general comprehension.

The Easy full-Blocksworld setting additionally uses known minimum solution length to choose demonstrations. The Hard setting removes that matching procedure, and the distinction must remain visible when interpreting the results.

Finally, the supplied results support a comparison between complete inference systems. They do not isolate every benefit of explicit state tracking from every benefit of constraints, prompting, reward design, or additional computation.

What came after

RAP’s citation record connects it with later work on search, reasoning supervision, autonomous planning, and resource control. The listed later works provide titles and citation relationships, rather than detailed accounts of technical inheritance. They establish that these works cite RAP and identify their subjects. Claims about exact borrowed algorithms, benchmark gains, or modifications to RAP would require further evidence.

From inference search toward learning

ReST-MCTS*: LLM Self-Training via Process Reward Guided Tree Search names a combination of tree search, intermediate rewards, and self-training. Its stated subject extends an important boundary in RAP: search can be used within a learning procedure, rather than only around a frozen predictor. The title supports that connection, but does not establish that it retains RAP’s particular state definitions or reward equations.

Toward Self-Improvement of LLMs via Imagination, Searching, and Criticizing places several RAP-related activities inside a self-improvement agenda. Imagining consequences, exploring alternatives, and evaluating them are all relevant to RAP’s organization. The bibliographic information does not specify how the later work combines those activities or what part of RAP it adopts.

DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning identifies reinforcement learning as its approach to reasoning capability. RAP instead studies a reward-guided inference procedure with fixed parameters. This is a useful distinction between changing how an existing predictor is consulted and changing the predictor through learning. No equivalence between their reward mechanisms follows from the citation.

rStar-Math: Small LLMs Can Master Math Reasoning with Self-Evolved Deep Thinking brings mathematical reasoning and self-evolution into its stated focus. It belongs to a later discussion in which reasoning procedure and development are central subjects. The title alone does not establish a shared MCTS implementation, a shared world-prediction mechanism, or a directly comparable result.

Better evaluation of partial reasoning

OVM, Outcome-supervised Value Models for Planning in Mathematical Reasoning explicitly concerns value estimation for mathematical planning. That addresses a dependency RAP makes visible: a search procedure needs an estimate of which unfinished routes deserve more work. The title specifies outcome supervision, whereas RAP’s mathematical reward combines prompted helpfulness with answer consistency.

Improve Mathematical Reasoning in Language Models by Automated Process Supervision identifies supervision of the reasoning process as its subject. This relates to RAP’s distinction between producing a candidate step and evaluating its contribution. The available citation information does not specify which process judgments the later work learns or whether it uses RAP’s planning formulation.

When Can LLMs Actually Correct Their Own Mistakes? A Critical Survey of Self-Correction of LLMs takes up the reliability conditions for self-correction. RAP’s own reward analysis gives a reason that such conditions matter: self-evaluation behaves differently in mathematical reasoning and block planning. The survey’s title establishes its critical question, without supplying a specific judgment about RAP.

Automatically Correcting Large Language Models: Surveying the Landscape of Diverse Automated Correction Strategies places automated correction in a broader comparative frame. RAP can be discussed within that frame because it revises search preferences when continuations provide unfavorable evidence. The citation does not establish the survey’s classification of the method or its conclusions about effectiveness.

Planning as a broader agent capability

Understanding the planning of LLM agents: A survey identifies planning as a subject requiring its own account within language-based agents. RAP supplies a concrete architecture for that discussion: actions alter explicit predicted situations, and search compares the resulting routes. The citation relationship does not reveal how the survey evaluates this architecture.

LLMs Can't Plan, But Can Help Planning in LLM-Modulo Frameworks signals a distinction between language-based assistance and the establishment of a valid plan. That distinction is pertinent to interpreting RAP’s generated transitions. Improved benchmark performance does not turn those transitions into independent guarantees. The title supports this conceptual connection, but not a detailed attribution of criticism or verification machinery.

Leveraging Pre-trained Large Language Models to Construct and Utilize World Models for Model-based Task Planning names a closely related planning subject: constructing and using a representation of transition behavior with a pretrained predictor. It indicates that the relation between language generation and world prediction continued to be investigated. The listing does not establish whether its representation, learning procedure, or execution environment matches RAP.

PromptAgent: Strategic Planning with Language Models Enables Expert-level Prompt Optimization applies a planning perspective to prompt optimization according to its title. This moves the object being investigated from a task solution to the wording used to elicit behavior. Its precise search mechanics and dependence on RAP are not specified in the citation information.

Resource limits and broader reasoning surveys

Token-Budget-Aware LLM Reasoning makes the available generation budget part of its stated problem. RAP already shows why this matters: candidate generation, transition prediction, and reward calculation compete for resources. The later title establishes an explicit resource focus, without supplying a measured efficiency comparison against RAP.

Towards Reasoning Era: A Survey of Long Chain-of-Thought for Reasoning Large Language Models places long reasoning trajectories within a wider survey. RAP contributes a relevant contrast to length alone: useful reasoning also depends on retaining alternatives, evaluating consequences, and deciding where further computation should go. The listing does not specify the survey’s account of that contrast.

These citations show several directions around the problem RAP formulates: learning stronger evaluators, using search in self-improvement, distinguishing plan proposals from validated plans, and controlling the cost of extended reasoning. The exact technical lineage varies by work and is not established by titles alone. RAP’s own experimentally supported contribution remains the inference architecture joining explicit successor states, task-sensitive rewards, and revisable tree search.

Cite

Cite as Shibo Hao, Yi Gu, Haodi Ma, Joshua Hong, Zhen Wang, Daisy Wang and Zhiting Hu. 2023. Reasoning with Language Model is Planning with World Model. Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/2023.emnlp-main.507 · arXiv 2305.14992

@inproceedings{hao2023reasoning,
  title = {{Reasoning with Language Model is Planning with World Model}},
  author = {Shibo Hao, Yi Gu, Haodi Ma, Joshua Hong, Zhen Wang, Daisy Wang and Zhiting Hu},
  booktitle = {Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  doi = {10.18653/v1/2023.emnlp-main.507},
  eprint = {2305.14992},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.18653/v1/2023.emnlp-main.507}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/hao-2023-reasoning-language-model-is-planning/

References

59 references, from the paper's own bibliography.

  1. Alan Baddeley. 1992. Working memory. Science, 255(5044):556–559. OpenAlex ↗ · Scholar ↗
  2. Robert Eamon Briscoe. 2011. Mental imagery and the varieties of amodal perception. Pacific Philosophical Quarterly, 92(2):153–173. OpenAlex ↗ · Scholar ↗
  3. Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, et al. 2020. Language models are few-shot learners. Advances in neural information processing systems, 33:1877–1901. our card
  4. Sébastien Bubeck, Varun Chandrasekaran, Ronen Eldan, Johannes Gehrke, Eric Horvitz, Ece Kamar, Peter Lee, Yin Tat Lee, Yuanzhi Li, Scott Lundberg, et al. 2023. Sparks of artificial general intelligence: Early experiments with gpt-4. arXiv preprint arXiv:2303.12712. our card
  5. Tom Bylander. 1994. The computational complexity of propositional strips planning. Artificial Intelligence, 69(1-2):165–204. OpenAlex ↗ · Scholar ↗
  6. Eduardo F Camacho and Carlos Bordons Alba. 2013. Model predictive control. Springer science & business media. OpenAlex ↗ · Scholar ↗
  7. Aakanksha Chowdhery, Sharan Narang, Jacob Devlin, Maarten Bosma, Gaurav Mishra, Adam Roberts, Paul Barham, Hyung Won Chung, Charles Sutton, Sebastian Gehrmann, et al. 2022. Palm: Scaling language modeling with pathways. arXiv preprint arXiv:2204.02311. our card
  8. Karl Cobbe, Vineet Kosaraju, Mohammad Bavarian, Mark Chen, Heewoo Jun, Lukasz Kaiser, Matthias Plappert, Jerry Tworek, Jacob Hilton, Reiichiro Nakano, et al. 2021. Training verifiers to solve math word problems. arXiv preprint arXiv:2110.14168. our card
  9. Rémi Coulom. 2007. Efficient selectivity and backup operators in monte-carlo tree search. In Computers and Games: 5th International Conference, CG 2006, Turin, Italy, May 29-31, 2006. Revised Papers 5, pages 72–83. Springer. OpenAlex ↗ · Scholar ↗
  10. Yan Ding, Xiaohan Zhang, Chris Paxton, and Shiqi Zhang. 2023. Task and motion planning with large language models for object rearrangement. arXiv preprint arXiv:2303.06247. OpenAlex ↗ · Scholar ↗
  11. Wojciech W Gasparski and Tufan Orel. 2014. Designology: Studies on Planning for Action, volume 1. Transaction Publishers. OpenAlex ↗ · Scholar ↗
  12. Dedre Gentner and Albert L Stevens. 2014. Mental models. Psychology Press. OpenAlex ↗ · Scholar ↗
  13. David Ha and Jürgen Schmidhuber. 2018a. Recurrent world models facilitate policy evolution. Advances in neural information processing systems, 31. OpenAlex ↗ · Scholar ↗
  14. David Ha and Jürgen Schmidhuber. 2018b. World models. arXiv preprint arXiv:1803.10122. OpenAlex ↗ · Scholar ↗
  15. Danijar Hafner, Timothy Lillicrap, Jimmy Ba, and Mohammad Norouzi. 2019. Dream to control: Learning behaviors by latent imagination. arXiv preprint arXiv:1912.01603. our card
  16. Danijar Hafner, Timothy Lillicrap, Mohammad Norouzi, and Jimmy Ba. 2020. Mastering atari with discrete world models. arXiv preprint arXiv:2010.02193. OpenAlex ↗ · Scholar ↗
  17. Shibo Hao, Tianyang Liu, Zhen Wang, and Zhiting Hu. 2023a. Toolkengpt: Augmenting frozen language models with massive tools via tool embeddings. Advances in neural information processing systems, 36. our card
  18. Shibo Hao, Bowen Tan, Kaiwen Tang, Bin Ni, Xiyan Shao, Hengzhe Zhang, Eric Xing, and Zhiting Hu. 2023b. Bertnet: Harvesting knowledge graphs with arbitrary relations from pretrained language models. In Findings of the Association for Computational Linguistics: ACL 2023, pages 5000–5015. OpenAlex ↗ · Scholar ↗
  19. Mark K Ho, David Abel, Carlos G Correa, Michael L Littman, Jonathan D Cohen, and Thomas L Griffiths. 2021. Control of mental representations in human planning. arXiv e-prints, pages arXiv–2105. OpenAlex ↗ · Scholar ↗
  20. Jie Huang and Kevin Chen-Chuan Chang. 2022. Towards reasoning in large language models: A survey. arXiv preprint arXiv:2212.10403. our card
  21. Wenlong Huang, Fei Xia, Ted Xiao, Harris Chan, Jacky Liang, Pete Florence, Andy Zeng, Jonathan Tompson, Igor Mordatch, Yevgen Chebotar, et al. 2022. Inner monologue: Embodied reasoning through planning with language models. arXiv preprint arXiv:2207.05608. OpenAlex ↗ · Scholar ↗
  22. Quentin JM Huys, Neir Eshel, Elizabeth O'Nions, Luke Sheridan, Peter Dayan, and Jonathan P Roiser. 2012. Bonsai trees in your head: how the pavlovian system sculpts goal-directed choices by pruning decision trees. PLoS computational biology, 8(3):e1002410. OpenAlex ↗ · Scholar ↗
  23. Yu-qian Jiang, Shi-qi Zhang, Piyush Khandelwal, and Peter Stone. 2019. Task planning in robotics: an empirical comparison of pddl-and asp-based systems. Frontiers of Information Technology & Electronic Engineering, 20:363–373. OpenAlex ↗ · Scholar ↗
  24. Philip N Johnson-Laird. 2010. Mental models and human reasoning. Proceedings of the National Academy of Sciences, 107(43):18243–18250. OpenAlex ↗ · Scholar ↗
  25. Philip Nicholas Johnson-Laird. 1983. Mental models: Towards a cognitive science of language, inference, and consciousness. 6. Harvard University Press. OpenAlex ↗ · Scholar ↗
  26. Ana Jojic, Zhen Wang, and Nebojsa Jojic. 2023. Gpt is becoming a turing machine: Here are some ways to program it. arXiv preprint arXiv:2303.14310. OpenAlex ↗ · Scholar ↗
  27. Levente Kocsis and Csaba Szepesvári. 2006. Bandit based monte-carlo planning. In Machine Learning: ECML 2006: 17th European Conference on Machine Learning Berlin, Germany, September 18-22, 2006 Proceedings 17, pages 282–293. Springer. OpenAlex ↗ · Scholar ↗
  28. Takeshi Kojima, Shixiang Shane Gu, Machel Reid, Yutaka Matsuo, and Yusuke Iwasawa. 2022. Large language models are zero-shot reasoners. arXiv preprint arXiv:2205.11916. our card
  29. Yann LeCun. 2022. A path towards autonomous machine intelligence version 0.9. 2, 2022-06-27. Open Review, 62. OpenAlex ↗ · Scholar ↗
  30. Belinda Z Li, Maxwell Nye, and Jacob Andreas. 2022. Language modeling with latent situations. arXiv preprint arXiv:2212.10012. OpenAlex ↗ · Scholar ↗
  31. Bo Liu, Yuqian Jiang, Xiaohan Zhang, Qiang Liu, Shiqi Zhang, Joydeep Biswas, and Peter Stone. 2023. Llm+ p: Empowering large language models with optimal planning proficiency. arXiv preprint arXiv:2304.11477. our card
  32. Qing Lyu, Shreya Havaldar, Adam Stein, Li Zhang, Delip Rao, Eric Wong, Marianna Apidianaki, and Chris Callison-Burch. 2023. Faithful chain-of-thought reasoning. arXiv preprint arXiv:2301.13379. our card
  33. Yutaka Matsuo, Yann LeCun, Maneesh Sahani, Doina Precup, David Silver, Masashi Sugiyama, Eiji Uchibe, and Jun Morimoto. 2022. Deep learning, reinforcement learning, and world models. Neural Networks. OpenAlex ↗ · Scholar ↗
  34. John McCarthy. 1963. Situations, actions, and causal laws. Technical report, STANFORD UNIV CA DEPT OF COMPUTER SCIENCE. OpenAlex ↗ · Scholar ↗
  35. Grégoire Mialon, Roberto Dessì, Maria Lomeli, Christoforos Nalmpantis, Ram Pasunuru, Roberta Raileanu, Baptiste Rozière, Timo Schick, Jane Dwivedi-Yu, Asli Celikyilmaz, et al. 2023. Augmented language models: a survey. arXiv preprint arXiv:2302.07842. our card
  36. OpenAI. 2023. Gpt-4 technical report (http://arxiv.org/abs/2303.08774). our card
  37. Debjit Paul, Mete Ismayilzada, Maxime Peyrard, Beatriz Borges, Antoine Bosselut, Robert West, and Boi Faltings. 2023. Refiner: Reasoning feedback on intermediate representations. arXiv preprint arXiv:2304.01904. our card
  38. Xavier Puig, Kevin Ra, Marko Boben, Jiaman Li, Tingwu Wang, Sanja Fidler, and Antonio Torralba. 2018. Virtualhome: Simulating household activities via programs (http://arxiv.org/abs/1806.07011). OpenAlex ↗ · Scholar ↗
  39. Abulhair Saparov and He He. 2022. Language models are greedy reasoners: A systematic formal analysis of chain-of-thought. arXiv preprint arXiv:2210.01240. our card
  40. Timo Schick, Jane Dwivedi-Yu, Roberto Dessì, Roberta Raileanu, Maria Lomeli, Luke Zettlemoyer, Nicola Cancedda, and Thomas Scialom. 2023. Toolformer: Language models can teach themselves to use tools. arXiv preprint arXiv:2302.04761. our card
  41. Julian Schrittwieser, Ioannis Antonoglou, Thomas Hubert, Karen Simonyan, Laurent Sifre, Simon Schmitt, Arthur Guez, Edward Lockhart, Demis Hassabis, Thore Graepel, et al. 2020. Mastering atari, go, chess and shogi by planning with a learned model. Nature, 588(7839):604–609. OpenAlex ↗ · Scholar ↗
  42. Jay Schulkin. 2012. Action, perception and the brain: Adaptation and cephalic expression. Springer. OpenAlex ↗ · Scholar ↗
  43. Ramanan Sekar, Oleh Rybkin, Kostas Daniilidis, Pieter Abbeel, Danijar Hafner, and Deepak Pathak. 2020. Planning to explore via self-supervised world models. In International Conference on Machine Learning, pages 8583–8592. PMLR. OpenAlex ↗ · Scholar ↗
  44. Noah Shinn, Beck Labash, and Ashwin Gopinath. 2023. Reflexion: an autonomous agent with dynamic memory and self-reflection. ArXiv, abs/2303.11366. OpenAlex ↗ · Scholar ↗
  45. David Silver, Thomas Hubert, Julian Schrittwieser, Ioannis Antonoglou, Matthew Lai, Arthur Guez, Marc Lanctot, Laurent Sifre, Dharshan Kumaran, Thore Graepel, et al. 2017. Mastering chess and shogi by self-play with a general reinforcement learning algorithm. arXiv preprint arXiv:1712.01815. our card
  46. Ishika Singh, Valts Blukis, Arsalan Mousavian, Ankit Goyal, Danfei Xu, Jonathan Tremblay, Dieter Fox, Jesse Thomason, and Animesh Garg. 2022. Progprompt: Generating situated robot task plans using large language models. arXiv preprint arXiv:2209.11302. our card
  47. Edward C Tolman. 1948. Cognitive maps in rats and men. Psychological review, 55(4):189. OpenAlex ↗ · Scholar ↗
  48. Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier Martinet, Marie-Anne Lachaux, Timothée Lacroix, Baptiste Rozière, Naman Goyal, Eric Hambro, Faisal Azhar, et al. 2023a. Llama: Open and efficient foundation language models. arXiv preprint arXiv:2302.13971. our card
  49. Hugo Touvron, Louis Martin, Kevin Stone, Peter Albert, Amjad Almahairi, Yasmine Babaei, Nikolay Bashlykov, Soumya Batra, Prajjwal Bhargava, Shruti Bhosale, et al. 2023b. Llama 2: Open foundation and fine-tuned chat models. arXiv preprint arXiv:2307.09288. our card
  50. Karthik Valmeekam, Alberto Olmo, Sarath Sreedharan, and Subbarao Kambhampati. 2022. Large language models still can't plan (a benchmark for llms on planning and reasoning about change). arXiv preprint arXiv:2206.10498. OpenAlex ↗ · Scholar ↗
  51. Karthik Valmeekam, Sarath Sreedharan, Matthew Marquez, Alberto Olmo, and Subbarao Kambhampati. 2023. On the planning abilities of large language models (a critical investigation with a proposed benchmark). arXiv preprint arXiv:2302.06706. our card
  52. Xuezhi Wang, Jason Wei, Dale Schuurmans, Quoc Le, Ed Chi, and Denny Zhou. 2022. Self-consistency improves chain of thought reasoning in language models. arXiv preprint arXiv:2203.11171. our card
  53. Jason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma, Ed Chi, Quoc Le, and Denny Zhou. 2022. Chain of thought prompting elicits reasoning in large language models. arXiv preprint arXiv:2201.11903. our card
  54. Sean Welleck, Ximing Lu, Peter West, Faeze Brahman, Tianxiao Shen, Daniel Khashabi, and Yejin Choi. 2022. Generating sequences by learning to self-correct. arXiv preprint arXiv:2211.00053. our card
  55. Philipp Wu, Alejandro Escontrela, Danijar Hafner, Pieter Abbeel, and Ken Goldberg. 2023. Daydreamer: World models for physical robot learning. In Conference on Robot Learning, pages 2226–2240. PMLR. OpenAlex ↗ · Scholar ↗
  56. Jiannan Xiang, Tianhua Tao, Yi Gu, Tianmin Shu, Zirui Wang, Zichao Yang, and Zhiting Hu. 2023. Language models meet world models: Embodied experiences enhance language models. Advances in neural information processing systems, 36. OpenAlex ↗ · Scholar ↗
  57. Shunyu Yao, Dian Yu, Jeffrey Zhao, Izhak Shafran, Thomas L Griffiths, Yuan Cao, and Karthik Narasimhan. 2023. Tree of thoughts: Deliberate problem solving with large language models. arXiv preprint arXiv:2305.10601. OpenAlex ↗ · Scholar ↗
  58. Denny Zhou, Nathanael Schärli, Le Hou, Jason Wei, Nathan Scales, Xuezhi Wang, Dale Schuurmans, Olivier Bousquet, Quoc Le, and Ed Chi. 2022. Least-to-most prompting enables complex reasoning in large language models. arXiv preprint arXiv:2205.10625. our card
  59. Xinyu Zhu, Junjie Wang, Lin Zhang, Yuxiang Zhang, Ruyi Gan, Jiaxing Zhang, and Yujiu Yang. 2022. Solving math word problem via cooperative reasoning induced language models. arXiv preprint arXiv:2210.16257. OpenAlex ↗ · Scholar ↗