YTUnity logo

Welcome to YTUnity

One free SpiderTaz Network account works across every network site.

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

Stanford Online Guide 2 days ago

Description

Browse Stanford's online courses in deep learning: https://stanford.io/4zhLWFN

Can 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.

Watch the full playlist: https://www.youtube.com/playlist?list=PLXRTcAYPI4AU

#DeepLearning #MachineLearning #Stanford

Featured creators

Creators on the SpiderTaz Network

Become a creator →