1. Home
  2. Explore
  3. Computer Science
  4. Planning and Multi-Step Reasoning

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Planning and Multi-Step Reasoning

  • 57Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: LATS Search

What is the central goal of Language Agent Tree Search (LATS)?

57 questions

  1. 1

    What is the central goal of Language Agent Tree Search (LATS)?

    1. A

      To combine reasoning, environment actions, and trajectory search to improve multi-step problem solving

    2. B

      To replace language-model reasoning with a fixed sequence of tool calls

    3. C

      To train a model exclusively to imitate successful final answers

    4. D

      To remove environmental feedback from the planning process

    Correct answer
    A

    To combine reasoning, environment actions, and trajectory search to improve multi-step problem solving

    Explanation

    LATS brings reasoning, acting, and planning together so a model can explore and refine paths toward a solution.

  2. 2

    In a trip-planning task, which activity is an example of an action rather than a reasoning step?

    1. A

      Considering whether the itinerary has enough time for sightseeing

    2. B

      Searching the web for travel advice from people who visited Hawaii

    3. C

      Deciding how much of the budget to reserve for lodging

    4. D

      Choosing which destination best fits the traveler's preferences

    Correct answer
    B

    Searching the web for travel advice from people who visited Hawaii

    Explanation

    An action gathers information or changes the model's interaction with its environment. Searching the web is an action; budget and itinerary decisions are reasoning.

  3. 3

    What role does the search component play in LATS after an action has produced new information?

    1. A

      It discards earlier reasoning and restarts from the original prompt

    2. B

      It converts every environmental observation into a final answer

    3. C

      It uses the feedback to revise the plan and choose promising follow-up paths

    4. D

      It prevents the model from considering alternative plans

    Correct answer
    C

    It uses the feedback to revise the plan and choose promising follow-up paths

    Explanation

    Search uses information gathered through actions to refine the current plan, consider alternatives, and expand promising trajectories.

  4. 4

    What limitation of ordinary language-model planning motivated LATS?

    1. A

      Models cannot use information gathered from an environment

    2. B

      Models always explore every possible plan exhaustively

    3. C

      Models cannot produce any intermediate reasoning steps

    4. D

      Models can struggle to diversify and optimize multiple possible solution paths

    Correct answer
    D

    Models can struggle to diversify and optimize multiple possible solution paths

    Explanation

    The work aimed to move beyond simply generating and executing one plan by encouraging diverse exploration and optimization of different paths.

  5. 5

    Which sequence lists the six stages of the LATS method?

    1. A

      Selection, execution, imitation, filtering, optimization, and decoding

    2. B

      Prompting, retrieval, ranking, execution, compression, and prediction

    3. C

      Expansion, reflection, retrieval, simulation, stopping, and generation

    4. D

      Selection, expansion, evaluation, simulation, backpropagation, and reflection

    Correct answer
    D

    Selection, expansion, evaluation, simulation, backpropagation, and reflection

    Explanation

    LATS proceeds through selection, expansion, evaluation, simulation, backpropagation, and reflection.

  6. 6

    In the maze example, what happens during expansion from the initial observation?

    1. A

      The model samples possible actions, such as opening either door or inspecting the room

    2. B

      The model averages the final rewards from all completed trajectories

    3. C

      The model selects the final answer without interacting with the maze

    4. D

      The model writes a reflection about a trajectory that has already ended

    Correct answer
    A

    The model samples possible actions, such as opening either door or inspecting the room

    Explanation

    Expansion proposes candidate actions from a selected node. In the example, these included opening the left door, opening the right door, and inspecting for clues.

  7. 7

    How can LATS handle two actions that do not depend on each other?

    1. A

      It combines the actions into a single action that cannot be evaluated

    2. B

      It must execute one action and discard the other before continuing

    3. C

      It delays both actions until the final trajectory has been selected

    4. D

      It can execute both actions in parallel and use their observations in the search

    Correct answer
    D

    It can execute both actions in parallel and use their observations in the search

    Explanation

    The framework allows multiple actions to be executed in parallel when appropriate, with their observations informing subsequent search.

  8. 8

    Which two signals are combined to evaluate a new state in LATS?

    1. A

      The final answer's length and the number of earlier reflections

    2. B

      The trajectory's token count and the number of tools available

    3. C

      An LLM judge's estimate of promise and a self-consistency score based on action frequency

    4. D

      A human rating of the prompt and a count of visited parent nodes

    Correct answer
    C

    An LLM judge's estimate of promise and a self-consistency score based on action frequency

    Explanation

    State evaluation combines a judge's estimate of how promising the state is with a self-consistency signal reflecting how frequently the action was sampled.

  9. 9

    What does the self-consistency score represent in LATS?

    1. A

      How many times the model has reached a successful end state

    2. B

      How strongly the judge agrees with the final answer

    3. C

      How frequently an action appears among sampled candidate actions

    4. D

      How closely an action's wording matches the original prompt

    Correct answer
    C

    How frequently an action appears among sampled candidate actions

    Explanation

    The self-consistency score is based on the rate at which an action is sampled; a more frequently sampled action receives a higher score.

  10. 10

    How does LATS differ from the described Math-Shepherd approach in what guides search?

    1. A

      Math-Shepherd scores reasoning trajectories, while LATS scores outcomes of actions

    2. B

      Math-Shepherd searches a tree, while LATS uses only a single reasoning chain

    3. C

      Math-Shepherd uses environmental feedback, while LATS excludes it

    4. D

      Math-Shepherd scores action outcomes, while LATS scores only final-answer wording

    Correct answer
    A

    Math-Shepherd scores reasoning trajectories, while LATS scores outcomes of actions

    Explanation

    Math-Shepherd uses a verifier to score reasoning trajectories, whereas LATS bases its scoring on the outcomes of actions taken by the model.

  11. 11

    What does LATS add to the described ReAct-style interaction process?

    1. A

      A replacement of environmental interaction with fixed memorized responses

    2. B

      More explicit planning and reflection alongside interaction and feedback

    3. C

      A restriction that prevents the model from observing tool results

    4. D

      A requirement to produce a final answer after every action

    Correct answer
    B

    More explicit planning and reflection alongside interaction and feedback

    Explanation

    LATS builds on reasoning-and-action interaction by incorporating reflection, feedback, and more explicit planning.

  12. 12

    Why does LATS use an upper confidence bound applied to trees (UCT) when selecting nodes?

    1. A

      To guarantee that every possible node is visited equally often

    2. B

      To balance exploiting high-value nodes with exploring less-visited alternatives

    3. C

      To reward nodes according only to their depth in the search tree

    4. D

      To ensure that the currently highest-valued node is always selected

    Correct answer
    B

    To balance exploiting high-value nodes with exploring less-visited alternatives

    Explanation

    UCT balances exploitation of promising nodes with exploration of alternatives that may have lower current values but could prove better later.

  13. 13

    According to the UCT intuition described for LATS, what happens to a child node's exploration incentive when it has been visited relatively few times?

    1. A

      Its parent node's visit count is ignored during selection

    2. B

      Its exploration incentive increases relative to more-visited children

    3. C

      It is removed from the tree to prevent redundant search

    4. D

      Its value is set to zero until its parent is revisited

    Correct answer
    B

    Its exploration incentive increases relative to more-visited children

    Explanation

    The exploration term favors less-visited nodes relative to their parent, helping avoid repeatedly selecting only familiar options.

  14. 14

    In the LATS simulation stage, what can happen after a promising state is selected for further expansion?

    1. A

      The model continues along a trajectory until it succeeds, fails, or reaches its expansion budget

    2. B

      The model resets all scores and returns to the original prompt

    3. C

      The model permanently commits to the state without observing its outcome

    4. D

      The model immediately stops without testing any follow-up actions

    Correct answer
    A

    The model continues along a trajectory until it succeeds, fails, or reaches its expansion budget

    Explanation

    Simulation can continue expanding from a promising state until an end state is reached or the available expansion budget is exhausted.

  15. 15

    How does backpropagation use the result of a completed LATS trajectory?

    1. A

      It replaces all state values with the value of the initial prompt

    2. B

      It propagates the trajectory's return backward to update values for visited states

    3. C

      It updates only the final answer and leaves earlier state values unchanged

    4. D

      It uses the return to delete every unsuccessful branch from the tree

    Correct answer
    B

    It propagates the trajectory's return backward to update values for visited states

    Explanation

    After a trajectory succeeds or fails, its return is propagated through the visited steps to update their values using visit counts.

  16. 16

    What is the purpose of reflection after a LATS trajectory ends?

    1. A

      To increase the number of candidate actions without evaluating them

    2. B

      To have the model consider what led to the trajectory's success or failure

    3. C

      To force every trajectory to be labeled successful

    4. D

      To replace the environmental observations with a new prompt

    Correct answer
    B

    To have the model consider what led to the trajectory's success or failure

    Explanation

    The model reflects on what happened during the trajectory, including factors that contributed to success or failure; the lecture describes this as helpful to performance.

  17. 17

    Why is HotPotQA a suitable test of multi-step reasoning in the described experiments?

    1. A

      Answering its questions requires executing irreversible online transactions

    2. B

      Its questions provide all necessary evidence in a single sentence

    3. C

      Its questions are designed to be solved using a calculator alone

    4. D

      Answering its questions requires retrieving information from at least two Wikipedia pages

    Correct answer
    D

    Answering its questions requires retrieving information from at least two Wikipedia pages

    Explanation

    HotPotQA is designed so that answering a question requires retrieval from at least two different Wikipedia pages, making it multi-step by design.

  18. 18

    What general test-time benefit did LATS demonstrate on multi-step reasoning tasks?

    1. A

      Sampling more trajectories and using reflection could improve performance

    2. B

      Fine-tuning was required before any test-time search could help

    3. C

      Avoiding feedback made additional computation more effective

    4. D

      Reducing all search to one trajectory consistently improved performance

    Correct answer
    A

    Sampling more trajectories and using reflection could improve performance

    Explanation

    The described results showed that increasing sampled trajectories could improve performance, and incorporating reflection provided additional gains.

  19. 19

    What did the WebShop example demonstrate about LATS?

    1. A

      It could use search only when the requested product was fully specified

    2. B

      It could solve shopping tasks only after being trained on each product

    3. C

      It could perform strongly on a multi-step shopping task without fine-tuning

    4. D

      It could plan purchases but could not interact with an environment

    Correct answer
    C

    It could perform strongly on a multi-step shopping task without fine-tuning

    Explanation

    The lecture described strong WebShop results, close to human experts in the example, using the approach at test time without fine-tuning.

  20. 20

    Which feature was presented as making LATS relatively portable?

    1. A

      Its modular, test-time approach

    2. B

      Its requirement for task-specific fine-tuning before use

    3. C

      Its reliance on one fixed benchmark's action set

    4. D

      Its removal of planning and environmental interaction

    Correct answer
    A

    Its modular, test-time approach

    Explanation

    The lecture characterized LATS as modular and relatively easy to create, which contributes to its portability.

  21. 21

    What practical drawback of LATS was identified?

    1. A

      Tree expansion and backpropagation can add substantial computational cost

    2. B

      Its value estimates cannot incorporate model judgments

    3. C

      Its actions must all be executed sequentially

    4. D

      Its search cannot use observations returned by the environment

    Correct answer
    A

    Tree expansion and backpropagation can add substantial computational cost

    Explanation

    Repeated expansion and backpropagation add cost, and the lecture noted that the paper did not thoroughly analyze the cost-benefit trade-off.

  22. 22

    Why may LATS be difficult to apply directly to an irreversible action such as making a payment?

    1. A

      Exploratory actions could have consequential effects that cannot easily be undone

    2. B

      Irreversible actions cannot produce observations for the model

    3. C

      A payment cannot be represented as a node in a search tree

    4. D

      The model would be unable to generate alternative plans beforehand

    Correct answer
    A

    Exploratory actions could have consequential effects that cannot easily be undone

    Explanation

    The lecture identified irreversible actions as a challenge because actually executing an exploratory action, such as paying for a service, can have serious consequences.

  23. 23

    What observation motivates SPRINT's attempt to parallelize reasoning?

    1. A

      Long reasoning traces always consist of redundant steps that can be removed

    2. B

      All subtasks in a reasoning trace depend on the immediately preceding subtask

    3. C

      Long reasoning traces can contain steps that are independent of one another

    4. D

      Reasoning models become less accurate whenever they generate more tokens

    Correct answer
    C

    Long reasoning traces can contain steps that are independent of one another

    Explanation

    SPRINT is motivated by the observation that some reasoning steps, such as alternative approaches or independent subtasks, do not need to be generated or executed sequentially.

  24. 24

    What relationship between reasoning length and accuracy was described as a motivation for SPRINT?

    1. A

      Longer responses necessarily reduce accuracy because they introduce more steps

    2. B

      Frontier reasoning models often think longer on harder problems, and longer thinking is associated with higher accuracy

    3. C

      Reasoning length has no observed relationship to accuracy during training

    4. D

      Frontier reasoning models always think less on harder problems, and shorter thinking is associated with higher accuracy

    Correct answer
    B

    Frontier reasoning models often think longer on harder problems, and longer thinking is associated with higher accuracy

    Explanation

    The lecture noted that reasoning models tend to think more on harder problems and that longer reasoning has been associated with higher accuracy.

  25. 25

    What are the two main roles in the SPRINT framework?

    1. A

      A judge that writes answers and a verifier that removes all tool use

    2. B

      A planner that executes every step and an executor that scores trajectories

    3. C

      A retriever that creates prompts and a decoder that selects final answers

    4. D

      A planner that creates plans and executors that carry out plan components

    Correct answer
    D

    A planner that creates plans and executors that carry out plan components

    Explanation

    SPRINT uses a planner to create plans and a set of executors that can carry out independent plans in parallel.

  26. 26

    How does SPRINT structure repeated planning and execution?

    1. A

      It performs a single planning stage and prohibits later revisions

    2. B

      It runs every plan sequentially and discards all execution results

    3. C

      It interleaves rounds of planning with parallel execution, then uses results in later rounds

    4. D

      It executes the full solution before generating any plans

    Correct answer
    C

    It interleaves rounds of planning with parallel execution, then uses results in later rounds

    Explanation

    SPRINT can repeat planning and execution: plans are created, independent executions run in parallel, and their results can inform the next planning round.

  27. 27

    How were reasoning steps initially annotated for SPRINT's training data?

    1. A

      A search engine grouped traces according to their final-answer length

    2. B

      A human evaluator removed every step that could run in parallel

    3. C

      An LLM examined reasoning traces and labeled their steps as planning or execution

    4. D

      A calculator executed each reasoning trace and labeled its numerical steps

    Correct answer
    C

    An LLM examined reasoning traces and labeled their steps as planning or execution

    Explanation

    An LLM was used to decompose reasoning traces into steps and annotate which parts represented planning and which represented execution.

  28. 28

    What does the directed acyclic graph (DAG) constructed for SPRINT's annotated steps represent?

    1. A

      The order in which tokens must be sampled by the language model

    2. B

      Which reasoning steps depend on other steps and which can proceed independently

    3. C

      The frequency with which each tool appears in a reasoning trace

    4. D

      The relative accuracy of different final answers in the training set

    Correct answer
    B

    Which reasoning steps depend on other steps and which can proceed independently

    Explanation

    The DAG represents dependencies among steps. Independent steps can be grouped for parallel execution, while dependent steps must respect their dependencies.

  29. 29

    If two steps in a SPRINT reasoning DAG both depend on step one but not on each other, how should they be scheduled?

    1. A

      Run one dependent step and permanently omit the other

    2. B

      Run all three steps in parallel before checking their dependencies

    3. C

      Run the two dependent steps first and use step one only for verification

    4. D

      Run step one first, then run the two dependent steps in parallel

    Correct answer
    D

    Run step one first, then run the two dependent steps in parallel

    Explanation

    Both steps must wait for their shared prerequisite, step one, but because they do not depend on each other, they can then run in parallel.

  30. 30

    How does SPRINT train a reasoning model to produce parallelizable traces?

    1. A

      It trains only on final answers and hides all intermediate reasoning

    2. B

      It uses supervised fine-tuning on traces annotated with plans and parallel executions

    3. C

      It runs reinforcement learning with live tools for every training example

    4. D

      It changes the model so it predicts several tokens simultaneously

    Correct answer
    B

    It uses supervised fine-tuning on traces annotated with plans and parallel executions

    Explanation

    SPRINT creates annotated, reformatted reasoning traces and uses supervised fine-tuning to teach the model to express planning and parallel execution.

  31. 31

    What does SPRINT change about inference-time execution while leaving the model's basic generation process intact?

    1. A

      The model stops generating intermediate plans and directly executes the final answer

    2. B

      The model generates all plans and execution results simultaneously in separate layers

    3. C

      The model predicts several next tokens at once rather than one token at a time

    4. D

      The model still generates tokens sequentially, but independent plans can be executed in parallel

    Correct answer
    D

    The model still generates tokens sequentially, but independent plans can be executed in parallel

    Explanation

    The model remains an autoregressive next-token generator. Once it has specified independent plans, their executions can be branched out and run in parallel.

  32. 32

    Why does SPRINT require a model to synthesize results after parallel executions?

    1. A

      The outputs are returned to the context so the model can integrate them before continuing

    2. B

      The executions replace the need for any later reasoning or final answer

    3. C

      Parallel outputs are guaranteed to be identical and need no interpretation

    4. D

      The model must select one output and permanently discard the others

    Correct answer
    A

    The outputs are returned to the context so the model can integrate them before continuing

    Explanation

    Execution results are returned to the model's context, where the model can use them in later planning and resolve any inconsistencies before answering.

  33. 33

    What pattern of planning was observed across the stages of SPRINT reasoning?

    1. A

      Parallelism increased uniformly at every stage until the reasoning ended

    2. B

      The model avoided planning early and generated all plans only in the final stage

    3. C

      The model used one plan early and expanded its alternatives only after reaching a final answer

    4. D

      More exploration and parallelism tended to occur early, followed by convergence toward fewer plans later

    Correct answer
    D

    More exploration and parallelism tended to occur early, followed by convergence toward fewer plans later

    Explanation

    The lecture described more exploration in early stages and a tendency to converge to fewer plans in later stages.

  34. 34

    What training setup was described for SPRINT?

    1. A

      It used only GPQA examples and trained a model solely on final answers

    2. B

      It generated about 50,000 WebShop trajectories and trained a 32B model with live tools

    3. C

      It generated HotPotQA trajectories and used no supervised fine-tuning

    4. D

      It generated about 6,000 MATH reasoning trajectories, selected those with greater parallelization, and fine-tuned a 7B model

    Correct answer
    D

    It generated about 6,000 MATH reasoning trajectories, selected those with greater parallelization, and fine-tuned a 7B model

    Explanation

    The described recipe generated 6,000 MATH trajectories, retained those with higher parallelization, and used supervised fine-tuning on DeepSeek-R1 Distill-Qwen-7B.

  35. 35

    What result was notable about SPRINT beyond its goal of reducing sequential token generation?

    1. A

      It reduced sequential tokens only by sacrificing accuracy

    2. B

      It eliminated the need to generate intermediate reasoning

    3. C

      The structured parallel-thinking training also improved accuracy

    4. D

      It improved accuracy only on the training set and not elsewhere

    Correct answer
    C

    The structured parallel-thinking training also improved accuracy

    Explanation

    Although SPRINT was designed to improve efficiency, the lecture reported that its structured way of thinking also increased accuracy.

  36. 36

    What did SPRINT's results on tasks not used for its MATH training suggest?

    1. A

      Training to think in parallel could generalize to other reasoning tasks

    2. B

      Parallel reasoning helped only when the model used the same math examples

    3. C

      The model needed task-specific fine-tuning for each evaluation benchmark

    4. D

      Out-of-domain performance declined whenever parallel plans were used

    Correct answer
    A

    Training to think in parallel could generalize to other reasoning tasks

    Explanation

    The lecture reported improvements on out-of-domain tasks such as Countdown and GPQA Diamond despite training on MATH, suggesting generalization.

  37. 37

    When is SPRINT likely to offer less benefit in reducing sequential tokens?

    1. A

      On tasks where several plans can use tools at the same time

    2. B

      On tasks with many independent steps and long reasoning traces

    3. C

      On tasks that benefit from iterative planning and execution

    4. D

      On tasks that require little reasoning and offer few opportunities for parallelism

    Correct answer
    D

    On tasks that require little reasoning and offer few opportunities for parallelism

    Explanation

    Tasks with short reasoning traces have less parallel work to exploit; the lecture noted that SPRINT can be less beneficial in such cases.

  38. 38

    Why can parallel execution still experience a bottleneck in SPRINT?

    1. A

      Parallel tasks must always be executed in a fixed sequential order

    2. B

      The framework requires all tasks to use the same tool

    3. C

      Independent tasks can take different amounts of time, leaving a slower task as a straggler

    4. D

      The model cannot return any result until every plan is regenerated

    Correct answer
    C

    Independent tasks can take different amounts of time, leaving a slower task as a straggler

    Explanation

    Independent tasks may have unequal execution times. A longer-running task can become a straggler, although parallel execution may still reduce total time compared with running tasks sequentially.

  39. 39

    What broad capability is SWiRL designed to teach a model?

    1. A

      How to produce a final answer without using intermediate reasoning or tools

    2. B

      How to call a fixed tool at every step regardless of the problem

    3. C

      How to imitate only successful trajectories from a single task domain

    4. D

      How to reason through multiple steps, choose and invoke tools, recover from errors, and know when to stop

    Correct answer
    D

    How to reason through multiple steps, choose and invoke tools, recover from errors, and know when to stop

    Explanation

    SWiRL aims to teach multi-step reasoning and tool use, including tool selection, query generation, error recovery, and stopping when ready to answer.

  40. 40

    Why does SWiRL seek to avoid using tools during its reinforcement-learning training process?

    1. A

      A model cannot learn to use a tool unless it has never seen one

    2. B

      Live tools can be slow, fail, or contain bugs, complicating and slowing training

    3. C

      Tool outputs cannot be represented in a language-model context

    4. D

      Tools provide no useful information for multi-step problem solving

    Correct answer
    B

    Live tools can be slow, fail, or contain bugs, complicating and slowing training

    Explanation

    The lecture notes that live tool use during training can be slow and unreliable, so SWiRL separates tool-based data creation from the RL fine-tuning process.

  41. 41

    What difficulty arises as reasoning and tool use extend across multiple steps?

    1. A

      Tool use becomes unnecessary once the first step is complete

    2. B

      Each additional step automatically corrects every earlier error

    3. C

      Errors and complications can compound from one step to the next

    4. D

      The model becomes unable to use feedback from previous steps

    Correct answer
    C

    Errors and complications can compound from one step to the next

    Explanation

    Multi-step tasks can compound errors and complications across their reasoning and tool-use steps, making process quality important.

  42. 42

    How does SWiRL construct synthetic multi-step trajectories?

    1. A

      It provides only the final answer and asks the model to infer all missing steps

    2. B

      It runs one tool call per prompt and prevents the model from taking further actions

    3. C

      It generates all possible tool calls before giving the model the original question

    4. D

      It repeatedly prompts the model with the original question, prior actions, and environment responses

    Correct answer
    D

    It repeatedly prompts the model with the original question, prior actions, and environment responses

    Explanation

    SWiRL iteratively gives the model the original prompt together with the earlier action and its environment response, allowing it to take another step or answer.

  43. 43

    At each step of SWiRL's synthetic-data generation, what choices can the model be allowed to make?

    1. A

      Repeat the previous action without seeing its environment response

    2. B

      Choose a final answer only, without proposing intermediate actions

    3. C

      Reason further, call a tool, or produce a final answer

    4. D

      Call every available tool before producing any reasoning

    Correct answer
    C

    Reason further, call a tool, or produce a final answer

    Explanation

    The model is told that it may reason, call a tool, or propose a final answer at each step.

  44. 44

    What does the LLM-as-a-judge score in SWiRL's data-generation process?

    1. A

      The number of tokens required to reproduce the entire trajectory

    2. B

      The similarity between a query and a human-written final answer

    3. C

      The true accuracy of every tool's external result after live execution

    4. D

      The quality of a step or proposed action given the prior context

    Correct answer
    D

    The quality of a step or proposed action given the prior context

    Explanation

    The judge assigns a score based on the prior context and the current reasoning step or proposed tool action, providing process-level feedback.

  45. 45

    Why can SWiRL's judge score a proposed search query without seeing the search result?

    1. A

      The query itself contains the final answer to the original question

    2. B

      The judge evaluates whether the query is appropriate for the task, not whether the unseen result is correct

    3. C

      The judge ignores the current action and scores only the original prompt

    4. D

      The judge is given the tool's answer from a live search during RL training

    Correct answer
    B

    The judge evaluates whether the query is appropriate for the task, not whether the unseen result is correct

    Explanation

    The judge evaluates the quality of the proposed action, such as whether searching for a person's age is a reasonable query, rather than evaluating the tool's unseen output.

  46. 46

    Which description correctly distinguishes process filtering from outcome filtering in SWiRL?

    1. A

      Process filtering removes every tool call; outcome filtering removes every reasoning step

    2. B

      Process filtering ranks answer length; outcome filtering ranks query frequency

    3. C

      Process filtering keeps only correct final answers; outcome filtering keeps only high-scoring steps

    4. D

      Process filtering keeps trajectories with good judged steps; outcome filtering keeps trajectories with correct final answers

    Correct answer
    D

    Process filtering keeps trajectories with good judged steps; outcome filtering keeps trajectories with correct final answers

    Explanation

    Process filtering is based on whether individual steps are judged good, while outcome filtering selects trajectories based on whether the final answer is correct.

  47. 47

    How are tool calls handled during SWiRL reinforcement-learning fine-tuning?

    1. A

      Tool calls are removed from the synthetic data before the model is trained

    2. B

      Every proposed tool call is executed live during RL, and its result is the only reward

    3. C

      Tool calls and their responses are collected offline; during RL, the model proposes the next action without executing it live

    4. D

      The model executes tools only after it has generated its final answer

    Correct answer
    C

    Tool calls and their responses are collected offline; during RL, the model proposes the next action without executing it live

    Explanation

    Tool calls and environment responses are gathered during offline data creation. During RL fine-tuning, the model generates a next action and receives a reward without a live tool execution.

  48. 48

    What is the basic unit being optimized in SWiRL's multi-step RL objective?

    1. A

      The average accuracy of all tools available to the model

    2. B

      The total token count of the full trajectory without regard to context

    3. C

      The expected reward for an action given the states and actions accumulated so far

    4. D

      The reward of the final answer alone, independent of earlier actions

    Correct answer
    C

    The expected reward for an action given the states and actions accumulated so far

    Explanation

    SWiRL optimizes the expected reward of an action conditioned on the context accumulated from prior states and actions.

  49. 49

    During SWiRL inference, what happens after the model emits a tool call?

    1. A

      The tool is executed, its result is returned to the model, and the model is prompted to take the next step

    2. B

      The tool call is scored and discarded without execution

    3. C

      The model immediately outputs a final answer without receiving the tool result

    4. D

      The model restarts from the original prompt with no prior context

    Correct answer
    A

    The tool is executed, its result is returned to the model, and the model is prompted to take the next step

    Explanation

    At inference time, the tool call is executed, its output is provided to the model, and the model uses the accumulated context to continue or answer.

  50. 50

    Which datasets and model were described for creating SWiRL's synthetic training data?

    1. A

      Gemma-2-27B generated data from HotPotQA and GSM8K questions

    2. B

      GPT-4o generated data only from GPQA Diamond questions

    3. C

      DeepSeek-R1 generated data only from WebShop shopping requests

    4. D

      Gemma-2-27B generated data only from the MATH benchmark

    Correct answer
    A

    Gemma-2-27B generated data from HotPotQA and GSM8K questions

    Explanation

    The experimental setup used Gemma-2-27B to create multi-step synthetic data from HotPotQA and GSM8K questions.

  51. 51

    Which statement best describes a generalization result reported for SWiRL?

    1. A

      Training on math prevented the model from answering retrieval questions

    2. B

      The model generalized only when training and testing prompts were identical

    3. C

      Training with one task and tool could improve performance on another task using a different tool

    4. D

      Training with a tool improved performance only when that same tool was used at test time

    Correct answer
    C

    Training with one task and tool could improve performance on another task using a different tool

    Explanation

    The lecture described transfer between GSM8K with a calculator-like tool and HotPotQA with search, suggesting gains beyond learning one specific tool.

  52. 52

    Why might process-filtered data help SWiRL more than data selected only for correct final outcomes?

    1. A

      Good intermediate steps can teach useful behavior even when the original trajectory's final answer was wrong

    2. B

      Outcome filtering removes all information about tool use from a trajectory

    3. C

      Process filtering guarantees that every trajectory has the correct final answer

    4. D

      Incorrect outcomes always provide better supervision than correct outcomes

    Correct answer
    A

    Good intermediate steps can teach useful behavior even when the original trajectory's final answer was wrong

    Explanation

    A trajectory can contain useful, correctly judged steps even if its final answer is wrong. Training from such process-filtered examples may teach behaviors that help solve new problems.

  53. 53

    Why did supervised fine-tuning benefit more from trajectories filtered for both process and outcome correctness?

    1. A

      It does not use the reasoning or tool-use steps in its training data

    2. B

      It requires that all training examples contain no intermediate actions

    3. C

      It imitates demonstrated trajectories, so incorrect outcomes may teach undesirable behavior

    4. D

      It optimizes each new action using a fresh reward regardless of the example

    Correct answer
    C

    It imitates demonstrated trajectories, so incorrect outcomes may teach undesirable behavior

    Explanation

    Supervised fine-tuning imitates the demonstrations, so incorrect outcomes can be harmful. The lecture reported that process- and outcome-correct data worked better for this method.

  54. 54

    What did increasing the amount of SWiRL synthetic training data suggest?

    1. A

      More examples could improve performance even on a different task or domain

    2. B

      More examples helped only when tools were run during RL training

    3. C

      Performance peaked at the smallest dataset and declined as data increased

    4. D

      Additional examples helped only on the exact prompts used to create them

    Correct answer
    A

    More examples could improve performance even on a different task or domain

    Explanation

    The lecture described out-of-domain gains increasing as the synthetic dataset grew, including improvements on math tasks after training with HotPotQA data.

  55. 55

    What change in the model's reasoning process was observed after SWiRL fine-tuning?

    1. A

      Its final answers improved while its intermediate steps became less reliable

    2. B

      Its process correctness improved only when the original tool was available

    3. C

      Its judged process correctness improved both in-domain and out-of-domain

    4. D

      Its reasoning process remained unchanged despite improved final accuracy

    Correct answer
    C

    Its judged process correctness improved both in-domain and out-of-domain

    Explanation

    The reported analysis found improved process correctness on both training-domain and out-of-distribution tasks.

  56. 56

    How did multi-step reinforcement learning compare with supervised fine-tuning in the described SWiRL results?

    1. A

      Supervised fine-tuning consistently outperformed multi-step RL

    2. B

      Multi-step RL performed better by a notable margin

    3. C

      Multi-step RL worked only when supervised fine-tuning was omitted from training data

    4. D

      The two methods performed identically across the reported comparisons

    Correct answer
    B

    Multi-step RL performed better by a notable margin

    Explanation

    The lecture reported that multi-step RL outperformed supervised fine-tuning by a good amount in the comparisons described.

  57. 57

    What is the broader implication of SWiRL's transfer across tasks and tools?

    1. A

      A model can use a new tool only after being trained on its exact outputs

    2. B

      Multi-step reasoning transfers only between tasks with the same subject matter

    3. C

      Generalization depends on using identical tools for training and evaluation

    4. D

      Training may teach general multi-step reasoning and tool-invocation behavior, not merely one tool's use

    Correct answer
    D

    Training may teach general multi-step reasoning and tool-invocation behavior, not merely one tool's use

    Explanation

    Transfer across datasets and tools suggests that the model can learn broader behaviors for reasoning in steps and invoking tools, rather than only memorizing a specific tool.

Question 1 of 57
Question 1 of 57

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent