Fraud detection software with graph AI

Fraud patterns often sit in the relationships between accounts, payment methods and devices. We develop fraud detection based on graph neural networks, from the graph database to live inference, with explainable decisions.

Today

  • Your rule sets assess each transaction on its own
  • Tabular models turn relationships into flat features
  • Account takeover barely shows in a single transaction
  • The signal in the connections gets lost

With graph AI

  • Accounts, payment methods, sessions and devices in one graph
  • A model that learns on the relationships
  • Live scoring of requests via a SageMaker endpoint
  • Every decision explained with SHAP

Approach

From transaction to an explained decision

  1. Step 1

    Analysis

    Analyse transaction data with your business team, prepare features

  2. Step 2

    Graph

    ETL pipeline into AWS Neptune, model the graph of accounts, devices and sessions

  3. Step 3

    Training

    Graph neural networks with DGL and PyTorch on Neptune ML or GraphStorm

  4. Step 4

    Live inference

    SageMaker endpoints, orchestrated with AWS Lambda and SageMaker Pipelines

  5. Step 5

    Explanation

    Explain decisions with SHAP, in a Streamlit dashboard for the business team

Services

What we develop for you

Focus

GNN training

Graph neural networks with DGL and PyTorch, trained on AWS Neptune ML and AWS GraphStorm.

  • Accounts, payment methods, sessions and devices in a graph
  • A model that learns from the relationships
  • Detecting account takeover in the connections
  • Every decision explained with SHAP

DGL · PyTorch · AWS Neptune ML · AWS GraphStorm

Graph engineering

We model accounts, payment methods, sessions and devices as nodes and their relationships as edges.

Graph database

ETL pipeline into a graph database such as AWS Neptune, including preparation of the transaction history.

AWS Neptune · Neo4j

Live inference and MLOps

Models behind SageMaker endpoints, orchestrated with Lambda and SageMaker Pipelines, tested with pytest.

AWS SageMaker · AWS Lambda · pytest

References

From our projects

  • AWS
  • PyTorch

A mobility and infrastructure group

Detecting account takeovers in the graph

Challenge

Account takeovers in online sales were to be detected. The signal lies in the relationships between accounts, devices and sessions.

What we did

A pipeline on AWS from the ETL route into the graph database to GNN training with DGL and PyTorch. We extended AWS GraphStorm with live inference via SageMaker.

  • AWS Neptune
  • AWS GraphStorm
  • DGL
  • PyTorch
  • AWS SageMaker
  • AWS
  • Streamlit

A mobility and infrastructure group

Predicting fraud in online purchases

Challenge

A system was to predict fraud in online purchases, with decisions the business team can follow.

What we did

A TensorFlow prototype in SageMaker was followed by an XGBoost model, orchestrated via AWS Lambda and EventBridge. A Streamlit dashboard explains every decision with Shapley values.

Outcome

The system is in production. The dashboards strengthened acceptance in the business team.

  • XGBoost
  • AWS SageMaker
  • AWS Lambda
  • Streamlit

Technologies we use

  • Graph Neural Networks
  • DGL
  • PyTorch
  • AWS Neptune
  • AWS Neptune ML
  • AWS GraphStorm
  • AWS SageMaker
  • AWS Lambda
  • XGBoost
  • Neo4j
  • Streamlit
  • Python
  • pytest

FAQ

Fraud detection software, FAQ

What sets graph-based fraud detection software apart from classic models?

Classic models assess individual transactions using flat features. Graph neural networks learn on the relationships between accounts, payment methods, sessions and devices. That reveals patterns such as account takeover that row-based methods miss. The effort for graph engineering pays off as soon as the relationships carry the signal.

Does fraud detection run in real time?

Yes, that is possible. A SageMaker endpoint scores the requests live. If a graph library has no live inference, we develop it, for example for AWS GraphStorm.

Which tech stack is the solution based on?

At the core are graph neural networks with DGL and PyTorch, trained on AWS Neptune ML and GraphStorm, with AWS Neptune as the graph database. SageMaker, Lambda and SageMaker Pipelines handle training, live inference and orchestration, and XGBoost covers tabular cases. On Azure and Google Cloud we support the same methods, for example with Neo4j or in containers.

Get started

Fraud detection software that analyses relationships

In an initial conversation we clarify your data situation, the fraud patterns and whether a graph approach fits.