---
title: "ML and LLMs in financial services: fraud, risk and regulated assistants"
url: https://gurkanozkan.ai/learn/topics/fintech/
markdown: https://gurkanozkan.ai/learn/topics/fintech.md
kind: topic
tracks:
  - ML engineering
  - Applied LLM
  - AI leadership
json: https://gurkanozkan.ai/api/learn/topics/fintech.json
---

# ML and LLMs in financial services: fraud, risk and regulated assistants

London is dense with banks, payments companies and fintechs, so interviews often use fraud detection, credit or customer-servicing assistants as the case study. Fraud is a rare-event, adversarial, delayed-label problem where base rates, cost-based thresholds and real-time feature pipelines matter more than model architecture. LLMs add value around investigation, unstructured text and customer servicing rather than in core transaction scoring. Everything runs under UK regulation: the FCA's Consumer Duty and Senior Managers regime, the PRA's model risk principles and data-protection rules on automated decisions. Strong answers combine the arithmetic with the controls a regulator would expect.

## Key concepts

### Base rates and precision at the operating point

With fraud a small fraction of one per cent of card transactions, even an accurate detector produces mostly false alerts: precision = TPR × prevalence / (TPR × prevalence + FPR × (1 − prevalence)). Report precision, recall and alert volume at the chosen threshold, by segment (card-not-present, new accounts), and in money terms (fraud value caught, good value declined), not just ROC-AUC.

### Cost-based thresholds and tiered actions

With calibrated probabilities, choose actions by expected cost: approve, step-up authentication (3-D Secure, one-time passcode), send to manual review or decline. Each boundary falls where two actions' expected costs are equal, so thresholds move with fraud loss per transaction, the cost of a false decline (lost margin and churn) and review capacity. Recalibrate after retraining, since thresholds assume calibrated scores.

### Delayed, noisy and selectively observed labels

Chargebacks arrive weeks to months after a transaction (some never arrive), first-party fraud is mislabelled as genuine, and transactions the model declined never get a label at all. Train only on matured cohorts or model the label delay, use faster proxies (customer-reported fraud, confirmed scam reports) for monitoring, and keep a small, risk-limited holdout of would-be-declined traffic with logged propensities so retraining is not just learning the previous model's decisions.

### Real-time scoring architecture

Authorisation decisions have a tight latency budget (Stripe says Radar decides in under 100 ms). Typical stack: rules for hard policy and known attacks, a gradient-boosted or deep model over velocity and aggregate features from a streaming feature store with point-in-time correctness, graph or device signals, a fallback path if the model or feature store times out, and shadow deployment plus champion–challenger before switching. Adversaries adapt, so monitor drift weekly and retrain frequently.

### Where LLMs help and where they do not

Useful: summarising alerts and case histories for investigators, drafting suspicious activity report narratives for human sign-off, extracting entities from KYC documents and complaints, detecting scam scripts in messages or call transcripts (authorised push payment fraud), and customer-servicing assistants. Keep classical or sequence models for transaction scoring: they are faster, cheaper, calibrated, easier to validate and explain, and LLMs add little on tabular high-volume streams.

### UK conduct rules for AI-enabled services

The FCA has said it will not create AI-specific rules and relies on existing frameworks. The Consumer Duty (in force since July 2023 for open products) requires firms to act in good faith, avoid foreseeable harm and enable customers to pursue their financial objectives, with four outcomes: products and services, price and value, consumer understanding and consumer support, including fair treatment of vulnerable customers. Under SM&CR, senior managers remain accountable for the business areas in which AI is used. An assistant must also respect the advice/guidance boundary: regulated advice needs permissions, and the FCA's targeted-support regime for pensions and investments (live since 6 April 2026) is a distinct permissioned activity. The FCA's October 2026 good-and-poor-practice paper keeps this approach (it creates no new requirements) and points to agent inventories, meaningful human review and vendor exit plans; the July 2026 Mills Review looks ahead to agentic finance.

### Model risk, explainability and fraud-specific law

PRA SS1/23, which applies to banks and building societies with internal-model approval for regulatory capital (and is widely used as a benchmark by others), expects them to inventory and tier all models (including vendor and AI models), govern them, validate independently and apply mitigants such as overlays and use restrictions. Regulated decisions need explanation artefacts: reason codes or SHAP-based top factors per decision, model documentation, data lineage and monitoring. For AML, telling a customer that a suspicious activity report was made can be the tipping-off offence, so customer-facing explanations differ from regulator-facing ones. Since October 2024 payment firms must reimburse most authorised push payment scam victims (up to £85,000 per claim), which raises the value of scam detection.

## Worked examples

### How many fraud alerts are real?

0.2% of transactions are fraudulent. A detector flags 95% of fraud and 2% of legitimate transactions. What fraction of flagged transactions are fraud, and what happens if the false positive rate falls to 0.2%?

**Solution**

**Per 1,000,000 transactions**: 2,000 fraud, 998,000 legitimate.

Caught fraud = 0.95 × 2,000 = **1,900**. False alerts = 0.02 × 998,000 = **19,960**.

Precision = 1,900 / (1,900 + 19,960) = **8.7%**: more than 10 false alerts per real one.

With FPR = 0.2%: false alerts = 1,996 → precision = 1,900 / 3,896 = **48.8%**.

Implications: report precision at the operating point; use step-up authentication rather than hard
declines for mid-risk scores; size the review team from alert volume; and segment, because base
rates differ several-fold between, say, new card-not-present accounts and long-standing card-present
customers.


### Setting approve / step-up / decline thresholds from costs

A fraudulent transaction that is approved loses £120 on average. Declining a genuine customer costs £8 (lost margin and churn risk). Step-up authentication costs £0.50 in friction per transaction and stops 90% of fraud. Given a calibrated fraud probability p, where should the action boundaries be?

**Solution**

Expected cost per transaction:
- **Approve**: 120p
- **Step-up**: 0.50 + 0.10 × 120p = 0.50 + 12p
- **Decline**: 8(1 − p)

**Approve vs step-up**: 120p = 0.50 + 12p → p = 0.50 / 108 ≈ **0.46%**.

**Step-up vs decline**: 0.50 + 12p = 8 − 8p → 20p = 7.50 → p = **37.5%**.

Policy: approve below 0.46%, step up between 0.46% and 37.5%, decline above 37.5%. This only works
with calibrated probabilities (check reliability curves by segment), and the numbers should be
revisited when fraud patterns, step-up abandonment rates or merchant mix change.


### Evaluating a model when chargebacks arrive late

Illustrative chargeback arrival: 50% of eventual fraud labels arrive within 30 days, 85% within 60 and 97% within 90. On 1 August you evaluate a model on June transactions (30–60 days old). What goes wrong, and how should training and monitoring be set up?

**Solution**

**Bias**: June cohorts have only about 50–85% of their eventual fraud labelled, so some true fraud
is still counted as genuine. Measured recall and precision are both distorted (missed frauds look
like correct approvals; correctly flagged frauds look like false alerts), and a comparison between
models can flip once labels mature.

**Training**: use cohorts at least 90 days old (≈97% labelled), or weight recent examples by their
label-maturity probability; never mix immature negatives with mature ones blindly.

**Monitoring**: track fast proxies (customer fraud reports, disputes opened, issuer alerts),
score-distribution and feature drift daily, and recompute true performance per cohort as labels
mature (a 'label maturity curve' dashboard).

**Missing labels**: declined transactions never mature; a small randomised approval holdout with
logged propensities gives unbiased labels for the region the model blocks.


## What changed recently

- **Oct 2026: BoE/FCA survey: agents everywhere, autonomy rare.** The 2026 Bank of England and FCA survey (196 respondents) found 86% using AI, against 75% in a differently scoped 2024 survey, and 80% with AI agents deployed, mostly for decision support, with only 2% giving agents broad autonomy; third parties supplied 53% of high-materiality AI systems, up from 35%. Interviewers expect current figures, and answers that treat third-party model risk and human decision rights as the main control questions. [Source](https://www.bankofengland.co.uk/report/2026/artificial-intelligence-in-uk-financial-services-2026)
- **Oct 2026: FCA good and poor practice on AI.** The FCA published 20 case studies of how firms govern AI under existing rules, explicitly creating no new requirements; it drew on its AI Live Testing and the Mills Review. Good practice includes a central inventory of AI systems and agents, and weak practice includes box-ticking human review and vendor dependence without an exit plan. It is the closest thing to a UK supervisory checklist for AI in financial services. [Source](https://www.fca.org.uk/publications/good-poor-practice/ai-financial-services)
- **Jul 2026: The Mills Review on AI in retail financial services.** The review led by Sheldon Mills for the FCA, published in July 2026, set out how AI could reshape retail financial services and made seven priority recommendations, including enabling the foundations for agentic finance and an AI-enabled Agentic Supervisory Model, drawing on an engagement paper and a nationally representative survey of 5,026 UK adults. Expect lead and product questions on agents acting for consumers: authority, liability, vulnerable customers and Consumer Duty outcomes. [Source](https://www.fca.org.uk/publication/corporate/the-mills-review.pdf)
- **Apr 2026: FCA AI Live Testing: second cohort.** The FCA's second AI Live Testing cohort (Barclays, Experian, GoCardless, Lloyds Banking Group, UBS and others) began testing use cases such as agentic payments, AML, KYC, credit-score insights and targeted investment support, with London-based Advai as technical partner and an evaluation report due in Q1 2027; the first cohort included NatWest, Monzo and Santander. It shows how UK firms evidence safety and Consumer Duty outcomes to the regulator before scaling. [Source](https://www.fca.org.uk/news/press-releases/fca-announces-second-cohort-ai-live-testing)
- **Sep 2025: Agent payment protocols: AP2.** Google's Agent Payments Protocol, backed by more than 60 organisations including Mastercard, American Express and PayPal, uses cryptographically signed intent and cart mandates as verifiable credentials to prove what a user authorised an agent to buy, and extends the A2A protocol. Agent-initiated payments raise authorisation, authenticity and accountability questions that fraud and payments interviews now include. [Source](https://cloud.google.com/blog/products/ai-machine-learning/announcing-agents-to-payments-ap2-protocol)

## Pitfalls

- Answering 95% when asked how many flagged transactions are fraud; ignoring the base rate.
- Choosing a 0.5 threshold or optimising AUC instead of expected cost and review capacity.
- Evaluating on recent cohorts whose chargebacks have not arrived yet.
- Retraining only on approved transactions, so the model learns its own past decisions.
- Proposing an LLM to score every card transaction in real time.
- Treating the FCA's lack of AI-specific rules as 'no AI regulation'; the Consumer Duty, SM&CR and model risk expectations apply.

## How interviewers probe it

- Compute alert precision from base rate, recall and false-positive rate, and draw design consequences.
- Design a real-time card-fraud scoring service: latency budget, features, fallbacks, deployment, monitoring.
- Chargebacks arrive 30–90 days late and blocked transactions are never labelled: how does that affect training, evaluation and monitoring?
- A regulator asks why your AML model flagged a customer: what artefacts do you produce, and what are their limits (including tipping-off)?
- Where do LLMs add real value in fraud and financial crime, and where would you keep classical models?
- What extra requirements does a UK bank place on an LLM support assistant compared with a SaaS company (Consumer Duty, vulnerability, advice boundary, complaints, record-keeping, model risk)?

## Reading

- [AI and the FCA: our approach](https://www.fca.org.uk/firms/innovation/ai-approach) (Docs, 15 min, Intro): The FCA's stated position: no AI-specific rules, reliance on Consumer Duty and SM&CR.
- [Consumer Duty (FCA)](https://www.fca.org.uk/firms/consumer-duty) (Docs, 20 min, Core): Hub for the Duty's final rules and guidance, including good and poor practice examples.
- [SS1/23 – Model risk management principles for banks](https://www.bankofengland.co.uk/prudential-regulation/publication/2023/may/model-risk-management-principles-for-banks-ss) (Docs, 60 min, Deep): The five PRA principles for banks with internal-model approval, covering all their models, including AI and vendor models.
- [Reproducible Machine Learning for Credit Card Fraud Detection - Practical Handbook](https://fraud-detection-handbook.github.io/fraud-detection-handbook/Foreword.html) (Book, 180 min, Core): Free, code-based treatment of fraud metrics, time-aware validation and imbalanced learning.
- [How we built it: Stripe Radar](https://stripe.dev/blog/how-we-built-it-stripe-radar) (Blog, 15 min, Core): A production fraud system's architecture evolution, feature work and latency constraints.
- [Artificial intelligence in UK financial services – 2026](https://www.bankofengland.co.uk/report/2026/artificial-intelligence-in-uk-financial-services-2026) (Docs, 40 min, Intro): The latest Bank of England/FCA survey of AI use, agents, third-party dependence and perceived risks in UK firms.
- [AI in financial services: good practice and areas for improvement](https://www.fca.org.uk/publications/good-poor-practice/ai-financial-services) (Docs, 45 min, Core): The FCA's 2026 case studies of AI governance under existing rules, including agent inventories, human review and vendor exit plans.

## Practise this topic

- [0.2% of transactions are fraudulent. A detector flags 95% of fraud and 2% of legitimate transactions. What fraction of flagged transactions are fraud? What…](https://gurkanozkan.ai/learn/questions/mle-bayes-and-base-rates-for-fraud-alerts-18.md)
- [A fraud model outputs scores. How do you choose the decision threshold, and which metrics do you report?](https://gurkanozkan.ai/learn/questions/mle-choosing-a-decision-threshold-by-cost-22.md)
- [Chargebacks arrive 30–90 days after a transaction, and some never arrive. How does this affect training, evaluation and monitoring?](https://gurkanozkan.ai/learn/questions/mle-delayed-and-noisy-labels-30.md)
- [A regulator asks why your AML model flagged a customer. What explanation artefacts do you produce and what are their limits?](https://gurkanozkan.ai/learn/questions/mle-explainability-for-regulated-decisions-66.md)
- [Where do LLMs add real value in fraud and financial-crime work, and where would you keep classical or transaction-sequence models?](https://gurkanozkan.ai/learn/questions/applied-llm-dom-05.md)
- [What extra requirements does a UK-regulated bank place on an LLM support assistant compared with a typical SaaS company?](https://gurkanozkan.ai/learn/questions/applied-llm-dom-06.md)
- [Design the guardrail layer for a UK bank's customer-facing assistant. What runs before, during and after generation?](https://gurkanozkan.ai/learn/questions/applied-llm-saf-02.md)
- [How would you deploy an LLM feature that summarises customers' financial situations for advisers, where errors can cause harm?](https://gurkanozkan.ai/learn/questions/applied-llm-saf-06.md)
- [Design a service that scores card transactions for fraud in real time. You'll be judged on reasoning and collaboration rather than product trivia.](https://gurkanozkan.ai/learn/questions/lead-td-01.md)
- [You run ML at a payments company. Fraud losses are rising, a vendor is offering a turnkey ML fraud platform, and your team wants to build. How do you decide…](https://gurkanozkan.ai/learn/questions/lead-sc-05.md)
- [An agent will be allowed to issue refunds and change customer account settings. How do you make it safe enough to ship?](https://gurkanozkan.ai/learn/questions/applied-llm-agt-07.md)
- [A UK retail bank wants a GenAI assistant for customer servicing and complaint triage live within six months. You own delivery. How do you plan it so it is…](https://gurkanozkan.ai/learn/questions/lead-sc-02.md)
- [A UK bank wants its assistant to buy things for customers, for example 'renew my train season ticket when it is under £X'. Using agent-payment protocols such…](https://gurkanozkan.ai/learn/questions/recent-a-fintech-01.md)
- [Your bank is entering the FCA's AI Live Testing with an anti-money-laundering alert model plus an LLM that drafts case narratives for investigators. What…](https://gurkanozkan.ai/learn/questions/recent-a-fintech-02.md)
- [The EU's Digital Omnibus on AI moved the AI Act's high-risk obligations to December 2027 for stand-alone systems, while duties for general-purpose model…](https://gurkanozkan.ai/learn/questions/recent-b-mlops-03.md)
- [You run a fintech's AI products for UK and EU customers and want to automate credit-limit decisions. The DUAA's new UK ADM rules apply from February 2026, the…](https://gurkanozkan.ai/learn/questions/recent-b-privacy-03.md)
---

*Study material compiled with AI: drafted by a local model (Inkling 2 Mini) from public sources, then checked against those sources by independent AI reviewers (Claude) in November 2026. Not reviewed line by line by a person.*
