Can a Chatbot Catch Card Fraud?
Asked cold, open chatbots spot card fraud no better than guessing. Show them twenty look-alike past cases with their verdicts, and they start catching it.
In one paragraph
Researchers from Ohio State University and Coinbase asked open chatbot models to flag fraud in public transaction data. Asked directly, the models did no better than guessing. Their fix keeps the 10 most useful columns and adds the 20 most similar past transactions, each with its verdict, to the question. On the real-world data, Google's Gemma 3-12B went from an F1 score of 0.01 to 0.59, past a random forest at 0.55 but behind a specialist model at 0.82.
What did the fraud study test?
Banks keep payments as tabular data: rows and columns of amounts, card types, email providers and time stamps, with almost no words. Chatbot models learned on sentences, and fraud is rare, often less than 1% of payments, so a model that calls everything honest looks accurate while catching nothing. The study therefore grades with the F1 score, which is high only when a detector catches most fraud without flagging many honest payments.
The authors tested 6 open models, which can be downloaded and run on a bank's own computers, on 4 public fraud datasets, with 8,000 test transactions from each. First a random forest, a classic method that takes a vote among many simple decision trees, ranks every column, and the top 10 are kept. Then, for each new payment, the method fetches the 20 most similar past payments, matching card type and email first and then the nearest numbers, writes each as a sentence ending in "it is a fraud" or "it is not a fraud", and asks the model for a risk score from 1 to 5 with a short reason. A score of 4 or more counts as fraud. Nothing is retrained: the examples sit inside the question, which is called in-context learning.
How well did the chatbots catch fraud?
Asked cold, the models missed nearly all the fraud. On the real-world data, Gemma 3-12B scored an F1 of 0.01. Given the past cases, it reached 0.59. That edged past a tuned random forest at 0.55, but the specialist tabular model, TabM, scored 0.82 and stayed ahead of every chatbot.
The choice of columns mattered. With columns picked at random instead of by rank, another model's F1 on the same data fell from 0.62 to 0.27. A 1-to-5 risk score also beat a plain yes-or-no answer in most cases, and models fine-tuned on the fraud data did not consistently beat the method.
The paper's example shows the change in behaviour. A small credit-card purchase, paid from a free webmail account and missing part of its details, got a low score when the model was asked cold. With the past cases, the same model noticed that the most similar past cases had been fraud and scored it 4. The purchase was fraud.
Why does this matter for banks and customers?
A bank that blocks a card should be able to say why, and classic fraud models mostly hand back a score without a story. A chatbot that runs inside the bank and writes its reason in plain words could save fraud analysts time on each case.
A fair reading is that this is a real step with a clear limit: the past cases turn a useless chatbot into a decent assistant, while the specialist model still sets the bar. The authors frame it as decision support, a second opinion for the analyst, and warn against fully automatic blocking. Human review, they write, should be mandatory for high-impact outcomes.
What does the fraud study not show?
Read before you quote it
It does not show that a chatbot can replace a trained fraud model: on the only rich, real-world dataset the specialist model won clearly. The other datasets were smaller, and some were simulated; the authors call some of them toy datasets.
On one simulated set the test held only 13 frauds, and for 11 of them every retrieved past case was also a fraud, so the examples gave the answer away. Gemma often leaned on that kind of shortcut, counting how many look-alike cases were frauds and going with the majority, which worked less well on messier real data.
The written reasons were not checked by human reviewers at scale and should not be read as true causes. The paper did not test production systems and does not report what the method would cost to run on real traffic.
- It does not show that a chatbot can replace a trained fraud model: on the real-world data the specialist still won clearly.
- It does not show the explanations are true reasons; they were not checked by human reviewers at scale.
- Only IEEE-CIS is a rich real-world dataset; CCFRAUD and PAYSIM are simulated and work more like toy datasets.
- On PAYSIM the test set held only 13 frauds, and the look-alike cases were all one verdict for every one of them, so the results there are skewed by retrieval.
- Gemma 3 often leaned on the share of frauds among the retrieved cases rather than on the details of the transaction.
- No production-grade systems, latency or serving cost were tested, and the explanations are not causal.
Takeaways
- saysAsked cold, chatbots reading a table of payment numbers caught almost no fraud, no better than guessing.
- saysGiven the ten columns that matter and twenty look-alike past cases with verdicts, they caught far more, and said why.
- saysOn the real bank data the specialist fraud model still won, so this is a helper for analysts, not a replacement.
- explainsIn-context learning means teaching a model with worked examples inside the question, here the most similar past payments with their verdicts, with no retraining.
- interpretsA fair reading is that retrieved past cases make open chatbots useful helpers for fraud analysts, while trained specialist models still catch more fraud.
Ask the paper
In PaperSays you can ask this paper anything, by text or by saying “Hey Aiden”. Three questions listeners asked:
Can a chatbot spot card fraud on its own?
Not well. Asked directly, the open models in the study did no better than guessing on transaction data. Hear the full answer in the app →
What made the difference?
Keeping the 10 most useful columns and showing the model the 20 most similar past payments with their verdicts. Ask in the app →
Is it better than existing fraud models?
It edged past a random forest on the real-world data, 0.59 to 0.55, but the specialist model scored 0.82. Ask in the app →
Briefing reviewed by an editor before publication. The paper belongs to its authors; this page summarises it and links to the original. Reviewed by Editor. Paper licence: CC BY 4.0. Corrections: support@papersays.com.