MuleTraceAI — Project Story
Inspiration
Financial fraud is becoming increasingly sophisticated, with suspicious transactions often spread across multiple accounts to make illicit financial activity harder to identify. One particularly challenging problem is the use of money mules — individuals or accounts used to receive, transfer, and move potentially illicit funds.
Traditional fraud detection approaches often focus on identifying individual suspicious transactions. However, detecting a suspicious transaction is only one part of the problem. Understanding how accounts are connected and how money moves between them can reveal patterns that are otherwise difficult to notice.
This inspired us to build MuleTraceAI, an AI-powered financial intelligence platform designed to identify suspicious transactions, investigate potential money-mule accounts, and uncover suspicious financial networks.
Our goal was to move beyond simply detecting unusual transactions and make financial investigation more connected, explainable, and accessible.
What it does
MuleTraceAI combines machine learning, behavioural analysis, and graph-based investigation to help identify potentially suspicious financial activity.
Its key capabilities include:
- Transaction Fraud Detection: Uses machine learning to analyse transaction characteristics and estimate the likelihood of fraudulent activity.
- Account Behavioural Analysis: Examines transaction patterns, incoming and outgoing amounts, transaction frequency, and other behavioural indicators to identify potentially suspicious accounts.
- Money Mule Investigation: Uses account-level risk indicators to support the investigation of accounts that may be involved in suspicious financial activity.
- Graph-Based Network Analysis: Represents relationships between accounts and transactions to help uncover suspicious connections and money movement patterns.
- AI-Assisted Insights: Helps translate technical findings into understandable explanations that can support further investigation.
Rather than treating every flagged transaction as confirmed fraud, MuleTraceAI aims to provide investigators with useful risk indicators and evidence for further examination.
How we built it
We approached MuleTraceAI as a modular system, with different components responsible for different stages of financial investigation.
1. Machine Learning Engine
We use transaction data to develop a supervised fraud detection model. The dataset is divided into multiple CSV partitions, requiring efficient preprocessing and data handling.
Our ML approach focuses on identifying suspicious transaction patterns using features such as transaction amount, transaction type, balance changes, and other available attributes.
We also generate account-level behavioural indicators to support money-mule investigation.
2. Graph Engine
The Graph Engine focuses on relationships between accounts and transactions. By representing financial activity as connected nodes and edges, it helps identify suspicious transaction paths and potentially related accounts.
3. AI Assistant
The AI Assistant is designed to make the investigation process more accessible by helping explain model predictions, behavioural indicators, and graph-based findings in natural language.
4. Backend and Frontend
The backend coordinates communication between the different modules, while the frontend provides an interface through which users can explore suspicious activity and investigation results.
The modular architecture allows each component to perform its own responsibility while contributing to a unified investigation workflow.
Challenges we ran into
One of our biggest challenges was handling a relatively large transaction dataset containing millions of records across multiple CSV files.
Some of the challenges included:
- Large Dataset Processing: Processing hundreds of megabytes of transaction data without loading everything into memory simultaneously.
- Data Quality: Understanding differences in dataset schemas, handling missing values, and preparing data for machine learning.
- Class Imbalance: Fraudulent transactions are much less common than legitimate transactions, making it difficult to evaluate models using accuracy alone.
- Fraud vs. Money Mule Detection: We realised that identifying a fraudulent transaction and identifying a potential money-mule account are two different problems. Transaction-level fraud labels cannot automatically establish that an account is a money mule.
- Module Integration: Designing clear communication between the ML Engine, Graph Engine, AI Assistant, and backend.
- Explainability: Making sure that suspicious predictions can be understood through meaningful indicators rather than presenting unexplained risk scores.
These challenges encouraged us to focus on practical data processing, modular design, and interpretable investigation outputs.
Accomplishments that we're proud of
We are proud of designing MuleTraceAI as more than a standalone fraud classification model.
Some of the aspects we are particularly proud of include:
- Bringing transaction-level fraud detection and account-level behavioural analysis into one investigation workflow.
- Designing a modular architecture that combines machine learning, graph analysis, and AI-assisted explanations.
- Working with a large, partitioned transaction dataset.
- Focusing on explainable risk indicators instead of treating model predictions as unquestionable decisions.
- Building the foundation for investigating suspicious financial relationships rather than examining transactions in isolation.
Most importantly, we transformed a complex financial investigation problem into a practical software solution with multiple cooperating components.
What we learned
Developing MuleTraceAI taught us that financial fraud detection involves much more than training a machine learning model.
We learned the importance of:
- Efficiently processing large datasets.
- Understanding data quality and feature leakage.
- Evaluating imbalanced classification problems using precision, recall, and F1-score.
- Distinguishing transaction fraud detection from money-mule investigation.
- Using graph structures to understand relationships that individual transaction records may not reveal.
- Designing modular systems that allow independently developed components to communicate effectively.
- Making AI-generated explanations grounded in actual model outputs and investigation evidence.
We also learned that a useful AI system does not necessarily need to be perfect. It needs to provide meaningful results, communicate its limitations, and help users make better-informed decisions.
What's next for MuleTraceAI
We envision MuleTraceAI evolving into a more comprehensive financial investigation platform.
Our future plans include:
- Improving transaction fraud detection through better feature engineering and model evaluation.
- Developing more sophisticated account-level behavioural risk analysis.
- Enhancing graph algorithms to identify complex money movement patterns and suspicious account networks.
- Improving AI-assisted explanations with stronger grounding in ML predictions and graph evidence.
- Exploring real-time transaction monitoring and alert generation.
- Expanding testing and evaluation using more diverse financial transaction datasets.
Our long-term vision is to make MuleTraceAI a platform that helps investigators move from identifying a suspicious transaction to understanding the broader financial network behind it.
MuleTraceAI — Detect Fraud. Trace Money Mules. Uncover Hidden Financial Networks.
Built With
- anomaly-detection
- artificial-intelligence
- cybersecurity
- data-science
- data-visualization
- explainable-ai
- fastapi
- financial-technology
- fraud-detection
- generative-ai
- graph-analytics
- javascript
- knowledge-graphs
- large-language-models
- machine-learning
- network-analysis
- node.js
- numpy
- pandas
- python
- react
- rest-api
- scikit-learn
- xgboost