Research/Fintech

Real-Time AI Fraud Scoring: How Machine Learning Catches Payment Fraud

AI-powered fraud scoring evaluates payment risk in milliseconds using behavioral patterns, device signals, and transaction graphs.

bcTanjiNov 8, 2026

Every digital payment generates a decision: approve or decline. Modern fraud scoring systems make that decision in under 100 milliseconds, evaluating hundreds of signals from transaction data, device characteristics, and user behavior. The shift from hand-written rule sets to machine learning models has fundamentally changed how payment fraud is detected, reducing false positives while catching more sophisticated attacks.

As real-time payment rails expand globally (over 195 billion instant payment transactions were processed worldwide in 2024, according to ACI Worldwide), the window for catching fraud shrinks to near zero. Once funds move on instant rails, recovery is rare. That makes pre-transaction scoring not just helpful but essential.

From Rules to Models: Why the Shift Happened

Early fraud detection relied entirely on rule-based systems: if a transaction exceeds $5,000 from a new device in a foreign country, block it. These deterministic checks were easy to understand and audit, but they scaled poorly. As fraud tactics evolved, rule sets grew into thousands of overlapping conditions maintained by large teams. Each new rule risked blocking legitimate transactions, and fraudsters learned to stay just below the thresholds.

The industry began shifting toward machine learning in the 2010s, though early neural network experiments date back further: Visa deployed a neural network for transaction scoring as early as 1993, initially as a reference indicator rather than a decisioning engine. Widespread ML adoption came once companies accumulated enough labeled training data to make supervised models practical.

Why ML Models Outperform Static Rules

Machine learning models learn from examples of both legitimate and fraudulent behavior rather than following fixed instructions. They score risk on probability rather than binary yes/no conditions, enabling more nuanced decisions. A transaction that triggers two weak signals and one moderate signal might score a 0.72 risk probability: enough to trigger step-up authentication but not an outright block.

DimensionRule-Based SystemsML-Based Scoring
Decision logicDeterministic thresholdsProbabilistic risk scores
Adaptation speedManual rule updates (days to weeks)Model retraining (hours to days)
False positive rateHigher (rigid thresholds)Lower (continuous scoring)
ExplainabilityTransparent (each rule is readable)Requires interpretation tooling
Novel fraud detectionMisses patterns outside rule definitionsCan detect unseen patterns via anomaly scoring
Maintenance costGrows linearly with rule countFixed infrastructure, periodic retraining
Regulatory complianceEasy to auditRequires model governance frameworks
In practice, both coexist: Most production fraud systems use ML models for scoring alongside hard rules for regulatory compliance and known-bad patterns. PayPal and other major processors note that the most effective fraud programs combine both approaches in a deliberate sequence: rules handle deterministic requirements while models handle probabilistic assessment.

The Feature Engineering Pipeline

A fraud scoring model is only as good as its input features. Modern systems like Marqeta's Real-Time Decisioning evaluate over 300 real-time transaction attributes against historical patterns. These features fall into several categories.

Transaction Features

The raw transaction data itself carries signals: amount, currency, merchant category code, time of day, geographic location, and whether the card is present or not. Derived features add context: velocity (how many transactions in the last hour), amount deviation from the user's historical mean, and merchant risk category. A sudden spike in transaction frequency from a normally quiet account is a classic anomaly signal.

Device Fingerprinting

Device fingerprinting constructs a persistent identifier from browser and hardware attributes. A JavaScript snippet queries standard APIs to collect 50 to 100 or more attribute values from navigator, screen, canvas, WebGL, and AudioContext interfaces. These values are concatenated and hashed into a compact ID that the server checks against a database of known fingerprints.

Canvas fingerprinting draws hidden content and hashes the rendered pixels. Small differences in GPU hardware, driver versions, and anti-aliasing behavior make the output distinctive across devices. WebGL fingerprinting renders a 3D scene off-screen and captures GPU vendor and renderer strings alongside the output: because it reflects real hardware, it is harder to spoof than software-level attributes.

The fraud signal comes from matching devices across sessions. A single device fingerprint appearing across multiple account registrations within minutes is a strong indicator of multi-accounting or emulator-based fraud. Device farms and emulators often share fingerprint characteristics that distinguish them from real consumer devices.

Behavioral Biometrics

Beyond what users do, scoring systems analyze how they do it. Behavioral biometrics track keystroke timing, touch pressure, swipe speed, and device orientation via accelerometer and gyroscope readings. These patterns create a behavioral profile unique to each user.

  • Keystroke dynamics measure typing speed, key hold duration, and the interval between keystrokes. Fraudsters who paste stolen credentials exhibit fundamentally different typing patterns than legitimate users who type their own information.
  • Mobile sensor data captures how someone holds their phone, their scrolling cadence, and touch precision. These signals are difficult to replicate because they arise from physical habits rather than copyable data.
  • Session behavior analysis tracks navigation patterns, mouse movements, and the sequence of actions within an application. Bots exhibit machine-speed precision and unnaturally even timing that differs from human interaction.

The output is typically a risk score comparing the current session against the user's own baseline and population-level patterns, feeding into step-up authentication decisions. The market for behavioral biometrics has grown significantly: Visa's planned acquisition of BioCatch signals the scale of institutional interest in this layer.

Graph Neural Networks and Fraud Ring Detection

Individual transaction scoring catches isolated fraud, but coordinated fraud rings require a different approach. Graph neural networks (GNNs) model relationships between entities: accounts, devices, IP addresses, merchants, and phone numbers become nodes, while shared identifiers and transactions become edges. Collusion shows up as dense subgraphs and synchronized transaction bursts that flat feature tables miss entirely.

NVIDIA's AI Blueprint for fraud detection demonstrates a production architecture using GNNs and GPU-accelerated inference to map connections among accounts, devices, and transactions. The blueprint includes Shapley-value outputs for explainability: each connection's contribution to the risk score is quantified, making the model's reasoning auditable.

Fraud ring activity has been growing. Feedzai reported a 109% increase in fraud ring activity within a single year, while Thoughtworks estimates that cumulative global card fraud losses are projected to reach $403.9 billion over the next decade, with card-not-present fraud losses on track to hit $43.6 billion by 2027 (per Merchant Risk Council data). GNNs address this by finding patterns invisible to per-transaction models.

Why graphs matter: A fraudster who creates ten accounts with different names but shares the same device fingerprint, phone number, or shipping address across three of them creates a subgraph that GNNs detect. Per-transaction models evaluating each account in isolation would miss the connection.

The False Positive Problem

Fraud scoring is not just about catching fraud. It is equally about not blocking legitimate customers. False declines: transactions incorrectly flagged as fraudulent: represent an enormous cost to merchants. Oxford Economics, in research commissioned by Checkout.com, estimated that merchants in the US, UK, France, and Germany collectively lost $50.7 billion in legitimate revenue in 2022 due to erroneous declines.

Industry data from Fraudio, presented at Money20/20 Europe, shows false positives as a share of all declines nearly doubled from about 12% in October 2020 to 23.5% by mid-2026. Meanwhile, the Merchant Risk Council's 2026 survey found that overall fraud rates by order declined from 3.4% in 2024 to 3.0% in 2025: meaning systems are getting better at catching fraud, but the collateral damage to legitimate transactions remains high.

The tradeoff between catch rate and false positive rate is the central tension in fraud scoring. Tightening thresholds catches more fraud but blocks more good customers. Loosening them reduces friction but lets more fraud through. ML models help by enabling more granular scoring: instead of a binary block/allow, they can route medium-risk transactions to step-up authentication (3D Secure, two-factor authentication) while only hard-blocking high-confidence fraud.

Leading Fraud Detection Platforms

The fraud detection market spans embedded tools for payment processors, standalone platforms for enterprises, and specialized solutions for specific verticals. Here is how the major platforms compare.

PlatformPrimary Use CaseKey DifferentiatorPricing Model
Stripe RadarStripe-native merchantsTrains on billions of transactions across the Stripe network; included free with Stripe processingFree (standard) / $0.05-0.07 per screening
SiftMulti-channel digital trustUnifies fraud, content abuse, and account takeover scoring; includes bot mitigation~$30K-50K/year and up
FeedzaiEnterprise omnichannel riskConfigurable decision platform with real-time analytics and orchestration; strong in bankingEnterprise (custom pricing)
SardineCrypto and fintechBehavioral biometrics, device intelligence, and crypto-native wallet risk scoringPer-transaction
MarqetaCard issuing with embedded risk300+ real-time attributes scored in milliseconds during authorizationBundled with card issuing

The common thread across these platforms is the move toward real-time, in-line scoring: evaluating risk during the authorization flow rather than reviewing transactions after settlement. This is especially critical for real-time payment rails where post-facto recovery is nearly impossible.

LLMs for Fraud Pattern Explanation

An emerging development is the application of large language models to fraud detection: not as primary classifiers, but as explanation and analyst-support layers. A 2026 ACL paper (FinFRE-RAG) found that LLMs perform poorly when applied directly to tabular fraud detection, struggling with the extreme class imbalance and high-dimensional feature spaces typical of transaction monitoring data. However, when paired with feature reduction and retrieval-augmented in-context examples, LLMs became competitive with tabular baselines.

The more practical application is explainability. Traditional ML fraud models output a risk score and feature importances, but translating those into actionable analyst narratives requires manual interpretation. LLMs can generate human-readable explanations of why a transaction was flagged: “This transaction was scored high-risk because the device fingerprint matched three previously blocked accounts, the transaction amount was 4.7x the user's 90-day average, and the session originated from a VPN exit node in a jurisdiction inconsistent with the account's history.”

Sardine has described experiments using Claude to analyze transaction data and explain suspicious patterns without fraud-specific training. While this is an informal case rather than a controlled study, it points toward a future where LLMs serve as a translation layer between opaque model outputs and human investigators.

Crypto Payment Fraud: Unique Scoring Challenges

Cryptocurrency payments present distinct challenges for fraud scoring that traditional card-based models do not face. Understanding these differences is critical as crypto payment volume grows.

Irreversibility Changes the Calculus

Credit card transactions can be reversed through chargebacks, providing a post-hoc safety net. Confirmed blockchain transactions are immutable. This makes pre-transaction fraud detection essential rather than a best-effort complement to dispute resolution. The FBI reported that losses to financial fraud involving cryptocurrency reached $5.6 billion in 2023, a 45% increase year over year: and recovery rates for on-chain losses are far lower than for card fraud.

Pseudonymity Weakens Identity Signals

Traditional fraud scoring relies heavily on identity: name, address, phone number, and account history form the backbone of risk assessment. A self-custodial crypto wallet has no inherent identity attached. A single user can create unlimited addresses, and privacy tools further obscure transaction trails. This means identity-based features are largely unavailable, forcing scoring systems to lean more heavily on behavioral and device signals.

On-Chain Transparency as a Counterweight

While identities are pseudonymous, transactions themselves are fully public on most blockchains. This creates opportunities for chain analysis: tracing fund flows, identifying known-bad addresses, and scoring wallet age and transaction patterns. Vendors like Chainalysis and TRM Labs build risk scores from on-chain data: wallet clustering, exposure to sanctioned entities, and taint analysis for funds that have passed through mixers or known exploit addresses.

Social Engineering Dominance

In crypto, losses are heavily concentrated in social engineering rather than technical exploits at the payment layer. Scam typologies include impersonation schemes, fake investment dashboards, “pig butchering” grooming campaigns, seed-phrase theft, and wallet drainers. The common thread is that victims authorize transfers themselves, which bypasses most transaction-level fraud controls. Scoring systems need to detect the behavioral signals of coercion or manipulation: unusual transaction patterns, sudden large transfers to new addresses, and interaction with known scam infrastructure.

Fraud Rates Across Payment Methods

Fraud risk varies significantly by payment method, though comparing rates across sources requires caution because different surveys measure different things: share of organizations affected, dollar losses per transaction value, or suspicious activity report filings. The following table synthesizes available data.

Payment MethodFraud IndicatorSource
Check58% of organizations reported fraud attempts (2025)AFP Payments Fraud Survey
ACH debit30% of organizations reported fraud attemptsAFP Payments Fraud Survey
Wire transfer25% of organizations reported fraud attemptsAFP Payments Fraud Survey
Corporate/commercial card21% of organizations reported fraud attemptsAFP Payments Fraud Survey
Card payments (France)€47 fraud per €100K of payments (historically low)Banque de France (2025)
Card-not-present (global)Projected $43.6B losses by 2027Merchant Risk Council
Cryptocurrency$5.6B in fraud-related losses (2023, 45% YoY increase)FBI IC3 Report
Real-time paymentsSAR filings up 149% for wire transfers since 2020FinCEN (via EPCOR)

The pattern is clear: faster, less reversible payment methods tend to attract more sophisticated fraud. Real-time rails and crypto share the challenge of irreversibility, making pre-authorization scoring the primary line of defense.

AI Fraud Scoring for Crypto Payment Rails

As crypto payment rails handle more volume, integrating AI fraud scoring at the wallet and exchange level becomes critical for user protection. Revolut's crypto fraud protection demonstrates one approach: KYC name matching, fraud warning screens, proof of crypto delivery, and transaction risk scores for merchants. Their 12-month pilot reported a roughly 50% reduction in fraud attempts against crypto customers.

For Bitcoin Layer 2 networks like Spark, fraud scoring integration happens at the wallet and service provider layer. Because Spark transactions settle instantly and without on-chain broadcasts, scoring must occur before the transfer is initiated. Wallet providers building on the Spark SDK can integrate device fingerprinting, behavioral biometrics, and address-risk lookups into the pre-transfer flow, applying the same scoring patterns used in traditional payment authorization.

The combination of on-chain transparency (for address risk scoring) and off-chain behavioral data (for user-level risk profiling) gives crypto payment providers a hybrid data advantage. An exchange or wallet can check whether a destination address has received funds from sanctioned entities while simultaneously evaluating whether the user's session behavior matches their historical profile.

Implementation Architecture

A production fraud scoring system typically follows a layered architecture where speed decreases and analytical depth increases at each stage.

Layer 1: Pre-Processing (Sub-Millisecond)

Hard rules execute first: blocklisted cards, sanctioned entities, and known-bad device fingerprints are rejected immediately. These checks are deterministic and cacheable, adding negligible latency.

Layer 2: Real-Time ML Scoring (10-50ms)

The core ML model evaluates feature vectors constructed from transaction attributes, device signals, behavioral data, and historical patterns. Models are typically gradient-boosted trees (XGBoost, LightGBM) or deep learning architectures optimized for inference speed. The output is a risk score between 0 and 1.

Layer 3: Graph Enrichment (50-200ms)

For transactions that fall into an ambiguous risk range, graph-based models check relational signals: shared devices across accounts, link analysis for fraud rings, and network-level anomalies. This layer runs only when needed, preserving latency for clearly legitimate or clearly fraudulent transactions.

Layer 4: Post-Decision Feedback

Approved transactions continue to be monitored. Chargebacks, user reports, and downstream signals feed back into the training pipeline. This feedback loop is what enables models to adapt to new fraud patterns over weeks rather than the months required for manual rule updates.

The Road Ahead

Several trends are shaping the next generation of fraud scoring systems.

  • Agentic AI architectures deploy multiple specialized models that collaborate on complex cases, with LLMs orchestrating workflows between transaction scoring, identity verification, and investigation triage.
  • Federated learning enables models to train across institutional boundaries without sharing raw transaction data, addressing both privacy regulations and the cold-start problem for smaller payment processors.
  • Cross-rail scoring unifies risk assessment across card, ACH, real-time, and crypto payment methods. As consumers and businesses use multiple rails, siloed fraud systems create gaps that attackers exploit.
  • Regulatory pressure is increasing. The shift to real-time payments (FedNow, ISO 20022 adoption, instant payment mandates across major markets) forces every product that touches money to reconsider its fraud architecture.

For developers building on crypto payment infrastructure, exploring how fraud scoring integrates with wallet architecture is a practical next step. The fraud prevention for digital payments deep dive covers the broader prevention landscape, while the transaction monitoring glossary entry explains the compliance layer that sits alongside fraud scoring. Wallet developers working with Spark can explore the Spark documentation for integration patterns, or try General Bread to see how a Spark-powered wallet handles the user experience.

This article is for educational purposes only. It does not constitute financial or investment advice. Bitcoin and Layer 2 protocols involve technical and financial risk. Always do your own research and understand the tradeoffs before using any protocol.