Skip to content
All categories

ai

1274 posts

Turn a Final Project into a Testable Question | Stanford CS224N Lecture 6

Lecture 6 completes the Transformer picture with encoders, decoders, and cross-attention, then breaks the final project into formats, assessment, research topics, and data. A viable topic needs one explicit baseline and metric.

Four Paradigm Shifts in NLP | Stanford CS224N Lecture 1

Winter 2026 Lecture 1 divides NLP into four eras: early exploration, symbolic systems, statistical machine learning, and deep/self-supervised learning. The point is not the dates but how each era redefined the language problem.

Reading Agentic Interpretability Without Public Slides | Stanford CS224N Lecture 15

Lecture 15 is Been Kim's interpretability guest session, but the Winter 2026 site publishes no slides or agenda. This article does not invent lecture content; it maps the five official readings across concept discovery, agentic investigation, and new vocabulary.

An Official Reading Map for Multimodality | Stanford CS224N Lecture 17

Lecture 17 is Luke Zettlemoyer's multimodality guest session, but the site publishes no slides or agenda. Its official readings establish three routes: visual reasoning workspaces, early-fusion token models, and text autoregression with image diffusion.

How Small Models Can Move Beyond Brute-Force Scaling | Stanford CS224N Lecture 19

The final lecture frames Open Questions in NLP 2026 as smart scaling: prolonged RL, Prismatic synthetic data, RL as pretraining, and open collaboration seek reasoning gains beyond adding parameters.

From Instruction Tuning and RLHF to DPO | Stanford CS224N Lecture 8

Lecture 8 explains how instruction tuning, preference data, and RLHF turn a pretrained model into an assistant, then derives DPO from winner–loser pairs. Every step converts human judgment into signal—and imports its biases.

Pretraining, Subwords, and In-Context Learning | Stanford CS224N Lecture 7

Lecture 7 decomposes pretraining into scalable data, subword tokenization, three model objectives, and in-context learning. A general self-supervised objective yields reusable representations; downstream signals specify their use.

Six Components of RAG and Language Agents | Stanford CS224N Lecture 10

Lecture 10 moves from question answering and RAG into language agents, then decomposes them into reasoning and planning, memory, tools, data, and evaluation. An agent is an inspectable loop between a model and external state.

Decoding, DeepSeek-R1, and Reasoning Training | Stanford CS224N Lecture 12

Lecture 12 shows that output policy is not a detail: greedy, beam, and sampling produce different text. It then moves from R1-Zero/R1 into PPO, GRPO, and DAPO, asking when longer reasoning actually helps.

Speculative Decoding and Test-Time Scaling | Stanford CS224N Lecture 13

Lecture 13 moves from inference efficiency to inference capability: speculative decoding drafts with a small model and verifies with a large one; on-policy distillation addresses drift; long context and test-time scaling spend inference resources.

Language Models, RNNs, and Vanishing Gradients | Stanford CS224N Lecture 4

Lecture 4 defines a language model as a next-word probability distribution, then uses an RNN to compress an arbitrarily long prefix. It also exposes recurrence's central cost: information and gradients travel one time step at a time.

Hallucination, Creativity, Work, and Alignment | Stanford CS224N Lecture 16

Lecture 16 divides NLP's social impact into four questions: why models hallucinate, why AI-assisted creativity may homogenize output, how work is reorganized, and why value alignment cannot be reduced to one reward.

Low-Rank Updates: Preparing for the Tinker Guest Session | Stanford CS224N Lecture 18

Work through a low-rank update, distinguish update rank from full-weight rank, and count trainable parameters. This preparation follows the LoRA paper and does not reconstruct the unavailable guest session.

How Tokenization Creates Multilingual Cost Gaps | Stanford CS224N Lecture 14

Lecture 14 moves from word, character/byte, and subword segmentation to BPE failures and cross-lingual fairness. A tokenizer determines sequence length, compute cost, and the units a model sees; it is not neutral preprocessing.

From Recurrence to the Transformer | Stanford CS224N Lecture 5

Lecture 5 moves from the long-range and sequential bottlenecks of RNNs to self-attention and the Transformer. It shortens information paths and enables parallel computation, at the price of quadratic attention and separately encoded position.

How word2vec Turns Meaning into Vectors | Stanford CS224N Lecture 2

Lecture 2 moves from word2vec's prediction task, objective, and gradients to count-based vectors and evaluation. Meaning becomes a high-dimensional position learned from context, not a label retrieved from a dictionary.

How SPINACH Explores Wikidata and Builds SPARQL | Stanford CS224V Lecture 10

SPINACH does not guess complete SPARQL in one shot. It searches entities and properties, inspects Wikidata entries and examples, executes small queries, and composes a final query under explicit action and stopping rules.

CHURRO Makes Multilingual Historical Documents Searchable | Stanford CS224V Lecture 12

CHURRO represents full-page text, layout, and metadata in HDML, unifies multilingual historical data for a page-level VLM, and connects extraction to HistoryGenie for searchable, conversational archives.

Scaling Language Models When Data Is the Bottleneck | Stanford CS224V Lecture 14

The final lecture is not a complete LLM-training tutorial. It studies data efficiency under fixed data and abundant compute, revisiting epochs, batches, ensembles, self-training, and conditions for synthetic continued pretraining.

WikiChat's Seven-Stage Defense Against Hallucination | Stanford CS224V Lecture 5

The [WikiChat paper](https://aclanthology.org/2023.findings-emnlp.157/) expands RAG into query formulation, retrieval, filtering, generation, claim extraction, renewed retrieval and verification, and removal of unsupported content—and evaluates retrieval separately from factuality.