Key Moments
Deep Learning by Prediction: Intro | Stanford CS312 Lecture 1 with Tatsunori Hashimoto & Suhas Kotha
Key Moments
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
Classical intuitions like the bias-variance tradeoff are misleading in deep learning, as models with millions of parameters can still generalize well.
The course rejects traditional ML/statistics teaching methods, including bias-variance tradeoffs, gradient descent convergence proofs, and generalization theory.
The primary teaching method involves 'predictive quizzes' where students forecast experimental outcomes to build an intuitive 'world model' of deep learning.
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.
The course focuses intensely on model training, specifically pre-training, treating other aspects of the ML pipeline (data collection, deployment) as outside its scope.
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.
Mentioned in This Episode
●Software & Apps
●Companies
●Books
●People Referenced
Deep Learning by Prediction Course Overview
Practical takeaways from this episode
Do This
Avoid This
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
Co-instructor of the Deep Learning by Prediction course at Stanford.
Co-instructor of the Deep Learning by Prediction course at Stanford, a third-year CS PhD student.
Academic advisor to Suhas Kotha and another instructor.
Academic advisor to one of the PhD students.
A researcher whose work and lecture on 'alchemy' in deep learning are discussed.
From Google, author of an influential paper on Gated Linear Units.
A model trained by Meta, whose architecture influences the course's setup.
Sponsor of the course's computational resources.
Mentioned as an example of AI advancement.
Mentioned as an example of AI advancement.
A component widely used in language models and deep neural networks.
Cited as an example of successful pre-training of language models.
A corpus of internet text used for the course, tokenized into 4096 possibilities.
More from Stanford Online
View all 191 summaries
57 minStanford CS547 HCI Seminar | Autumn 2026 | What can CSCW Teach us About How to Work with Agents?
105 minStanford CME295 Transformers & LLMs | Autumn 2026 | Lecture 7 - LLM Evaluation
61 minStanford CS547 HCI Seminar | Autumn 2026 | One Developer, Two Decades, and 30 Million Users Later
50 minStanford Online Graduate Information Session: Certificates, Individual Courses & Master’s Degrees
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