Key Moments

Deep Learning by Prediction: Intro | Stanford CS312 Lecture 1 with Tatsunori Hashimoto & Suhas Kotha

Stanford OnlineStanford Online
Education6 min read69 min video
Nov 24, 2026|8,427 views|116|4
Save to Pod
TL;DR

Stanford's 'Deep Learning Alchemy' course challenges traditional AI teaching by focusing on prediction and empirical results over theoretical proofs, aiming to build intuition for this complex field.

Key Insights

1

Classical intuitions like the bias-variance tradeoff are misleading in deep learning, as models with millions of parameters can still generalize well.

2

The course rejects traditional ML/statistics teaching methods, including bias-variance tradeoffs, gradient descent convergence proofs, and generalization theory.

3

The primary teaching method involves 'predictive quizzes' where students forecast experimental outcomes to build an intuitive 'world model' of deep learning.

4

Assignments, while crucial for learning, have 0% grade weight, incentivizing students to use them for preparation and to gain partial credit in quizzes through evidence of completed work.

5

The course focuses intensely on model training, specifically pre-training, treating other aspects of the ML pipeline (data collection, deployment) as outside its scope.

6

Pre-training is highlighted as a foundational and effective technique, enabling downstream tasks and being amenable to scientific study due to its low-noise validation loss metric.

Challenging conventional deep learning wisdom

The "Deep Learning Alchemy" course at Stanford, taught by Tatsunori Hashimoto and Suhas Kotha, fundamentally rethinks how deep learning is taught. It begins by challenging deeply ingrained classical intuitions from machine learning and statistics, such as the bias-variance tradeoff. The instructors argue that these traditional concepts, which suggest overfitting occurs with models that have more parameters than data, are misleading when applied to deep learning. Deep neural networks with millions of parameters often generalize surprisingly well, defying these established norms. This disconnect between classical theory and empirical deep learning performance is a central motivation for the course's unique approach. The course aims to move beyond simply presenting research papers and their often fragile empirical results, which can be highly sensitive to hyperparameters and experimental setups. Instead, it seeks to cultivate a more robust, intuitive understanding of why these complex models work.

The 'predictive quiz' as a core learning tool

Instead of traditional lectures and theoretical problem sets, 'Deep Learning Alchemy' employs a novel 'predictive quiz' system. Students are repeatedly shown experiments and tasked with predicting the outcomes – specifically, the loss curves and internal metric changes. The success of these predictions directly reflects the student's internal 'world model' of how deep learning functions. As students refine their predictions through repeated experiments and feedback, they are expected to build a progressively better and more intuitive understanding of deep learning's complex dynamics. This approach emphasizes learning through empirical exploration and iterative refinement rather than rote memorization of fragile phenomena or theoretical proofs. The goal is to foster a deep, almost 'alchemical' intuition for how different components and hyperparameters interact within the deep learning 'black box'.

Abandoning traditional theory for empirical exploration

The course explicitly eschews classical machine learning theory, including proofs of convergence for gradient descent, bias-variance tradeoff analyses, and generalization bounds. Instructors Tatsunori Hashimoto and Suhas Kotha believe these theoretical frameworks often fail to explain or predict the behavior of modern deep learning systems and can lead practitioners astray. Instead, the focus is on practical, empirical investigation. Students will engage with numerous research papers and experimental results, not to memorize them, but to understand the underlying principles and fragilities. The course emphasizes that many phenomena observed in papers are highly sensitive to specific experimental conditions, making direct replication and understanding challenging. By grounding learning in prediction and experimentation, the course aims to equip students with the ability to reason about and design effective deep learning systems in practice.

Assignments with zero grade weight and intrinsic motivation

A distinctive feature of the course is that all assignments carry 0% of the final grade. This decision is rooted in a desire to promote genuine learning and avoid penalizing students for not using AI tools like Claude Code, which became prevalent and sometimes created unfair advantages. Assignments are framed as essential preparation for the predictive quizzes. Students are incentivized to complete them because their insights will be crucial for understanding quiz questions and earning partial credit. Partial credit on quizzes can be obtained by referencing specific experimental work done in the assignments, demonstrating that the student has engaged with the material hands-on. Furthermore, the course will offer tutorials where assignment work and quiz results are discussed, fostering a collaborative learning environment and reinforcing the practical takeaways from the assignments.

Focus on pre-training and the language model setting

The course's primary focus within the deep learning pipeline is model training, particularly pre-training. Other crucial stages like data collection, model evaluation, and deployment are largely set aside. The rationale is that model training is intrinsically interesting and the core of the instructors' expertise. The initial phase of the course will concentrate on pre-training language models using a large corpus of internet text (DCLM). Pre-training aims to train a model to mimic a data distribution, assigning high likelihood to real data samples and low likelihood to others. This foundational technique has proven remarkably successful, enabling powerful downstream tasks and context-aware learning, as exemplified by large language models like GPT-3. The success of pre-training is attributed to its ability to capture complex data distributions and its amenability to empirical study.

The 'organism' for empirical study: A small language model

To facilitate hands-on experimentation, the course will utilize a small, manageable language model 'organism.' This model, with approximately 30 million parameters trained on 600 million tokens, can be trained on a single GPU in about 10 minutes for an estimated cost of $0.50-$1.00. Students will be expected to run hundreds of such experiments for their assignments. While this small-scale setup is not a perfect replica of large-scale deep learning, it reflects many core principles and interactions, particularly regarding pre-training and validation loss. The course emphasizes that understanding this 'organism' deeply will build transferable skills for analyzing and designing larger, more complex systems in the future. Students will explore architectural components like attention, MLPs, and residual connections by systematically removing or modifying them and observing the impact on training dynamics.

Evaluating understanding through prediction and tutorials

The primary evaluation method consists of approximately seven 40-minute quizzes administered every 1.5 weeks. These quizzes will present predictive problems, ranging from easy (requiring knowledge of specific experimental outcomes) to hard (testing generalization capabilities). The focus is on predicting outcomes like loss curves and internal metrics. Students can earn partial credit by referencing their assignment work, demonstrating empirical engagement. To support this, mandatory 30-minute tutorials will be held in small groups, where assignments and quiz results will be discussed. This format aims to reduce grading variability and provide a platform for students to articulate their theories and reasoning. The course acknowledges its experimental nature, with potential for incomplete sections and a focus on a specific, small model, encouraging students to be tolerant of uncertainty and the inherent messiness of a new pedagogical approach.

Deep Learning by Prediction Course Overview

Practical takeaways from this episode

Do This

Engage with predictive quizzes to build a world model of deep learning.
Complete assignments to prepare for quizzes and earn partial credit through justifications.
Attend tutorials for discussion of assignments, quizzes, and concepts.
Experiment extensively and visualize results to gain intuition.
Focus on understanding the specific small model organism used in the course.
Utilize Claude Code for assignments, but internalize the learned concepts for quizzes.
Ask questions and participate in discussions.

Avoid This

Do not expect classical deep learning theory (bias-variance, gradient descent proofs).
Do not rely solely on memorizing papers; focus on empirical understanding.
Do not use computational grants for research purposes; use them for course experiments.
Do not expect a perfect or fully polished course, as it is being developed iteratively.
Do not aim for a perfect score on every quiz; focus on learning from mistakes.
Do not rely on the course to teach backpropagation; learn it independently if needed.

Common Questions

The 'alchemy' metaphor highlights the current lack of clear theoretical explanations for why deep learning works so well. The course embraces this 'alchemy' by focusing on empirical experimentation and intuition building rather than purely classical theory.

Topics

Mentioned in this video

More from Stanford Online

View all 191 summaries

Ask anything from this episode.

Save it, chat with it, and connect it to Claude or ChatGPT. Get cited answers from the actual content — and build your own knowledge base of every podcast and video you care about.

Get Started Free