The client is described by industry and scale, without a name. KPI figures are targets agreed with the client after a baseline measurement.
In brief
- Problem
- AML rules generate a huge number of alerts, and only a small share of them end in a report.
- Approach
- We do not remove the rules. We add a model that prioritizes alerts, showing which ones need the analyst's attention first, with a rationale.
- Goal
- False alarm rate: a decrease compared to the current rules, target set in phase 1; Model quality on validation data (e.g. AUC, precision): threshold agreed with the business before training.
Client context
Non-bank financial institutions (leasing, factoring, investment fund companies, brokerage houses, payment institutions) compete on the speed of decisions and service, while their reporting obligations keep growing. The client is a payment institution that handles money transfers and payments for individual customers in many countries.
Challenge
AML rules generate a huge number of alerts, and only a small share of them end in a report. Analysts cannot keep up, and the regulator expects a timely analysis of every alert.
Requirements and constraints
- The Polish Anti-Money Laundering Act (AML) requires financial security measures, transaction monitoring, and reporting to the GIIF (Polish Financial Intelligence Unit). Scoring rules and models must be explainable and versioned, and every threshold change must be documented. (source)
- The AI Act, i.e. Regulation (EU) 2024/1689, introduces obligations that depend on the risk category of the AI system: transparency toward users, human oversight, technical documentation, and event logging. Systems that affect creditworthiness or employment may fall into the high-risk category. (source)
- GDPR, i.e. Regulation (EU) 2016/679, requires data minimization, a legal basis for processing, processing agreements, and, for high-risk processing, an impact assessment (DPIA). In practice it rules out copying production data into test environments without anonymization or pseudonymization. (source)
- Project constraints: work only on anonymized or synthetic data outside production, access to systems through the client's infrastructure, and every element delivered with documentation that the client's team can take over.
Approach and architecture
We start an AI project with the business question and the cost of error: what happens when the model is wrong in one direction or the other. Only then do we choose the method. A simpler, explainable model often beats a deep network. We work in an MLOps cycle: versioning of data and models, validation on data from a different period than training, drift monitoring, and a path to roll the model back to rules.
We do not remove the rules. We add a model that prioritizes alerts, showing which ones need the analyst's attention first, with a rationale. Rule thresholds are tuned on historical data, with a documented rationale for every change, agreed with the compliance function.
Key elements of the solution:
- An alert prioritization model with explanations
- Rule threshold tuning with change documentation
- An analyst queue with customer context
- Reports for the compliance function and audit
Team and roles
| Role | Count | Responsibility |
|---|---|---|
| Data scientist | 2 | models, validation, explainability |
| Data engineer | 1 | pipelines, data model, data quality tests |
| Business analyst | 1 | requirements, processes, acceptance criteria |
| Compliance specialist | 1 | requirements map, documentation, compliance evidence |
| Product owner and domain experts (client side) | as needed | priorities, business decisions, acceptance |
Phased schedule
| Phase | Weeks | Deliverable |
|---|---|---|
| 1. Problem and data definition | 1–2 | problem card, data analysis |
| 2. Prototype and offline evaluation | 3–6 | baseline model, metrics |
| 3. Pilot with users | 7–10 | pilot, evaluation report |
| 4. Production and MLOps | 11–14 | pipeline, monitoring, documentation |
| 5. Review and development plan | 15–16 | report, backlog |
Technology stack
Python, XGBoost, SHAP, PostgreSQL, Airflow, Power BI.
Risks and how we mitigate them
| Risk | How we mitigate it |
|---|---|
| Model bias toward customer groups | fairness analysis on the validation set, exclusion of sensitive features, a review by the compliance function |
| Comments from an auditor or regulator after deployment | compliance function involved from the analysis phase, evidence collected along the way, a review before acceptance |
| Data drift and a drop in model quality | distribution monitoring, alerts, periodic validation, and a path back to rules |
Measurable goals and KPIs
The values below are targets that we set with the client after a baseline measurement in the first phase.
| KPI | Target | How it is measured |
|---|---|---|
| False alarm rate | a decrease compared to the current rules, target set in phase 1 | alert review by analysts |
| Model quality on validation data (e.g. AUC, precision) | threshold agreed with the business before training | out-of-time validation |
| Handling time per case | cut in half compared to the baseline measurement | time measurement before and after |
Lessons learned and good practices
In AML a model does not replace rules, it organizes the analysts' work. Every threshold change needs documentation that an auditor will accept. A simple model that works in production is worth more than the best model in a notebook.
Why DYNAMINDS Labs
DYNAMINDS Labs is the R&D division of B2B.net S.A. On the Elevate platform, which works as an external IT department, we deploy AI Workers that bring order to data and take over repetitive work. Every step is a separate ticket with a price and a deadline within 24 hours, and payment is made after acceptance. The diagnosis is free.
Acceptance criteria
Every phase ends with a formal acceptance against criteria agreed at the start. In this deployment, acceptance covers: problem card, data analysis; baseline model, metrics; pilot, evaluation report; pipeline, monitoring, documentation; report, backlog. Final acceptance requires a KPI measurement report against the starting point, complete documentation handed over to the client's team, and a list of recommendations for the next stage, with an estimate of the cost and risk of each.
Next step
Start with a free DYNAMINDS Labs diagnosis: in one meeting we will check which departments are ready for automation and AI Workers, and which first need digitization.
Start with one task.
Describe it in your own words. We start with a free diagnosis and reply within 24 hours.
Meet DYNAMINDS LabsB2Bnetwork · B2B.net S.A. · accredited exam center. We describe clients by industry and scale, without names.