DVK2026 commited on
Commit
0ce65bb
·
verified ·
1 Parent(s): 2dd14cc

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +225 -0
README.md ADDED
@@ -0,0 +1,225 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ task_categories:
4
+ - graph-ml
5
+ - tabular-classification
6
+ language:
7
+ - en
8
+ tags:
9
+ - anti-money-laundering
10
+ - AML
11
+ - financial-crime
12
+ - fraud-detection
13
+ - graph-neural-networks
14
+ - GNN
15
+ - synthetic
16
+ - banking
17
+ - transactions
18
+ - PyTorch-Geometric
19
+ - Neo4j
20
+ pretty_name: AusAML — Synthetic Australian Banking Dataset for AML Detection
21
+ size_categories:
22
+ - 10M<n<100M
23
+ ---
24
+
25
+ # AusAML: Synthetic Australian Banking Dataset for AML Detection
26
+
27
+ AusAML is a large-scale synthetic banking dataset designed for training and benchmarking graph neural network (GNN) models on anti-money laundering (AML) detection tasks. It simulates a realistic four-bank Australian financial ecosystem with fully labelled AML typology scenarios embedded within a background of legitimate transaction activity.
28
+
29
+ ## Dataset Summary
30
+
31
+ | Property | Value |
32
+ |---|---|
33
+ | Jurisdiction | Australia (AU) |
34
+ | Banks | 4 (Yellow, Red, White, Orange) |
35
+ | Customers | 50,000 (primary) |
36
+ | Accounts | 112,620 |
37
+ | Transactions | 35,554,888 |
38
+ | Date range | 2025-11-01 → 2026-05-31 (7 months) |
39
+ | AML customers | 2,502 (5.0% of total) |
40
+ | AML scenario instances | 740 across 4 banks (297 unique) |
41
+ | AML typologies | 29 |
42
+ | Random seed | 42 |
43
+
44
+ All personally identifiable information is entirely synthetic. No real customer, account, or transaction data was used.
45
+
46
+ ---
47
+
48
+ ## AML Typologies
49
+
50
+ The dataset covers 29 distinct money-laundering typologies spanning cash structuring, network-based layering, digital-asset obfuscation, and professional abuse patterns:
51
+
52
+ | Category | Typologies |
53
+ |---|---|
54
+ | Cash structuring | `smurfing`, `micro_structuring`, `exchange_micro_structuring`, `geo_smurfing` |
55
+ | Network layering | `layering`, `chain_branch`, `circular_ring`, `split_merge`, `fanin_fanout`, `hub_network`, `mule_network`, `pass_through`, `funnel_account`, `intrabank_hub` |
56
+ | Burst & timing | `burst_transfers`, `dormant_activation` |
57
+ | Cash-intensive business | `cash_intensive`, `gambling_wash`, `gambling_rapid_cycling`, `insurance_cycling` |
58
+ | Digital assets | `crypto_atm_withdrawal`, `crypto_mining_wash`, `crypto_salary_obfuscation`, `stablecoin_chain` |
59
+ | Professional & corporate abuse | `ghost_payroll`, `corporate_round_robin`, `director_loan_recycling`, `loan_back`, `hawala_mirror` |
60
+
61
+ Each typology has 7–12 scenario instances per bank. Scenario boundaries (customer IDs, account IDs, date window, signal columns) are recorded in `labels.json`.
62
+
63
+ ---
64
+
65
+ ## Dataset Structure
66
+
67
+ ### Files
68
+
69
+ ```text
70
+ oneview/
71
+ shared/
72
+ labels.json # Ground-truth: all 297 unique scenarios + node labels + train/val/test splits
73
+ dataset_card.md # Auto-generated summary
74
+ parquet/ # Combined Parquet files (all tables, all banks merged)
75
+ pyg/ # PyTorch Geometric tensors (node features, edge index, masks)
76
+ neo4j/ # Neo4j Cypher load files (combined graph)
77
+
78
+ <bank_id>/ # Per-bank outputs for: yellow_bank, red_bank, white_bank, orange_bank
79
+ parquet/ # Per-bank Parquet files
80
+ pyg/ # Per-bank PyG tensors
81
+ neo4j/ # Per-bank Neo4j Cypher files
82
+ shared/
83
+ labels.json # Per-bank filtered labels (cross-bank scenarios include all_account_ids)
84
+ ```
85
+
86
+ ### Schema (30+ tables)
87
+
88
+ Core tables across all banks:
89
+
90
+ | Table group | Tables |
91
+ |---|---|
92
+ | Customers | `customer_master`, `customer_individual`, `customer_business`, `customer_trust`, `customer_identity`, `customer_address`, `customer_kyc`, `customer_risk_profile`, `customer_financial_profile` |
93
+ | Accounts | `account_base`, `account_deposit`, `account_credit_card`, `account_loan`, `account_term_deposit`, `account_behavioral_baseline` |
94
+ | Transactions | `transaction_base`, `transaction_card_pos`, `transaction_bpay`, `transaction_transfer_internal`, `transaction_transfer_external`, `transaction_payid`, `transaction_wire_international`, `transaction_cash_deposit`, `transaction_cash_withdrawal`, `transaction_direct_debit`, `transaction_digital_context` |
95
+ | AML labels | `_aml_designations`, `_scenario_log` |
96
+
97
+ ### Graph Schema
98
+
99
+ For GNN use, the dataset exports a heterogeneous graph with:
100
+
101
+ - **Node types (6):** Customer, Account, Device, IP, Beneficiary, Bank
102
+ - **Edge types (6):** Owns, Has\_Relationship, Uses, In\_Scenario, Transfers\_To, Is\_Located\_In
103
+
104
+ ### `labels.json` Structure
105
+
106
+ ```json
107
+ {
108
+ "scenarios": [
109
+ {
110
+ "scenario_id": "SCN_0001",
111
+ "typology": "smurfing",
112
+ "customer_ids": ["uuid", ...],
113
+ "account_ids": ["uuid", ...],
114
+ "date_from": "2026-02-16",
115
+ "date_to": "2026-03-06",
116
+ "signal_columns": ["TRANSACTION_CASH_DEPOSIT.note_count", ...]
117
+ }
118
+ ],
119
+ "node_labels": { "<customer_id>": 1, ... },
120
+ "splits": { "train": [...], "val": [...], "test": [...] }
121
+ }
122
+ ```
123
+
124
+ `node_labels` maps each customer UUID to `1` (AML) or `0` (legitimate). Note: the predefined train/val/test split assigns all 297 scenarios to train because the 7-month window does not provide sufficient temporal separation for held-out splits; users should define their own splits for evaluation.
125
+
126
+ ---
127
+
128
+ ## Customer Population
129
+
130
+ | Segment | Proportion |
131
+ |---|---|
132
+ | Individual | 75% |
133
+ | Business | 20% |
134
+ | Trust | 5% |
135
+ | Domestic (AU resident) | 85% |
136
+ | International | 15% |
137
+ | Cross-bank (2 banks) | 20% |
138
+ | Cross-bank (3 banks) | 5% |
139
+
140
+ Additional customer attributes: KYC status, risk rating, PEP/sanctions screening (2.0% PEP rate), adverse media flags (3.0%), employment type, annual income (log-normal, mean AUD 238k).
141
+
142
+ ---
143
+
144
+ ## Transaction Characteristics
145
+
146
+ | Metric | Value |
147
+ |---|---|
148
+ | Avg transactions / account / month | ~44 (individual deposit) |
149
+ | Weekday/weekend volume ratio | 2.6× |
150
+ | Business-hours (07:00–22:00) POS/ATM share | 80% |
151
+ | PayID proportion (individual accounts) | 8.5% |
152
+ | International wire destinations | 40 countries |
153
+ | FATF high-risk wire proportion | 15% |
154
+ | CTR-flagged cash deposits (≥ AUD 10,000) | 3.4% of cash deposits |
155
+ | Mobile transaction share | 48.8% |
156
+ | Benford's Law first-digit '1' | 33.3% (expected 30.1%) |
157
+
158
+ ---
159
+
160
+
161
+ ## Usage
162
+
163
+ ### Load Parquet (pandas)
164
+
165
+ ```python
166
+ import pandas as pd
167
+
168
+ txn = pd.read_parquet("oneview/parquet/transaction_base.parquet")
169
+ cust = pd.read_parquet("oneview/parquet/customer_master.parquet")
170
+ ```
171
+
172
+ ### Load Ground-Truth Labels
173
+
174
+ ```python
175
+ import json
176
+
177
+ with open("oneview/shared/labels.json") as f:
178
+ labels = json.load(f)
179
+
180
+ # Dict mapping customer_id → 0/1
181
+ node_labels = labels["node_labels"]
182
+
183
+ # All AML scenarios with their account IDs and date windows
184
+ scenarios = labels["scenarios"]
185
+ ```
186
+
187
+ ### Load PyTorch Geometric Graph
188
+
189
+ ```python
190
+ import torch
191
+
192
+ data = torch.load("oneview/pyg/graph.pt")
193
+ # data.x — node feature matrix
194
+ # data.edge_index — edge connectivity
195
+ # data.y — node labels (0 = legitimate, 1 = AML)
196
+ # data.train_mask — training mask
197
+ ```
198
+
199
+ ---
200
+
201
+ ## Considerations for Using the Data
202
+
203
+ ### Intended Use
204
+
205
+ - Training and benchmarking GNN-based AML detection models
206
+ - Evaluating graph anomaly detection, link prediction, and node classification algorithms in a financial-crime context
207
+ - Studying multi-bank, cross-institution typology patterns
208
+
209
+ ### Out-of-Scope Use
210
+
211
+ This dataset must not be used to build systems intended to evade AML controls, launder money, or circumvent financial crime detection in production systems.
212
+
213
+ ### Limitations
214
+
215
+ - **Synthetic only:** The dataset does not reflect the full complexity of real banking data, including regulatory edge cases, legacy system artefacts, or jurisdiction-specific product variations beyond the Australian configuration.
216
+ - **Balanced typology coverage:** Scenario instances per typology are capped (7–12 per bank) to ensure coverage breadth. Real AML distributions are highly skewed toward a small number of typologies.
217
+ - **Payroll–income alignment:** Synthetic payroll amounts are sampled independently from declared annual income; ~44% of customers fall within ±40% of their declared income (a known generator constraint).
218
+ - **Class imbalance:** AML customers are 5% of the population by design. Downstream models should account for this imbalance (weighted loss, oversampling, etc.).
219
+ - **No held-out test split:** All 297 scenarios fall within the training window. Users evaluating generalisation should define their own typology-held-out or time-based splits.
220
+
221
+ ### Social Impact
222
+
223
+ The dataset is designed to advance automated AML detection, which supports financial crime prevention. No real individuals are represented.
224
+
225
+ ---