Submitted:
21 November 2026
Posted:
24 November 2026
You are already at the latest version
Abstract
Supervised learning for healthcare provider fraud detection is frequently benchmarked on a public Kaggle dataset of inpatient and outpatient claims with provider-level fraud labels. We re-examine this benchmark under a controlled, reproducible protocol and ask three questions: how much do standard classifiers add over a trivial baseline, how sensitive are model rankings to thresholding conventions, and how do claim-level formulations and random splits affect reported performance. Using 5,410 providers (9.35% labelled potentially fraudulent) and 558,211 claims, we evaluate logistic regression, random forest, XGBoost, and LightGBM with five-times-repeated stratified five-fold cross-validation. Ranking providers by their total reimbursed amount, with no training at all, attains a ROC-AUC of \( 0.938\pm0.009 \) and a PR-AUC of \( 0.688\pm0.033 \), within one standard deviation of all four trained models (ROC-AUC 0.932--0.943; PR-AUC 0.664–0.695). Model rankings by F1 at the default 0.5 threshold change when class weighting is switched on, although ROC-AUC changes by at most 0.003. When provider labels are propagated to individual claims, claim-level features alone are nearly uninformative for unseen providers (ROC-AUC \( \approx0.53 \)), whereas adding provider-level context under a random claim-level split yields near-perfect tree-ensemble scores (ROC-AUC \( \geq0.9998 \)) that fall to about 0.93 under provider-grouped splitting. We recommend that results on this benchmark be reported with provider-grouped evaluation, threshold-free and budget-based metrics with variability across repeated splits, and a billing-volume baseline.
Keywords:
healthcare fraud detection
; machine learning
; data leakage
; evaluation protocol
; baselines
; gradient boosting
; reproducibility
1. Introduction
Fraud, waste, and abuse in health insurance claims impose financial losses on insurers and public programmes, and machine learning (ML) has been studied extensively as a tool for prioritising claims and providers for audit [1]. Because real claims data with confirmed fraud labels are rarely shareable, much of the published and educational work relies on a small number of public datasets. Two families dominate: Medicare provider-utilisation files released by the U.S. Centers for Medicare & Medicaid Services, labelled through the federal exclusion list [2,3], and a Kaggle dataset of inpatient and outpatient claims with provider-level “potential fraud” labels [4], which has been used, for example, to benchmark tabular foundation models and graph neural networks [5] and graph-based gradient boosting [6].
Reported performance on such data depends not only on the model but on protocol choices: the granularity at which labels are defined and evaluated, how data are split, how decision thresholds and class weights are set, and which baselines are reported. Data leakage, in which information unavailable at prediction time reaches the model during training or evaluation, is a recognised source of over-optimistic results across ML-based science [7,8], and random cross-validation is known to underestimate error when observations share group structure [9]. In healthcare fraud specifically, target leakage in cross-validation has been identified and corrected on Medicare data [3], and studies using the Kaggle dataset have aggregated to the provider level or used cluster-based splits to limit leakage [5,6]. The size of these effects on this widely used benchmark, however, has not, to our knowledge, been quantified side by side with a trivial baseline.
This paper grows out of the first author’s undergraduate thesis, which compared linear and tree-ensemble classifiers for healthcare fraud detection at the claim, patient, and provider levels [10], and continues our interest in when model complexity pays off in applied prediction [11]. Here we re-examine the provider-level setting on the public benchmark under a single, fully specified protocol. Our contributions are:
- a reproducible provider-level comparison of four standard classifiers using repeated cross-validation, threshold-free metrics, and investigation-budget metrics, set against a no-training baseline that ranks providers by total reimbursement;
- evidence that threshold-dependent comparisons change with class-weighting conventions, while threshold-free comparisons do not;
- a quantification of how propagating provider labels to claims, combined with random claim-level splitting, inflates reported performance; and
- concrete reporting recommendations for this benchmark.
2. Related Work
A recent systematic review summarises supervised, unsupervised, and hybrid ML approaches for fraud detection in healthcare claims [1]. On Medicare data, Herland et al. mapped real-world provider exclusions to utilisation records and evaluated several learners across Medicare parts [2]; Johnson and Khoshgoftaar enriched these data with provider summary features and identified an evaluation pitfall that they mitigated with an adjusted cross-validation procedure [3].
On the Kaggle benchmark [4], Argade and Gandeeban aggregated claims and beneficiary information to the provider level to avoid claim-level leakage and compared logistic regression, LightGBM, CatBoost, TabPFN, and GraphSAGE on a single stratified 80/20 split, reporting ROC-AUC values of 0.950–0.960 and PR-AUC values of 0.730–0.760 [5]. Vandervorst et al. used the same data to evaluate a graph gradient-boosting machine and assigned whole graph clusters to training or test sets to limit information leakage [6].
3. Data and Methods
3.1. Dataset
We use the four labelled training files of the Kaggle dataset [4]: provider labels, inpatient claims, outpatient claims, and beneficiary records. The unlabelled test files are not used. Table 1 summarises the data. Labels are defined only at the provider level; the dataset does not label individual claims. Because the process by which labels were assigned is not described in the sources we consulted, we treat the label as given and discuss this limitation in Section 5. Fraud-labelled providers are much larger than the rest: their median number of claims is 155.5 versus 27, and their median total reimbursement is $373,450 versus $15,055.
3.2. Features
Provider level (26 features). For each provider we aggregate all of its claims into: claim volume (number of claims, inpatient share, distinct beneficiaries, claims per beneficiary), reimbursement (sum, mean, maximum, standard deviation; mean deductible), care intensity (mean claim duration, mean inpatient length of stay, mean numbers of diagnosis and procedure codes, distinct principal diagnoses), physician involvement (distinct attending, operating, and other physicians; attending physicians per claim), patient mix (mean beneficiary age, share deceased, mean number of chronic conditions, share with renal disease, mean annual inpatient and outpatient reimbursement), and geographic spread (distinct beneficiary states and counties).
Claim level (17 features). Reimbursed and deductible amounts, an inpatient indicator, claim duration, length of stay, numbers of diagnosis and procedure codes, indicators for operating and other physicians, and beneficiary attributes (age, deceased indicator, number of chronic conditions, renal disease, Part A/B coverage months, annual inpatient and outpatient reimbursement). A second claim-level variant adds seven provider-context features (the submitting provider’s claim count, distinct beneficiaries, mean and total reimbursement, distinct attending physicians, inpatient share, and claims per beneficiary), computed from the provider’s own claims without using labels.
Skewed non-negative features are transformed with , which affects only logistic regression; tree models are invariant to it. Beneficiary race and gender are excluded from all feature sets.
3.3. Models
We use logistic regression (LR) with feature standardisation, random forest (RF) [13] with 100 trees, XGBoost (XGB) [14] with histogram-based tree construction, and LightGBM (LGBM) [15]. All hyperparameters are library defaults; we deliberately do not tune, so that differences reflect protocol rather than tuning effort. For claim-level RF we set the bootstrap sample to 10% of the training claims for computational tractability. Each model is trained in an unweighted variant and a balanced variant (inverse-frequency class weights; for XGB, scale_pos_weight equal to the negative-to-positive ratio of the training fold). Implementations use scikit-learn 1.9.1 [16], XGBoost 3.4.1, and LightGBM 4.7.0 under Python 3.12; the random seed is 2026.
3.4. Evaluation Protocols
P1: provider level. Five-times-repeated stratified five-fold cross-validation over providers (25 train/test partitions, about 1,082 test providers and 101 fraud-labelled providers per fold). The no-training baseline, TotalReimb, scores each test provider by its total reimbursed amount and is evaluated on the same test folds.
P2: claim level. Provider labels are propagated to all claims of that provider, giving 38.1% positive claims. We compare (a) a random stratified five-fold split of claims with (b) a provider-grouped five-fold split that reuses the provider folds of the first repetition of P1, so that no provider contributes claims to both training and test sets. Both splits are run with claim-only features and with the provider-context variant, using unweighted models. Under the grouped split we also aggregate claim-level scores to providers by their mean and maximum and evaluate them against the provider labels.
3.5. Metrics
Threshold-free metrics are ROC-AUC and PR-AUC (average precision) [12]. To reflect a fixed audit budget, we flag the top 10% of test providers by score (109 per fold) and report precision@10%, recall@10%, and dollar recall@10%, the share of the reimbursement paid to fraud-labelled test providers that goes to flagged providers. Threshold-dependent F1, precision, and recall are reported at the default threshold of 0.5. We report means and standard deviations (SD) over folds. Because cross-validation folds share training data, the SDs are descriptive and we do not attach significance tests to them.
4. Results
4.1. Provider Level: Trained Models Versus a One-Feature Baseline
Table 2 and Figure 1 show that all four classifiers, and the TotalReimb baseline, reach ROC-AUC between 0.932 and 0.943 and PR-AUC between 0.664 and 0.695, with fold-to-fold SDs of about 0.01 (ROC-AUC) and 0.03–0.04 (PR-AUC). LR has the highest mean ROC-AUC and exceeds the baseline in 24 of 25 folds, but only by on average; RF, XGB, and LGBM do not exceed the baseline consistently (13, 7, and 10 of 25 folds for ROC-AUC). In PR-AUC, XGB is below the baseline in 19 of 25 folds. Under a 10% audit budget, every method retrieves about 63–67% of fraud-labelled providers and 88–92% of the reimbursement paid to them. Among single provider features, total reimbursement is by far the most discriminative (ROC-AUC 0.938); the next best are maximum claim reimbursement (0.894) and reimbursement SD (0.836).
Permutation importance on held-out folds (decrease in ROC-AUC, five permutations per feature) attributes most of the tree ensembles’ performance to total reimbursement (0.050 for RF, 0.160 for XGB, 0.191 for LGBM; no other feature exceeds 0.014). LR relies most on mean inpatient length of stay (0.095) followed by total reimbursement (0.029). Because several features are correlated, these values indicate reliance within each fitted model rather than unique causal contributions.
4.2. Threshold and Class-Weighting Conventions
Table 3 contrasts the unweighted and balanced variants at the default 0.5 threshold. Without weighting, F1 ranges narrowly from 0.562 (LGBM) to 0.578 (RF), and all models flag about 70 providers per fold. With balanced weights, LR moves from second to last place (F1 0.543) because its recall rises to 0.905 while it flags 237 providers per fold, whereas RF and LGBM rise to F1 . Over the same change, ROC-AUC moves by at most 0.003 for every model and PR-AUC by at most 0.021. A comparison reported only by F1, accuracy, or a confusion matrix at 0.5 therefore partly reflects the weighting convention rather than the classifier.
4.3. Claim-Level Formulation and Splitting
Figure 2 and Table 4 report the claim-level protocol P2. With claim-only features and a provider-grouped split, all models are close to chance (ROC-AUC 0.533–0.536): the attributes of an individual claim carry little information about whether its provider is labelled fraudulent. A random claim-level split raises the tree ensembles to 0.565–0.578 but leaves LR unchanged, consistent with trees partly recognising providers whose other claims were seen in training; under the random split, 99.9% of test claims belong to providers that also appear in the training folds. Adding provider-context features under the grouped split gives ROC-AUC 0.931–0.937, comparable to the provider-level models. Under the random split, the same features let every tree ensemble reach ROC-AUC (XGB rounds to 1.000), while LR stays at 0.939. The near-perfect scores arise because a provider’s context features are identical across all its claims, so the trees can effectively look up providers seen in training; the scores do not reflect generalisation to new providers.
Aggregating claim-only scores to providers by their maximum recovers a provider-level ROC-AUC of 0.875–0.891, but PR-AUC stays at 0.41–0.47, well below the 0.66–0.70 of provider-level models. Mean aggregation does worse (ROC-AUC 0.745–0.774). Since the maximum of many noisy scores grows with the number of claims, max-aggregation partly re-encodes provider volume.
5. Discussion
What the classifiers learn. On this benchmark, a single volume statistic, total reimbursement, ranks providers about as well as any of four standard classifiers trained on 26 features, and the tree ensembles lean on that same statistic. Fraud-labelled providers are, in median, roughly six times larger by claim count and 25 times larger by reimbursement than other providers. This pattern admits two readings that the data cannot separate: fraud in this population may genuinely concentrate in high-volume providers, or the labelling process may have favoured them. In either case, a model that “detects fraud” here may largely be detecting size, and improvements should be demonstrated relative to a volume baseline. Auditing by volume is also an obvious operational heuristic, so it is the natural reference point for any claimed gain.
Model comparisons. Differences between the four classifiers are small compared with fold-to-fold variability: the SD of PR-AUC across folds is 0.03–0.04, comparable in size to the between-model gaps reported on a single train/test split of this dataset (PR-AUC 0.730–0.760) [5]. Because feature sets and splits differ, our numbers are not directly comparable with those of prior studies; the point is that single-split differences of this magnitude should be interpreted with caution. Our results also do not support a general claim that tree ensembles outperform a linear model on this task: with log-transformed aggregates, LR is at least as good in every threshold-free metric we computed.
Recommendations. For this and similar benchmarks with entity-level labels, we suggest: (i) evaluate at the granularity of the label, with splits grouped by provider whenever records are used [9]; (ii) report threshold-free metrics (ROC-AUC, PR-AUC) and budget-based metrics with variability across repeated splits, and state the weighting and threshold policy behind any F1, accuracy, or confusion-matrix result; (iii) include a no-training volume baseline; and (iv) never compute provider-level summaries into claim records and then split claims at random, since doing so produces near-perfect scores that do not generalise.
Limitations. We study one public dataset whose labels are of undocumented provenance, so our findings characterise the benchmark rather than fraud detection in general. Hyperparameters were not tuned; tuning may change the small gaps between models, and we did not test whether it changes their relation to the baseline. We did not perform temporal validation, and permutation importance is affected by correlated features. Future work will apply the same protocol to Medicare data labelled through the federal exclusion list [2,3], to the claim- and patient-level datasets explored in [10], and to relational models that use shared beneficiaries and physicians.
6. Conclusion
Under a controlled and reproducible protocol, four standard classifiers for healthcare provider fraud detection on a widely used public benchmark perform on par with ranking providers by total reimbursement, threshold-dependent model rankings change with class-weighting conventions, and a claim-level formulation with random splitting produces near-perfect but spurious results. Reporting provider-grouped evaluation, threshold-free and budget-based metrics with their variability, and a volume baseline would make results on this benchmark more informative.
Supplementary Materials
The following supporting information can be downloaded at the website of this paper posted on Preprints.org.
Data Availability Statement
The dataset is publicly available [4]. The complete code to reproduce all tables and figures, including MD5 checksums of the input files, is provided as Supplementary Material.
Acknowledgments
The experiments, analysis code, and an initial draft of this manuscript were prepared with the assistance of Claude, an AI system developed by Anthropic. The authors reviewed and verified the code, results, and text, and take full responsibility for the content.
References
- du Preez, A.; Bhattacharya, S.; Beling, P.; Bowen, E. Fraud detection in healthcare claims using machine learning: A systematic review. Artif. Intell. Med. 2025, 160, 103061. [Google Scholar] [CrossRef]
- Herland, M.; Khoshgoftaar, T.M.; Bauder, R.A. Big Data fraud detection using multiple Medicare data sources. J. Big Data 2018, 5, 29. [Google Scholar] [CrossRef]
- Johnson, J.M.; Khoshgoftaar, T.M. Data-centric AI for healthcare fraud detection. SN Comput. Sci. 2023, 4, 389. [Google Scholar] [CrossRef]
- Gupta, R.A. Healthcare Provider Fraud Detection Analysis. Kaggle dataset. Available online: https://www.kaggle.com/datasets/rohitrox/healthcare-provider-fraud-detection-analysis (accessed on Nov. 2026).
- Argade, D.; Gandeeban, K. Benchmarking TabPFN against traditional and relational models for provider fraud detection. Proc. Proc. Int. Conf. Intell. Syst. A Sustain. Future (ISSF 2026) . 2026, Vol. 16, 785–792. [Google Scholar] [CrossRef]
- Vandervorst, F.; Deprez, B.; Verbeke, W.; Verdonck, T. Inductive inference of gradient-boosted decision trees on graphs for insurance fraud detection. Data Min. Knowl. Discov. 2026, 40, 78. [Google Scholar] [CrossRef]
- Kaufman, S.; Rosset, S.; Perlich, C.; Stitelman, O. Leakage in data mining: Formulation, detection, and avoidance. ACM Trans. Knowl. Discov. From Data 2012, 6, 15:1–15:21. [Google Scholar] [CrossRef]
- Kapoor, S.; Narayanan, A. Leakage and the reproducibility crisis in machine-learning-based science. Patterns 2023, 4, 100804. [Google Scholar] [CrossRef]
- Roberts, D.R.; Bahn, V.; Ciuti, S.; Boyce, M.S.; Elith, J.; Guillera-Arroita, G.; Hauenstein, S.; Lahoz-Monfort, J.J.; Schröder, B.; Thuiller, W.; et al. Cross-validation strategies for data with temporal, spatial, hierarchical, or phylogenetic structure. Ecography 2017, 40, 913–929. [Google Scholar] [CrossRef]
- Showrob, M.A.S. Performance evaluation of machine learning models for healthcare fraud detection using multimodal datasets. Undergraduate thesis, Tokyo International University, Tokyo, Japan, 2025. [Google Scholar]
- Sahed, H.M.; Showrob, M.A.S.; Ozaydin, F. Evaluation of machine learning and deep learning models for extreme climate event forecasting. In Proceedings of the Proc. 2025 Int. Conf. Advanced Machine Learning and Data Science (AMLDS).; IEEE, 2025; pp. 484–489. [Google Scholar] [CrossRef]
- Saito, T.; Rehmsmeier, M. The precision-recall plot is more informative than the ROC plot when evaluating binary classifiers on imbalanced datasets. PLoS ONE 2015, 10, e0118432. [Google Scholar] [CrossRef]
- Breiman, L. Random forests. Mach. Learn. 2001, 45, 5–32. [Google Scholar] [CrossRef]
- Chen, T.; Guestrin, C. XGBoost: A scalable tree boosting system. In Proceedings of the Proc. 22nd ACM SIGKDD Int. Conf. Knowledge Discovery and Data Mining, 2016; pp. 785–794. [Google Scholar] [CrossRef]
- Ke, G.; Meng, Q.; Finley, T.; Wang, T.; Chen, W.; Ma, W.; Ye, Q.; Liu, T.Y. LightGBM: A highly efficient gradient boosting decision tree. In Proceedings of the Advances in Neural Information Processing Systems, 2017; Vol. 30. [Google Scholar]
- Pedregosa, F.; Varoquaux, G.; Gramfort, A.; Michel, V.; Thirion, B.; Grisel, O.; Blondel, M.; Prettenhofer, P.; Weiss, R.; Dubourg, V.; et al. Scikit-learn: Machine learning in Python. J. Mach. Learn. Res. 2011, 12, 2825–2830. [Google Scholar]
Figure 1.
Precision–recall curves at the provider level, from pooled out-of-fold predictions of the first cross-validation repetition (average precision, AP, of the pooled predictions in parentheses). The dashed curve ranks providers by total reimbursement alone.
Figure 1.
Precision–recall curves at the provider level, from pooled out-of-fold predictions of the first cross-validation repetition (average precision, AP, of the pooled predictions in parentheses). The dashed curve ranks providers by total reimbursement alone.

Figure 2.
Claim-level ROC-AUC (mean and SD over five folds) for claim-only features and with provider-context features, under provider-grouped and random claim-level splits.
Figure 2.
Claim-level ROC-AUC (mean and SD over five folds) for claim-only features and with provider-context features, under provider-grouped and random claim-level splits.

Table 1.
Dataset summary (labelled training files only)
| Providers (labelled potentially fraudulent) | 5,410 (506; 9.35%) |
| Claims: inpatient / outpatient | 40,474 / 517,737 |
| Beneficiaries | 138,556 |
| Claim start dates | 2008-11-27 to 2009-12-31 |
| Claims submitted by fraud-labelled providers | 38.1% |
| Reimbursement to fraud-labelled providers | 53.1% |
Table 2.
Provider-level results (P1, unweighted models), mean (SD) over 25 folds. TotalReimb uses no training.
Table 2.
Provider-level results (P1, unweighted models), mean (SD) over 25 folds. TotalReimb uses no training.
| Method | ROC-AUC | PR-AUC | P@10% | R@10% | $R@10% |
| TotalReimb | .938 (.009) | .688 (.033) | .600 (.029) | .646 (.031) | .918 (.016) |
| LR | .943 (.007) | .695 (.029) | .618 (.024) | .666 (.026) | .917 (.020) |
| RF | .937 (.011) | .689 (.035) | .599 (.032) | .645 (.035) | .907 (.019) |
| XGB | .932 (.010) | .664 (.040) | .590 (.024) | .636 (.026) | .885 (.020) |
| LGBM | .935 (.011) | .681 (.036) | .588 (.034) | .633 (.036) | .890 (.021) |
Table 3.
Effect of class weighting at the 0.5 threshold (P1), means over 25 folds. #: providers flagged per fold.
Table 3.
Effect of class weighting at the 0.5 threshold (P1), means over 25 folds. #: providers flagged per fold.
| Unweighted | Balanced | |||||||
| Model | F1 | Prec. | Rec. | # | F1 | Prec. | Rec. | # |
| LR | .575 | .713 | .484 | 69 | .543 | .388 | .905 | 237 |
| RF | .578 | .719 | .487 | 69 | .612 | .578 | .655 | 115 |
| XGB | .570 | .671 | .498 | 75 | .593 | .606 | .583 | 98 |
| LGBM | .562 | .686 | .480 | 71 | .610 | .585 | .641 | 112 |
Table 4.
Claim-level results (P2): ROC-AUC / PR-AUC, means over five folds. Lower block: grouped-split claim scores aggregated to providers (provider-level ROC-AUC / PR-AUC). Entries of 1.00 denote values .
Table 4.
Claim-level results (P2): ROC-AUC / PR-AUC, means over five folds. Lower block: grouped-split claim scores aggregated to providers (provider-level ROC-AUC / PR-AUC). Entries of 1.00 denote values .
| Features | Split | LR | RF | XGB | LGBM |
| Claim-only | grouped | .535/.431 | .533/.426 | .533/.430 | .536/.434 |
| Claim-only | random | .536/.431 | .567/.451 | .578/.467 | .565/.457 |
| +Context | grouped | .935/.906 | .937/.919 | .931/.916 | .931/.915 |
| +Context | random | .939/.914 | 1.00/1.00 | 1.00/1.00 | 1.00/1.00 |
| Claim-only, max-agg. | .875/.409 | .887/.428 | .891/.439 | .890/.471 | |
| Claim-only, mean-agg. | .774/.204 | .745/.186 | .760/.196 | .771/.203 | |
| +Context, mean-agg. | .938/.691 | .932/.686 | .909/.649 | .927/.637 | |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
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.