Deep Learning by Prediction: Intro | Stanford CS312 Lecture 1 with Tatsunori Hashimoto & Suhas Kotha
Browse Stanford's online courses in deep learning: https://stanford.io/4zhLWFNCan you predict the result of a deep learning experiment before you run it? In this Stanford CS312: Deep Learning Alchemy lecture, Assistant Professor Tatsunori Hashimoto and PhD student Suhas Kotha introduce the idea at the heart of the class: prediction as understanding. Hashimoto explains why classical intuitions like the bias-variance tradeoff mislead deep learning practitioners and why the class embraces the alchemy through experiments and prediction quizzes. Kotha then lays out the pre-training setting and the d8 model organism, a 30M-parameter, 8-layer transformer that trains in about ten minutes on one GPU, with a live learning rate sweep and architecture ablations.
Key questions answered in this lecture:
Q: Why is the bias-variance tradeoff the wrong mental model for deep learning?
A: Hashimoto says networks with more parameters than data generalize anyway, and even double descent is brittle: with well-tuned hyperparameters and regularization, the curve often looks like a single descent. Classical models lead to nonsensical design choices.
Q: How does Stanford CS312 teach deep learning with prediction quizzes?
A: In the class, Stanford students run experiments in assignments and then take quizzes asking them to predict the outcome of a held-out experiment, given as a runnable code diff. The goal is to build an internal world model of deep learning, the way science used prediction before it had theory.
Q: Why are CS312 assignments worth 0% of the grade?
A: Grading heavy assignments penalized students who did not lean on Claude Code, so assignments are ungraded and AI use is permitted. Students are motivated because assignments are quiz prep and are the only way to earn partial credit, up to 75%, by citing their own experiments.
Q: Why study pre-training instead of fine-tuning or RL to learn deep learning?
A: Suhas Kotha says pre-training has a low-noise validation loss that predicts downstream ability, scaling laws let small runs reflect large ones, and every run starts from random weights, so experiments are reproducible and easy to reason about.
Q: What is the d8 model used in CS312?
A: A Llama-style 8-layer transformer with about 30 million parameters, trained on about 600 million tokens of web text with a 4096-token vocabulary and 1024-token sequences. One run takes about ten minutes on a single GPU and reaches about 2.93 loss at the default learning rate of 3e-3.
Q: What happens if you remove residual connections or prenorm from a transformer?
A: In the d8 ablations, removing residuals made essentially nothing train, while attention mattered much more than the MLP. Removing prenorm only looked fatal at the default learning rate; with a 3x lower learning rate, it trained close to the other variants.
Chapters:
0:00 Welcome and course staff introductions
2:11 Deep learning breaks classical ML intuitions
7:02 Embracing the alchemy: Rahimi and Shazeer
8:48 Teaching deep learning with prediction quizzes
11:57 Why prediction is understanding
15:07 Assignments: topics, 0% grade, AI use
20:23 Quizzes, partial credit, and fairness
26:10 Tutorials, Modal compute, and the waitlist
30:12 Who this class is for: pros and cons
34:16 Scoping deep learning down to pre-training
41:39 The d8 model organism and default run
48:37 Demo: learning rate sweep and 2.93 loss
52:31 Sample assignment: ablations and residuals
1:02:17 In-class sample quiz and answers
About the speakers:
Tatsunori Hashimoto is an Assistant Professor of Computer Science at Stanford University and a faculty affiliate of the Stanford Institute for Human-Centered Artificial Intelligence (HAI). His research uses tools from statistics to make machine learning systems more robust and reliable, especially for language. He also teaches CS336: Language Modeling from Scratch. He was a postdoc at Stanford with John Duchi and Percy Liang, earned his PhD at MIT, and studied statistics and math at Harvard.
Suhas Kotha is a Computer Science PhD student at Stanford advised by Percy Liang and Tatsunori Hashimoto, researching language model pre-training, including how to train when compute is abundant relative to data. Suhas co-created CS312: Deep Learning Alchemy and previously studied at Carnegie Mellon University.
Course website: https://deep-learning-alchemy.github.io/
Recorded September 22, 2026, in CS312: Deep Learning Alchemy, a Stanford University course taught by Tatsunori Hashimoto and Suhas Kotha.
#DeepLearning #MachineLearning #Stanford Receive SMS online on sms24.me
TubeReader video aggregator is a website that collects and organizes online videos from the YouTube source. Video aggregation is done for different purposes, and TubeReader take different approaches to achieve their purpose.
Our try to collect videos of high quality or interest for visitors to view; the collection may be made by editors or may be based on community votes.
Another method is to base the collection on those videos most viewed, either at the aggregator site or at various popular video hosting sites.
TubeReader site exists to allow users to collect their own sets of videos, for personal use as well as for browsing and viewing by others; TubeReader can develop online communities around video sharing.
Our site allow users to create a personalized video playlist, for personal use as well as for browsing and viewing by others.
@YouTubeReaderBot allows you to subscribe to Youtube channels.
By using @YouTubeReaderBot Bot you agree with YouTube Terms of Service.
Use the @YouTubeReaderBot telegram bot to be the first to be notified when new videos are released on your favorite channels.
Look for new videos or channels and share them with your friends.
You can start using our bot from this video, subscribe now to Deep Learning by Prediction: Intro | Stanford CS312 Lecture 1 with Tatsunori Hashimoto & Suhas Kotha
What is YouTube?
YouTube is a free video sharing website that makes it easy to watch online videos. You can even create and upload your own videos to share with others. Originally created in 2005, YouTube is now one of the most popular sites on the Web, with visitors watching around 6 billion hours of video every month.