/ Модель

Характеристики

Лицензия
cdla-sharing-1.0
Библиотека
onnx
Опубликована
18 ноя 2026

qsh-finance-aml-gnn

Классификация таблицTable → label3 профессии

Графовая модель Multi-PNA+EU в формате ONNX классифицирует финансовые переводы для выявления операций, связанных с отмыванием денег.

0скачиваний за 30 дней0лайковвеса обновлены29 ноя 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

Модель Daemons-Q/qsh-finance-aml-gnn — графовая нейросеть Multi-PNA+EU, основанная на официальной реализации IBM Multi-GNN и обученная авторами репозитория на временных окнах набора finance_aml для выявления переводов, связанных с отмыванием денег. Архитектура использует два слоя шириной 20, обратную передачу сообщений, нумерацию портов мультиграфа, идентификаторы эго-узлов и обновление рёбер. Модель экспортирована в ONNX с opset 18 и предназначена для табличной классификации финансовых переводов с учётом связей между счетами.

В README приведены метрики на отложенной выборке и результаты для нескольких случайных инициализаций; при этом качество зависит от протокола разбиения и обработки графа. При оценке используется окружение переводов из всего графа временного окна, поэтому в окрестности могут попадать более поздние операции. Демонстрационная страница оценивает 16 переводов в открытом виде в onnxruntime-web; вычисления под шифрованием не выполняются. Для скоринга требуется окрестность каждого счёта, что ограничивает практическую применимость описанным сценарием. Лицензия репозитория — CDLA-Sharing-1.0; исходная реализация IBM Multi-GNN указана как Apache-2.0.

Сценарии применения

  • выявление подозрительных переводов в графе финансовых операций
  • классификация переводов по риску отмывания денег
  • анализ связей счетов и переводов в окне транзакций

Ограничения

Оценка проводится в открытом виде и не поддерживает зашифрованные вычисления; для скоринга нужны окрестности счетов, а протокол может учитывать более поздние переводы из окна. Результаты зависят от разбиения и протокола оценки.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

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

metricvalue
accuracy0.999139
auprc0.631829
auprc_baseline0.00152434
auroc0.985447
decision_threshold0.637421
kept_epoch33
logged_test_f10.6751
logged_validation_f10.6208
minority_class_f10.682182
n_test1522629
n_validation710969
selected_seed4

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.

seedkept epochlogged validation F1logged test F1test F1, exported waytest AUPRC
1360.61770.66160.6731190.639675
2380.60890.65060.6645730.651
3540.59280.62540.6392890.596986
4330.62080.67510.6821820.631829
5390.57320.63090.6292190.579145
mean0.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.

quantityvalue
a-0.8395144600770161
b2.0208491042546495
fitted on710969 validation rows, 801 positive
scored on1522629 test rows, 2321 positive
Brier score, raw to calibrated0.00096098 to 0.00074877
log-loss, raw to calibrated0.00594711 to 0.00418167
CORP miscalibration (MCB), raw to calibrated0.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

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.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · onnx

Нельзя запустить

Модель выложена только в формате ONNX, рантайм загружает PyTorch-веса.

Ревизия весов
8f9a5f5

0 моделей