Traditional ML approaches to fraud detection analyse each transaction or account in isolation — treating entities as independent observations. But financial fraud and money laundering are fundamentally graph problems: fraud rings consist of networks of connected accounts; money mule networks have characteristic flow patterns between accounts; synthetic identity fraud uses shared phone numbers, addresses, and device fingerprints across multiple fraudulent identities. Graph Neural Networks (GNNs) account for these structural relationships, achieving 20–40% higher fraud detection rates than traditional tabular ML models in benchmark studies from UK major banks.
A financial transaction graph for a UK bank: nodes are accounts, merchants, and individuals; edges are transactions with timestamp, amount, and channel attributes. Building such a graph: a UK retail bank with 5M customers has approximately 50M+ transactions per month — a graph with 5M+ nodes and 50M+ edges over a typical rolling window. GraphSAGE (Graph Sample and Aggregate) is the most practical GNN architecture at this scale: instead of processing the entire graph, GraphSAGE samples the neighbourhood of each node and aggregates features — scalable to billion-node graphs. Alternatives: Graph Attention Networks (GAT) for tasks where the relative importance of edges matters; Temporal GNN for capturing time-evolving fraud patterns.
AML (Anti-Money Laundering) transaction network analysis with GNNs: a typical money laundering layering scheme involves 5–15 intermediate accounts passing funds through multiple hops. Traditional rule-based AML systems (such as NICE Actimize) generate excessive false positives — UK banks spend £5–8bn per year on AML compliance with a typical false positive rate of 95–99% (i.e., only 1–5% of alerts are genuine suspicious activity). GNNs can: detect circular money flows through graph cycle detection, identify structuring patterns that avoid reporting thresholds, and flag connected account clusters with unusual velocity patterns. HSBC UK and NatWest Group are among the UK banks that have deployed GNN-based AML screening.
FCA and JMLSG (Joint Money Laundering Steering Group) regulate AML in the UK. JMLSG Guidance (updated 2024) does not prescribe specific technologies but requires that ML-based AML systems: (1) are auditable and explainable — the firm must be able to explain why a specific transaction/account was flagged; (2) are regularly validated and calibrated; (3) do not replace human judgement for Suspicious Activity Reports (SARs). The UK financial intelligence unit NCA (National Crime Agency) coordinates SARs — in 2023-24 it received 901,255 SARs from UK regulated firms. The FCA conducts thematic reviews of ML use in financial crime detection — firms must be prepared for deep-dive supervisory queries.
Node classification and link prediction in a fraud graph: GNN for fraud detection performs two main tasks. (1) Node classification: each account node is assigned a fraud probability score — the GNN aggregates the features of the account itself plus the features of its transaction neighbourhood. Features per node: account age, average transaction amount, transaction velocity, geographic diversity of transactions. Features per edge: transaction amount, time of day, merchant category code (MCC), channel (online/ATM/branch). (2) Link prediction: does a hidden connection exist between two accounts not reflected in direct transactions but present through shared attributes (shared device, IP, phone number)? Link prediction GNN uncovers these implicit connections.
Practical tech stack for GNN fraud detection in UK fintech: PyTorch Geometric (PyG) or DGL (Deep Graph Library) for GNN implementation; Neo4j or Amazon Neptune for graph database storage and querying; Apache Kafka for real-time transaction streaming to graph updates. For streaming fraud detection: incremental graph updates on each transaction plus GNN inference on a neighbourhood subgraph within 50–100ms (practical for online fraud scoring). Cloud: AWS eu-west-2 (London) with Neptune plus SageMaker GNN endpoints, or Azure UK South with CosmosDB Gremlin API plus ML endpoints. Regulatory data retention: UK AML regulations require transaction records to be kept for 5 years — the graph database can store historical edges with a time-windowed active subgraph for inference.
Related Codeworth Services
Need Help with Implementation?
The Codeworth team is ready to implement these ideas in your project. Free consultation.
Discuss the ProjectCodeworth team specialist.