AI & Automation 11 min read
Real-Time Fraud Decisioning: Latency Budgets, Models and Feedback
Design payment fraud decisioning around measured service deadlines, feature freshness, model cascades, fallback policy and delayed fraud labels.
Set the fraud-service budget separately from payment-network authorisation. Measure tail latency and feature freshness, test cascade accuracy on your own traffic, and evaluate delayed dispute labels by transaction cohort.
Real-time fraud scoring must fit the deadline of the integration in which it runs. A vendor decision in under 100ms is not evidence of a universal 100ms card-network authorisation window. Set budgets for feature retrieval, inference, dependencies and response; measure tail latency and define timeout behaviour. Feature stores and model cascades are useful design options, but their hardware, pass-through rates and accuracy require workload-specific testing. Fraud labels can arrive late and are incomplete, so evaluate matured cohorts alongside faster operational signals.
Payment fraud scoring runs inside a larger payment journey. The decision service's response time, the processor's request timeout and the card-network authorisation process are separate boundaries. Confusing them can produce an architecture optimised against a deadline that your integration never actually specified.
Stripe's March 2023 Radar engineering account describes its own decision as taking less than 100 milliseconds. That is a dated product-specific observation, not a universal network rule. The design below is an operator framework: measure the workload and contract boundary before choosing a model or promising a response time.
For the wider landscape see AI fraud detection, and for the operating-model choice see the fraud prevention platform comparison. Downstream chargeback representment is a different stage from pre-authorisation scoring.
Set the Service Budget
Write down where scoring happens: before submission to the PSP, within a processor workflow, or as part of issuer decisioning. A merchant fraud approval is permission to continue the payment attempt; it is not issuer authorisation, settlement or proof of legitimacy.
Allocate a measured budget across request transit, feature retrieval, external dependencies, inference, decision rules and response transmission. Keep the downstream payment request separate. Ask the processor which timeout applies, whether the request can be retried, and how duplicate attempts are prevented.
Record median and tail latency under realistic concurrent load, including remote regions, cache misses, degraded dependencies and cold starts. A fast mean can coexist with unacceptable timeouts. A service deadline should include headroom for these conditions rather than allocating the entire budget to model inference.
Specify fallback behaviour before launch. Options include a reduced feature set, a rules-only path, a challenge, a pending decision or a decline. Each trades revenue, fraud exposure and customer delay differently. A manual review is only viable if the payment and fulfilment workflow can wait for it. Never assume a timeout safely bypasses scoring.
Feature Retrieval and Freshness
Historical and behavioural context can include device history, recent attempts, customer tenure and previous dispute outcomes. These signals have different update rates and provenance. Document the feature's event time, availability time and permitted use so that a training row cannot accidentally include information unavailable at the original decision.
A feature store can pre-compute aggregates and serve them online. An offline pipeline might prepare historical summaries, while a streaming path maintains recent velocity. This is one design option; request-local features, database queries and cached aggregates may also fit the measured budget. A feature store does not automatically make a model accurate.
Choose Redis, Aerospike or another system through a workload benchmark rather than a universal sub-millisecond requirement. Test high-percentile retrieval time, hot keys, memory pressure, replication behaviour, missing values and stale data. Decide which features may be omitted on timeout and which require a fail-safe action.
Keep online and training definitions aligned. A velocity count calculated differently in production can degrade decisions even when storage is fast. Log feature-definition versions and enough provenance to reproduce an investigation without retaining unnecessary sensitive data.
The Cascade Design Option
A cascade can reduce expensive scoring by routing confident cases through a simpler path. It is not an industry-mandated architecture, and a more complex model is not automatically more accurate on your traffic.
Stage 1: Fast filter. Apply a simple model or rules to the full population. Select escalation thresholds using the costs of false negatives and false positives. Do not assume that a fixed proportion of traffic is safe to pass without further checks.
Stage 2: Additional scoring. Evaluate uncertain cases using richer features or another model. Measure the quality gain and incremental latency on the escalated cohort, including the fraud missed by Stage 1. A better average response time does not demonstrate that the slow path meets its own deadline.
Rules and policy constraints. Known attack controls and business restrictions can run before or after ML, according to the workflow. Keep policy declines distinguishable from model risk declines in reporting. The rules-versus-ML guide and card testing guide cover those operating concerns.
Validate the cascade against a single-model baseline using time-separated data. Track total cost, approval, confirmed fraud, review load and timeout behaviour by cohort. A pass-through rate is a measured result or explicit scenario assumption, not an architecture constant.
Model Architecture Choices
Gradient boosting, neural networks and combinations of learned embeddings with tabular models are candidates. Compare them on your feature set, traffic distribution, training cost, calibration, explainability needs and serving environment. Neither a fixed tree count nor a model family establishes an inference time or accuracy ranking.
Stripe's engineering account illustrates why provider architecture should not be inferred from a generic diagram: its described production change moved from a combined XGBoost and neural-network model to a neural-network-only system. That does not establish what every fraud vendor runs internally or what a smaller operator should copy.
Benchmark CPU and accelerator options under production load before deciding GPUs are necessary. Include training and experiment turnaround, deployment complexity, monitoring and rollback in the comparison. A simpler model may be a useful baseline; it is not guaranteed to outperform every sophisticated model merely because its features are fresher.
Delayed and Imperfect Labels
Disputes, customer reports and investigations can arrive after the transaction. Their timing differs, and their meaning matters: a goods dispute is not automatically fraud, a fraud report can be contested, and a transaction without a reported dispute is not necessarily legitimate.
Evaluate transaction cohorts at comparable maturity. Record the event date, label receipt date, source and subsequent correction. If a recent cohort has fewer reported disputes than an old cohort, delayed reporting may explain part of the difference. Do not interpret it immediately as a model improvement.
Use earlier signals—approval, challenge completion, review outcomes, timeout rate and feature drift—to detect operating changes. These are diagnostic signals, not substitutes for confirmed outcome evaluation. Declined transactions also create selection bias because their counterfactual fraud or legitimate outcome is not normally observed.
Put the Framework into Operation
For a vendor service, request the actual response-time definition and percentile, timeout policy, data requirements, regional coverage and decision ownership. Ask what is configurable and what happens when a feature or dependency is missing. Do not assume every platform uses a cascade or exposes a tunable score threshold.
For an in-house service, start with a reproducible baseline and feature pipeline. Instrument each dependency, test degraded modes and rehearse rollback. Compare model changes on mature cohorts and keep the decision log separate from issuer authorisation and dispute outcomes.
Release only when the service fits its measured integration deadline, fallback behaviour is explicit and the loss-versus-approval trade-off is understood. A vendor's sub-100ms claim can inform an evaluation, but cannot supply your missing network requirement or production benchmark.
Sources & methodology (1)
Stripe described its Radar decision as less than 100ms in March 2023 and documented its own move from a combined XGBoost/DNN architecture to DNN-only
Checked:
Source types explained in our Methodology.