Skip to content
All tags

#cs224w

20 posts

Introduction: Why Relational Data Needs Graph Machine Learning | Stanford CS224W Lecture 1

A slide-grounded reconstruction of Fall 2025 Lecture 1, covering Course map and tools, A common language for graph data, Hand-designed features and representation learning while documenting the classroom material unavailable to self-learners.

Node Embeddings: From Random Walks to node2vec | Stanford CS224W Lecture 2

A slide-grounded reconstruction of Fall 2025 Lecture 2, covering Encoder-decoder view, Similarity and the objective, Random walks while documenting the classroom material unavailable to self-learners.

Graph Neural Networks: A First Complete Message-Passing Model | Stanford CS224W Lecture 3

A slide-grounded reconstruction of Fall 2025 Lecture 3, covering From fixed embeddings to deep encoders, The message-passing framework, Aggregation and update while documenting the classroom material unavailable to self-learners.

A General Perspective on GNNs: Turning a Model into Design Components | Stanford CS224W Lecture 4

A slide-grounded reconstruction of Fall 2025 Lecture 4, covering The GNN design space, Message, aggregation, and update, GraphSAGE while documenting the classroom material unavailable to self-learners.

GNN Augmentation and Training: Co-designing Data, Tasks, and Models | Stanford CS224W Lecture 5

A slide-grounded reconstruction of Fall 2025 Lecture 5, covering Graph-data augmentation, Feature and structural augmentation, Supervision and loss while documenting the classroom material unavailable to self-learners.

Theory of GNNs: The WL Test, GIN, and Expressive Limits | Stanford CS224W Lecture 6

A Fall 2025 slide-grounded reconstruction of Lecture 6, covering What distinguishability means, The Weisfeiler–Lehman test, An upper bound for message passing while documenting unavailable classroom material.

Designing Powerful Graph Encoders: Structural and Positional Awareness | Stanford CS224W Lecture 7

A Fall 2025 slide-grounded reconstruction of Lecture 7, covering The perfect-GNN thought experiment, Three levels of standard-GNN failure, Identity-aware encoding while documenting unavailable classroom material.

Graph Transformers: Connecting Attention to Graph Structure | Stanford CS224W Lecture 8

A Fall 2025 slide-grounded reconstruction of Lecture 8, covering Self-attention and message passing, The scope of graph attention, Positional and structural encodings while documenting unavailable classroom material.

Heterogenous Graphs: Adding Node and Relation Types to Message Passing | Stanford CS224W Lecture 9

A Fall 2025 slide-grounded reconstruction of Lecture 9, covering Heterogeneous graph schemas, Relation-specific messages, R-GCN while documenting unavailable classroom material.

Knowledge Graphs: Modeling Relations with TransE, ComplEx, and RotatE | Stanford CS224W Lecture 10

A Fall 2025 slide-grounded reconstruction of Lecture 10, covering Knowledge graphs and completion, Triple scoring, TransE and relation patterns while documenting unavailable classroom material.

GNNs for Recommender Systems: From Collaborative Filtering to LightGCN | Stanford CS224W Lecture 11

A Fall 2025 slide-grounded reconstruction of Lecture 11, covering Graph formulation of recommendation, The matrix-factorization baseline, Message passing in NGCF while documenting the public-material boundary.

Relational Deep Learning: Turning Databases Directly into Prediction Graphs | Stanford CS224W Lecture 12

A Fall 2025 slide-grounded reconstruction of Lecture 12, covering Limits of the tabular pipeline, Mapping relational databases to graphs, Temporal entity graphs while documenting the public-material boundary.

Advanced Architectures in RDL: RelGNN and the Relational Graph Transformer | Stanford CS224W Lecture 13

A Fall 2025 slide-grounded reconstruction of Lecture 13, covering The multi-relational bottleneck, RelGNN composite message passing, Relation-specific aggregation while documenting the public-material boundary.

Advanced Topics in GNNs: In-Context Learning and Uncertainty on Graphs | Stanford CS224W Lecture 14

A Fall 2025 slide-grounded reconstruction of Lecture 14, covering The goal of relational foundation models, Zero-shot relational transfer, PRODIGY's prompt graph while documenting the public-material boundary.

Foundation Models for Knowledge Graphs: New Entities, New Relations, and Double Equivariance | Stanford CS224W Lecture 15

A Fall 2025 slide-grounded reconstruction of Lecture 15, covering Limits of transductive KG embeddings, Entity-inductive link prediction, The relation graph while documenting the public-material boundary.

LLM + GNN: Letting Language Models Read Graphs and Graph Models Read Text | Stanford CS224W Lecture 16

A Fall 2025 slide-grounded reconstruction of Lecture 16, covering Complementary gaps in LLMs and GNNs, Text-attributed graphs, The LLM as predictor or encoder while documenting the public-material boundary.

Agents + Graphs: Retrieval, Planning, and Action in Structured Worlds | Stanford CS224W Lecture 17

A Fall 2025 slide-grounded reconstruction of Lecture 17, covering From graph QA to agents, Multimodal retrieval in STaRK, Tool use and traversal while documenting the public-material boundary.

Deep Generative Models for Graphs: GraphRNN and Goal-Directed Molecular Generation | Stanford CS224W Lecture 18

A Fall 2025 slide-grounded reconstruction of Lecture 18, covering The graph-generation problem and representation, Evaluating generation quality, GraphRNN's autoregressive factorization while documenting the public-material boundary.

Ranking 315K GNN Designs with Anchor Models | Stanford CS224W Lecture 19

The Fall 2025 conclusion studies roughly 315K GNN designs across 32 tasks: run a small set of anchor models, derive task similarity from rankings, and transfer the best designs from similar tasks.

Machine Learning with Graphs: Where the 19 Lectures Focus and the Six Colab Assignments | Stanford CS224W Course Overview

CS224W is Stanford's machine learning with graphs course: nineteen lectures from node embeddings, GNNs, graph transformers and knowledge graphs to relational deep learning and GNNs with LLMs. The slides, three written homeworks and six Colabs are public and run as downloaded; the public recordings date from 2021, so the newer topics in the second half exist only as slides, and the exam and autograding are out of reach.