README: add IZ v2 results
Browse files
README.md
CHANGED
|
@@ -16,6 +16,64 @@ tags:
|
|
| 16 |
**Affiliation:** Independent Researcher
|
| 17 |
**Status:** Experimental research / manuscript draft
|
| 18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
## Overview
|
| 20 |
|
| 21 |
IZ investigates the reliability of large language models
|
|
|
|
| 16 |
**Affiliation:** Independent Researcher
|
| 17 |
**Status:** Experimental research / manuscript draft
|
| 18 |
|
| 19 |
+
## 🆕 v2 Results (November 2026)
|
| 20 |
+
|
| 21 |
+
IZ v2 re-runs the full pipeline end-to-end in a single notebook with richer, leakage-tested features, a balanced LLM benchmark (100 AML / 400 normal transfers) and bootstrap 95% confidence intervals. All numbers below are generated by the notebook.
|
| 22 |
+
|
| 23 |
+
📄 Full report: [v2/IZ_v2_results.md](v2/IZ_v2_results.md) · 📁 All artifacts: [v2/](v2/)
|
| 24 |
+
|
| 25 |
+
### Transaction monitoring model (LightGBM)
|
| 26 |
+
|
| 27 |
+
Chronological split (70/15/15). Test set: 115,924 transfers, 1,395 AML. Alert threshold set on validation for a 1% alert budget.
|
| 28 |
+
|
| 29 |
+
| Model | ROC-AUC [95% CI] | AP [95% CI] | Recall @1% alerts | Precision @1% alerts |
|
| 30 |
+
|---|---|---|---|---|
|
| 31 |
+
| v1 baseline (7 features) | 0.925 [0.920–0.931] | 0.396 [0.373–0.422] | 0.424 | 0.329 |
|
| 32 |
+
| **v2 (30 features, tuned)** | **0.982 [0.979–0.984]** | **0.783 [0.761–0.801]** | **0.778** | **0.513** |
|
| 33 |
+
|
| 34 |
+
- Average Precision nearly doubles (+98%); the confidence intervals do not overlap. At the same alert budget, missed AML transfers drop from 803 to 310.
|
| 35 |
+
- New features capture AML typologies: pass-through (money in → quickly out), fan-in to receivers, fan-out to new receivers, USD-normalised amounts.
|
| 36 |
+
- The v1 baseline was re-trained under identical conditions and reproduced the published v1 metrics (ROC-AUC 0.9253, AP 0.3958).
|
| 37 |
+
- An automated brute-force leakage test passed (300 transfers × 4 features, 0 mismatches).
|
| 38 |
+
|
| 39 |
+
### LLM benchmark
|
| 40 |
+
|
| 41 |
+
500 test-period transfers sampled independently of model scores (100 AML, 400 normal). Qwen2.5-3B/7B-Instruct, 4-bit, deterministic decoding, JSON output with a 0–100 risk score. Two modes: *data only* and *with LightGBM score* (score + top SHAP drivers in the prompt).
|
| 42 |
+
|
| 43 |
+
| System | AP [95% CI] | Precision | Recall | AML missed by LightGBM that the LLM caught |
|
| 44 |
+
|---|---|---|---|---|
|
| 45 |
+
| **LightGBM v2** | **0.934 [0.897–0.964]** | 0.963 | 0.78 | — |
|
| 46 |
+
| Qwen2.5-3B · data only | 0.334 [0.263–0.409] | 0.462 | 0.48 | 5 / 22 |
|
| 47 |
+
| Qwen2.5-7B · data only | 0.296 [0.235–0.370] | 0.494 | 0.40 | 2 / 22 |
|
| 48 |
+
| Qwen2.5-3B · with LightGBM score | 0.800 [0.730–0.861] | 0.974 | 0.76 | 0 / 22 |
|
| 49 |
+
| Qwen2.5-7B · with LightGBM score | 0.760 [0.684–0.827] | 1.000 | 0.68 | 0 / 22 |
|
| 50 |
+
| Hybrid: LightGBM + Qwen2.5-7B (rank average) | 0.935 [0.899–0.964] | — | — | — |
|
| 51 |
+
|
| 52 |
+
Random baseline AP = 0.20.
|
| 53 |
+
|
| 54 |
+
### Key findings
|
| 55 |
+
|
| 56 |
+
1. **Small LLMs are weak stand-alone AML detectors.** From transaction data alone they reach AP 0.30–0.33, far below LightGBM (0.93). The 7B model is not better than the 3B model.
|
| 57 |
+
2. **Automation bias.** When given the LightGBM score, the LLMs largely mirror it: their scores rise, but they catch none of the 22 AML transfers that LightGBM missed.
|
| 58 |
+
3. **No hybrid gain.** Combining LightGBM with the LLM risk score does not significantly improve on LightGBM alone (AP 0.935 vs 0.934).
|
| 59 |
+
4. **Output reliability is solvable.** Structured JSON output gives 100% valid responses and 99.6–100% decision–score consistency (v1 free text: 10.8% contradictory decisions). Rationales containing a number not present in the input: 0–12.5%.
|
| 60 |
+
|
| 61 |
+
### Figures
|
| 62 |
+
|
| 63 |
+
- [Precision-recall curves, v1 vs v2](v2/figures/iz_v2_pr_curves.png)
|
| 64 |
+
- [Feature impact (SHAP)](v2/figures/iz_v2_shap_importance.png)
|
| 65 |
+
- [LLM benchmark (AP with 95% CI)](v2/figures/iz_v2_llm_benchmark_ap.png)
|
| 66 |
+
- [LLM output reliability](v2/figures/iz_v2_llm_reliability.png)
|
| 67 |
+
|
| 68 |
+
### v2 limitations
|
| 69 |
+
|
| 70 |
+
- IBM AML is a synthetic dataset; results do not transfer directly to real bank data.
|
| 71 |
+
- The LLM benchmark contains 100 AML cases; read point estimates together with their confidence intervals.
|
| 72 |
+
- In this sample LightGBM produced only 3 false alarms, so LLM-triage false-alarm filtering cannot be evaluated reliably.
|
| 73 |
+
- Ungrounded-number detection is automatic number matching; it does not verify qualitative claims.
|
| 74 |
+
|
| 75 |
+
---
|
| 76 |
+
|
| 77 |
## Overview
|
| 78 |
|
| 79 |
IZ investigates the reliability of large language models
|