Independent portfolio project based on a simulated assessment involving fictional organizations.
Project overview
Financial institutions review large volumes of transactions to identify activity that may require investigation. The challenge is not simply to flag more transactions. An effective monitoring process also needs to consider how many alerts analysts can review and how often those alerts turn out to be unrelated to the activity being investigated.
Atelier is an independent financial analytics project that examines this problem using the IBM synthetic anti-money laundering (AML) dataset. I developed a data processing and machine learning workflow to compare two ways of evaluating transactions: one based on the details of each transaction and another that also considers earlier transaction activity. The analysis examines model performance alongside the number of alerts that each approach would generate.
The project includes interactive charts and an investigation workspace. The charts illustrate results from the earlier experiments. The investigation workspace uses verified results from Experiment 4 to examine selected synthetic transactions. A model score helps prioritize a review; it does not establish that money laundering occurred.
Data and technical architecture
The source dataset contains 5,078,345 synthetic transactions, including 5,177 records labeled as positive for laundering activity. Positive cases account for approximately 0.102% of the data.
The dataset contains very few transactions labeled as money laundering compared with the total number of transactions. Because these positive cases are uncommon, a machine learning model could classify nearly every transaction as negative and still achieve a high overall accuracy.
For example, a model that classified every transaction as negative would achieve approximately 99.9% accuracy on this dataset while failing to identify any transactions labeled as money laundering. This is why accuracy alone is not sufficient for evaluating model performance. Precision and recall provide additional information about how effectively the model identifies positive cases.
Python handles data preparation and model evaluation. SQL and DuckDB support the processing and analysis of transaction records. Parquet stores the prepared data in a format that lets analytical tools retrieve the columns they need without repeatedly reading an entire text file.
The first set of model inputs uses information from individual transactions. The second also includes earlier activity, such as the number of previous transactions involving a sender or the same sender and recipient. Here, the recipient is the other party to the transaction, sometimes called the counterparty. Each account is distinguished using its bank and account identifier so that account numbers from different banks are not mistakenly treated as the same account.
Before modeling, the sampled transactions are divided by date into training, validation, and holdout groups. The models learn from the training data, the validation data is used to select a model and review thresholds, and the holdout data is used to examine how the selected approach performs on later transactions. Keeping these groups separate helps prevent information from later periods influencing earlier training decisions.
Saved settings, records showing which transactions belong to each group, preparation steps, trained models, and predictions preserve the basis for checking each controlled result. Checksums provide digital fingerprints that can reveal changes to source files and saved results. The public charts read an aggregate results file; original transaction identifiers and model artifacts remain in the analytical project.
Experimental development
The project developed through four experiments. Each addressed a limitation or question identified in the preceding work. A simple rules baseline was also assessed during the earlier work.
Experiment 1 — Initial Baseline
The first experiment established a starting point using the details of individual transactions. It compared the initial modeling approaches and showed how detection results changed when the number of reviewed alerts was limited.
Experiment 2 — Behavioral Features
The second experiment added information about earlier transaction activity. This allowed the models to consider patterns beyond a single payment. However, the original saved results did not preserve enough information to confirm that Experiments 1 and 2 were evaluated on exactly the same transactions. Their results therefore describe separate evaluations rather than a verified comparison on one shared dataset.
Experiment 3 — Controlled Comparison
The third experiment introduced stable record identifiers, consistent data selection, and shared training, validation, and holdout groups. This made it possible to compare the two feature configurations using the same transactions. The experiment also saved model settings, results, and verification records so that the analysis could be checked more systematically.
Experiment 4 — Expanded Evaluation
The fourth experiment increased the controlled sample to 507,829 transactions, approximately 10% of the source data. Both configurations used the same 356,049 training records, 75,882 validation records, and 75,898 holdout records. Fixed chronological boundaries separate the groups. Independent checks of selected targets confirmed that their historical transaction features were calculated from the permitted earlier activity. The audit did not independently recalculate the history of every transaction. The experiment also estimated how sensitive the observed differences were to the limited evaluation period.
Across the controlled experiments, logistic regression and random forest were the two trained model families considered. In Experiment 4, random forest was selected for both feature configurations using average precision on the validation data. Separate computational checks have verified the results from Experiment 4 against saved predictions and experiment records. They are observations from synthetic data, not evidence of performance in a functioning bank.
Interactive model analysis
The interactive charts show results from Experiments 1 and 2. They are retained to explain the project's earlier development, and their results should not be treated as a direct comparison on verified matching transactions. The later controlled experiments addressed that limitation. Changing a control does not retrain a model.
Behavioral Features, retrospective capacity 1.00%: 761 alerts, precision 6.83%, recall 34.44%.
Detection overview
- Holdout transactions
- 76,067
- True positive alerts
- 52
- False positive alerts
- 709
- Precision
- 6.83%
- Recall
- 34.44%
- Investigation capacity
- 1.00%
Detection tradeoffs
Precision measures the proportion of selected alerts that have a positive label, while recall measures the proportion of all positive transactions identified by the model.
Increasing investigation capacity generally allows more transactions to be reviewed, which can improve recall. However, reviewing additional transactions can also increase the number of false positives. The chart illustrates these differences across the available investigation capacities.
Investigation workload
The chart shows how many transactions would be selected for review at different investigation capacities. Transactions are ranked according to their saved model scores, with the highest ranked transactions selected first.
This retrospective analysis uses the completed holdout dataset. It differs from applying a threshold established during validation, which may flag a different proportion of transactions when applied to new data.
Investigation workspace
Atelier also includes an investigation workspace developed to examine selected synthetic transactions alongside their model scores and historical transaction activity.
The workspace connects the machine learning results to a potential investigation process by allowing transaction details and previous activity to be reviewed together. The analysis demonstrates how model predictions could support an investigator's assessment without treating those predictions as conclusions about financial crime.
The workspace uses 50 selected synthetic transactions from Experiment 4 and a limited set of earlier supporting records. The examples were selected using model rankings and differences between the two configurations, rather than by choosing known positive labels. These selected records are not a representative sample for measuring model performance.
Findings and business implications
The results show why model performance needs to be considered alongside the number of alerts a financial institution can investigate. A configuration that finds more positive cases may also require analysts to review more transactions that do not have a positive label.
Experiment 4 provides a controlled comparison because both feature configurations were tested on the same holdout records. “Transaction Features” achieved higher observed average precision (0.1495 compared with 0.1142). At the retrospective 5% review capacity setting, however, “Behavioral Features” identified a greater share of the positive cases (87.34% compared with 70.89%). Both configurations selected 3,795 transactions at that capacity. The results do not show that one configuration is better under every review policy or performance measure. The selected count is rounded up to a whole transaction, so the actual review rate is approximately 5%.
These differences also need to be interpreted cautiously. The evaluation uses synthetic data, earlier transaction activity is limited to the selected sample, and the holdout covers nine previously examined days. The estimated uncertainty around the average precision difference includes zero. The findings support a comparison of the observed results, not a broad claim that either approach would perform better in an actual financial institution.
Responsible AI and Model Governance
Model development is only one part of using AI responsibly in a financial institution. An institution would also need to understand what a model is intended to do, how its results were tested, how errors could affect investigations, and who is accountable for decisions made using those results.
Atelier incorporates several technical safeguards. The experiments preserve the settings and records needed to check how results were produced. Time ordered data groups and checks of earlier transaction activity help prevent models from using information that would not have been available at the time of a transaction. The evaluation reports false alerts, missed positive cases, review capacity, and limitations in the evidence. The investigation workspace also keeps model predictions separate from review assessments.
These practices relate to the governance and risk management principles described in the NIST AI Risk Management Framework, ISO/IEC 42001, and relevant banking model risk guidance. The table connects each principle to work implemented in Atelier and distinguishes demonstrated controls from requirements for formal procedures, assigned responsibilities, ongoing monitoring, and independent review within a financial institution.
| Governance area | Framework or guidance | Evidence in Atelier | Remaining requirements |
|---|---|---|---|
| Accountability and documentation | NIST AI RMF · Govern | Versioned configurations, input and artifact checksums, execution records, and a separate presentation approval gate. | Institutional ownership, approval authority, and an ongoing review process. |
| Purpose and consequences | NIST AI RMF · Map | A defined transaction review task, documented synthetic data limits, and explicit separation of labels, predictions, and analyst decisions. | Assessment of real customer impacts, investigation costs, and intended deployment conditions. |
| Evaluation and uncertainty | NIST AI RMF · Measure | Matching training, validation, and holdout groups in Experiments 3 and 4, independent history checks, saved prediction verification, and paired uncertainty estimates. | New evaluation periods, score calibration, and testing across transaction groups. |
| Use limits and human review | NIST AI RMF · Manage | Resource stop conditions and preserved failures. The investigation workspace separates review assessments from model outputs. | Persistent review records, escalation ownership, access controls, and production monitoring. |
| Management system foundations | ISO/IEC 42001 | Documented scope, reproducible experiment records, stated limitations, and controlled changes provide inputs to an AI management system. | Policies across the organization, assigned roles, internal audit, management review, and continual improvement. |
| Model risk and validation | SR 11-7 · historical guidance | Saved model versions and separate computational checks reproduce predictions, metrics, and uncertainty without retraining. | Independent validation by a separate team, challenge of model assumptions and results, and approval for a specific use. |
Completing technical checks does not mean that a model has received independent validation by a separate team. The project does not claim certification, regulatory compliance, or readiness for production use.
References: NIST AI RMF 1.0, ISO/IEC 42001, and SR 11-7. SR 11-7 is a historical reference: SR 26-2 superseded it in April 2026.
Methodology and limitations
The controlled experiments select transactions using a documented and repeatable sampling method. They then divide the selected records into earlier training data, validation data, and a later holdout period. Using these separate groups helps evaluate the models without selecting the final approach based on its performance on the holdout. Candidate models are selected by validation average precision.
The behavioral features use only transaction activity recorded before the transaction being evaluated. They exclude transactions with the same timestamp and do not use laundering labels. Tests compare selected feature calculations against the underlying transaction records. These controls help reduce the risk of data leakage, where information from the future or the outcome being predicted is accidentally included in the model inputs. Earlier validation or holdout activity may provide context for a later transaction, but the earlier labels never enter the model inputs.
The model scores have not been shown to represent reliable probabilities of money laundering. Further testing would be required to establish how closely a predicted score corresponds to the actual frequency of positive labels. That is called score calibration. Additional testing would also be needed to understand whether performance differs across transaction types, currencies, or other relevant groups.
Experiment 4's uncertainty estimates use observations from a short, previously inspected holdout period. They do not account for every possible source of variation, including what might happen if the models were trained again on different data. Historical activity also reflects the selected sample rather than a bank's complete transaction history. These limitations are important when interpreting the results. The uncertainty estimates use daily groups of transactions, keep the trained models and validation thresholds fixed, and exclude variation from model selection.
Conclusion
Atelier demonstrates a complete analytical workflow, from processing transaction data and training models to evaluating review capacity and presenting selected transactions for investigation. The four experiments also show how the analysis changed as limitations in the earlier work were identified and addressed.
The main finding is that model performance cannot be judged by a single number. The preferred approach depends on what the institution is trying to detect, how many transactions analysts can review, and how confidently the results have been tested. Further work would be required to establish whether these models provide useful support under an actual institution's investigation procedures and governance requirements.

