AI and Fraud Detection: Designing and Testing AML Scenarios

AI and fraud detection in banking: map rules to FATF typologies, backtest thresholds to size alerts, and measure what ML adds over rules alone.

AI and Fraud Detection: Designing and Testing AML Scenarios
Written by TechnoLynx Published on 24 Aug 2026

The prevalent pattern at large banks is to run machine-learning fraud and AML models as a scoring layer on top of their rule libraries, not as a replacement for them. Rules encode known patterns as deterministic thresholds. Machine-learning models score combinations of weak signals across many features at once. In either case, the work that decides results is scenario design. That means mapping every rule to the typology it is meant to catch, backtesting each threshold change to see how many alerts it will push onto a finite investigation team, and measuring what the ML layer catches that the rules alone would miss. For where fraud and AML sit among other uses such as underwriting and claims, see the wider overview of AI use in financial services. For the wider engineering context, see AI engineering for finance.

How Does AI Detect Fraud and Money Laundering in Financial Services?

Gradient-boosted models such as LightGBM detect mule behaviour by learning non-linear interactions across hundreds of features at once. A rule, by contrast, tests one condition at a time. Most institutions still rely on deterministic threshold rules, such as “more than N transactions to new payees within T days”. These are easy to interpret, but they force a trade-off: tighten them and sophisticated mules slip through, loosen them and analyst queues fill with false alerts.

Rule-based systems usually test individual features in isolation, while a model combines many at once. Monitoring systems build a baseline from an account’s own history and compare it with peer segments of similar customers, flagging deviations from either. A 2026 arXiv study of a live money-mule pipeline trained a LightGBM classifier on 280 engineered features covering transaction patterns, account demographics, network topology and temporal behaviour. Its example narratives cited the ratio of 7-day to 180-day transactions, the number of distinct counterparties and the number of countries funds were sent to. For laundering networks, AMLworld work extracts graph features from a dynamic transaction graph.

With authorised push payment (APP) fraud, the victim authorises the payment from their own device with genuine credentials, so every transaction rule passes, and the evidence sits in the session behaviour leading up to the payment screen. In industry settings, supervised models generally beat pure anomaly detection, especially on continuations of attacks already under way when the model was trained. Rules keep their place for two reasons: they carry decades of domain expertise and regulatory acceptance, and they can cover a new attack in the window before the ML model learns it.

AI Fraud Detection in Banking Versus AML Detection: Latency, Batch Windows and Evidence

Fraud detection approves or blocks transactions in-flow, within a latency budget of milliseconds. AML detection works through alert triage and case investigation, with SAR filing deadlines measured in days. The table sets the two side by side.

Dimension Payment and card fraud AML transaction monitoring
Decision Approve or block a transaction, or raise an alarm, in-flow Triage an alert as benign, monitor or escalate to a case
Latency Sub-250 ms at the 99.9th percentile, per the Railgun authors, while serving several thousand requests per second Periodic or real-time analysis; overnight batch cycles remain common
Ground truth Close for card fraud, through customer feedback about purchases they did not make Weak: a filed SAR is not a confirmed crime, and an unfiled one is not confirmed innocence
Label delay Investigations take minutes to days; escalations can take days to weeks Many laundering cases are never labelled at all
Reporting clock Card merchants, not banks, must keep the fraud-to-gross rate under a set threshold or face fines US banks generally file a SAR within 30 days of initial detection, 60 if no suspect is identified
Evidence examiners ask for Recall at a given false-positive rate, measured against chargebacks Scenario-to-typology mapping, a rationale for every parameter, and tuning tests

The two problems meet at the mule account. APP fraud and laundering are consecutive phases of one operation: the fraud team sees the originating payment, the AML team sees the downstream movement, and neither sees the whole chain. In real-time payment environments, overnight batch cycles raise alerts after the funds have already cleared the mule account. That is why an AML batch window that overruns is a detection problem as well as an operations problem. Serving fraud models within that budget is covered separately in serving fraud models across CPU and GPU.

Fraud Typology Coverage Gap Analysis: Mapping Rules to FATF Typologies

A coverage matrix shows which typologies the rule book covers and which it leaves uncovered. It links each rule to the typologies, channels, products and risks it addresses, so the bank can demonstrate regulatory coverage. The underlying discipline is simple to state: every rule should map to a typology, a risk and an expected disposition. FATF typologies are the recognised methods launderers use to disguise illicit funds. They are grouped along the placement, layering and integration stages, with categories such as concealment within business structures, false identities and cross-border jurisdictional gaps. FATF publishes its Methods and Trends reports on the FATF website.

Rules are a typology expressed in data, so each row pairs a data signature with the rule logic that tests it. Mark each row below adequate, weak or absent against the bank’s own inventory.

Typology Data signature Rule logic that covers it
Structuring Repeated cash deposits just below the reporting threshold Sub-threshold deposit bands, repeated through velocity or count rules
Funnel account Deposits across many locations, withdrawals far away Distinct deposit locations, rapid in-out turnover
Layering Pass-through flows across accounts, jurisdictions and instruments Pass-through ratio near 1, multi-hop chains, circular flows
Mule account Fan-in from many first-time senders, rapid in-out, shared devices Distinct-sender velocity, debit-to-credit ratio, device and IBAN links
APP scam New high-value beneficiary, escalating payments, remote-access tool New payee plus high value, credit-then-out sequence, mule-list match
Business email compromise Supplier bank-detail change followed by payment Bank-change-then-payment sequence, amounts just under approval limits

A quick test for a weak or absent row: a typology you know occurs in your business but which shows zero alerts in that category. The matrix also needs a documented rationale for every parameter setting. A conceptual-soundness review asks whether each parameter was set with a documented rationale or inherited from a vendor default and never revisited. Without those audit trail records, it is hard to show a supervisor why a rule exists, how its parameters were set and whether it works.

Check data coverage before tuning. According to the US Justice Department, as cited by Sphinx, TD Bank excluded domestic ACH, most cheque activity and other transaction types from automated monitoring, leaving 92% of transaction volume unmonitored from January 2018 to April 2024. No amount of threshold work repairs a feed that was never connected.

Where Mule-Account and APP Typologies Slip Past Threshold Rules

Mule and APP typologies slip past threshold rules that evaluate each account on its own. A rule that flags large inflows soon after account opening will miss BEC-linked mule accounts that sat dormant for six months first, and it will over-fire on simpler typologies. Mule networks that keep every transaction below the limit stay invisible to rules that look at each account on its own. Sardine, a fraud vendor, states that standard payment-to-payment velocity models miss roughly 20% of mule account exits. AML Watcher reports that FATF and FinCEN increasingly see fraud-related mule activity as an AML control failure rather than a separate fraud issue.

Two limits apply. A matrix shows that a rule exists, not that it is tuned to catch the typology. Typology lists also move, so FATF and national reports have to be fed back into the mapping regularly. For how that evidence is packaged for supervisors, see what an AI workflow evidence pack looks like in banking compliance.

When review headcount is small relative to the rule book, start with the typologies and customer segments that carry the highest regulatory risk if under-covered: the risk-based approach FATF recommendations and FinCEN’s April 2026 proposed reforms both call for. According to RiskInMind, the FFIEC manual singles out politically exposed persons, money services businesses and non-bank financial institutions for enhanced OFAC screening.

Can We Test Our Rules Without Access to Live Production Data?

Yes. Two inputs can stand in for live data: historical alert dispositions, which show how well each rule is calibrated, and synthetic transaction data with complete laundering labels. A vendor sandbox may not be available, since only some monitoring products ship one. TechnoLynx would start by working out which of these inputs the bank can actually release. From there TechnoLynx would build synthetic transaction scenarios for the target typologies, plus a backtesting harness that replays them through the rule logic and measures coverage against the gap matrix.

Disposition data gives a direct calibration signal per rule. Flagright’s tuning guidance treats a rule whose alerts are cleared as false alarms 90% of the time or more as poorly calibrated. Celent reports that transaction monitoring systems have typically run false-positive rates above 90% of alerts, often above 95%. Where alerts carry labels, a rule simulator can project the false-positive rate of a proposed change as well as its alert count.

Synthetic data adds complete labels, which real dispositions cannot give. IBM’s AMLworld generator builds a multi-agent world from statistical distributions with no seed of real transactions, and its labels are complete, whereas much real laundering is never detected. Its large low-illicit dataset contains about 1 laundering transaction per 21,440 from gather-scatter and scatter-gather patterns, close to the 1 in 21,000 reported for 180 million real transactions at an Italian bank. SynthAML10 takes a different route: it fits a probabilistic model to confidential Spar Nord data and samples more than 16 million transactions and 20,000 alerts. AMLSim, meanwhile, generates networks with known laundering patterns embedded.

On the sandbox question, Celent notes that some monitoring products ship a rules testing module or sandbox for running changed scenarios against the bank’s historical data. Without a sandbox, the alternatives are replaying the extracted rule logic in a separate harness or deploying the change as a shadow rule.

There are three caveats. Synthetic data can overfit methods to synthetic typologies, and gains measured on it may not transfer to production. Masked data can still carry re-identification risk if the masking is weak. And labels carry selection bias: they arrive late, and resource limits mean investigations overlook some fraud.

Above-the-Line and Below-the-Line Testing: Estimating What Thresholds Miss

To estimate false negatives, sample just below the threshold. Replay history against a looser setting, have analysts work a sample of the alerts that would have fired in the gap, and then run the same exercise in reverse above the line. Below-the-line testing answers the under-detection question: is the current setting suppressing activity the bank should be reporting? Above-the-line testing tightens the parameter and samples the alerts that would be lost, to confirm that none of them were productive. One test defends against missed risk and the other against wasted analyst capacity. Run together, they turn a threshold move from a judgement call into an evidenced decision. Neither term appears in SR 26-2, in SR 11-7 before it, or in the FFIEC manual; both are practitioner conventions, and examiners ask for them when a threshold moves. Sardine gives a worked case: a sample of cash deposits between 8,500 and 9,999 dollars surfaced a cluster of accounts repeatedly depositing just under the 10,000 line, which led to a lowered threshold and a multi-branch velocity rule.

Examiners expect sample sizes, segment breakdowns and the disposition of each sampled alert. Where synthetic data stands in for the population, its gaps against real operational complexity limit the estimate. Where the bank can offer a secure environment, the next step is shadow-mode evaluation on internal historical alerts under strict privacy controls. Legal and regulatory limits on what the bank may share decide which route is open.

How Many Extra Alerts Will a New Rule Push Onto the Investigation Queue?

To estimate the extra load, backtest the exact proposed rule logic over a representative historical window, count the alerts it would have raised against the current baseline, and compare the difference with what analysts can review. Use the exact logic, not an approximation: the scenario definition decides what fires, so a simplified version produces a different count. The procedure runs in order:

  1. Replay the new or changed rule over months of historical transactions, as if it had been live.
  2. Record how many alerts it would have triggered and which customers it would have flagged, along with the projected false-positive rate where labels exist.
  3. Subtract the current alert baseline for the same window, per rule and in aggregate.
  4. Multiply the delta by current triage time per alert and compare it with available analyst capacity.
  5. Before go-live, run the rule in shadow mode, where it logs would-be alerts without raising them to analysts, for a trial period many teams set at about one week.

Worked Example: Fitting a Threshold to Analyst Capacity

The mule-detection study above shows the capacity constraint in numbers. Each week its model scored between 20,000 and 30,000 cases, of which analysts could investigate about 100. The operating threshold of 0.8 was chosen as the F1-optimal cut-off that reduced that population to a queue the team could handle. The arithmetic shows how tight that is: 100 out of 20,000 is 0.5% of the scored population, and 100 out of 30,000 is about 0.33%. At that threshold, the authors report mean precision of 0.909 and recall of 0.816 across four December 2025 backtesting weeks, meaning roughly 1 in 5 true mules scored below the line. They chose that deliberately: a lower threshold would have recovered more cases but pushed weekly volume beyond what analysts could review.

The same logic can be written as a fixed alert budget. One open evaluation caps alerts at 200 per 100,000 transactions and sets the threshold on validation data before touching the test set. There, the FPR rule cut a weighted logistic regression’s simulated cost by 72%, and with proper thresholds every model landed between 2,770 and 4,210 EUR. Keeping a threshold right after go-live, and balancing catch rate against customer friction, is a calibration discipline of its own, covered in model tuning and threshold calibration for fraud detection and AML monitoring.

Three caveats apply to any alert estimate. The backtest window may not reflect current patterns or emerging typologies. Exceptional events such as COVID-19 also shift genuine customer behaviour in the window. And alert counts alone say nothing of how useful each alert is to investigations.

Add another rule when the missed typology can be written as a fixed threshold or event sequence, and add an ML scoring layer on top of the rules when it cannot. Mule behaviour is the clear case: no single feature is diagnostic, but moderate anomalies across velocity, timing and counterparty diversity form a signature that gradient boosting learns without hand-specified interaction rules.

How Do We Know New Fraud Thresholds Won’t Breach the Missed-Fraud SLA?

Run three checks in order. First, an offline backtest on held-out labelled fraud cases checks the missed-fraud SLA. Then a load simulation at the target transaction rate checks capacity limits. Finally, a champion-challenger rollout tests live performance under production conditions. TechnoLynx builds this sequence as a Production AI Monitoring Harness. TechnoLynx starts the engagement by agreeing the missed-fraud SLA, the target transaction rate and the merchant-mix shifts to test against. TechnoLynx then implements the backtests, the load harness and the challenger monitoring with recalibration triggers.

The offline backtest has to respect time. Split the data in time order, train on the past and test on the most recent transactions, exactly as the model will run in production. In one evaluation, random splits added 0.07 PR-AUC to an XGBoost model, a gain that would not have survived deployment. Pick the threshold on validation data and freeze it before scoring the test set. A “minimise cost on validation” rule sounds right, but it visibly overfit a small validation set, while rules based on a false-positive cap or an alert budget transferred better.

The load simulation answers a different question. The Railgun authors propose that fraud streaming engines hold sub-250 ms latency at the 99.9th percentile under several thousand requests per second. A simulation at that rate verifies capacity limits, while the backtest covers detection. The simulation also has to keep production’s window semantics. Implementing a “more than four transactions in five minutes” rule over hopping windows can miss the fifth event that should trigger it, and only real-time sliding windows give per-event accuracy.

Champion-challenger then fills the gap backtesting leaves. The current model or threshold runs in parallel with the alternative on live data, and performance is compared before any change is approved. For a threshold change, the adjusted cutoff runs as the challenger, which shows whether a lower cutoff yields more true positives or mostly noise. FluxForce suggests a 5 to 10% traffic share as the starting point for high-frequency use cases, since a 1% share on a high-volume fraud model can take six months to reach statistical validity. Fix the primary metric before the test starts, or recall and precision will point in different directions and the promotion decision stalls. The challenger arm carries live missed-fraud exposure, so its traffic allocation is itself a risk decision. A threshold validated today on today’s merchant mix may need recalibrating after the mix shifts, so monitoring has to be built into the rollout rather than added after it.

Which Test Answers Which Validation Question

Each validation method answers one question and leaves others open. Mixing them up is how teams end up with confident evidence for the wrong claim.

Question Method What it cannot tell you
Does any rule target this typology? Coverage matrix Whether the rule is tuned to catch it
How many alerts will this change add? Historical replay of the exact rule logic Behaviour that has shifted since the window
What is the threshold missing? Below-the-line sampling Typologies absent from the sampled population
Does the change behave as expected on live data? Shadow rule Customer or analyst impact, since nothing is actioned
Does it meet the missed-fraud SLA? Time-ordered backtest on held-out labels Future fraud-pattern or merchant-mix shifts
Does the system hold at target rate? Load simulation Detection accuracy under that load
Is the change better in production? Champion-challenger Anything before live traffic is exposed

Who Can Build the Backtesting and Rollout Harness for Our Fraud Thresholds?

TechnoLynx builds the Production AI Monitoring Harness for fraud and AML teams: a harness that replays proposed rules and models over held-out history, a load simulation at your target transaction rate, and the shadow and champion-challenger monitoring that carries a change into production. Running it and recalibrating after mix shifts falls under Production AI Reliability.

The engagement is engineering: the backtesting harness, load simulation and rollout monitoring. It is not financial-crime advisory, AML policy writing or independent model validation sign-off, which belong with your compliance function and an independent validator. A team whose main need is a typology review against its risk assessment is better served by a financial-crime consultancy. A team on a platform with a built-in rules testing module may get alert-volume estimates from the vendor tooling alone.

How Do We Show an Auditor What the ML Layer Adds over the Rules Alone?

Run a layered backtest. Score the same held-out period with the rules alone and with rules plus ML, using the same labels, and report the difference by typology rather than in aggregate. The ML layer’s marginal contribution is that difference. The metrics that carry it are detection rate by scenario, which says what each layer catches, and alert-to-SAR conversion. Sphinx recommends measuring alert-to-case and case-to-SAR conversion by scenario and segment, trended across periods rather than captured once.

The mule study gives a production version of that comparison. Against the incumbent five-report rule system, yield rose from 61% to 89%. Monthly alerts grew from 211 to 302, and the authors attribute that to broader true-positive coverage, amounting to 60% incremental adverse detection beyond existing workflows. In one synthetic benchmark study on SynthAML10 and AMLSim, a rule-threshold baseline reached recall of 0.78 but precision of 0.18, an Escalate F1 of 0.29, against 0.51 for a gradient-boosted model and 0.56 for a graph neural network. Those uplift figures belong to their datasets. Your own transaction mix and labelled typology set decide yours. Overlap complicates attribution too: a rule’s contribution depends on how its triggers overlap with other rules and actions. The ARMS system removed about 50% of one merchant’s 193 rules and about 80% of another’s while holding system performance.

The regulatory frame has changed under SR 26-2. The OCC’s model risk bulletin rescinds Bulletin 2011-12, the OCC’s parallel to SR 11-7, and Bulletin 2021-19, the interagency statement on model risk for BSA/AML systems. Its model definition excludes deterministic rule-based processes with no statistical, economic or financial theory behind them. Gradient-boosted fraud scores and ML transaction monitoring models sit inside SR 26-2, while pure rules may not. Both still need testing, tuning records and a documented rationale. Validation under SR 26-2 covers conceptual soundness, outcomes analysis and ongoing monitoring, and the fixed annual review gives way to a cadence each bank must justify. SR 11-7 used the same structure, placing back-testing inside outcomes analysis. That makes it a sensible precedent for the report: conceptual soundness, outcomes analysis including the rules-only versus combined backtest, benchmarking, and an explicit marginal-contribution section. The Wolfsberg Group’s August 2025 statement frames the same territory as transition and validation, balancing model risk with financial-crime risk, and explainability of coverage.

Two cautions belong in any such report. Marginal contribution depends on label quality, and confirmed outcomes arrive late. Typology recall can also be inflated by loosening thresholds, so pair it with false-positive tracking. Aligning with a precedent indicates good practice rather than guaranteeing acceptance. Metric choice and audit-ready documentation are covered in depth in choosing metrics, validating models and keeping documentation audit-ready.

What Limits Detection Quality: Labels, Drift or the Compute Budget?

Incomplete labels and adversarial drift both limit detection quality. Compute becomes the limit once the pipeline starts trading fidelity for deadline, and that case can be mistaken for an infrastructure problem.

Labels are incomplete and delayed. Fraud labels arrive late, investigations miss well-hidden cases under resource pressure, and blocked transactions cannot be counted as labelled. On the AML side, most laundering goes undetected, so real labels are poor by construction. The mule study had to build its labels from police seizure orders and analyst-confirmed cases, and then add unlabelled negatives to approximate real prevalence.

Drift is adversarial. Fraudsters gradually scale up attacks that succeed, drop the ones that get caught, and occasionally retry old patterns to see whether they still work. Rules that performed well at deployment can become redundant or harmful as patterns change. Not every distribution shift is fraud, though: genuine customers drift too, and flagging every outlier produces spikes of false positives. One open evaluation found features that identified the day of a transaction almost perfectly, yet fraud models held a PR-AUC of 0.80 the next day. Its author notes that two days of data cannot show how long that holds. Designs that keep unknown patterns from silently degrading alerts are covered in anti-money-laundering alerts and unknown-pattern loops.

Sampling transactions, shortening feature lookback windows or truncating graph traversals to finish on time makes compute the limit. Each of those is a detection decision taken for infrastructure reasons. Graph features are defined over explicit windows, such as six hours for scatter-gather patterns and one day for cycles in the AMLworld setup. Halving a window changes what the model can see. Swapping sliding windows for cheaper hopping windows can break rule compliance outright. Telling the three apart is mostly a matter of where the degradation shows. Recall that decays over time on stable infrastructure points to drift. Weak segments with few confirmed cases point to labels. Fidelity parameters cut to meet a deadline point to compute.

Is Our Scoring Pipeline Short of Hardware, or Losing Time in Slow Graph and Sparse Feature Kernels?

Profile the scoring path end to end before deciding. Best-practice checklists will not settle it, because what counts as efficient depends on the specific workload. A hardware-bound pipeline keeps its devices saturated with useful work, so more capacity buys throughput. A kernel-bound pipeline loses time in inefficient kernels and data movement while the devices sit partly idle. Fraud and AML scoring relies on streaming aggregations over windows and on counterparty graph features, which feed both rules and models.

Three places decide how much of the population gets scored at full fidelity:

  • sparse feature routing in window aggregations and graph traversal;
  • tensor-core utilisation in the dense scoring layers;
  • multi-GPU scheduling for batch AML screening.

Look for algorithmic gains before any of these. Rules can depend on expensive aggregations, and pruning redundant ones cuts compute as well as alert volume. A GPU Performance Audit from TechnoLynx is built to separate those two cases before the next infrastructure purchase. Wider coverage of GPU behaviour on these workloads sits in diagnosing GPU utilisation in bank ML.

What Should a Bank Check Before Adding Hardware to Hit an AML Screening Deadline?

Run this diagnostic checklist before signing a purchase order. Each item looks for throughput already paid for or for a fidelity cut made to meet the deadline.

  1. Reconcile volumes. Confirm that source-system volumes match what reaches the screening pipeline, and that every excluded transaction type has a justification.
  2. Profile the whole batch. Find out how wall-clock time splits between data extraction, feature aggregation, scoring and alert generation before assuming the scoring step is the problem.
  3. Prune the rule set. Identify rules whose contribution has decayed or overlaps with others, since heavy aggregations behind redundant rules cost compute for no detection.
  4. List the fidelity cuts already made. Write down sampling rates, shortened lookbacks, truncated graph depth and window approximations as detection decisions with an owner.
  5. Check device saturation on the slow stages. Low utilisation on a stage that overruns points to kernel or data-movement inefficiency, not missing capacity.
  6. Confirm what the deadline is for. A batch that finishes on time can still be too late in a real-time payment environment where funds have already left the mule account.

If the checklist comes back clean (full coverage, no fidelity cuts, saturated devices on the critical stage), the pipeline really is hardware-bound and buying capacity is the right call.

FAQ

What Is Mule Account Detection?

Mule accounts receive and pass on illicit funds for criminals, whether their owners are complicit or manipulated. Detection looks for signatures such as fan-in from many first-time senders, rapid in-out movement and devices shared across accounts.