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

  • 65Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Learning and Reasoning
  • spaceFlip card
  • KI knew it
  • DI didn't know it
  • ←Previous card
  • →Next card

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

Tap to flipClick to flipspace

Learning estimates a distribution or model from data; reasoning uses a model or distribution to find a decision, prediction, or best answer.

Or swipe the card

65 cards

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

    Learning estimates a distribution or model from data; reasoning uses a model or distribution to find a decision, prediction, or best answer.

  2. What does a language model trained on internet text learn during pre-training?

    It learns to predict the next token from preceding tokens, modeling patterns in the text.

  3. Why might a basic language model produce a plausible but incorrect answer?

    It is trained to predict likely text, so it can produce a response resembling what someone might write rather than the most accurate answer.

  4. What does it mean to fit a distribution to data?

    To use observed examples to estimate a probability model that can explain or generate data like those examples.

  5. How can reasoning be described as an operation on a learned model?

    Given an input, use the model to find a prediction or decision—often the answer with the highest score or probability.

  6. Why can the word inference mean different things in different fields?

    In statistics it can mean estimating a model from data; in other machine-learning usage it can mean using a model to make a prediction or decision.

  7. What is pre-training in the language-model pipeline?

    Training a base model on a large corpus, commonly by predicting each next token from previous tokens.

  8. What is post-training generally intended to do?

    Adapt a pre-trained base model to behave better for particular tasks, data, or desired responses.

  9. How does in-context learning affect a model?

    It uses context supplied at test time to guide or alter the model's behavior, without updating its weights through training.

  10. What was a typical simple deployment procedure for an autoregressive model?

    Predict a next token, sample or select it, and repeat to generate a sequence.

  11. What two broad approaches does the Bitter Lesson identify as especially scalable?

    Learning and search.

  12. What are the two scaling patterns described for modern AI systems?

    More training-time computation can improve performance through learning; more test-time computation can improve performance through search or additional thinking.

  13. What is search in the general scoring-function formulation?

    Given an input xxx and a score for input-output pairs, find an output yyy that maximizes the score.

  14. How is maximum a posteriori-style inference expressed using a probability model?

    For an observed input xxx, select �extargmaxyp(y�midx)� ext{argmax}_y p(y �mid x)�extargmaxy​p(y�midx).

  15. What is the basic idea behind Deep Blue's chess search?

    Explore a tree of possible moves and responses, evaluate the resulting positions, and choose a strong initial move.

  16. How did AlphaGo combine learning and search?

    It searched through possible move sequences and used a neural network to evaluate positions at the ends of explored paths.

  17. What is the difference between a search tree and a single forward generation path?

    A search tree represents multiple possible continuations; a single forward path commits to one continuation at each step.

  18. What does test-time search allow a model to do?

    Generate or examine multiple candidate answers and use a selection or scoring procedure to choose among them.

  19. Why can search optimize objectives other than probability?

    A search procedure can maximize any scalar reward or score assigned to candidate outputs.

  20. How can a system use a funness score to choose a description?

    Generate candidate descriptions, score each for fun, and select a candidate with a high score.

  21. What is the main advantage of combining a learned model with classical search?

    The model supplies learned predictions or evaluations, while search explores alternatives to find a better solution.

  22. What is best-of-nnn sampling?

    Generate nnn candidate outputs, score them, and return the candidate with the best score.

  23. Why is greedy next-token selection not generally guaranteed to produce the most probable complete sequence?

    The locally best token at each step may lead to a sequence whose total probability is lower than another sequence.

  24. How does an autoregressive model assign probability to a sequence of tokens?

    By multiplying the probability of the first token by each later token's probability conditioned on all preceding tokens.

  25. What does best-of-nnn do when answering a question?

    It samples nnn complete answers, evaluates their sequence probabilities or another score, and selects the best candidate.

  26. How does beam search organize candidate text generation?

    It expands a tree of candidate token sequences while retaining promising paths, then selects a high-scoring complete sequence.

  27. How is beam search similar to game-tree search?

    Both expand alternative branches and compare paths, rather than committing immediately to one sequence of choices.

  28. What is chain-of-thought prompting?

    A prompting approach that asks a model to work through intermediate reasoning steps, often with instructions such as “think step by step.”

  29. What is emergent search in a language model?

    Search-like reasoning that the model produces in its text after being prompted, based on patterns learned from data.

  30. How might a language model respond when explicitly asked to use beam search?

    It may describe or carry out a beam-search-like sequence of steps in its generated reasoning.

  31. What is a key trade-off between emergent search and classical search algorithms?

    Emergent search may be flexible or powerful, but classical algorithms generally offer clearer procedures and stronger analyzable guarantees.

  32. What limits a model's ability to perform a prompted search procedure?

    It depends on whether its training data gave it examples of that procedure or related behavior.

  33. What is a verifier in the context of generated answers?

    A system that checks whether a candidate output satisfies criteria such as correctness, valid syntax, or a formal proof.

  34. Why can verification be easier than generating a solution?

    A proposed solution may be checked efficiently even when finding that solution is computationally difficult.

  35. How does a code verifier help select a generated program?

    It can reject code with syntax errors and, when equipped to do so, check whether the code's logic meets the requirements.

  36. How can a proof checker guide theorem-proving search?

    It checks candidate proofs and identifies which ones are valid, allowing the system to select or reinforce correct proofs.

  37. How can checking the Fibonacci sequence illustrate verification?

    A proposed sequence can be checked by verifying that each next number equals the sum of the previous two.

  38. How can best-of-nnn sampling and a verifier be combined for code generation?

    Generate multiple code candidates, use the verifier to identify valid ones, and select a valid candidate.

  39. When is verifier-guided generation especially useful?

    When valid outputs are relatively easy to check but difficult to generate.

  40. Can search be applied to diffusion models as well as autoregressive language models?

    Yes. Search can explore alternative paths through the diffusion model's denoising steps.

  41. What is the usual generation process in a diffusion model?

    Start with a noisy image and repeatedly denoise it to produce a less noisy image.

  42. How can continuous search differ from discrete search?

    Continuous search can adjust real-valued variables, often using gradient descent, instead of enumerating discrete branches.

  43. How can gradient descent search a generative model's latent space?

    Adjust the latent variables to increase a score assigned to the model's generated output.

  44. How can a human-preference model be used for continuous search over images?

    Generate an image from latent variables, score it with a preference model, and adjust the latent variables to improve the score.

  45. What is reinforcement learning from human feedback related to in the described image-search example?

    It is related to optimizing generative outputs using a model of human preferences.

  46. How was image memorability measured in the described experiments?

    People viewed image sequences and indicated when an image repeated; images that were easier to recognize again were considered more memorable.

  47. How can a generative model be used to create more memorable images?

    Optimize the model's input variables so its output receives a higher score from a memorability model.

  48. What general lesson follows from searching a generative model with a learned score?

    A generative model can be searched to produce outputs that maximize a chosen score, such as memorability, aesthetics, or emotional valence.

  49. What does repeatedly asking an image model to make an image “more” illustrate?

    Repeated prompts can push the output toward increasingly strong or exaggerated versions of a requested property.

  50. What is the basic reinforcement-learning loop described for language models?

    Search over candidate behaviors, identify successful ones, and train the model to produce those behaviors more often.

  51. How does reinforcement learning use a reward signal?

    It favors actions or outputs that receive higher reward, making similar successful behavior more likely in the future.

  52. What does “reinforcing” a successful language-model output mean in the described training loop?

    Updating the model so it is more likely to produce that successful output or reasoning pattern again.

  53. How can supervised learning be used after search finds a correct answer?

    Train the model on the input and successful output so it learns to produce that output for similar inputs.

  54. How is search-generated synthetic data used to improve a model?

    Successful outputs found by search are added as training examples, encouraging the model to produce similar outputs.

  55. How can learning improve a later search process?

    A model trained on successful solutions can guide search toward more promising candidates.

  56. How does the search-and-learning loop work in a game such as Mario?

    Search for action sequences that earn high reward, train a policy to favor successful moves, and use that policy to guide later search.

  57. What is a policy in the game-playing example?

    A model that selects actions for a given situation, such as deciding when Mario should jump.

  58. Why can training on successful solutions reduce the need for repeated search at deployment?

    The model can learn to produce good solutions more directly, rather than having to generate and check many candidates each time.

  59. How are search and learning complementary in reinforcement learning?

    Search discovers high-reward behavior, and learning makes the model more likely to reproduce it and can guide future search.

  60. What is the broad idea of the self-improvement procedure described for reasoning models?

    Sample reasoning paths, keep those that reach correct answers, fine-tune on their reasoning, and repeat on more problems.

  61. In the described reasoning-model training procedure, what happens to a correct chain of thought?

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

  62. How can a reasoning model be used at deployment after this training?

    It can generate an answer directly, or additional search can be applied on top of its output.

  63. What distinction should be made between a reported method for DeepSeek R1 and claims about OpenAI's O1 or O3?

    The described procedure is presented for R1; the lecture says O1 and O3 may work similarly but does not establish that they use the same method.

  64. What notable characteristics of R1's described reinforcement-learning approach were highlighted?

    It was described as using a relatively simple policy-gradient approach, without test-time search or several additional components such as process rewards and a critic function.

  65. Why might a simple reasoning-training algorithm be scientifically significant?

    It may suggest that useful reasoning can emerge from simpler algorithms than researchers expected, though this remains an open possibility.

Card 1 of 65
Card 1 of 65

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent