1. Home
  2. Explore
  3. Computer Science
  4. Reasoning and Search with Deep Nets

Study methods

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

Reasoning and Search with Deep Nets

  • 56Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Learning and Reasoning

What is the central difference between learning and reasoning in the framework described?

56 questions

  1. 1

    What is the central difference between learning and reasoning in the framework described?

    1. A

      Learning searches possible outputs, while reasoning collects examples to train a base model.

    2. B

      Learning estimates a distribution from data, while reasoning uses a model to select a decision or prediction.

    3. C

      Learning updates a model at deployment, while reasoning is limited to pre-training.

    4. D

      Learning selects a decision from a model, while reasoning estimates a distribution from data.

    Correct answer
    B

    Learning estimates a distribution from data, while reasoning uses a model to select a decision or prediction.

    Explanation

    Learning is described as fitting a model to a data distribution. Reasoning uses that model to identify a best answer, decision, or prediction.

  2. 2

    How does pre-training typically create a base language model?

    1. A

      It trains the model to follow user-provided context without learning from text data.

    2. B

      It trains the model to predict the next token from preceding tokens in a large text corpus.

    3. C

      It trains the model to search a decision tree of possible user questions and responses.

    4. D

      It trains the model to select the highest-reward answer from a verifier's candidate list.

    Correct answer
    B

    It trains the model to predict the next token from preceding tokens in a large text corpus.

    Explanation

    Pre-training commonly fits a language model to a large text corpus by teaching it to predict the next token given the previous tokens.

  3. 3

    Why can the term “inference” cause confusion when discussing these systems?

    1. A

      It always refers to deployment, but different fields use different names for pre-training.

    2. B

      In statistics, it means searching a decision tree, while in machine learning it means generating training data.

    3. C

      In statistics, it can mean estimating a model from data, while in other usage it can mean finding an answer using a model.

    4. D

      It always refers to fine-tuning, but some researchers use it to describe evaluation.

    Correct answer
    C

    In statistics, it can mean estimating a model from data, while in other usage it can mean finding an answer using a model.

    Explanation

    The lecture notes that statistical inference can refer to going from data to a model, while other terminology uses inference for reasoning from a model to a prediction. The word is overloaded.

  4. 4

    Why might a language model trained to predict internet text produce an answer that is plausible but not necessarily correct?

    1. A

      Its training objective models what text is likely to follow, rather than directly selecting the most accurate answer.

    2. B

      Its training objective searches for verified solutions, but the verifier may be unavailable online.

    3. C

      Its training objective excludes common language patterns, so it fills gaps with arbitrary facts.

    4. D

      Its training objective requires it to reproduce only expert answers, but deployment adds random noise.

    Correct answer
    A

    Its training objective models what text is likely to follow, rather than directly selecting the most accurate answer.

    Explanation

    Next-token training learns patterns in the text distribution, including how people commonly respond. That objective does not itself guarantee that a response is accurate or unbiased.

  5. 5

    What was the simplified deployment procedure described for many deep-learning systems around 2020?

    1. A

      Generate many complete responses, verify each one, and fine-tune on the best response.

    2. B

      Make a forward pass, sample the next token, and repeat to generate a response.

    3. C

      Construct a full search tree of responses and ask a neural network to score every leaf.

    4. D

      Run gradient descent over the user's question until the model produces a preferred answer.

    Correct answer
    B

    Make a forward pass, sample the next token, and repeat to generate a response.

    Explanation

    The lecture characterizes the earlier deployment process as repeatedly predicting and sampling the next token in an autoregressive model.

  6. 6

    Which sequence best represents the model-development and use pipeline described?

    1. A

      Search over responses, deploy the winning response, then pre-train a base model from user feedback.

    2. B

      Fine-tune a verifier, use it to create a corpus, then replace the language model with a search tree.

    3. C

      Pre-train a base model, adapt it through methods such as fine-tuning, then deploy it with prompting and possibly search.

    4. D

      Prompt a model, use its answers as the original corpus, then apply verification before pre-training.

    Correct answer
    C

    Pre-train a base model, adapt it through methods such as fine-tuning, then deploy it with prompting and possibly search.

    Explanation

    The described pipeline begins with pre-training, may include adaptation such as fine-tuning, and then uses the model at deployment through prompts, context, and potentially search.

  7. 7

    What distinguishes in-context learning from fine-tuning in the lecture's description?

    1. A

      In-context learning supplies guidance at test time, while fine-tuning updates the model using training.

    2. B

      In-context learning updates model weights during pre-training, while fine-tuning only changes the prompt.

    3. C

      In-context learning is limited to images, while fine-tuning is limited to language.

    4. D

      In-context learning searches over candidate answers, while fine-tuning verifies their correctness.

    Correct answer
    A

    In-context learning supplies guidance at test time, while fine-tuning updates the model using training.

    Explanation

    In-context learning provides context at deployment or test time to influence behavior; fine-tuning adapts the model through training.

  8. 8

    What are the two scaling approaches contrasted in the lecture?

    1. A

      Improve performance by reducing the training corpus and limiting test-time computation.

    2. B

      Improve performance by training on more data and compute, or by doing more search at test time.

    3. C

      Improve performance by using larger search trees only during training, or smaller models at deployment.

    4. D

      Improve performance by replacing language models with verifiers, or by removing prompts.

    Correct answer
    B

    Improve performance by training on more data and compute, or by doing more search at test time.

    Explanation

    The lecture contrasts learning scaling, which uses more training-time data and compute, with search scaling, which uses more test-time computation or thinking.

  9. 9

    What does the “bitter lesson” suggest about approaches that have driven much AI progress?

    1. A

      Carefully hand-coded rules are more reliable than methods that scale with data and compute.

    2. B

      Simple methods that scale with data and compute can outperform highly engineered, clever methods.

    3. C

      Search is useful only when learning has failed to represent the training data.

    4. D

      The best approach is to prevent models from using more computation at training or test time.

    Correct answer
    B

    Simple methods that scale with data and compute can outperform highly engineered, clever methods.

    Explanation

    The lecture invokes the bitter lesson to emphasize that simple approaches capable of scaling with data and computation have repeatedly driven progress.

  10. 10

    How does reinforcement learning connect learning and search in the lecture's framework?

    1. A

      Training and search remain separate because reinforcement learning uses neither model updates nor rewards.

    2. B

      Search estimates the data distribution, while training selects a single answer without feedback.

    3. C

      Training finds promising behavior, and search prevents the model from producing it again.

    4. D

      Search finds promising behavior, and training updates the model to produce that behavior more often.

    Correct answer
    D

    Search finds promising behavior, and training updates the model to produce that behavior more often.

    Explanation

    Reinforcement learning is presented as a loop in which search finds good solutions and learning reinforces them in the model.

  11. 11

    What is search in the general sense used in the lecture?

    1. A

      Finding an output that maximizes a score for a given input.

    2. B

      Updating a model so that it predicts the next token more accurately.

    3. C

      Estimating the probability distribution that generated a training corpus.

    4. D

      Providing examples in a prompt so a model follows a desired style.

    Correct answer
    A

    Finding an output that maximizes a score for a given input.

    Explanation

    Search is described generally as taking an input and finding an output that maximizes a scoring function, which need not be a probability.

  12. 12

    How did Deep Blue use search to play chess?

    1. A

      It generated one move at a time by predicting the next move in a large text corpus.

    2. B

      It sampled many complete games and selected the one with the most probable sequence of moves.

    3. C

      It explored possible sequences of moves and selected an initial move based on the outcomes of those paths.

    4. D

      It trained a neural network on human explanations and copied the most common move.

    Correct answer
    C

    It explored possible sequences of moves and selected an initial move based on the outcomes of those paths.

    Explanation

    Deep Blue searched ahead through possible moves and responses, then chose a move based on the resulting paths through the game tree.

  13. 13

    What role did a neural network play in the AlphaGo search procedure described?

    1. A

      It replaced the search tree by directly outputting every move in the game.

    2. B

      It generated the training data by predicting the next token in game records.

    3. C

      It verified that each possible sequence of moves followed chess rules.

    4. D

      It evaluated leaf positions reached by the search tree as good or bad.

    Correct answer
    D

    It evaluated leaf positions reached by the search tree as good or bad.

    Explanation

    AlphaGo combined learning and search: after exploring possible moves, a neural network evaluated positions at the leaves of the search tree.

  14. 14

    Why does choosing the most probable next token at every step not necessarily produce the most probable complete response?

    1. A

      The probability model assigns no probabilities to complete sequences, only to individual tokens.

    2. B

      A complete response is most probable only when every token is selected randomly.

    3. C

      A locally best token at one step can lead to a continuation that makes the full sequence less probable than another path.

    4. D

      The next-token probabilities are independent of all earlier tokens, so later choices cannot affect the result.

    Correct answer
    C

    A locally best token at one step can lead to a continuation that makes the full sequence less probable than another path.

    Explanation

    The probability of a complete sequence depends on the sequence of conditional token probabilities. Greedily maximizing each next-token choice does not guarantee the highest-probability overall sequence.

  15. 15

    How does best-of-nnn sampling select an answer?

    1. A

      It expands a single candidate into a tree and keeps only the highest-scoring partial path at each depth.

    2. B

      It generates multiple complete candidates, scores their likelihoods, and returns the highest-scoring candidate.

    3. C

      It averages the wording of nnn candidates to create a new response.

    4. D

      It selects the most likely next token at each of nnn positions in a single response.

    Correct answer
    B

    It generates multiple complete candidates, scores their likelihoods, and returns the highest-scoring candidate.

    Explanation

    Best-of-nnn sampling generates multiple responses, evaluates them under a model or scoring function, and chooses the best-scoring one.

  16. 16

    What makes beam search different from generating independent complete samples?

    1. A

      It generates exactly one complete sequence and changes only its final token.

    2. B

      It expands promising partial sequences in a tree and focuses further exploration on high-scoring paths.

    3. C

      It searches only continuous latent variables rather than possible word sequences.

    4. D

      It compares candidate answers using human feedback but does not use model scores.

    Correct answer
    B

    It expands promising partial sequences in a tree and focuses further exploration on high-scoring paths.

    Explanation

    Beam search constructs a tree of possible continuations and expands promising paths rather than sampling only independent complete strings.

  17. 17

    In an autoregressive language model, how is the probability of a sequence of tokens represented?

    1. A

      As the probability of the final token alone, since it summarizes the earlier tokens.

    2. B

      As an average of the probabilities assigned to all possible sequences.

    3. C

      As a sum of independent probabilities, with each token unrelated to preceding tokens.

    4. D

      As a product of conditional probabilities, with each token conditioned on the preceding tokens.

    Correct answer
    D

    As a product of conditional probabilities, with each token conditioned on the preceding tokens.

    Explanation

    An autoregressive model represents a sequence probability as successive conditional probabilities, each conditioned on the tokens that came before it.

  18. 18

    Why does beam search expand only selected paths rather than every possible continuation?

    1. A

      It avoids evaluating any partial sequence until the entire tree has been generated.

    2. B

      It ensures that the final answer is the most common response in the training corpus.

    3. C

      It concentrates computation on paths with high likelihood instead of exploring the entire tree.

    4. D

      It guarantees that every path in the full tree has the same probability.

    Correct answer
    C

    It concentrates computation on paths with high likelihood instead of exploring the entire tree.

    Explanation

    Beam search limits computation by expanding high-likelihood paths, rather than exhaustively exploring every possible sequence.

  19. 19

    What is the main idea of chain-of-thought prompting as presented in the lecture?

    1. A

      Ask the model to express intermediate reasoning, such as by prompting it to think step by step.

    2. B

      Use a search tree outside the model and hide all intermediate steps from it.

    3. C

      Replace the model's training data with a formally verified proof for every question.

    4. D

      Require the model to output only its most probable final token at each step.

    Correct answer
    A

    Ask the model to express intermediate reasoning, such as by prompting it to think step by step.

    Explanation

    Chain-of-thought prompting asks the model to produce intermediate steps or reasoning, often using a prompt such as “Let's think step by step.”

  20. 20

    Why might a language model carry out a search-like procedure after being prompted to do so?

    1. A

      Search-like behavior is guaranteed whenever a model generates more than one sentence.

    2. B

      The prompt automatically installs a formally proven search algorithm in the model's weights.

    3. C

      The model must have performed an exhaustive search during pre-training for every possible problem.

    4. D

      Its training data may contain examples of that procedure, allowing it to imitate or reproduce the pattern.

    Correct answer
    D

    Its training data may contain examples of that procedure, allowing it to imitate or reproduce the pattern.

    Explanation

    The lecture suggests that models may have learned search-like behavior from examples in their training data, though success can vary with what that data contains.

  21. 21

    What does it mean to describe a model's prompted beam search as “emergent” or “learned”?

    1. A

      The model is no longer using its language-model training once it begins reasoning.

    2. B

      The model proves that its internal procedure is identical to a classical beam-search implementation.

    3. C

      The model expresses a search-like procedure through its generated reasoning rather than relying only on an explicitly coded search routine.

    4. D

      The model has been guaranteed to find the globally best answer through exhaustive enumeration.

    Correct answer
    C

    The model expresses a search-like procedure through its generated reasoning rather than relying only on an explicitly coded search routine.

    Explanation

    The lecture describes this as an emergent or learned version of search: the model may enact a procedure in natural language because it learned patterns associated with that procedure.

  22. 22

    What is one advantage and one limitation of emergent search compared with classical search algorithms?

    1. A

      It may discover powerful strategies, but its behavior lacks the same established guarantees as proven algorithms.

    2. B

      It is always more robust than classical search, but it requires a larger game tree.

    3. C

      It is easier to formally characterize, but it cannot produce intermediate reasoning.

    4. D

      It guarantees optimal answers, but it cannot use patterns learned from training data.

    Correct answer
    A

    It may discover powerful strategies, but its behavior lacks the same established guarantees as proven algorithms.

    Explanation

    Emergent search may be more powerful or clever than known methods, but the lecture contrasts it with classical algorithms whose properties have been formally analyzed.

  23. 23

    Why can prompting a model to perform a particular search method produce variable results?

    1. A

      The model must use the same search method regardless of the wording of its training data.

    2. B

      The model can imitate search only if the user supplies the entire search tree.

    3. C

      The model's ability depends partly on whether its training data contained examples of that kind of reasoning.

    4. D

      The model's answer depends only on whether the search method has a short name.

    Correct answer
    C

    The model's ability depends partly on whether its training data contained examples of that kind of reasoning.

    Explanation

    The lecture cautions that results vary because the model can draw only on what it has learned, including examples available in its training data.

  24. 24

    What does the lecture identify as an ongoing scientific challenge with model-generated reasoning?

    1. A

      Replacing all language-model outputs with hand-written search procedures.

    2. B

      Determining whether the model is reasoning correctly and understanding how its reasoning works.

    3. C

      Proving that all model-generated reasoning is equivalent to human thought.

    4. D

      Preventing models from generating any intermediate steps.

    Correct answer
    B

    Determining whether the model is reasoning correctly and understanding how its reasoning works.

    Explanation

    The lecture says researchers are still trying to understand whether models reason correctly and how their learned reasoning processes work.

  25. 25

    How does searching with a reward function differ from searching only for the most probable output?

    1. A

      It must select the response most frequently observed in the training corpus.

    2. B

      It can select outputs that maximize a chosen score, even when that score is not probability.

    3. C

      It cannot evaluate complete strings and must score each token independently.

    4. D

      It uses reward only to adjust training data, never to choose a deployment-time output.

    Correct answer
    B

    It can select outputs that maximize a chosen score, even when that score is not probability.

    Explanation

    Search can optimize any scalar scoring function over outputs, not just the probability assigned by the language model.

  26. 26

    Suppose a system is asked to produce the most entertaining description of caffeine. What would a funness score function contribute?

    1. A

      It would rank candidate descriptions by funness so search could select a high-scoring one.

    2. B

      It would teach the language model the chemical structure of caffeine without evaluating responses.

    3. C

      It would guarantee that the selected description is scientifically accurate.

    4. D

      It would replace the need to generate multiple candidate descriptions.

    Correct answer
    A

    It would rank candidate descriptions by funness so search could select a high-scoring one.

    Explanation

    A funness model can score candidate strings, allowing a search procedure to choose a description that scores well for funness.

  27. 27

    Why are formal verifiers especially useful for selecting generated code or proofs?

    1. A

      They ensure every candidate is correct before any search takes place.

    2. B

      They can check properties such as syntax or proof validity, helping distinguish correct candidates from incorrect ones.

    3. C

      They evaluate only whether a candidate resembles common internet text.

    4. D

      They generate the best code or proof directly, making the language model unnecessary.

    Correct answer
    B

    They can check properties such as syntax or proof validity, helping distinguish correct candidates from incorrect ones.

    Explanation

    A verifier can check candidate outputs, such as whether code compiles or a proof is valid, and can therefore help search identify correct solutions.

  28. 28

    In the Fibonacci-code example, what could a verifier check to assess whether the sequence is correct?

    1. A

      Whether every number in the sequence is larger than the previous number.

    2. B

      Whether each next number equals the sum of the two preceding numbers.

    3. C

      Whether the code uses the shortest possible variable names.

    4. D

      Whether the sequence contains the same number of terms as a typical internet example.

    Correct answer
    B

    Whether each next number equals the sum of the two preceding numbers.

    Explanation

    The lecture gives checking the recurrence—that each next number is the sum of the previous two—as an example of verifying a Fibonacci sequence.

  29. 29

    Why can verification be easier than generating a solution for some problems?

    1. A

      A verifier can always infer the solution from the problem statement without any candidate.

    2. B

      A proposed solution may be checked efficiently even when finding a solution requires much more computation.

    3. C

      Verification requires examining all possible solutions, while generation checks only one.

    4. D

      Every problem that is easy to verify is also easy to solve by exhaustive search.

    Correct answer
    B

    A proposed solution may be checked efficiently even when finding a solution requires much more computation.

    Explanation

    For many problems, including the class discussed in connection with NP, checking a proposed solution can be efficient even when finding one is difficult.

  30. 30

    How does the traveling-salesman example illustrate the difference between finding and checking a solution?

    1. A

      Finding a good route may be computationally difficult, while checking a proposed route's properties can be comparatively easy.

    2. B

      Finding a route is easy, while checking whether it visits the cities is computationally difficult.

    3. C

      Both finding and checking a route require searching every possible sequence of cities.

    4. D

      A route can be checked only if a language model has already generated it.

    Correct answer
    A

    Finding a good route may be computationally difficult, while checking a proposed route's properties can be comparatively easy.

    Explanation

    The lecture uses the traveling-salesman problem to illustrate that discovering a high-quality route can be hard, while checking a proposed route can be done much more easily.

  31. 31

    When is it especially useful to guide generation with a verifier?

    1. A

      When the model is prohibited from producing more than one candidate.

    2. B

      When no candidate can be evaluated after it has been generated.

    3. C

      When candidate solutions are difficult to generate but comparatively easy to check.

    4. D

      When every possible answer has the same score and correctness.

    Correct answer
    C

    When candidate solutions are difficult to generate but comparatively easy to check.

    Explanation

    The lecture recommends using verification to guide generation when checking a solution is easier than finding one.

  32. 32

    What can a code verifier contribute after a language model generates several program candidates?

    1. A

      It can guarantee that the first candidate is correct without examining its code.

    2. B

      It can reject candidates with syntax errors or check whether the program satisfies relevant logic requirements.

    3. C

      It can replace all candidate programs with a single human-written answer.

    4. D

      It can train the language model to predict internet text without any program evaluation.

    Correct answer
    B

    It can reject candidates with syntax errors or check whether the program satisfies relevant logic requirements.

    Explanation

    The lecture describes using compilers to detect syntax errors and other formal tools to check logic or correctness among generated candidates.

  33. 33

    How can a similar search approach be applied to diffusion models?

    1. A

      Use gradient descent only to choose among completed text responses.

    2. B

      Search over possible denoising paths to find a path that leads to a desirable output.

    3. C

      Search over possible next words in a sentence before generating an image.

    4. D

      Replace the denoising process with a proof checker for image pixels.

    Correct answer
    B

    Search over possible denoising paths to find a path that leads to a desirable output.

    Explanation

    The lecture says search can be applied to diffusion models by considering alternative paths through their denoising steps, rather than only making a single greedy decision at each step.

  34. 34

    What is the key similarity between search in autoregressive models and search in diffusion models?

    1. A

      Both require an explicit proof checker for every generated result.

    2. B

      Both use exactly the same sequence of discrete tokens as their search space.

    3. C

      Both can compare alternative generation paths to find one that better satisfies a desired objective.

    4. D

      Both generate outputs only by predicting the next word in a text sequence.

    Correct answer
    C

    Both can compare alternative generation paths to find one that better satisfies a desired objective.

    Explanation

    Although their generation processes differ, the lecture emphasizes that search can examine alternatives in either process to seek a better output.

  35. 35

    Why can gradient descent be used as a form of search with a continuous generative model?

    1. A

      It selects the most probable next token without evaluating the complete output.

    2. B

      It verifies that each generated image has a formally correct proof.

    3. C

      It can adjust continuous inputs or latent variables to increase a score assigned to the generated output.

    4. D

      It enumerates every discrete sequence that the model could generate.

    Correct answer
    C

    It can adjust continuous inputs or latent variables to increase a score assigned to the generated output.

    Explanation

    With continuous variables and functions, gradient descent can change the model's input to improve a score on the generated output.

  36. 36

    In the image-generation example, what was adjusted to make an image more memorable according to a model?

    1. A

      The image was searched as a tree of possible word sequences.

    2. B

      The memorability model's output label was changed without altering the image.

    3. C

      The latent variables supplied to a generative model were changed to increase a memorability score.

    4. D

      The training corpus was replaced with a list of memorable image captions.

    Correct answer
    C

    The latent variables supplied to a generative model were changed to increase a memorability score.

    Explanation

    The procedure changed the generative model's input variables so that its output image received a higher score from a memorability assessor.

  37. 37

    How was the human memorability model in the example informed?

    1. A

      Participants rated which captions were most likely to appear online.

    2. B

      A compiler checked whether image descriptions followed valid syntax.

    3. C

      Experiments measured which images people recognized or remembered more readily after viewing them.

    4. D

      A search algorithm generated images without collecting any human responses.

    Correct answer
    C

    Experiments measured which images people recognized or remembered more readily after viewing them.

    Explanation

    The researchers used psychophysical experiments in which people viewed images and later responded to repeated images, allowing the team to identify more and less memorable images.

  38. 38

    What broad finding about memorable images did the lecture mention?

    1. A

      People remembered only images that had been generated by a neural network.

    2. B

      People tended to remember images of people particularly well.

    3. C

      People tended to remember abstract patterns better than recognizable subjects.

    4. D

      People remembered images equally well regardless of their contents.

    Correct answer
    B

    People tended to remember images of people particularly well.

    Explanation

    The lecture reports that a main conclusion of the memorability work was that people tend to remember people.

  39. 39

    What happened when the image-generating process was optimized for memorability in the dog example?

    1. A

      The dog disappeared, but the memorability assessor assigned a higher score.

    2. B

      The dog became more prominent and visually distinctive, and people later remembered the image better.

    3. C

      The image became less recognizable, and participants recalled it more accurately.

    4. D

      The model changed only the memorability score while leaving the generated image unchanged.

    Correct answer
    B

    The dog became more prominent and visually distinctive, and people later remembered the image better.

    Explanation

    Optimizing the model's latent inputs for predicted memorability made the dog more prominent and cute; a later experiment found that people remembered the more memorable image better.

  40. 40

    Which other image properties were explored by optimizing a score model?

    1. A

      Aesthetic quality and emotional valence, such as making a dog image appear sadder or happier.

    2. B

      Search-tree depth and token likelihood, such as making an image contain more words.

    3. C

      Proof validity and program syntax, such as making an image compile correctly.

    4. D

      File size and pixel format, such as making an image use fewer bytes.

    Correct answer
    A

    Aesthetic quality and emotional valence, such as making a dog image appear sadder or happier.

    Explanation

    The lecture describes optimizing images for properties including aesthetics and emotional valence, in addition to memorability.

  41. 41

    What connection does the lecture make between continuous preference optimization and RLHF?

    1. A

      Both avoid using any reward or preference signal during optimization.

    2. B

      Both require a proof checker to verify every generated sentence.

    3. C

      Both are limited to changing latent variables in image-generation models.

    4. D

      Both involve using a model of human preferences to guide outputs toward what people prefer.

    Correct answer
    D

    Both involve using a model of human preferences to guide outputs toward what people prefer.

    Explanation

    The image-optimization example is related to reinforcement learning from human feedback because a model of human preferences guides generation toward preferred outputs.

  42. 42

    What does the “make it more” image-editing pattern illustrate?

    1. A

      Repeated prompts remove the need for any underlying generative model.

    2. B

      A verifier can determine whether an image follows a mathematical proof.

    3. C

      Repeatedly asking for more of a desired quality can exaggerate that quality in the generated image.

    4. D

      A language model can perform only discrete search and cannot alter images.

    Correct answer
    C

    Repeatedly asking for more of a desired quality can exaggerate that quality in the generated image.

    Explanation

    The lecture describes the “make it more” pattern as repeatedly prompting for an increased quality or feature, which leads the model to exaggerate it.

  43. 43

    What is the basic reinforcement-learning strategy described in the lecture?

    1. A

      Try possible actions, identify those that earn good outcomes, and reinforce them so they are more likely in the future.

    2. B

      Choose actions randomly forever without using the outcomes to change the model.

    3. C

      Estimate a data distribution once and never use rewards to guide behavior.

    4. D

      Verify every possible action before allowing the model to take any action.

    Correct answer
    A

    Try possible actions, identify those that earn good outcomes, and reinforce them so they are more likely in the future.

    Explanation

    The lecture summarizes reinforcement learning as trying possible behaviors, rewarding successful ones, and learning to repeat them.

  44. 44

    Why might selecting a correct answer through verification be expensive at deployment time?

    1. A

      A verifier must retrain the entire language model for every candidate.

    2. B

      Search can evaluate only one candidate and therefore must restart for every token.

    3. C

      The system may need to generate and evaluate many candidates before finding a correct one.

    4. D

      A correct answer cannot be identified until the model has been pre-trained again.

    Correct answer
    C

    The system may need to generate and evaluate many candidates before finding a correct one.

    Explanation

    A verification-based search may require multiple model generations and checks to find a good candidate, which can be costly during deployment.

  45. 45

    How does reinforcement learning reduce the need to search repeatedly for a good answer at deployment?

    1. A

      It removes the model's ability to generate alternatives before deployment.

    2. B

      It trains the model on successful behaviors so the model becomes more likely to produce them directly.

    3. C

      It stores every possible correct answer and retrieves one without model generation.

    4. D

      It replaces the model with a verifier that writes the answer itself.

    Correct answer
    B

    It trains the model on successful behaviors so the model becomes more likely to produce them directly.

    Explanation

    After search finds successful behavior, training can make the model more likely to produce that behavior directly, reducing the need for repeated deployment-time search.

  46. 46

    What does it mean to “bake” a successful solution back into a language model?

    1. A

      Update the model through training so it preferentially produces the successful output or behavior.

    2. B

      Delete the model's previous training data and replace it with the solution.

    3. C

      Store the solution only in a verifier without changing the language model.

    4. D

      Add the solution to a prompt that must be supplied at every deployment.

    Correct answer
    A

    Update the model through training so it preferentially produces the successful output or behavior.

    Explanation

    Baking a solution into the model means training it to prefer successful behavior, rather than relying only on a separate search process each time.

  47. 47

    Once a good behavior has been found, what learning procedure does the lecture say can reinforce it?

    1. A

      Exhaustive search that enumerates every possible model parameter.

    2. B

      Supervised learning that pairs an input with the desired successful output.

    3. C

      Greedy decoding that changes no model parameters.

    4. D

      Unsupervised clustering that discards the successful output.

    Correct answer
    B

    Supervised learning that pairs an input with the desired successful output.

    Explanation

    The lecture describes the learning phase as supervised learning: train the model to produce the successful behavior for the relevant input.

  48. 48

    How can successful outputs discovered by search also be described in the lecture?

    1. A

      As unverified noise that must always be discarded.

    2. B

      As synthetic training data that can be used to improve the model.

    3. C

      As test-time context that cannot be used for training.

    4. D

      As a replacement for the original input distribution.

    Correct answer
    B

    As synthetic training data that can be used to improve the model.

    Explanation

    The lecture relates reinforcement learning to synthetic data: search can generate successful examples that are then used to train the model.

  49. 49

    How can learning improve a later search process?

    1. A

      A trained model can remove the need to score or evaluate any candidate.

    2. B

      A trained model can restrict search to outputs that appeared verbatim in the training corpus.

    3. C

      A trained model can ensure search explores every branch equally.

    4. D

      A trained model can make promising actions or continuations more likely, guiding search toward useful branches.

    Correct answer
    D

    A trained model can make promising actions or continuations more likely, guiding search toward useful branches.

    Explanation

    After learning from successful solutions, the model can guide later search toward more promising possibilities instead of exploring randomly.

  50. 50

    In the Mario example, what is the policy network trained to do?

    1. A

      Generate a written explanation of every possible sequence of game actions.

    2. B

      Verify that the game contains no obstacles before Mario moves.

    3. C

      Evaluate whether the game graphics resemble examples from the internet.

    4. D

      Choose actions, such as jumping near an obstacle, that tend to lead to a high-reward outcome.

    Correct answer
    D

    Choose actions, such as jumping near an obstacle, that tend to lead to a high-reward outcome.

    Explanation

    A policy maps the game situation to actions. In the example, it learns to choose useful actions, such as jumping near a tube, to help win the game.

  51. 51

    What is the purpose of the search–learn loop in reinforcement learning?

    1. A

      Learning finds useful behavior, while search erases it before the next training step.

    2. B

      Learning verifies all possible behaviors before search begins.

    3. C

      Search finds useful behavior, learning reinforces it, and the improved model guides the next search.

    4. D

      Search and learning alternate only to produce independent, unrelated answers.

    Correct answer
    C

    Search finds useful behavior, learning reinforces it, and the improved model guides the next search.

    Explanation

    The lecture presents a repeating loop: search for good solutions, learn from them, and use the improved model to guide later search.

  52. 52

    In the described self-training approach, what happens to a generated chain of thought when its answer is incorrect?

    1. A

      It is automatically treated as correct if it is long enough.

    2. B

      It is added to training as a preferred rationale.

    3. C

      It is discarded rather than used as a successful reasoning example.

    4. D

      It is used to replace the verifier's evaluation.

    Correct answer
    C

    It is discarded rather than used as a successful reasoning example.

    Explanation

    The method keeps the chain of thought associated with a correct answer and discards the chain associated with an incorrect answer.

  53. 53

    What happens to the chain of thought associated with a correct answer in the described approach?

    1. A

      It can be used as a training example so the model becomes more likely to produce similar reasoning.

    2. B

      It is discarded because only incorrect reasoning provides useful feedback.

    3. C

      It is used only to calculate the probability of the original question.

    4. D

      It is converted into a search tree that cannot affect the model.

    Correct answer
    A

    It can be used as a training example so the model becomes more likely to produce similar reasoning.

    Explanation

    The approach uses chains of thought that lead to correct answers as training examples, encouraging the model to produce similar reasoning in the future.

  54. 54

    Why can repeated training on successful reasoning examples lead to self-improvement?

    1. A

      The model produces better candidate reasoning, which can yield more successful examples for later training.

    2. B

      The model stops searching and therefore avoids receiving any further feedback.

    3. C

      The verifier begins generating solutions, so the model's behavior stays unchanged.

    4. D

      The model no longer needs examples, because training automatically proves each answer.

    Correct answer
    A

    The model produces better candidate reasoning, which can yield more successful examples for later training.

    Explanation

    The described loop can improve the model over repeated rounds: better reasoning produces more correct solutions, which can then be used to train the model further.

  55. 55

    What notable feature of the DeepSeek R1 approach is emphasized in the lecture?

    1. A

      It requires a separate critic and process reward for every generated reasoning step.

    2. B

      It uses a relatively simple reinforcement-learning approach and does not require additional test-time search.

    3. C

      It depends on exhaustive beam search at deployment for every answer.

    4. D

      It replaces language-model training with a hand-coded search algorithm.

    Correct answer
    B

    It uses a relatively simple reinforcement-learning approach and does not require additional test-time search.

    Explanation

    The lecture emphasizes that R1's reported procedure is simple, uses a policy-gradient approach, and does not do extra test-time search.

  56. 56

    Which claim about how OpenAI's O1 and O3 models work is appropriately cautious based on the lecture?

    1. A

      The lecture proves that neither model uses reasoning or search.

    2. B

      The lecture states that their internal procedures are publicly known and identical.

    3. C

      The lecture confirms that both models use precisely the same training procedure as R1.

    4. D

      The lecture treats their use of a similar approach as a possibility, not as something established there.

    Correct answer
    D

    The lecture treats their use of a similar approach as a possibility, not as something established there.

    Explanation

    The speaker says the described approach is known for R1 but only notes that people think O1 and O3 may work similarly.

Question 1 of 56
Question 1 of 56

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent