Learning path
Graph ML engineer
From linear-algebra views of graphs through embeddings to graph neural networks and benchmarks.
For: ML engineers. Outcome: Train and evaluate a GNN on a standard benchmark.
Steps
- Concept
Square matrix A where A[i][j] records whether (or how strongly) node i links to node j. The bridge between graphs and linear algebra.
Exercise: Build A and D for a small graph by hand.
- Concept
A process that moves from node to node by following randomly chosen edges. Basis of PageRank, node2vec and many sampling methods.
Exercise: Simulate random walks and estimate visit frequencies.
- Algorithm
Learns node embeddings by running biased second-order random walks and training a skip-gram model on them, trading off local and global structure.
Exercise: Train node2vec on Cora and visualise embeddings.
- Concept
The common pattern of graph neural networks: each layer, nodes aggregate transformed features from their neighbours and update their own representation.
Exercise: Implement one message-passing layer in NumPy.
- Algorithm
Neural network layer that updates each node from a degree-normalised average of its neighbours' features, trained end-to-end for semi-supervised node classification.
Exercise: Train a 2-layer GCN on Cora with PyG.
- Algorithm
Inductive graph neural network that learns functions to sample and aggregate neighbour features, so it can embed nodes unseen during training.
Exercise: Train GraphSAGE with neighbour sampling on an OGB dataset.
- Benchmark
Collection of realistic, large-scale graph ML datasets with standard splits, evaluators and leaderboards for node, link and graph tasks.
Exercise: Submit-style evaluation with the official OGB evaluator.
Progress is saved in this browser only.
Profile
| Audience | ML engineers |
|---|---|
| Outcome | Train and evaluate a GNN on a standard benchmark. |
Relationships
- Parts
- Adjacency matrix(Concept)
- Random walk on a graph(Concept)
- node2vec(Algorithm)
- Message passing(Concept)
- Graph Convolutional Network (GCN)(Algorithm)
- GraphSAGE(Algorithm)
- Open Graph Benchmark (OGB)(Benchmark)