Preprint
Article

This version is not peer-reviewed.

Can Large Language Models Tune Fraud Detection Models? Evidence from Three Public Fraud Datasets

Submitted:

02 November 2026

Posted:

04 November 2026

You are already at the latest version

Abstract
Machine-learning fraud detectors have settings (hyperparameters) that must be tuned by trial and error. We tested whether large language models (LLMs) can do this tuning. In a pre-registered study, Claude Opus 5.5 proposed settings for two gradient-boosting models, XGBoost and LightGBM, on three public fraud benchmarks. We compared it with random search and a Bayesian optimiser (TPE), testing every model on a later period than it was tuned on, with 10 repeats per condition. After 10 trials, the LLM matched what TPE reached after 40 trials on two benchmarks (all differences under 0.011 PR-AUC, p ≥ 0.07), but not on the third (0.008–0.011 lower, p ≤ 0.003). A smaller model, Claude Haiku 5.5, did as well at about 3% of the cost. Naming the dataset in the prompt did not help. When the trial scores shown to the LLM were altered, its proposals followed the altered scores (79% of cases, p<0.001). Where the tuning data held only 28 frauds, tuning scores were negatively related to later performance. Contrary to common advice, tuning on the most recent data did not select better models than tuning on a random sample, because it stopped training too early.
Keywords: 
;  ;  ;  ;  ;  
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.