AML Sentinel
See the network. Catch the crime!
Created on 2nd September 2026
•
AML Sentinel
See the network. Catch the crime!
The problem AML Sentinel solves
Traditional Anti-Money Laundering (AML) systems rely on rigid, rules-based logic that evaluates transactions in isolation. This legacy approach creates two massive problems for financial institutions: an overwhelming flood of false-positive alerts (often exceeding 95%), and a complete failure to detect modern, sophisticated laundering rings that spread illicit funds across complex networks of accounts.
When a true positive is found, compliance analysts must spend hours manually tracing funds across databases and writing detailed Suspicious Activity Reports (SARs) for regulators. Furthermore, attempting to replace these legacy rules with standard "Black Box" AI introduces regulatory risk, as auditors demand strict explainability for why an account was frozen.
AML Sentinel solves this by shifting the paradigm from isolated transaction monitoring to graph-based network analysis paired with Generative AI explainability.
What people can use it for:
1)Uncovering Hidden Laundering Rings: Instead of looking at single transactions, compliance teams can upload transaction datasets and use AML Sentinel to evaluate the entire network topology. It automatically flags complex typologies like "smurfing" (structuring large sums into small, undetected transactions) and nested mule accounts.
2)Automated Alert Triage: Financial Investigation Units (FIUs) can use the platform as a primary alert queue. The system scores every entity using an ensemble of Graph Neural Networks (GNNs), pushing only the highest-risk networks to the top of the queue.
3)Instant SAR Generation: Investigators can use the Gemini AI integration to automatically synthesize raw transaction data and GNN model weights into a clear, human-readable narrative, dramatically accelerating the reporting process.
How it makes existing tasks easier and safer:
1)Contextual Accuracy over Rigid Rules: By utilizing a parallel ensemble of 4 Graph Neural Networks (GIN, GAT, PNA, RGCN), the platform catches sophisticated evasion tactics that traditional rules miss, while simultaneously ignoring benign behavior that rules normally flag. This drastically reduces false positives and analyst fatigue.
2)Traceable, Explainable AI: It bridges the gap between advanced machine learning and regulatory compliance. Rather than acting as a black box, AML Sentinel traces exactly which nodes and edges contributed to the risk score.
3)Regulatory Safety & Auditor Confidence: Every AI-driven verdict generated by Gemini is firmly grounded in the retrieved graph data. Analysts are presented with verifiable evidence alongside the AI's reasoning, ensuring that every account freeze or compliance action is safe, defensible, and fully auditable.
Challenges we ran into
Building a system that merges Graph Neural Networks (GNNs), Generative AI, and a real-time web interface brought several complex engineering challenges. Here are the major hurdles we faced and how we overcame them:
- Untangling the "Hairball" of Graph Visualization:
The Hurdle: Our PyTorch Geometric (PyG) backend successfully detected complex laundering topologies, but rendering these transactions on the frontend initially resulted in a chaotic, unreadable "hairball" of overlapping nodes and edges. For a compliance analyst, an unreadable graph is a useless graph.
The Fix: We completely rebuilt the network graph rendering engine on the frontend. We implemented a custom d3.js collision force with a stronger negative charge to prevent node overlap. To make the data intuitive, we added animated directional particles along the edges (where speed and width scale based on the transaction amount) so you can actually see the money moving. Finally, we added a hover-to-focus feature that dims everything except the hovered node's immediate neighborhood, allowing analysts to easily trace illicit flows by eye.
- Taming the LLM for Strict UI Schemas:
The Hurdle: We used Gemini AI to generate explainable narratives for the flagged graphs. However, Large Language Models are inherently non-deterministic. If Gemini returned a beautifully written narrative but broke our JSON structure, the React frontend would crash trying to parse the verdict, reasoning steps, and model weights.
The Fix: Prompt engineering wasn't enough. We implemented strict response_schema enforcement directly within the Gemini API orchestration layer and created a robust fallback chain. By locking down the output format and enforcing a strict budget on the AI's generation steps, we ensured 100% deterministic, parseable JSON payloads. The UI now reliably renders the AI's reasoning step-by-step without ever breaking the component state.
- React Event Bubbling Infinite Loops:
The Hurdle: While building the drag-and-drop CSV upload zone for the GNN Ensemble, we ran into a bizarre browser bug. Clicking the drop zone was causing the OS file explorer dialog to stack and open multiple times infinitely, completely locking up the user's browser.
The Fix: The issue was an event bubbling recursion—the hidden <input type="file"> sat inside the div carrying the onClick handler. When input.click() was called, the click bubbled up to the parent div, which called input.click() again. We fixed this by un-nesting the input outside the clickable region and ensuring our onFileChange handler manually cleared the input value afterward, completely resolving the infinite loop and allowing seamless dataset switching.
- Visualizing Parallel Asynchronous AI Pipelines:
The Hurdle: We needed to prove to users that our 4 models (GIN, GAT, PNA, RGCN) were scoring the graph simultaneously in parallel, not sequentially. Coordinating SVG path animations with React state changes to accurately reflect the backend's parallel processing was a synchronization nightmare.
The Fix: We built a centralized, sequence-based state machine (SEQ_STEPS) in React tied to a strict 820ms interval timer. We refactored our SVG <animateMotion> components so that the data pipeline dynamically splits—illuminating all 4 model paths simultaneously. Once a computation step completes, the moving particles transition seamlessly into static, solid lines. This creates a deeply satisfying, accurate visual representation of the backend's parallel architecture.