File size: 5,077 Bytes
e4188ea
 
 
 
 
 
 
 
 
 
 
 
 
 
43ff2f6
e4188ea
 
 
 
 
 
 
43ff2f6
e4188ea
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
e67f8fd
 
43ff2f6
 
 
 
 
 
 
 
 
 
 
 
 
 
e4188ea
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
---
license: apache-2.0
task_categories:
- tabular-classification
- feature-extraction
language:
- en
tags:
- fraud-detection
- finance
- federated-learning
- cifer
pretty_name: Cifer-Fraud-Detection-Dataset-AF
size_categories:
- 10M<n<100M
---

# 📊 Cifer Fraud Detection Dataset

## 🧠 Overview
The **Cifer-Fraud-Detection-Dataset-AF** is a high-fidelity, fully synthetic dataset created to support the development and benchmarking of privacy-preserving, federated, and decentralized machine learning systems in financial fraud detection.

This dataset draws structural inspiration from the **PaySim simulator,** which was built using aggregated mobile money transaction data from a real financial provider operating in 14+ countries. Cifer extends this format by scaling it to **21 million samples,** optimizing for **federated learning environments,** and validating performance against real-world datasets.

> ### Accuracy Benchmark:
> Cifer-trained models on this dataset reach **99.93% accuracy,** benchmarked against real-world fraud datasets with **99.98% baseline accuracy**—providing high-fidelity behavior for secure, distributed ML research.

---

## ⚙️ Generation Method
This dataset is **entirely synthetic** and was generated using **Cifer’s internal simulation engine,** trained to mimic patterns of financial behavior, agent dynamics, and fraud strategies typically observed in mobile money ecosystems.
- Based on the structure and simulation dynamics of PaySim
- Enhanced for multi-agent testing, federated partitioning, and async model training
- Includes realistic fraud flagging mechanisms and unbalanced label distributions

---

# 🧩 Data Structure
| Column Name      | Description                                                                 |
|------------------|-----------------------------------------------------------------------------|
| `step`           | Unit of time (1 step = 1 hour); simulation spans 30 days (744 steps total) |
| `type`           | Transaction type: CASH-IN, CASH-OUT, DEBIT, PAYMENT, TRANSFER               |
| `amount`         | Transaction value in simulated currency                                     |
| `nameOrig`       | Anonymized ID of sender                                                     |
| `oldbalanceOrg`  | Sender’s balance before transaction                                         |
| `newbalanceOrig` | Sender’s balance after transaction                                          |
| `nameDest`       | Anonymized ID of recipient                                                  |
| `oldbalanceDest` | Recipient’s balance before transaction (if applicable)                      |
| `newbalanceDest` | Recipient’s balance after transaction (if applicable)                       |
| `isFraud`        | Binary flag: 1 if transaction is fraudulent                                 |
| `isFlaggedFraud` | 1 if transaction exceeds a flagged threshold (e.g. >200,000)                |

---

# 📁 File Organization
Total Rows: **12,000,000**
Split into 8 folders/files for large-scale and federated learning scenarios:
- `Cifer-Fraud-Detection-Dataset-AF-part-1-14.csv` → 1.5M rows
- `Cifer-Fraud-Detection-Dataset-AF-part-2-14.csv` → 1.5M rows
- `Cifer-Fraud-Detection-Dataset-AF-part-3-14.csv` → 1.5M rows
- `Cifer-Fraud-Detection-Dataset-AF-part-4-14.csv` → 1.5M rows
- `Cifer-Fraud-Detection-Dataset-AF-part-5-14.csv` → 1.5M rows
- `Cifer-Fraud-Detection-Dataset-AF-part-6-14.csv` → 1.5M rows
- `Cifer-Fraud-Detection-Dataset-AF-part-7-14.csv` → 1.5M rows
- `Cifer-Fraud-Detection-Dataset-AF-part-8-14.csv` → 1.5M rows
- `Cifer-Fraud-Detection-Dataset-AF-part-9-14.csv` → 1.5M rows
- `Cifer-Fraud-Detection-Dataset-AF-part-10-14.csv` → 1.5M rows
- `Cifer-Fraud-Detection-Dataset-AF-part-11-14.csv` → 1.5M rows
- `Cifer-Fraud-Detection-Dataset-AF-part-12-14.csv` → 1.5M rows
- `Cifer-Fraud-Detection-Dataset-AF-part-13-14.csv` → 1.5M rows
- `Cifer-Fraud-Detection-Dataset-AF-part-14-14.csv` → 1.5M rows

Format: `.csv` (optionally `.parquet` or `.json` upon request)

---

# ✅ Key Features
- Fully synthetic and safe for public release
- Compatible with federated learning (cross-silo, async, or multi-agent)
- Ideal for privacy-preserving machine learning and robustness testing
- Benchmarkable against real-world fraud datasets
- Supports fairness evaluation via distribution-aware modeling

---

# 🔬 Use Cases
- Fraud detection benchmarking in decentralized AI systems
- Federated learning simulation (training, evaluation, aggregation)
- Model bias mitigation and fairness testing
- Multi-agent coordination and adversarial fraud modeling

---

# 📜 License
**Apache 2.0** — freely usable with attribution

---

# 🧾 Attribution & Citation
This dataset was generated and extended by Cifer AI, building on structural principles introduced by:

**E. A. Lopez-Rojas, A. Elmir, and S. Axelsson** <br>
*PaySim: A financial mobile money simulator for fraud detection.* <br>
28th European Modeling and Simulation Symposium – EMSS 2016

---