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

  • 79Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: LATs Foundations
In multi-step tasks, a language model must reason, act, and search or optimize its
toward a correct answer.

79 questions

  1. 1
    In multi-step tasks, a language model must reason, act, and search or optimize its
    _____
    toward a correct answer.
    Hint

    Think of the sequence of paths the model takes through a task.

    Answer

    trajectories

  2. 2
    When planning a trip, reasoning includes considering constraints such as the
    _____
    and deciding what the plan should be.
    Hint

    This is a financial constraint that can shape a vacation plan.

    Answer

    budget

  3. 3
    In LATs, an example of an information-gathering action is
    _____
    the web for travel information.
    Hint

    This action can involve searching queries, Reddit, or travel blogs.

    Answer

    browsing

  4. 4
    After receiving feedback or online information, the model uses the search step to
    _____
    its current plan.
    Hint

    The plan is adjusted using what has been learned so far.

    Answer

    refine

  5. 5
    A key goal of LATs is to encourage the model to explore a diverse range of plans or
    _____
    rather than generate and execute only one plan.
    Hint

    These are different routes the model might take toward a solution.

    Answer

    paths

  6. 6
    LATs brings techniques from reinforcement learning and multi-step planning, including Monte Carlo
    _____
    search, into language-model reasoning.
    Hint

    This search method is commonly abbreviated MCTS.

    Answer

    tree

  7. 7
    LATs uses feedback from the environment to refine future plans and
    _____
    processes.
    Hint

    This is the process of exploring possible trajectories.

    Answer

    search

  8. 8
    Unlike Math-Shepherd, which guides search using a verifier's scores on reasoning trajectories, LATs scores the
    _____
    of the model's actions.
    Hint

    These are what happens after actions are taken in the environment.

    Answer

    outcomes

  9. 9
    LATs extends ideas from ReAct by incorporating reflection, interaction with the environment, and more explicit
    _____
    .
    Hint

    This is the process of organizing future steps toward a goal.

    Answer

    planning

  10. 10
    LATs has six stages: selection, expansion, evaluation, simulation, back propagation, and
    _____
    .
    Hint

    The final stage considers what happened during the trajectory.

    Answer

    reflection

  11. 11
    In LATs, chain of thought represents reasoning as a sequence of
    _____
    .
    Hint

    These are the smaller parts into which a reasoning process is decomposed.

    Answer

    steps

  12. 12
    Different actions stemming from the same state in LATs can be executed in
    _____
    .
    Hint

    This means carrying out multiple actions at the same time.

    Answer

    parallel

  13. 13
    During LATs selection, the method chooses a node to expand using
    _____
    .
    Hint

    This tree-search rule balances exploration and exploitation.

    Answer

    UCT

  14. 14
    During expansion from a selected state, the model generates several candidate
    _____
    .
    Hint

    These are possible things the agent can do next, such as opening a door.

    Answer

    actions

  15. 15
    After a candidate action is executed, the resulting environmental
    _____
    is appended to the model's context.
    Hint

    This is what the agent learns from the environment after acting.

    Answer

    observation

  16. 16
    One component of LATs state evaluation asks an LLM-as-a-Judge to rate how promising a state is on a scale from
    _____
    to 1.
    Hint

    The judge uses the lower endpoint of a scale running from this value to one.

    Answer

    0

  17. 17
    LATs combines the judge's estimate with a
    _____
    score based on how frequently an action was sampled.
    Hint

    This score reflects how often the same action appears among sampled actions.

    Answer

    self-consistency

  18. 18
    If an action appears in 75% of sampled actions, its self-consistency score reflects that
    _____
    .
    Hint

    This is the rate at which the action was sampled.

    Answer

    frequency

  19. 19
    In the maze example, the score for a state is created by adding the LLM judge score and the
    _____
    score.
    Hint

    This second score reflects repeated sampling of an action.

    Answer

    self-consistency

  20. 20
    In a greedy simulation, LATs continues expanding the state with the
    _____
    score among the candidates.
    Hint

    A greedy choice selects the best-scoring option available at that moment.

    Answer

    highest

  21. 21
    Simulation continues until the trajectory reaches an end state or the expansion
    _____
    is reached.
    Hint

    This is the available allowance for continuing the search.

    Answer

    budget

  22. 22
    UCT balances exploitation, represented by the state value V(s)V(s)V(s), with a term that encourages
    _____
    .
    Hint

    This encourages trying less-visited alternatives rather than always choosing the current favorite.

    Answer

    exploration

  23. 23
    Relative to other children of the same parent, a less-visited node receives greater encouragement for
    _____
    .
    Hint

    UCT favors giving more attention to options that have been tried less often.

    Answer

    visiting

  24. 24
    After a trajectory succeeds or fails, its return is used to update state values through
    _____
    .
    Hint

    This stage carries information from the end of a trajectory back through earlier steps.

    Answer

    back propagation

  25. 25
    The updated value of a state combines its old value, its visit count, and the new trajectory's
    _____
    .
    Hint

    This is the outcome signal from the completed trajectory.

    Answer

    return

  26. 26
    After back propagation, LATs has the model reflect on what led to a trajectory's success or
    _____
    .
    Hint

    This is the unsuccessful outcome the reflection may explain.

    Answer

    failure

  27. 27
    One limitation discussed for LATs is the high computational
    _____
    added by repeated tree expansion and back propagation.
    Hint

    This is the resource burden of performing many search steps.

    Answer

    cost

  28. 28
    LATs may be difficult to apply when an action is
    _____
    and cannot easily be undone.
    Hint

    A consequential transaction is an example of this kind of action.

    Answer

    irreversible

  29. 29
    HotPotQA requires retrieval from at least two different
    _____
    pages to answer each question.
    Hint

    These pages come from the online encyclopedia used in the dataset.

    Answer

    Wikipedia

  30. 30
    On WebShop, LATs achieved strong results at test time without any
    _____
    .
    Hint

    The method was evaluated without additional model training on the task.

    Answer

    fine tuning

  31. 31
    A tree representation assumes repeated actions are counted within their parent-node context rather than represented as a fully connected
    _____
    .
    Hint

    Unlike a tree, this structure can connect nodes through multiple paths.

    Answer

    graph

  32. 32
    The lecture describes UCT as one way to balance exploration and exploitation, while other methods from multi-armed bandit learning could also be
    _____
    .
    Hint

    The paper offers a platform where alternative optimization approaches may be investigated.

    Answer

    explored

  33. 33
    SPRINT is motivated by the observation that harder problems often cause reasoning models to think
    _____
    .
    Hint

    The models tend to produce longer reasoning traces as problem difficulty rises.

    Answer

    more

  34. 34
    In the training illustration discussed, increases in reasoning-trace length correlate with higher problem-solving
    _____
    .
    Hint

    This is the measure of how often the model solves problems correctly.

    Answer

    accuracy

  35. 35
    SPRINT seeks to exploit reasoning steps that are
    _____
    of one another and therefore need not be generated sequentially.
    Hint

    These steps do not rely on each other's results.

    Answer

    independent

  36. 36
    SPRINT uses a model as a
    _____
    to produce plans and a set of executors to carry them out.
    Hint

    This role decides how to approach solving the problem.

    Answer

    planner

  37. 37
    SPRINT accelerates reasoning by interleaving planning with parallel
    _____
    .
    Hint

    Plans are carried out during this part of the process.

    Answer

    execution

  38. 38
    To annotate reasoning traces for SPRINT, GPT-4o was used to label which portions were planning and which were
    _____
    .
    Hint

    These portions carry out the work specified by a plan.

    Answer

    execution

  39. 39
    SPRINT represents dependencies among annotated reasoning steps with a directed acyclic
    _____
    .
    Hint

    This structure indicates which steps depend on others without forming cycles.

    Answer

    graph

  40. 40
    If two SPRINT steps do not depend on each other but both depend on an earlier step, they can be packed to run in
    _____
    .
    Hint

    They can be carried out at the same time after their shared prerequisite.

    Answer

    parallel

  41. 41
    SPRINT teaches a reasoning model to emit special tags that distinguish plans from their
    _____
    .
    Hint

    These are the actions or operations performed according to a plan.

    Answer

    executions

  42. 42
    At inference, SPRINT can send a plan's calculation to a tool such as a Python-based
    _____
    .
    Hint

    This tool performs mathematical computations.

    Answer

    calculator

  43. 43
    SPRINT's planner can revise an existing plan because the model retains the preceding
    _____
    in its context.
    Hint

    This includes what has happened in earlier planning and execution steps.

    Answer

    context

  44. 44
    SPRINT reduces the number of sequentially generated tokens by allowing independent plan executions to happen at the same
    _____
    .
    Hint

    Parallel work takes place simultaneously rather than one task after another.

    Answer

    time

  45. 45
    The SPRINT training recipe generated 6,000 reasoning trajectories using the
    _____
    dataset.
    Hint

    This dataset contains mathematical problems.

    Answer

    MATH

  46. 46
    After generating trajectories, the SPRINT recipe retained examples with higher
    _____
    before supervised fine tuning.
    Hint

    This describes how much of the reasoning can be performed concurrently.

    Answer

    parallelization

  47. 47
    The model fine-tuned in the described SPRINT recipe was DeepSeek-R1 Distill-Qwen-
    _____
    .
    Hint

    This is the model's parameter-scale label given in the recipe.

    Answer

    7B

  48. 48
    Although SPRINT was designed to maximize parallelism, the structured reasoning also improved model
    _____
    .
    Hint

    This is the model's ability to produce correct answers.

    Answer

    accuracy

  49. 49
    Training SPRINT on MATH showed
    _____
    -of-domain improvement on tasks such as Countdown and GPQA Diamond.
    Hint

    The model's improvement transferred beyond the dataset used for training.

    Answer

    out

  50. 50
    In SPRINT, exploration and the number of parallel plans tend to be greater in the
    _____
    stages of reasoning.
    Hint

    This is before the model converges toward a focused solution.

    Answer

    early

  51. 51
    For simple independent tasks, SPRINT may merge execution into the plan to create larger parallel
    _____
    .
    Hint

    These are grouped units of work that can be run together.

    Answer

    chunks

  52. 52
    SPRINT can still face a
    _____
    when one parallel task takes much longer than the others.
    Hint

    This is a slow task that delays completion of a group of concurrent tasks.

    Answer

    straggler

  53. 53
    The amount of parallelism SPRINT can exploit depends on the
    _____
    because some problems are inherently more parallel than others.
    Hint

    Different problem types offer different opportunities for concurrent work.

    Answer

    task

  54. 54
    SWiRL targets real-world tasks that combine multi-step reasoning with
    _____
    use.
    Hint

    Examples include using a calculator, Python, or a search engine.

    Answer

    tool

  55. 55
    A central challenge in multi-step reasoning is that errors and complications can
    _____
    across steps.
    Hint

    Small problems can accumulate and grow as the process continues.

    Answer

    compound

  56. 56
    SWiRL aims to teach the model when to call a tool, generate suitable queries, maintain accuracy, and recover from an
    _____
    .
    Hint

    This is something the model should learn to correct during a multi-step process.

    Answer

    error

  57. 57
    SWiRL also aims to teach the model when to stop taking steps and produce a
    _____
    answer.
    Hint

    This is the response given once the model has enough information.

    Answer

    final

  58. 58
    SWiRL avoids executing tools during the RL training process because tools can be slow, fail, or have
    _____
    .
    Hint

    These are defects that can cause software or tools to behave incorrectly.

    Answer

    bugs

  59. 59
    SWiRL first creates synthetic multi-step data by prompting a model to take one
    _____
    at a time.
    Hint

    Each interaction is generated iteratively rather than all at once.

    Answer

    step

  60. 60
    At each SWiRL data-generation step, the model may reason, call a tool, or propose a
    _____
    answer.
    Hint

    The model can choose this when it is ready to stop.

    Answer

    final

  61. 61
    After each action during synthetic data generation, the model receives the
    _____
    response.
    Hint

    This is the result of carrying out an action or tool call.

    Answer

    environment

  62. 62
    SWiRL uses an LLM-as-a-Judge to assign a reward estimate to each step based on prior context and the current
    _____
    .
    Hint

    This can be a reasoning step followed by a tool call.

    Answer

    action

  63. 63
    The SWiRL judge evaluates the quality of a proposed tool query without needing to see the tool's
    _____
    .
    Hint

    The method scores the proposed query itself rather than what the tool returns.

    Answer

    output

  64. 64
    SWiRL data can be process-filtered by keeping trajectories whose individual steps are judged to be
    _____
    .
    Hint

    This filter evaluates step quality rather than requiring a correct final outcome.

    Answer

    good

  65. 65
    Outcome filtering keeps trajectories whose
    _____
    answer is correct, regardless of individual step labels.
    Hint

    This is the answer at the end of the trajectory.

    Answer

    final

  66. 66
    In SWiRL reinforcement learning, the model is prompted with the trajectory up to a step and asked to produce the next
    _____
    .
    Hint

    This is the decision being optimized at the current point in the process.

    Answer

    action

  67. 67
    During SWiRL reinforcement learning, newly generated tool calls are not executed; tool calls are collected during offline data
    _____
    .
    Hint

    This is the earlier stage in which the synthetic trajectories and tool results are prepared.

    Answer

    annotation

  68. 68
    SWiRL optimizes the expected reward of an action conditioned on the
    _____
    states and actions in the trajectory.
    Hint

    These are the steps that occurred before the current action.

    Answer

    prior

  69. 69
    At inference, SWiRL uses tags to distinguish a tool call from the model's final
    _____
    .
    Hint

    This is the response the model gives when it is ready to finish.

    Answer

    answer

  70. 70
    The described SWiRL synthetic data was generated using Gemma-2-27B and questions from HotPotQA and
    _____
    .
    Hint

    This is a dataset of grade-school math word problems.

    Answer

    GSM8k

  71. 71
    In the reported cross-domain experiment, training on GSM8k and testing on HotPotQA improved accuracy from 65 to
    _____
    .
    Hint

    This is the reported score after training on GSM8k.

    Answer

    71

  72. 72
    In the reported HotPotQA-trained experiment, accuracy on that task increased from 65 to
    _____
    .
    Hint

    This is the score reported when training and testing on HotPotQA.

    Answer

    73

  73. 73
    The SWiRL results suggest that training transfers beyond a particular tool because the model learns multi-step
    _____
    and how to invoke tools.
    Hint

    This is the broader reasoning behavior that can generalize across tasks.

    Answer

    thinking

  74. 74
    Increasing the amount of synthetic HotPotQA training data also improved performance on separate
    _____
    problems.
    Hint

    These problems involve mathematical reasoning and were outside the HotPotQA training task.

    Answer

    MATH

  75. 75
    After SWiRL fine tuning, the model's process correctness improved both in-distribution and
    _____
    -of-distribution.
    Hint

    This refers to data outside the training distribution.

    Answer

    out

  76. 76
    Compared with supervised fine tuning, multi-step
    _____
    achieved better results in the reported experiments.
    Hint

    This training approach optimizes rewards for actions rather than simply imitating trajectories.

    Answer

    RL

  77. 77
    For supervised fine tuning, training data filtered for both process and outcome correctness worked better than data selected only by process
    _____
    .
    Hint

    This selection method keeps examples based on the quality of individual steps.

    Answer

    filtering

  78. 78
    Process-filtered data can help RL because the model gets a new chance to choose an action within the prior
    _____
    .
    Hint

    These earlier parts of the trajectory provide context for the next decision.

    Answer

    steps

  79. 79
    The SWiRL findings indicate that adding more synthetic data can improve performance both in-domain and
    _____
    -of-domain.
    Hint

    This describes transfer to tasks outside the training domain.

    Answer

    out

1 of 79
Question 1 of 79

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent