/ Модель

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

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

qsh-finance-aml-gnn-causal

Классификация таблицTable → label3 профессии
0скачиваний за 30 дней0лайковвеса обновлены29 ноя 2026

Описание модели

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

ONNX-экспорт графовой модели IBM Multi-PNA+EU для классификации банковских переводов в сценарии выявления отмывания денег.

Daemons-Q публикует ONNX-экспорт официальной архитектуры IBM Multi-PNA+EU, обученный на временных окнах датасета finance_aml по причинному протоколу. Это графовая нейросеть для классификации переводов: она использует обратную передачу сообщений, нумерацию портов мультиграфа, идентификаторы узлов эго-графа и обновление признаков рёбер; модель имеет 2 слоя шириной 20. В качестве временного признака подаётся относительное время перевода до конца его пакета, нормированное по обучающему интервалу и ограниченное диапазоном [-1, 0].

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

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

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

Ограничения

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

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

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

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

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

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

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

Открыть на Hugging Face

IBM Multi-PNA+EU, causal 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 the causal protocol, which reads nothing past the horizon the page's own models give a transfer, 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.998943
auprc0.578913
auprc_baseline0.00152435
auroc0.981609
decision_threshold0.431105
kept_epoch16
logged_test_f10.5474
logged_validation_f10.6258
minority_class_f10.625204
n_test1522612
n_validation710969
selected_seed1

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 AUPRCtest F1, plain batches of 2,048
1160.62580.54740.6252040.5789130.458121
2280.61780.60250.5785650.4984340.400265
3340.61710.57370.5973370.5229670.409632
4330.61150.57180.6589330.590710.463759
5140.61520.51880.6439990.5843930.451194
mean0.61748 (sample sd 0.005254)0.56284 (sample sd 0.031421)0.620808 (sample sd 0.032962)0.555083 (sample sd 0.041644)0.436594 (sample sd 0.029416)

The time input under the causal protocol

IBM's model reads each transfer's timestamp as an edge feature. Under this protocol every window is scaled by the fit window's statistics, and the test window's timestamps then lay outside every value training saw (\(z\) of 2.9 to 9.7, against at most 2.0 on the fit window). This model's time input (QSH_CAUSAL_TIME=lag in scripts/train/ibm_multignn/causal.patch) is instead each transfer's time before the end of its batch, over the fit window's span \(s\) (443,520 s):

$$\ell = \max\left(-1,\ \frac{t - t_{\mathrm{end}}}{s}\right) \in [-1, 0],$$

where \(t_{\mathrm{end}}\) is the latest time among the scored transfers of the batch. Temporal GNNs likewise read time relative to the event rather than absolute, through an encoding of the difference (TGAT, arXiv:2002.07962; GraphMixer, arXiv:2302.11636); this model reads the scaled difference itself.

Both replacements were trained, five seeds each, and the one exported has the better mean logged validation F1 (lag 0.61748 against drop 0.5977); the other's seeds are below, with the runs on the absolute timestamp before it was replaced.

Under the protocol's batches every scored transfer lies at most 1,020 s before its batch's end, as in the fit window, so \(\ell \ge -0.0023\) on every window. Under the plain batches of 2,048 of the last column, 1,352 test transfers, 654 of them laundering (of the test window's 2,321), lie further back than any fit-window transfer, down to the clip at \(-1\). Over five seeds the plain batches' mean test F1 lies below the exported way's by 0.184 for lag and 0.060 for drop.

Five seeds with the time input drop

The same protocol and columns, with the time input set to zero, so time only orders and cuts the batches.

seedkept epochlogged validation F1logged test F1test F1, exported waytest AUPRCtest F1, plain batches of 2,048
1300.59890.54030.5254890.5313270.487408
2340.61090.5930.6156310.5904270.546947
3250.58420.51560.551680.5260110.508799
4230.5920.49660.5469440.537750.462697
5460.60250.48750.5665070.5162060.50088
mean0.5977 (sample sd 0.010167)0.5266 (sample sd 0.042268)0.56125 (sample sd 0.033764)0.540344 (sample sd 0.029088)0.501346 (sample sd 0.030916)

The absolute timestamp, before it was replaced

IBM's absolute timestamp, scaled by the fit window's statistics; stopped after these seeds, its test inputs lying outside every value training saw (the owner's choice of 2026-11-16).

seedkept epochlogged validation F1logged test F1test F1, exported waytest AUPRCtest F1, plain batches of 2,048
1200.61920.41250.3994840.3378650.351995
2240.61650.43070.3546150.2650730.299001
3250.61550.55440.5887870.5156130.520668

Published baselines this is measured against

  • Target metric: minority-class F1 (laundering)
  • Baseline to beat: 0.6816 - Multi-PNA+EU on AML Small HI: 68.16 +/- 2.65 minority-class F1, five runs on the paper's own split (Egressy et al., AAAI 2024, arXiv:2306.11586, Table 2), under IBM's protocol. This model reads less than that protocol does, nothing past a transfer's horizon, so the figure is a reference for it rather than a like-for-like comparison.
  • 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.

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 Multi-PNA+EU under the causal protocol (scripts/train/ibm_multignn/causal.patch on top of the split patch, the owner's choices of 2026-11-15): each mini-batch is one batch of 2,048 transfers in time order, split where it spans more than 17 minutes, sampled with IBM's shared sampler, with every sampled transfer later than that batch dropped, and every window scaled by the fit window's statistics. Scaled that way, IBM's absolute timestamp input lay outside every value training saw on the test window, so this model reads in its place each transfer's time before the end of its batch over the fit window's span, clipped to [-1, 0] (QSH_CAUSAL_TIME=lag, the owner's choice of 2026-11-16); the input set to zero (drop) was trained the same way, and lag has the better mean logged validation F1 over five seeds each. Trained with early stopping after 20 epochs without a better validation F1 and four loader processes; the kept epoch is IBM's rule and the exported seed the best logged validation F1 of lag's five. Nothing it reads lies past the horizon the page's own models give a transfer, the end of its batch of 2,048 and at most 17 minutes after it, and its BatchNorm statistics are recomputed on the fit window, so its normalisation does not read the test window either. The record also gives the same checkpoints' test F1 under the plain batches of 2,048, under which lag's input lies outside the range training saw for part of the test window, as the card states. It runs in plaintext in this tab, beside its twin finance_aml.gnn. 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-веса.

Ревизия весов
09e7c6b

0 моделей