Skip to content
Finance Lessons
🕸️

Graph Neural Networks for Financial Networks & Systemic Risk

Most ML in finance flattens the world into a feature table and throws the relationships away. But finance is natively a graph — and the questions that matter most (Who fails if this bank fails? Which wallets form a fraud ring? How does a peer firm's shock propagate?) live in the edges, not the rows. This is the relational toolkit, with the leakage discipline carried in from deep learning.

Markets are not a table of returns — they are a graph: banks lending to banks, firms wired into supply chains, assets co-moving, wallets transacting on-chain. Learn graph neural networks — message passing, node/edge/graph tasks — and aim them at the problems a flat table cannot see: contagion, systemic risk, fraud rings, and relational alpha.

Almost every machine-learning recipe in finance begins by committing the same quiet act of vandalism: it takes a world that is densely interconnected — banks lending to banks, suppliers shipping to manufacturers, assets that crash together, wallets that pass coins between them — and flattens it into a table. One row per entity, a tidy column for each feature, and the relationships? Severed. Thrown out with the metadata. Yet the most important questions in finance live precisely in those discarded relationships: If this bank fails, who else falls? Which wallets, individually unremarkable, together form a fraud ring? When a key supplier stumbles, which firms three links downstream are about to miss earnings? A flat table, by construction, cannot see any of it.

This course hands you the toolkit that refuses to throw the edges away. A graph neural network (GNN) learns directly on the network: nodes (institutions, firms, assets, wallets), edges (loans, supply links, correlations, transfers), and a single deceptively powerful idea called message passing — each node repeatedly updates its own representation by aggregating information from its neighbours. From that one mechanism falls everything: scoring an institution by the company it keeps, predicting a hidden counterparty link, classifying a whole portfolio’s fragility, and tracing a shock as it cascades hops away through the lending graph. We build on Deep Learning for Market Data: you already respect tiny effective sample sizes, purged evaluation, and the deflated Sharpe — and you will need every bit of that paranoia, because graphs leak harder than any data structure you have met. The arc:

By the end you will be able to model a financial system as the network it actually is, choose the architecture whose inductive bias fits the problem, and — most valuably — distinguish a genuine relational edge from a leakage artifact that a topology-blind split manufactured for you. A graded final exam runs the whole discipline back at you, one locked question at a time.

In this topic

  1. 1 Markets Are Graphs, Not Tables Most ML in finance flattens an interconnected world into a feature table and severs the relationships. This is the representation shift: nodes and edges, directed vs undirected, weighted vs binary, the node/edge/graph feature stack, and the four canonical finance graphs — interbank lending, supply chains, asset-correlation networks, and on-chain wallet/transaction graphs. 18 min
  2. 2 Message Passing and the Three Tasks The engine inside every graph neural network: each node updates itself by aggregating from its neighbours. Why permutation-invariant pooling is non-negotiable, how stacking layers grows the receptive field one hop at a time, and the three task types — node-level (score an institution or wallet), edge-level (predict a link), and graph-level (score a whole network state). 20 min
  3. 3 GCN, GraphSAGE, GAT and Temporal GNNs The architecture lineage of graph neural networks: spectral-flavoured GCN with fixed degree-normalised averaging, inductive GraphSAGE that samples-and-aggregates and generalises to unseen nodes, GAT that learns attention weights over neighbours, and temporal/dynamic GNNs for a financial network whose topology changes every day. 22 min
  4. 4 Systemic Risk and Contagion The killer application for graph learning: how a single default cascades through an interbank lending network, why DebtRank and feedback loops capture the systemic fragility a per-firm tabular model structurally misses, and how a graph neural network learns a fragility score that embeds the network's topology. 22 min
  5. 5 Fraud Rings and Relational Alpha Aiming graph learning at money: AML ring detection on transaction graphs where the signal is the structure and no single account looks guilty, relational and peer-firm alpha that propagates a signal across supply-chain and co-movement edges, and on-chain analytics on wallet graphs. 22 min
  6. 6 The Honest Audit: Leakage and Over-Smoothing The sober field manual for graph models in finance: why graphs leak harder than any data structure (a node sees its neighbours, so a careless split lets the test set peek across edges), topology-aware splitting, over-smoothing as you stack too many layers, non-stationary topology, and the brutal data-plumbing cost that sinks most GNN projects. 22 min
  7. 7 Graph Neural Networks for Financial Networks — Final Exam The graded final exam for Graph Neural Networks for Financial Networks: markets as graphs (nodes, edges, the four finance graphs), message passing and the node/edge/graph tasks, the GCN/GraphSAGE/GAT/temporal-GNN lineage, systemic risk and the default cascade with DebtRank, fraud-ring and relational-alpha applications, and the honest audit of leakage, over-smoothing, non-stationary topology and the data-plumbing tax. 25 min

Mark course as finished

Done with every lesson? Lock it in — your progress is saved on this device.