/ Модель

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

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

qsh-finance-aml-mlp-large

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

MLP Daemons-Q классифицирует финансовые транзакции на предмет отмывания денег с обработкой под CKKS и garbled circuits.

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

Бенчмарки

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

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

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

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

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

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

Daemons-Q разработала qsh-finance-aml-mlp-large — MLP для классификации транзакций в задаче выявления отмывания денег. Модель принимает 114 табличных признаков: 32 агрегата по аккаунту, 79 признаков транзакционного окна и 3 парных признака. Архитектура состоит из слоёв размером 114, 128, 64 и 2 с функциями ReLU; обработка выполняется пакетами по 2 048 транзакций.

Модель предназначена для демонстрации анализа финансовых транзакций с сохранением конфиденциальности: линейные слои вычисляются под CKKS, а ReLU и argmax — в garbled circuits. Она обучена с весами классов и дистиллирована от Multi-PNA+EU на синтетическом наборе IBM AMLworld HI-Small. README сообщает accuracy 0,998885 и AUPRC 0,643212, но подчёркивает, что высокий агрегированный показатель не отражает качество на редком классе; приведённая калибровочная функция не используется для чтения оценки моделью.

Модель выдаёт оценку для двух классов, включая класс отмывания денег. Её признаки могут учитывать транзакции до конца пакета, вплоть до примерно 17 минут после анализируемой транзакции, поэтому результат зависит от временного окна и протокола оценки. Репозиторий распространяется по лицензии CDLA-Sharing-1.0.

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

  • выявление подозрительных транзакций в синтетическом наборе AMLworld HI-Small
  • классификация транзакций на предмет отмывания денег
  • демонстрация AML-анализа с конфиденциальными вычислениями
  • сравнение MLP с моделями-бустерами и графовыми моделями на табличных признаках

Ограничения

Модель обучена и оценена на синтетическом IBM AMLworld HI-Small с временным разделением данных, поэтому качество на реальных транзакциях не установлено. README указывает, что выходная вероятность не является оценкой риска; признаки также используют данные до конца пакета из 2 048 транзакций.

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

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

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

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

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

Открыть на Hugging Face

MLP on per-transaction features, under CKKS and garbled circuits

MLP [114, 128, 64, 2], ReLU: the 32 per-account AMLworld features plus 79 per-transaction window features and 3 pair features, in batches of 2,048

Part of QSMPC-QKD-QHE-AI-Hybrid, a quantum-safe orchestration demo. This is the published non-linear model the finance_aml page runs under encryption: an MLP on the page's gradient-boosting teacher's 114 inputs, 32 per-account features, 79 per-transaction window features and 3 pair features, trained with class weights towards 0.7 times the label plus 0.3 times the probability IBM's Multi-PNA+EU (seed 1, its BatchNorm statistics recomputed on the fit window) gives the transaction on the same windows (generalised distillation, Lopez-Paz et al., ICLR 2016; the weight chosen on validation). Its linear layers run under CKKS and its ReLUs and argmax in garbled circuits, and its features see transactions up to the end of their batch of 2,048, as the Graph Feature Preprocessor paper processes them. Its scaling and seed were chosen on the validation window, and the record below carries every seed's figure. weights.json also carries 16 held-out rows for checks, under the data's licence.

Measured performance

metricvalue
accuracy0.998885
auprc0.643212
auprc_baseline0.00152346
auroc0.988645
batch_reach_minutes17
batch_window2048
max_of_seeds_minority_f10.636814
median_of_seeds_minority_f10.623607
min_of_seeds_minority_f10.594431
minority_class_f10.627795
n_features114
n_parameters23106
n_test1523504
n_train2843872
n_val710969
precision0.639
recall0.616975
seed0
share_clipped_on_fit_window0.00013282
teacher_agreement0.999185
threshold_on_validation0.94103
wall_clock_s283.1

Published baselines this is measured against

  • Target metric: minority-class F1 (laundering)
  • Baseline to beat: 0.6323 - GFP+XGBoost, IBM AMLworld HI-Small, NeurIPS 2023 D&B (63.23 +/- 0.17). Same metric and corpus, different protocol: that figure uses a 60/20/20 split by transaction order and IBM's Graph Feature Preprocessor updated over the test window in batches of 128 transactions, where the GFP paper reports 64.77 +/- 0.47 at the batches of 2,048 this project's features use (Blanusa et al., arXiv:2402.08593, Table 4); this project tests on the last 30 percent of transactions (fit 56, validation 14) with its own graph features, whose structural block is fitted on the training window.
  • Published ceiling: 0.7581 - Multi-FraudGT, the best AML Small HI row of Table 16 ('Minority class F1 scores (%) for six AML datasets') in Bilgi and Atasu, 'MEGA: Message Passing Neural Networks for Multigraphs with EdGe Attributes', TMLR (08/2026), arXiv:2412.00241v3: 75.81 +/- 0.75. In the same column the paper's own MEGA-PNA scores 74.01 +/- 1.55 and MEGA-GenAgg 74.48 +/- 0.84, and Multi-PNA 67.35 +/- 2.89; Small HI is the one AML dataset of the six where Multi-FraudGT is ahead of MEGA-PNA.
  • Companion metric shown alongside: auprc - reported together because the aggregate figure can look healthy while the class that matters is not.

Gap to the published baseline

On HI-Small the published figures are 63.23 for GFP + XGBoost, 62.86 for GFP + LightGBM and 56.77 for PNA (Altman et al., NeurIPS 2023, Table 2), the two GFP figures at a batch of 128 transactions; at the batch of 2,048 these features use, GFP + XGBoost reaches 64.77 (Blanusa et al., ICAIF 2024, Table 4). Graph models reach 68.16 for Multi-PNA+EU (Egressy et al., AAAI 2024) and 63.72 for a GNN also evaluated under CKKS (Bilgi et al., arXiv:2610.18054). The Graph Feature Preprocessor paper's own decomposition (Table 5) puts basic features at 19.75 and fan-in and fan-out at 56.88 to 59.71 for XGBoost. These 114 features are the 32 per-account aggregates plus 3 pair features and per-transaction fan-in and fan-out, vertex statistics and scatter-gather in time windows, in batches of 2048 reaching at most 17 minutes past the transaction, with no cycle enumeration, on a 56/14/30 temporal split rather than the papers' 60/20/20. The comparison that means most here is with the booster on the same features: AUPRC 0.6432 against 0.6368. This project's published teacher, XGBoost with its own settings on the same 114 inputs, has AUPRC 0.6428. AMLworld is synthetic by IBM's own statement.

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 MLP's P(laundering), \(q = \sigma(z_1 - z_0)\), the softmax of its two logits \(z_0, z_1\). The tuned threshold is folded into the last layer's bias, so the operating point is \(q = 0.5\).

quantityvalue
a-1.9949184508670723
b0.6542965503988198
fitted on710969 validation rows, 801 positive
scored on1523504 test rows, 2321 positive
Brier score, raw to calibrated0.00177218 to 0.00085431
log-loss, raw to calibrated0.01250258 to 0.00418619
CORP miscalibration (MCB), raw to calibrated0.00099233 to 0.00007445
base-rate Brier score (CORP UNC)0.00152114

Brier skill against the base rate, \(1 - \mathrm{BS}/\mathrm{UNC}\), is 0.4384.

Raw is the MLP's own softmax probability. The folded threshold puts 0.5 at the operating point and the class weights of its training raise it, so it is not a risk.

Why Platt and not isotonic: Measured on this MLP's windows, not carried from the gradient-boosting teacher's record. Isotonic's Brier 0.00082561 is below Platt's 0.00085431 and its log-loss 0.00446098 is above 0.00418619; 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 student does (AUPRC 0.64321152 against the raw 0.64321152, with 3 test rows tied at the logit clip; isotonic's 0.62615420 comes from the test window's scores tied at 154 values, 1,227,270 of them exactly zero), and it is the method of the teacher's and the student's records, so the four finance records 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

The finance page's non-linear model under encryption, the linear layers under CKKS and the ReLUs and argmax in garbled circuits. Trained on the fit window with class weights, distilled from IBM's Multi-PNA+EU run on the same windows, seed 1 with its BatchNorm statistics recomputed on the fit window (the target 0.7 times the label plus 0.3 times its probability, the weight chosen on validation); scaling and seed chosen on the validation window, every seed's figure in the record. Its features see transactions up to the end of their batch of 2,048, as the Graph Feature Preprocessor paper processes them. Its teacher's family is finance_aml.gnn, IBM's Multi-PNA+EU trained here under IBM's protocol; the IBM tab runs that model's best seed on validation and draws this MLP against it.

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-веса.

Ревизия весов
2bd74b9

0 моделей