FiFAR: A Fraud Detection Dataset for Learning to Defer

Jean V. Alves, Diogo Leitão, Sérgio Jesus, Marco O. P. Sampaio, Pedro Saleiro, Mário A. T. Figueiredo, Pedro BizarroarXiv 2023

Here is a blog-style summary of the paper.

TL;DR

The authors introduce FiFAR (Financial Fraud Alert Review Dataset), the first public benchmark dataset for Learning to Defer (L2D) in the context of financial fraud detection. By providing predictions from 50 diverse synthetic experts alongside realistic operational capacity constraints, FiFAR bridges the gap between theoretical L2D models and the messy realities of production human-AI teaming.

What Problem Does This Paper Address?

In high-stakes domains like financial fraud detection or medical diagnosis, AI models rarely operate in isolation. Instead, they work in tandem with human experts via a paradigm called Learning to Defer (L2D), where an assignment algorithm decides whether a given instance should be handled automatically by the AI or deferred to a human specialist.

However, advancing L2D research has faced a massive bottleneck: a severe lack of large, public datasets containing real human decisions. To bypass this, researchers often simulate human experts using simplistic assumptions (e.g., adding random noise to labels). Furthermore, existing L2D benchmarks completely ignore real-world operational constraints, such as the fact that human analysts have limited daily work capacities and take days off. This paper introduces a complex, feature-dependent synthetic expert dataset and a capacity-aware framework to make L2D evaluation realistic.

Methods

The authors construct a realistic Human-AI Collaboration (HAIC) scenario using three core components:

  1. Instance-Dependent Expert Simulation: Rather than using simple random noise, the authors generate synthetic expert decisions by flipping true labels based on a sigmoid function of the instance's specific features and the ML model's score. They create 50 distinct synthetic experts divided into four behavioral profiles: Standard, Unfair (biased against older applicants), Model Agreeing (heavily swayed by the AI), and Sparse (relying on only a few features).
  2. Capacity Constraints Framework: They formalize human work limitations by dividing the dataset into temporal batches and defining a capacity matrix that dictates how many cases each expert can handle per batch, accounting for variable workloads and expert absences.
  3. Capacity-Aware Baselines: Because no existing L2D algorithms support individual capacity constraints, the authors adapt Rejection Learning (ReL) into three baseline approaches:
  4. Standard ReL: Defers the most uncertain cases to the human team randomly until capacity is met.
  5. Greedy ReL ($ReL_{greedy}$): Models each individual expert's error patterns and greedily assigns cases to the expert with the lowest predicted loss.
  6. Integer Linear Programming ReL ($ReL_{linear}$): Optimizes assignments globally across an entire batch by solving a linear programming problem subject to capacity constraints.
Figure 1: FiFAR Dataset

Datasets

The framework is built on top of the Bank Account Fraud (BAF) dataset, a large-scale (1 million rows), publicly available tabular dataset that mimics real-world fraud detection dynamics. The authors enrich this base dataset with their 50 synthetic experts and evaluate the system using a strict temporal split across 8 months to simulate true deployment conditions.

Figure 2: Temporal Splits for L2D Development

Key Insights and Ideas

  • The Data Scarcity Trap in L2D: Surprisingly, standard Rejection Learning (ReL) outperformed the more sophisticated, expert-aware methods ($ReL_{greedy}$ and $ReL_{linear}$) when dealing with the full, complex pool of experts. The authors attribute this to the low volume of False Negatives and True Positives in the training data, which makes it incredibly difficult for an algorithm to accurately model and rank an individual expert's nuanced error probabilities.
  • Simplicity is Easier to Optimize: When the expert pool was restricted to simpler, highly predictable behaviors (like the Unfair or Sparse groups), the global optimization approach ($ReL_{linear}$) reclaimed the crown, showing that the complexity of human behavior drastically changes which algorithm is best suited for the job.
  • Absence Matters: Introducing expert absences significantly increased the cost-sensitive loss in high-deferral scenarios (50% deferral rate), highlighting how vital it is to test L2D systems under fluctuating real-world workforce conditions.

Key Results

The baselines were rigorously evaluated across 300 distinct testing scenarios using a cost-sensitive loss function designed to maximize recall at a fixed 5% False Positive Rate (FPR).

  • Full Expert Pool: Standard ReL consistently achieved the lowest cost-sensitive loss (ranging from ~746 to ~768 depending on batch size and absence rates), outperforming $ReL_{linear}$ (~765 to ~789).
  • Homogeneous Pools: As shown in the extracted results below, when evaluating specialized expert pools, $ReL_{linear}$ achieved a significantly lower loss on the unfair expert pool (682±5) compared to standard ReL (712±7) at a 50% deferral rate.
Experimental results comparing the baselines across different synthetic expert pools and operational scenarios.

Limitations and Future Work

The primary limitation acknowledged by the authors is that their baselines do not include established state-of-the-art L2D algorithms from recent literature, simply because none of those algorithms currently possess the mathematical framework to handle capacity constraints.

Additionally, the authors caution that synthetic experts can amplify underlying data biases if feature weights are correlated with protected attributes (like age). They emphasize that while synthetic datasets are excellent for algorithmic benchmarking, they should not replace real human data when deploying production systems in the wild. Future work will focus on adapting core L2D loss functions to natively incorporate these vital capacity constraints.

Summary updated

BibTeX
@misc{alves2023fifar,
  author = {Jean V. Alves and Diogo Leitão and Sérgio Jesus and Marco O. P. Sampaio and Pedro Saleiro and Mário A. T. Figueiredo and Pedro Bizarro},
  title = {{FiFAR: A Fraud Detection Dataset for Learning to Defer}},
  year = {2023},
  eprint = {2312.13218},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2312.13218},
}
Figure