Planning and Multi-Step Reasoning
- 76Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
- spaceFlip card
- KI knew it
- DI didn't know it
- ←Previous card
- →Next card
What three capabilities are combined in multi-step tasks?
Reasoning, acting, and searching or planning across a trajectory.
Or swipe the card
76 cards
What three capabilities are combined in multi-step tasks?
Reasoning, acting, and searching or planning across a trajectory.
In trip planning, what is an example of a reasoning step?
Working out constraints such as the budget and what the plan should include.
In trip planning, what is an example of an action?
Searching the web, reading a travel blog, or asking people who have visited.
What role does search play in a multi-step planning task?
It uses feedback and gathered information to refine the current plan and consider alternatives.
What limitation in ordinary LLM planning motivated Language Agent Tree Search (LATs)?
Models need to explore and compare diverse plans or paths instead of generating and following only one plan.
What established planning technique does LATs bring into LLM reasoning?
Monte Carlo tree search (MCTS), along with ideas from reinforcement learning and multi-step planning.
How does feedback from the environment help LATs?
It is incorporated into later search so the model can refine and optimize future plans.
How does LATs differ from Math-Shepherd's search guidance?
Math-Shepherd uses a verifier to score reasoning trajectories; LATs scores the outcomes of actions taken by the model.
What does LATs add to the ReAct-style reasoning-and-action process?
More explicit planning and search, plus reflection and integration of environmental observations.
What are the six stages of LATs?
Selection, expansion, evaluation, simulation, backpropagation, and reflection.
What is the main benefit of LATs's modular, test-time approach?
It can be applied across domains and can use additional test-time computation to improve multi-step solutions.
What are two important limitations of LATs?
Tree expansion and evaluation can be costly, and irreversible actions may be risky or unsuitable.
What type of reasoning does HotPotQA require?
Multi-hop reasoning that retrieves information from at least two different Wikipedia pages for a question.
What kind of task does WebShop represent, and what did LATs demonstrate on it?
A practical multi-step shopping task; LATs achieved strong test-time results without fine-tuning, approaching human-expert performance in the example discussed.
In a LATs tree, how are repeated actions from the same parent handled?
Their visit counts increase, which affects their scores and UCT selection.
What happens during the selection stage of LATs?
The search selects a node to expand, using UCT to balance value and exploration.
What happens during LATs expansion?
The model samples possible actions from the selected node and adds them as candidate branches.
After a LATs action is executed, what happens to the resulting observation?
It is appended to the context as the observation for the resulting state.
What two components are combined to evaluate a LATs state?
An LLM-as-a-Judge score and a self-consistency score.
What does the LLM-as-a-Judge score estimate in LATs?
How promising a state is, based on the action and its resulting observation, typically on a scale from 0 to 1.
How is the LATs self-consistency score calculated conceptually?
By measuring how frequently an action is sampled among the generated candidate actions.
How are the judge and self-consistency scores used together in LATs?
They are added or averaged to produce a value for the action's resulting state.
What is the purpose of the simulation stage in LATs?
To continue expanding a promising branch, often greedily, until success, failure, or an expansion budget is reached.
What does LATs backpropagate after a simulation ends?
The trajectory's return, such as its success or failure, to update the values of states along the path.
How is a state's value updated from its previous value and a new trajectory return?
Vnew(s)=Ns(Ns−1)Vold(s)+G
What tradeoff does UCT make in LATs?
It balances exploitation of high-value nodes with exploration of less-visited nodes.
What is the standard form of the UCT score described for LATs?
UCT(s)=V(s)+cNslnNp
How does the UCT exploration term change as a child node is visited more often?
It decreases, making that node less favored relative to less-visited children.
What does the reflection stage add after LATs backpropagation?
A model-generated account of what led to the trajectory's success or failure.
Why can LATs execute some actions in parallel?
Actions that do not depend on one another can be carried out at the same time.
What observation motivated SPRINT?
Harder reasoning problems often involve longer model reasoning, and longer reasoning is associated with higher accuracy.
Why might long reasoning traces contain opportunities for parallelism?
Some alternative approaches, subtasks, and verification steps are independent of one another.
What is SPRINT's central goal?
To teach a reasoning model to identify independent plans and execute their associated work in parallel.
What are the main roles in SPRINT's planning-and-execution framework?
A planner creates plans, and executors carry out the plans, potentially in parallel.
How does SPRINT create training annotations from existing reasoning traces?
An LLM breaks a trace into steps and labels the planning and execution parts of each step.
What is a DAG used for in SPRINT?
It represents dependencies among the annotated reasoning steps.
How does SPRINT use the dependency DAG to enable parallel execution?
It groups independent steps into parallel batches while respecting their dependencies.
How is the SPRINT model trained to produce parallel plans?
With supervised fine-tuning on reasoning traces reformatted with plan-and-execution annotations.
Does SPRINT replace next-token generation with multiple simultaneous model outputs?
No. The model still generates its output sequentially, but tags and structure identify plans whose executions can then run in parallel.
What happens at inference time after SPRINT outputs independent plans?
Their executions are launched in parallel, their results are added to context, and the model plans the next stage.
Can a SPRINT model revise a plan after seeing execution results?
Yes. It retains the context and can revise or replan; training encourages parallelism when plans are independent, not inflexible adherence to them.
What SPRINT training recipe was described for the math setting?
Generate about 6,000 MATH reasoning trajectories, retain those with greater parallelization, and fine-tune DeepSeek-R1-Distill-Qwen-7B on the reformatted traces.
How can SPRINT handle simple work that would otherwise become a tiny parallel task?
It can merge the simple execution into its plan to create larger parallelizable chunks.
What determines how much parallelism SPRINT can exploit on a task?
The amount of genuine independence among its reasoning steps; it is task-dependent.
What limitation can arise when SPRINT runs independent tasks in parallel?
Their execution times may differ, so a slower task can become a straggler.
What additional training methods and implementation opportunities were suggested for SPRINT?
Reinforcement learning methods such as GRPO, improved tool use, overlapping tools, and optimizing wall-clock speed.
How can SPRINT reduce reasoning latency?
It executes independent plan computations at the same time instead of waiting for each to be generated and executed sequentially.
What effect did SPRINT's structured parallel reasoning have on accuracy?
It improved accuracy in the reported experiments, in addition to reducing sequential reasoning.
What out-of-domain result was reported for SPRINT?
Training on MATH reasoning also improved performance on tasks such as Countdown and GPQA Diamond, despite no training on those datasets.
How did SPRINT's exploration pattern vary across a reasoning process?
It explored more plans early and tended to converge toward fewer plans later.
Which problems appear to offer the greatest opportunity for SPRINT's token savings?
Harder problems that require more reasoning and contain more parallelizable work.
Can independent SPRINT branches still produce contradictions?
Yes. The model is expected to synthesize the results and resolve contradictions before producing its final answer.
What does SWiRL aim to improve?
Multi-step reasoning and tool use, including knowing when and how to use tools, maintaining accuracy, recovering from errors, and deciding when to stop.
Why can errors become especially problematic in multi-step reasoning and tool use?
Errors and complications can compound across successive reasoning and tool-use steps.
Why does SWiRL avoid executing tools during its reinforcement-learning training phase?
Live tools can be slow, unreliable, or buggy, making an already time-consuming training process harder.
What does SWiRL do differently from training that rewards only a final answer?
It provides step-level process feedback so individual reasoning or tool-call actions can be optimized.
How does SWiRL generate synthetic multi-step trajectories?
It prompts a model iteratively to reason, call a tool, or produce a final answer, then supplies the environment response before the next step.
What choices can the SWiRL data-generation model make at each step?
It can produce a reasoning step, call an available tool, or provide a final answer if ready.
How does SWiRL assign process feedback to a trajectory step?
An LLM-as-a-Judge scores the quality of the current action given the prior context.
What does the SWiRL judge evaluate when scoring a proposed tool call?
The quality of the generated query or action, not whether the unseen tool output is correct.
How does SWiRL obtain tool-call results for its training trajectories?
It collects them during offline data generation and stores them in the trajectory context.
What are the two main SWiRL trajectory-filtering strategies?
Process filtering, which selects trajectories with good step-level judgments, and outcome filtering, which selects trajectories with correct final answers.
How does SWiRL perform reinforcement learning without live tool calls?
It shows the model the prompt and pre-collected trajectory up to a point, asks it to choose the next action, and scores that action without executing it.
What is the conceptual SWiRL objective for a step in a multi-step trajectory?
Optimize the expected reward of an action given the states and actions observed so far.
How does a SWiRL-trained model use tools at inference time?
It iteratively chooses a tool call or a final answer; the tool is executed, its result is returned to the model, and the model chooses the next step.
Which data and model were used in the described SWiRL setup?
Gemma-2-27B generated synthetic trajectories using questions from HotPotQA and GSM8K; the resulting data included about 50,000 examples.
Why can process-filtered data outperform data filtered only for correct final outcomes in SWiRL reinforcement learning?
It can teach useful reasoning steps even when the original trajectory's final answer was wrong, allowing the model to improve through new actions.
Why did outcome correctness matter more for supervised fine-tuning than for SWiRL reinforcement learning?
Supervised fine-tuning imitates the supplied trajectories, so incorrect outcomes can teach undesirable behavior; reinforcement learning lets the model try new actions and receive rewards.
What cross-domain generalization did SWiRL demonstrate between math and question answering?
Training on GSM8K with a calculator-like tool improved HotPotQA accuracy from 65 to 71; training on HotPotQA with search improved it from 65 to 73.
What reverse-direction transfer did SWiRL show between HotPotQA and GSM8K?
Training on HotPotQA with search also helped performance on GSM8K using Python.
What happened as the amount of SWiRL synthetic training data increased?
Performance improved on a different task, including math benchmarks, as training data grew from about 100 to 10,000 examples.
What did SWiRL training change about process correctness?
The model's average step-level process correctness improved both in-distribution and out-of-distribution.
How did multi-step reinforcement learning compare with supervised fine-tuning in the reported SWiRL experiments?
Multi-step reinforcement learning performed better by a substantial margin.
What is a central generalization finding from SWiRL?
Training on one dataset and tool can improve performance on different datasets and tools.
What is the overall lesson of the SWiRL experiments about synthetic data?
More synthetic multi-step data can improve both in-domain and out-of-domain performance.
What kinds of tools were used to illustrate SWiRL's applications?
Search tools for information retrieval and calculators or Python tools for mathematical computation.

Ask anything
We've read this whole study set, so questions about it get the best answers.