TRANSMISSION // 2611.34858v1

Teaching a fraud model to weigh the decision

Source published

A study finds that fine-tuning a tabular transformer for decision utility modestly improved simulated card-fraud screening over probability thresholding, but real-world tests remain necessary.

AI-generated conceptual illustration for Teaching a fraud model to weigh the decision
AI-generated conceptual illustration; not documentary evidence.

A fraud model’s probability is only part of the story: blocking a legitimate purchase and missing a costly fraud do not have equal consequences. Researchers tested whether a pretrained transformer could be fine-tuned to account for those stakes directly. On one simulated card-fraud dataset, the approach modestly improved measured utility over a strong thresholding baseline. The result is promising, but it does not establish performance in real financial systems.

A fraud detector can estimate how likely a transaction is to be fraudulent. But a bank must do something with that estimate: pass the payment, block it, or perhaps send it for review. Those choices have unequal costs. Missing a high-value fraud may be more damaging than mistakenly stopping a small purchase, and each institution may weigh those consequences differently.

The usual approach is to train a model to predict probabilities, then choose a decision threshold based on a cost matrix. In this study, Ashkan Golgoon and colleagues asked whether a model could do better if it were fine-tuned to account for those costs during training, rather than relying only on a threshold afterward.

Turning predictions into choices

The researchers started with STEP, an autoregressive transformer trained to predict events in tabular data. In this setup, a transaction’s fields are represented as tokens, and transactions are arranged into sequences. The model’s probabilities for the possible fraud labels can also be treated as probabilities over business actions—in this case, block or pass.

The fine-tuning method uses an institution-specified reward table that assigns different consequences to each action and outcome, with the stakes scaled according to transaction amount. Since each transaction’s outcome is known in the training data, the researchers can calculate the expected utility of each possible action directly. That makes the central objective and its gradient available in closed form; it does not require sampling rewards or training a separate critic.

The team also added two forms of restraint: a penalty for moving too far from the pretrained model’s output distribution, and an auxiliary language-modeling objective intended to preserve the model’s ability to represent whole event sequences. A sampled, GRPO-style variant was included as an extension for settings where rewards depend on generated future sequences. The main comparison, however, uses the exact expected-utility objective.

A modest gain on one fraud task

The main experiment used a public IBM synthetic card-transaction dataset containing 24.4 million transactions. Fraud was rare: it made up about 0.11% of transactions in the held-out test users. The researchers compared the fine-tuned model with the same pretrained model trained using ordinary cross-entropy and then given a cost-based, Bayes-optimal decision threshold. They also tested calibration methods and common imbalance remedies, including class weighting, focal loss and oversampling.

The decision-focused model achieved 1.257 utility units per 1,000 transactions, compared with 1.173 for the thresholded cross-entropy model. The authors report that the improvement appeared in all ten random-seed runs, with a paired statistical test yielding p = 0.002. Under a separate dollar-proportional way of accounting for stakes, they estimate a gain of about $12 per 1,000 screened transactions. That dollar figure depends on the study’s chosen reward assumptions; it is not a forecast of savings at a real bank.

The fine-tuned model also outperformed the tested cost-sensitive training heuristics in this experiment. Those methods produced much higher intervention rates and worse calibration under the extreme class imbalance. A further comparison suggests the gain was not explained by the regularization anchor alone: adding the same anchor to class-weighted training did not match the utility of the decision-focused objective.

The authors also tested generated transaction sequences. With the anchors in place, the fine-tuned model retained aspects of the pretrained event model, including a fraud rate closer to the observed data than those produced by the tested heuristic methods. This matters because STEP is a generative model, not just a classifier. The paper does not show that every part of its generated sequences is realistic, or that the model is ready for deployment.

What remains uncertain

The experiment has important boundaries. It uses one simulated fraud dataset, and the data were divided by customer rather than by time. The results therefore test performance on unseen customers, not whether the method remains effective as fraud patterns change over time. The authors explicitly identify a rolling, time-based evaluation and testing on real institutional data as important next steps.

The reward table is also a modeling choice, not an objective measure of what every institution should value. In the dataset, transaction amounts were grouped into buckets, and signed amounts meant some refunds—including some fraud cases—were treated as low-stake events. The authors note this could underweight refund fraud. More broadly, a cost matrix can encode policy choices that affect customers differently, so subgroup audits would be needed before practical use.

Results from two additional tasks—customer churn and loan default—are reported in the appendix. There, ordinary thresholding already captured most of the available utility, and the proposed fine-tuning did not add a clear gain. That qualification is central: decision-focused training is not guaranteed to help when the existing decision rule already leaves little room for improvement.

This article is based on an arXiv preprint, which may not have undergone peer review. The source reports that code is available upon request subject to institutional review and approval, rather than as a public release. For now, the study offers evidence that aligning training with decision costs can help in a particular simulated fraud-screening setting—not proof that the approach will improve outcomes in production.

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.