1. Home
  2. Explore
  3. Computer Science
  4. Yann LeCun on Machine Learning

Study methods

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

Yann LeCun on Machine Learning

  • 20Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Current AI Limitations

What is the main limitation of autoregressive prediction in large language models?

20 questions

  1. 1

    What is the main limitation of autoregressive prediction in large language models?

    1. A

      It relies on reinforcement learning, which is sample-inefficient.

    2. B

      It cannot model dependencies between distant tokens in the sequence.

    3. C

      It requires an exponential number of training tokens to achieve convergence.

    4. D

      It uses a fixed amount of computation per token, which can lead to divergence and hallucination.

    Correct answer
    D

    It uses a fixed amount of computation per token, which can lead to divergence and hallucination.

    Explanation

    Autoregressive models use a fixed amount of computation per token and generate tokens sequentially, where errors accumulate and can lead the output outside the correct subtree, causing hallucination. Chain-of-thought is a hack to spend more computation.

  2. 2

    How does the data efficiency of human learning compare to that of large language models?

    1. A

      A human 4-year-old sees about the same amount of data (in bytes) as an LLM is trained on, but the human data is more redundant.

    2. B

      Humans require supervised labels to learn, while LLMs do not.

    3. C

      A human 4-year-old sees about 1000 times more data than an LLM is trained on.

    4. D

      A human 4-year-old sees about 1000 times less data than an LLM is trained on.

    Correct answer
    A

    A human 4-year-old sees about the same amount of data (in bytes) as an LLM is trained on, but the human data is more redundant.

    Explanation

    According to the lecture, a 4-year-old sees ~10^14 bytes through vision, comparable to the ~10^14 bytes of text used to train LLMs. The visual data is more redundant, which is beneficial for self-supervised learning.

  3. 3

    What is the defining characteristic of self-supervised learning as described in the lecture?

    1. A

      It uses reinforcement learning to fine-tune a pre-trained model.

    2. B

      It learns from a reward signal provided by the environment.

    3. C

      It requires human-annotated labels for each training example.

    4. D

      It uses no labels and learns by predicting parts of the input from other parts.

    Correct answer
    D

    It uses no labels and learns by predicting parts of the input from other parts.

    Explanation

    Self-supervised learning involves training a model to predict parts of the input from other parts, without explicit labels. This is contrasted with supervised and reinforcement learning.

  4. 4

    What is the 'paradox' mentioned in the lecture regarding AI capabilities?

    1. A

      Intellectually challenging tasks for humans (e.g., chess) are algorithmically simple, while physically dexterous tasks (e.g., robot manipulation) are extremely difficult.

    2. B

      Large language models can pass the bar exam but cannot solve simple math problems.

    3. C

      Reinforcement learning works well for games but fails in real-world robotics.

    4. D

      Self-supervised learning works for images but not for text.

    Correct answer
    A

    Intellectually challenging tasks for humans (e.g., chess) are algorithmically simple, while physically dexterous tasks (e.g., robot manipulation) are extremely difficult.

    Explanation

    The paradox is that tasks like chess and solving integrals, which are hard for humans, turned out to be relatively simple for AI, but tasks like a cat's dexterity or a 10-year-old's ability to clear a table remain very difficult.

  5. 5

    What is a world model according to the lecture?

    1. A

      A database of all possible states and actions in an environment.

    2. B

      A system that generates high-fidelity pixel-level predictions of future video frames.

    3. C

      A reward function that guides reinforcement learning.

    4. D

      A module that predicts the next state representation given the current state and an action.

    Correct answer
    D

    A module that predicts the next state representation given the current state and an action.

    Explanation

    A world model is defined as a system that, given a representation of the current state and an action, predicts a representation of the next state. It does not necessarily predict pixels.

  6. 6

    Why is predicting pixels in video considered 'basically impossible'?

    1. A

      Because video encoders cannot capture temporal dependencies.

    2. B

      Because there are many unpredictable details, and the best prediction is a blurry average of possible futures.

    3. C

      Because video data is too high-dimensional for current neural networks.

    4. D

      Because pixel-level prediction requires supervised labels.

    Correct answer
    B

    Because there are many unpredictable details, and the best prediction is a blurry average of possible futures.

    Explanation

    The lecture explains that pixel prediction is impossible because many plausible futures exist; training to predict a single output yields blurry averages. Using latent variables can help, but it still doesn't work for natural videos.

  7. 7

    What is the key difference between a generative predictive architecture and a joint embedding predictive architecture (JEPA)?

    1. A

      JEPA can only handle discrete symbols, while generative architectures work with continuous signals.

    2. B

      JEPA requires a decoder, while generative architectures do not.

    3. C

      JEPA uses contrastive methods, while generative architectures use regularized methods.

    4. D

      JEPA predicts in representation space, while generative architectures predict in input space (e.g., pixels).

    Correct answer
    D

    JEPA predicts in representation space, while generative architectures predict in input space (e.g., pixels).

    Explanation

    JEPA (Joint Embedding Predictive Architecture) predicts representations of inputs, not the inputs themselves. Generative architectures predict in the input space, which is intractable for natural signals.

  8. 8

    In the energy-based framework, what does the energy function represent?

    1. A

      The amount of computation needed for inference.

    2. B

      A scalar measuring the incompatibility between an input and an output.

    3. C

      A probability distribution over all possible outputs.

    4. D

      The negative log-likelihood of the data under the model.

    Correct answer
    B

    A scalar measuring the incompatibility between an input and an output.

    Explanation

    The energy function outputs a scalar that is low for compatible (input, output) pairs and high for incompatible ones. It is not a normalized probability.

  9. 9

    What are the two main categories of methods to prevent collapse in energy-based models?

    1. A

      Supervised methods and unsupervised methods.

    2. B

      Generative methods and discriminative methods.

    3. C

      Contrastive methods and regularized methods.

    4. D

      Distillation methods and reinforcement learning.

    Correct answer
    C

    Contrastive methods and regularized methods.

    Explanation

    The lecture describes two ways to prevent energy collapse: contrastive methods (pushing energy up on negative samples) and regularized methods (minimizing the volume of low-energy space).

  10. 10

    Why does the lecture advocate for 'abandoning generative models' in the physical world?

    1. A

      Because predicting in input space (e.g., pixels) leads to intractability for continuous, high-dimensional signals.

    2. B

      Because generative models cannot handle time-series data.

    3. C

      Because generative models are always outperformed by discriminative models.

    4. D

      Because generative models require too much labeled data.

    Correct answer
    A

    Because predicting in input space (e.g., pixels) leads to intractability for continuous, high-dimensional signals.

    Explanation

    The lecture states that generative models that predict in input space work only for discrete symbols. For natural signals, predicting pixels is impossible, so joint embedding architectures that predict in representation space are preferred.

  11. 11

    What is the 'exponential moving average' trick used in distillation methods like BYOL and DINO?

    1. A

      The model averages predictions from multiple checkpoints.

    2. B

      The gradients are averaged over a moving window of batches.

    3. C

      The weights of one encoder are a running average of the other encoder's weights over time.

    4. D

      The learning rate is exponentially decayed during training.

    Correct answer
    C

    The weights of one encoder are a running average of the other encoder's weights over time.

    Explanation

    In distillation methods, the target encoder's weights are updated as an exponential moving average of the online encoder's weights, which helps prevent collapse.

  12. 12

    How does inference by optimization differ from standard feedforward inference?

    1. A

      It requires a generative model to sample outputs.

    2. B

      It searches for an output that minimizes an energy function, rather than propagating through a fixed number of layers.

    3. C

      It uses reinforcement learning to find the optimal policy.

    4. D

      It uses chain-of-thought reasoning to improve accuracy.

    Correct answer
    B

    It searches for an output that minimizes an energy function, rather than propagating through a fixed number of layers.

    Explanation

    Inference by optimization involves searching over outputs to minimize an energy function, as opposed to a fixed feedforward pass. This allows for more flexible computation akin to System 2 thinking.

  13. 13

    What is the main advantage of using joint embedding predictive architectures for video understanding?

    1. A

      They require fewer parameters than generative models.

    2. B

      They do not need any training data.

    3. C

      They can generate high-fidelity video frames from partial input.

    4. D

      They can learn common sense and detect impossible events without supervision.

    Correct answer
    D

    They can learn common sense and detect impossible events without supervision.

    Explanation

    The lecture shows that V-JEPA can detect impossible events (like a ball disappearing) because the prediction error spikes, indicating it has learned some intuitive physics.

  14. 14

    What is hierarchical planning, and why is it challenging?

    1. A

      Planning with a single world model that predicts all details; it is computationally expensive.

    2. B

      Planning using multiple levels of abstraction and timescales; it is unsolved because we don't know how to learn the appropriate abstractions.

    3. C

      Planning by breaking a task into subgoals and solving each independently; it is easy to implement.

    4. D

      Planning using reinforcement learning at multiple scales; it is inefficient but well understood.

    Correct answer
    B

    Planning using multiple levels of abstraction and timescales; it is unsolved because we don't know how to learn the appropriate abstractions.

    Explanation

    Hierarchical planning involves different levels of abstraction (e.g., going to Paris vs. standing up). The lecture states that training a system to learn appropriate abstractions and use them for hierarchical planning is completely unsolved.

  15. 15

    According to the lecture, what is one way to maximize information in a representation to prevent collapse?

    1. A

      Make the covariance matrix of the representations close to the identity matrix.

    2. B

      Add noise to the representations during training.

    3. C

      Minimize the variance of each dimension of the representation.

    4. D

      Use a very large encoder to capture all details.

    Correct answer
    A

    Make the covariance matrix of the representations close to the identity matrix.

    Explanation

    One regularized method makes the covariance matrix (transpose of sample matrix times itself) close to identity, ensuring each dimension carries different information.

  16. 16

    What does the lecture recommend for making progress toward human-level AI?

    1. A

      Invest in generative models that predict pixels at high resolution.

    2. B

      Focus on joint embedding predictive architectures and energy-based models, and minimize use of reinforcement learning.

    3. C

      Scale up current large language models with more data and compute.

    4. D

      Develop better reinforcement learning algorithms for robotics.

    Correct answer
    B

    Focus on joint embedding predictive architectures and energy-based models, and minimize use of reinforcement learning.

    Explanation

    The lecture explicitly recommends abandoning generative models in favor of JEPA, using energy-based frameworks, and avoiding reinforcement learning when possible. It also says not to work on LLMs if aiming for human-level AI.

  17. 17

    What is the role of the 'predictor' in a JEPA architecture?

    1. A

      To classify inputs into predefined categories.

    2. B

      To generate pixel-level outputs from a latent representation.

    3. C

      To predict the representation of a target from the representation of a context, possibly conditioned on actions or latent variables.

    4. D

      To compute the energy function for a given input-output pair.

    Correct answer
    C

    To predict the representation of a target from the representation of a context, possibly conditioned on actions or latent variables.

    Explanation

    In JEPA, the predictor takes a representation of the context (e.g., past video frames) and produces a prediction of the representation of the target (e.g., future frames). It can also be conditioned on actions or latent variables.

  18. 18

    Why does the lecture say that 'abandon reinforcement learning'?

    1. A

      Because reinforcement learning only works for discrete action spaces.

    2. B

      Because reinforcement learning is extremely sample-inefficient and requires many trials.

    3. C

      Because reinforcement learning requires a simulator, which is not available for real-world tasks.

    4. D

      Because reinforcement learning cannot be used with deep neural networks.

    Correct answer
    B

    Because reinforcement learning is extremely sample-inefficient and requires many trials.

    Explanation

    The lecture states that reinforcement learning is extremely inefficient and should be used as a last resort, favoring planning with learned world models.

  19. 19

    In the DINO self-supervised learning method, what is the key technique that prevents collapse?

    1. A

      Minimizing the reconstruction error between input and output.

    2. B

      Maximizing the entropy of the output distribution.

    3. C

      Using contrastive negative sampling from a large memory bank.

    4. D

      Using an exponential moving average of the online encoder's weights as the target encoder.

    Correct answer
    D

    Using an exponential moving average of the online encoder's weights as the target encoder.

    Explanation

    DINO uses a teacher-student setup where the teacher's weights are a moving average of the student's, along with other regularization. This prevents collapse without needing negative samples.

  20. 20

    What does the lecture identify as a major missing piece in current AI systems?

    1. A

      The ability to perform computation faster than current hardware allows.

    2. B

      The ability to have mental models of the world and use them for planning and reasoning.

    3. C

      The ability to store and retrieve large amounts of data efficiently.

    4. D

      The ability to process natural language at human level.

    Correct answer
    B

    The ability to have mental models of the world and use them for planning and reasoning.

    Explanation

    The lecture highlights that humans and animals have world models that allow prediction and planning, which current AI systems lack. This is a key gap to achieving human-level intelligence.

Question 1 of 20
Question 1 of 20

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent