IBM Multi-PNA+EU, IBM's protocol
PNA with reverse message passing, multigraph port numbering, ego IDs and edge updates (IBM/Multi-GNN at 252b025, Apache-2.0), 2 layers of width 20
Part of QSMPC-QKD-QHE-AI-Hybrid,
a quantum-safe orchestration demo.
This is IBM's official Multi-PNA+EU (IBM/Multi-GNN at commit 252b025, Apache-2.0; Egressy et al., 'Provably Powerful
Graph Neural Networks for Directed Multigraphs', AAAI 2024, arXiv:2306.11586), trained here from IBM's code on the
finance_aml page's windows under IBM's protocol, which samples each transfer's neighbours from its window's whole graph, and exported to ONNX at opset 18. The page runs it in
plaintext in onnxruntime-web on 16 held-out transfers with the neighbourhood its protocol sampled for them
(eval_sample.json); nothing of it runs under encryption. This project's changes to IBM's code are the patches in
scripts/train/ibm_multignn/ of the repository, each stated in that folder's README as Apache-2.0 section 4 asks of
modified files; IBM's repository ships a LICENSE and no NOTICE file, and its LICENSE is copied here as
LICENSE-IBM-Multi-GNN.txt. IBM's loop never calls model.eval(), so a checkpoint it saves carries BatchNorm
statistics last set by the test pass. This model's were recomputed on the fit window, and the table below is the
exported model's, in eval mode at the threshold tuned on validation; logged_test_f1 is the figure IBM's own loop
logs at the epoch it keeps, in training mode, which is how the paper's figures are made.
Measured performance
| metric | value |
|---|---|
accuracy | 0.999139 |
auprc | 0.631829 |
auprc_baseline | 0.00152434 |
auroc | 0.985447 |
decision_threshold | 0.637421 |
kept_epoch | 33 |
logged_test_f1 | 0.6751 |
logged_validation_f1 | 0.6208 |
minority_class_f1 | 0.682182 |
n_test | 1522629 |
n_validation | 710969 |
selected_seed | 4 |
Five seeds
IBM's loop keeps an epoch when its validation F1 beats every earlier epoch's; the logged figures are its own, in training mode. The exported way is eval mode with the BatchNorm statistics recomputed on the fit window, at the threshold that maximises validation F1. The seed exported is the one with the best logged validation F1.
| seed | kept epoch | logged validation F1 | logged test F1 | test F1, exported way | test AUPRC |
|---|---|---|---|---|---|
| 1 | 36 | 0.6177 | 0.6616 | 0.673119 | 0.639675 |
| 2 | 38 | 0.6089 | 0.6506 | 0.664573 | 0.651 |
| 3 | 54 | 0.5928 | 0.6254 | 0.639289 | 0.596986 |
| 4 | 33 | 0.6208 | 0.6751 | 0.682182 | 0.631829 |
| 5 | 39 | 0.5732 | 0.6309 | 0.629219 | 0.579145 |
| mean | 0.60268 (sample sd 0.019744) | 0.64872 (sample sd 0.020777) | 0.657676 (sample sd 0.022553) | 0.619727 (sample sd 0.030358) |
Published baselines this is measured against
- Target metric: minority-class F1 (laundering)
- Baseline to beat: 0.6816 - Multi-PNA+EU itself on AML Small HI: 68.16 +/- 2.65 minority-class F1, five runs on the paper's own split (Egressy et al., 'Provably Powerful Graph Neural Networks for Directed Multigraphs', AAAI 2024, arXiv:2306.11586, Table 2). Run here from IBM's code on this project's windows over five seeds, each listed with the test F1 IBM's loop logs at its kept epoch, the paper's measure, beside the exported model's. GFP+XGBoost's 63.23 is the baseline of the gradient-boosting model this demo ships, not of this architecture.
- Published ceiling: 0.7788 - TCEE-PNA with Pair-PNA and Nbr-Attn, HI-Small, Table 2 of Savvidi, Bilgi, Atasu and van Deursen, 'Leveraging Time-Series Foundation Models for Financial Crime Detection', ACM ICAIF '26, arXiv:2610.29667v1: 77.88 +/- 1.34 over five seeds. A different protocol from this project's and from MEGA's: its own 64/19/17 split of HI-Small, and frozen Chronos-2 embeddings of each account's history on the edges; its Multi-GNN row scores 49.28, far below that model's own published figures. The previous ceiling, MEGA's Table 16 (TMLR 08/2026, arXiv:2412.00241v3), has Multi-FraudGT at 75.81 +/- 0.75 on Small HI.
- Companion metric shown alongside:
auprc- reported together because the aggregate figure can look healthy while the class that matters is not.
Calibration map
The demo page shows this model's logits and its decision, not a probability, and reads no score through this map. It states what the score would mean as a risk, for a reader who needs one. Fitted on the validation split and scored on the held-out test split.
$$p = \frac{1}{1 + \exp!\big(a,\operatorname{logit}\big(\operatorname{clip}(q,\ \varepsilon,\ 1-\varepsilon)\big) + b\big)}$$
$$\operatorname{logit}(q) = \log\frac{q}{1-q},\qquad \varepsilon = 10^{-12}$$
Here \(q\) is the GNN's P(laundering), \(q = \sigma(z_1 - z_0)\), the softmax of its two logits \(z_0, z_1\), as IBM's dump_logits.py writes it. Its decision compares \(q\) with the threshold tuned on validation, 0.637421 for the published seed, not with 0.5.
| quantity | value |
|---|---|
a | -0.8395144600770161 |
b | 2.0208491042546495 |
| fitted on | 710969 validation rows, 801 positive |
| scored on | 1522629 test rows, 2321 positive |
| Brier score, raw to calibrated | 0.00096098 to 0.00074877 |
| log-loss, raw to calibrated | 0.00594711 to 0.00418167 |
| CORP miscalibration (MCB), raw to calibrated | 0.00022212 to 0.00000991 |
| base-rate Brier score (CORP UNC) | 0.00152201 |
Brier skill against the base rate, \(1 - \mathrm{BS}/\mathrm{UNC}\), is 0.5080.
Raw is the published checkpoint's own float32 softmax probability, the one its record was scored from. It is exactly 0 on 100 of the 1,522,629 test rows, where float32 underflows, and their logit is taken at 1e-45. In the record's ten-bin reliability table its mean lies above the 95 % interval of the observed rate in every one of the 9 occupied bins above 0.1, so it is not a risk.
Why Platt and not isotonic: Measured on this GNN's windows, not carried from the gradient-boosting teacher's record. Isotonic's Brier 0.00074634 is below Platt's 0.00074877 and its log-loss 0.00425546 is above 0.00418167; lower is better on both. Platt is kept as a choice, not as the better score: it is strictly monotone, so the curve ranks rows as the GNN does (AUPRC 0.63182826 against the raw 0.63182937, with 947,218 test rows tied at the logit clip; isotonic's 0.61641266 comes from the test window's scores tied at 166 values, 1,126,562 of them exactly zero), and it is the method of the other finance records, so they differ by the model and not by the map.
Training data
- Dataset: IBM AMLworld HI-Small
- Licence: CDLA-Sharing-1.0
- Source: https://www.kaggle.com/datasets/ealtman2019/ibm-transactions-for-anti-money-laundering-aml (licence read 2026-08-03)
- Attribution (CDLA-Sharing-1.0): Altman et al., 'Realistic Synthetic Financial Transactions for Anti-Money Laundering Models', NeurIPS 2023 Datasets and Benchmarks. Data: IBM Transactions for Anti-Money Laundering (AML), CDLA-Sharing-1.0.
5M transactions, 515K accounts, ~1 laundering transaction in 981. NeurIPS 2023 D&B. SYNTHETIC: IBM generates it with a multi-agent virtual-world model and states 'Everything is synthetic'; the paper is titled 'Realistic Synthetic Financial Transactions for AML Models'. Chosen for its calibration to real transaction statistics and its CDLA-Sharing terms, not because it is real data. No real laundering-labelled corpus under a permissive licence was found (2026-11-22): Elliptic and Elliptic2 are CC BY-NC-ND 4.0, and the one real bank set found is GPL-3.0 with differentially private PCA features (arXiv:2507.08835). THE TEST WINDOW RUNS PAST THE DATA: HI-Small holds ten days, September 1-10, 2022 (IBM's dataset card), and the last 30 percent of its transactions in time order run to September 18. The 1,108 rows dated September 11-18 are there, the dataset's creator explains, so that laundering patterns begun earlier can complete; 655 of them are laundering, 28.2% of the test window's 2,321 positives. Without them the window's rate is 0.109 percent rather than 0.152, the teacher's minority-class F1 0.5499 rather than 0.6161 and its AUPRC 0.5408 rather than 0.6428, and the CKKS student's F1 0.2083 rather than 0.3088. The published 60/20/20 split's test set carries the same 1,108 rows (docs/measurements/finance-test-window-tail-2026-11-11.json).
Notes and limitations
IBM's official Multi-PNA+EU, trained here from IBM's code (IBM/Multi-GNN at 252b025, Apache-2.0, with scripts/train/ibm_multignn/project_split.patch for this project's windows) for IBM's 100 epochs, five seeds. The kept epoch is IBM's own rule and the exported seed is the one with the best logged validation F1. IBM's loop never calls model.eval(), so a checkpoint it saves carries BatchNorm statistics last set by the test pass; the exported one has them recomputed on the fit window (precise_bn.py, the owner's choice of 2026-11-16), and its figures are scored in eval mode at the threshold tuned on validation. The page runs it in plaintext: onnxruntime-web scores its 16 held-out transfers with the neighbourhood IBM's loader sampled for them, and nothing of it runs under encryption. IBM's protocol reads each window's whole graph, so a transfer's neighbourhood can include later transfers, which the tab counts; its causal twin is finance_aml.gnn_causal. The compact GNN and the MLP are distilled from this model, seed 1. Message passing over the whole graph needs every account's neighbourhood at scoring time, which the browser holds here only for these 16 transfers. Bilgi et al. (arXiv:2610.18054v2, preprint) run an edge-centric GNN under CKKS on the IBM AML benchmark at 5.31 s per queried transaction (1.65 s amortized over a batch of 16) with HEonGPU on one RTX 5090, with the graph held in plaintext by the server - server-side evaluation only, since those figures exclude the client's encryption and decryption, key generation and network communication - and its encrypted and plaintext predictions agree on 99.25% of transactions. It is not the best published figure on this split: the published version of MEGA (TMLR, see the ceiling) re-runs Multi-PNA at 67.35 +/- 2.89 on Small HI, below FraudGT, Multi-FraudGT and every MEGA variant in its table.
Honest scope
This model is published as part of a research proof of concept, not as a production system.
Numbers above are what this repository measured on the split described, with the code in
scripts/train/. Where a figure is carried from the literature rather than measured here,
it is labelled as such.