Stanford Online

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

YouTube summary11 sectionsWatch on YouTube ↗

This is an AI-generated summary of the YouTube video "Deep Learning by Prediction: Intro | Stanford CS312 Lecture 1 with Tatsunori Hashimoto & Suhas Kotha" (Stanford Online), made with Samuraize and published by Samuraize. It condenses the YouTube video into 11 titled sections you can read in a couple of minutes, each linking to the moment in the video it covers.

1
Filed under🎓 Education0 comments🍱 Add to trayReport
Study this

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

Stanford Online

切

Course setup 0:05

Suhas and Tatsunori Hashimoto introduce themselves and the other teaching staff, then note that the class is recorded and will be posted on Canvas and YouTube. They say deep learning sits behind many forms of AI, from LLMs to Waymo, AlphaFold, and AlphaGo, but that the field is still poorly understood. They frame the course as an experimental attempt to teach deep learning in a different way.

切

Prediction over theory 3:31

The lecture rejects familiar models from machine learning and convex optimization, such as neat bias-variance curves, double descent as a full explanation, and smooth gradient descent stories. Those ideas are described as useful but brittle, since real deep learning often behaves differently once hyperparameters and regularization change. Instead of classical theory, paper tours, or project-based learning, the course will center on prediction quizzes that ask you to forecast what will happen in concrete experiments.

切

Black box approach 13:31

Treat deep learning as a box that takes optimizers, architectures, data, and losses, then gives back loss curves and internal metrics such as activations and gradient norms. The class asks you to predict two things: what happens to the loss, and what happens inside the model. If you can make accurate predictions for arbitrary inputs, you would have a full working model of how deep learning behaves.

切

Assignments and quizzes 15:01

There will be seven assignments on topics such as experiment design, hyperparameters, optimizers, sharpness, chaos, architectures, training stability, signal propagation, generalization, and robustness. Most work comes from the assignments, but they count for 0% of the grade. Quizzes are the main assessment. They happen about every 1.5 weeks, start one week from today, and ask prediction questions with easy, medium, and hard levels. Tutorials are small-group discussions that begin in week three.

切

Tutorials and compute 26:30

The course will use its tutorial time for small-group chats about assignments and quizzes. Those quizzes count for about 15 percent of the grade, and they will be graded loosely. The staff also says the class is compute hungry. Credits will be sent to enrolled students and the waitlist so they can sign up, run experiments, and keep up with the work.

切

What the class studies 30:02

The class is built around learning deep learning intuition through hands-on work, but only inside a narrow setting. It will focus on training, especially pre-training, and not on the full pipeline of task design, data collection, evaluation, or deployment. The promise is that you will know one tiny language model well, even if you will not know all of deep learning.

切

Pretraining at small scale 39:00

Small runs are useful because validation loss is clean enough to extrapolate from modest compute to much larger compute. The work also starts from random weights each time, so experiments are reproducible and easier to reason about. The class stays with language-model pre-training at first, then plans to move to another modality later, so you can compare what stays the same and what changes across settings.

切

Training setup and defaults 42:01

The training recipe has four pieces: data, objective, architecture, and optimization. The model predicts the likelihood of text with an autoregressive loss, using cross entropy on 1,024-token sequences from DCLM internet text. The default setup uses a Llama-style model with about eight layers, 30 million parameters, 600 million tokens, and a run that takes about 10 minutes on one GPU.

切

Experimental habits 51:31

The focus stays on building intuition by running experiments and reading the numbers closely. The same habits are meant to transfer across domains, not just language models. You are expected to do hyperparameter searches, notice which settings are sensitive, and learn how those settings scale. The point is to build your own model of the system by trying things yourself.

切

Assignments and quizzes 52:31

The work is set up around problems that ask you to probe transformer design. Some parts are structured, like training versions with the MLP, attention, residual connections, or positional embeddings removed. Other parts are open-ended, where you choose experiments to test ideas such as changing the residual connection or adding noise. You are told to make clear plots, write a short report, and use it later for partial credit on the quiz.

切

Quiz answers and wrap-up 1:05:30

The quiz review says you could submit anything, since the point was only to feel the pressure of a future quiz. It gives the key answers: no pre-norm needed a learning rate three times lower, residuals were crucial, and some mixed-noise changes barely mattered. No positional embeddings could still work because masking leaks position, and the class ends with a wait-list note.

AI-generated summary. It can be wrong or incomplete - check anything that matters against the original.

Summarize your own YouTube video

Paste a YouTube link, article, PDF, ebook or slide deck and get a summary like this in seconds. Free to try, no sign-up needed.

⚔️ Try the YouTube summarizer

Discussion

Sign in to join the discussion. Sign in

More from the Bento Box

Browse the Bento Box →

With your OK, Microsoft Clarity and Google Analytics set cookies (data goes to the US) so we can see what breaks. Cookie details