Back to Case Studies

Graph-Based Identity Fraud Detection

Synthetic Identities, Account Takeover and Fraud Rings at 1.5B Events a Day

ProductionCybersecurity & FraudFinancial Services & FinTechAug 2024 – Jun 2026MLOps, Infrastructure & Data Science
~0.99
Recall: almost no fraud slips through
~0.93
F1 score
99.5%
Accuracy on AI-synthesised identities
~1.5B
Events scored per day

My Role

Role
Tech lead, then consulting lead
At Dataforest
Team
Our team, mostly one of my engineers
Stage reached
In production, full event stream
Key decisions
  • Two speeds: boosting online, GNNs offline
  • Models tuned for recall over precision
  • Community detection to flag whole fraud rings

Approach at a Glance

Details
  1. 1Two Speeds: Real-Time Features + Boosting, Offline GNNs
  2. 2Synthetic Identity Detection
  3. 3Account Takeover
  4. 4Fraud Rings through Community Detection
  5. 5Temporal Windows and Velocity
  6. 6Optimising for Recall
  7. 7Risk Scoring API

Executive Summary

Fraud-detection mechanisms for a US company that fights identity fraud with one of the largest independent identity graphs in the industry. Its graph links identities, devices, IPs and activity from about 185 million weekly users across more than 150,000 sites and apps, roughly 1.5 billion events a day. Banks, fintechs, lenders and other businesses call its API to decide whether an identity is real and whether an action can be trusted.

At Dataforest, I led the work on the AI mechanisms on top of that graph:

  • synthetic identity detection, including AI-generated identities;
  • account takeover, where a real identity is used by the wrong person;
  • fraud rings, found as communities of linked identities rather than one bad account at a time;
  • a real-time risk-scoring API for every event.

My key decision was to split detection into two speeds: graph features with gradient boosting for real-time scoring, and graph neural networks offline for the deeper patterns. The models were tuned for recall, because a missed fraud costs far more than a false flag. They reached about 0.99 recall with an F1 of about 0.93, running on the full event stream. On the client's side, testing showed 99.5% accuracy in identifying AI-synthesized identities, a figure the client now publishes on its website as a guarantee of its service.

I was tech lead from August 2024 to April 2025, then stayed on as consulting lead until June 2026. Our team, mostly one of my engineers, implemented the key features.


Client Profile

The client sells identity-fraud intelligence to businesses that onboard customers or process sensitive actions: banking, payments, lending, BNPL, fintech, gaming and insurance. Its advantage is the graph: activity data that shows how identities, devices and networks connect across a huge part of the internet.

Identity fraud is hard to catch with ordinary models:

  • Synthetic identities look clean. A stitched or AI-generated identity has no bad history, and on its own every field can look valid. Only its connections give it away.
  • Account takeover uses a real identity. The identity is genuine and the person isn't, so the signal is in behaviour and links, not in the identity data.
  • Fraud comes in rings. Organised groups reuse devices, IPs and patterns across many identities, and judging each account in isolation misses the group.
  • Fraud is fast. Attacks show up as bursts of linked activity in a short time window.
  • Every decision is real-time and at scale. With about 1.5 billion events a day, each score has to come back quickly, and the system can't afford heavy computation per event.
  • The two errors aren't equal. Letting fraud through as an approved action costs much more than sending a legitimate user to an extra check.

Technical Approach

  1. Two Speeds: Real-Time Features + Boosting, Offline GNNs – Running a graph neural network on every one of 1.5 billion daily events is too slow and too costly. I split the work:

    • Online: precomputed graph features, such as degree, centrality, counts of shared attributes and links to known-bad nodes, feed gradient boosting models that score each event in real time.
    • Offline: GNNs (GraphSAGE and GAT) learn deeper structural patterns over the graph, classifying nodes and edges and producing signals that flow back into the real-time features.

    The API gets the speed of tabular models with much of the structural insight of graph learning.

  2. Synthetic Identity Detection – Synthetic identities are caught by their structure: how their attributes are shared with other identities, how they connect to devices and networks, and how they compare with the patterns of real people. The GNNs are well suited to this, because they learn from a node's neighbourhood rather than its own fields.

  3. Account Takeover – For stolen identities, the system looks for a real identity appearing in the wrong context: new devices, networks or behaviour that don't fit the identity's history in the graph.

  4. Fraud Rings through Community Detection – Community detection on identity links finds clusters of identities that share devices, IPs or behaviour. The system can flag a whole ring, and a new identity that joins a known community inherits its risk.

  5. Temporal Windows and Velocity – Fraud often appears as a burst: many linked identities or actions within a short time. Temporal graph features over time windows, such as how fast new links form and how many events share an attribute in the last hour, capture that velocity, on a streaming view of the graph.

  6. Optimising for Recall – Missing fraud is the most expensive error, so I had the models tuned for recall: catching almost every fraud case, at the price of sending some legitimate users to extra verification. The models reached about 0.99 recall, meaning almost no fraud passes as an approved action, with an overall F1 of about 0.93.

  7. Risk Scoring API – Every event receives a risk score through the API that the client's customers already integrate into their fraud-prevention and identity-verification flows, running on the full stream of about 1.5 billion events a day.


Business Outcome

The fraud mechanisms score the client's full stream of about 1.5 billion events a day and catch almost all fraud before it is approved, with about 0.99 recall and an F1 of about 0.93. The client's own testing measured 99.5% accuracy on AI-synthesized identities, which it now publishes as a guarantee to its customers. Synthetic identities, account takeovers and fraud rings are detected from how identities connect and behave over time, not only from what each identity looks like on its own.

The two-speed design was what made graph intelligence usable in real time. Heavy graph learning runs offline, and its insights reach the live API as features that a fast model can score on every event.

Technologies

Graph AnalyticsGraph Neural NetworksGraphSAGEGATGradient BoostingCommunity DetectionTemporal GraphsStreamingRisk Scoring API

Planning something similar?

Tell me about it on a short call. New projects can start within 2 weeks