Live Experimental Prototype

FraudLens

Suspicious payment patterns, explained through evidence.

FraudLens is an experimental payment fraud detection and risk intelligence platform. It combines rule-based signals, statistical anomaly detection, supervised classification and AI-generated investigation summaries to help human reviewers understand which transactions may warrant further attention.

FRAUD
LENS

RISK INTELLIGENCE
HOVER OR TAP A NODE

Each node is one layer of the investigation workflow.

Role Product · Data · AI
Domain Fintech & Payments
Dataset Synthetic Transactions
Status Experimental Prototype
01 / THE PROBLEM

A risk flag should start an investigation, not end one.

Payment teams need to identify unusual transaction patterns without treating every outlier as fraud. Individual signals can be weak or misleading; reviewers need a way to inspect the evidence behind a risk assessment and understand the limitations of the models producing it.

01

Scattered signals

Transaction velocity, unusual amounts, unfamiliar devices, locations and failed attempts can be difficult to interpret when reviewed in isolation.

02

Alert fatigue

Broad detection can flag legitimate activity alongside suspicious patterns. Reviewers need context, prioritisation and visibility into false positives.

03

Explainability

A score alone does not tell an investigator which signals contributed, what remains unknown or what deserves human review.

02 / PRODUCT CONCEPT

From transaction data to an explainable review queue.

I designed FraudLens as a layered decision-support workflow. Rather than relying on one detector, it combines transparent rules, statistical outlier detection and a supervised classifier into a consolidated experimental risk score.

INPUT

Transaction features

Synthetic payment records with transaction amounts, velocity, device and location indicators, account age and failed-attempt counts.

PROCESS

Layered detection

Rules, Isolation Forest and logistic regression provide different views of potential risk. Their outputs are combined into one review-oriented score.

OUTPUT

Human investigation

Reviewers can inspect the contributing evidence, model outputs, unknowns and an AI-generated investigation summary before making any decision.

03 / SYSTEM ARCHITECTURE

Five stages. One investigation workflow.

The pipeline separates raw data, engineered features, detection, scoring and explanation so that an AI narrative does not replace the underlying evidence.

Transaction Data

Synthetic payment records are generated with amount, merchant category, device, location and account-age fields.

Click any stage to inspect it.

Layer A

Rule-based detection

Transparent conditions flag patterns such as high velocity, unusually large amounts, new devices, new locations and repeated failed attempts.

Layer B

Isolation Forest

An unsupervised anomaly detector identifies statistically unusual feature combinations. An anomaly is not, by itself, evidence of fraud.

Layer C

Logistic regression

A supervised classifier learns from synthetic labels to produce a model score and classification. Its outputs depend on the quality and design of that dataset.

04 / EXPERIMENTAL RESULTS

What the prototype revealed.

The current experiment uses 20,000 synthetic transactions, including 180 injected suspicious scenarios across six scenario types. These results describe this experiment; they are not a benchmark of production fraud detection.

20,000 Synthetic transaction records
180 Injected suspicious examples
6 Injected scenario categories

Supervised model performance

The held-out test results demonstrate a high-sensitivity model with a substantial false-positive burden. Select a metric to see where it comes from.

MetricResult
Precision7.28%
Recall100%
F1 score13.57%
ROC-AUC98.14%

Confusion matrix: 5,258 true negatives, 688 false positives, 0 false negatives and 54 true positives on the 6,000-record test split.

Test-split confusion matrix

Predicted normal
Predicted suspicious
Actually normal
Actually suspicious

High recall is not enough.
The model detected all 54 suspicious examples in the test split but also flagged 688 normal examples. Its 7.28% precision shows why a positive classification cannot be treated as a final fraud decision.

Because the suspicious labels were injected into synthetic data and may be strongly associated with engineered features, these metrics can overstate performance on real payment data. A production evaluation would require representative data, leakage checks, calibration and validation over time.

05 / INVESTIGATION EXPERIENCE

Make the evidence visible.

FraudLens turns model outputs into an investigation starting point. A high score prioritises attention; it does not establish intent, authorisation or guilt.

Example investigation HIGH RISK
99.83 / 100

Example synthetic transaction · TXN-00001903-S

Select a signal to see the recorded value behind it.

Priority: URGENT_REVIEW

What the reviewer sees

Observable evidence

Recorded transaction attributes and the specific rule, anomaly and classifier outputs.

Model interpretation

The combined score and each contributing signal, without presenting a model output as proof.

What remains unknown

Whether the customer authorised the transaction, the transaction's purpose and any facts not contained in the supplied data.

Recommended action

Human-led review of the available evidence before any operational decision is made.

06 / PRODUCT DECISIONS

Designed to support judgement, not replace it.

Fraud detection is a high-impact use case. I treated explainability, evidence boundaries and human oversight as product requirements rather than optional additions.

01. Evidence first

Investigation summaries must reflect supplied transaction attributes and model outputs, not invented explanations.

02. Human in the loop

FraudLens does not autonomously block, decline, approve or reverse transactions.

03. Traceability

The combined risk assessment remains connected to its rule signals, anomaly output and classifier score.

04. Privacy by design

The prototype uses synthetic records rather than real customer payment data.

05. Honest model communication

Anomaly scores, classifier probabilities and combined risk scores are described according to what they measure.

06. Responsible experimentation

Results are presented with the limitations of injected labels, synthetic data and false positives in view.

07 / TECHNICAL STACK

Product thinking meets applied AI.

I built a working prototype spanning data generation, feature engineering, risk detection, API development, a dashboard and evidence-grounded AI explanations.

Python Pandas NumPy Scikit-learn Isolation Forest Logistic Regression Rule-based Detection Streamlit FastAPI Groq API Llama 3.3 CSV Data Pipeline Git & GitHub
08 / LIMITATIONS & LEARNINGS

A prototype is a place to test assumptions.

Building FraudLens exposed an important distinction: detecting unusual patterns, predicting synthetic labels and establishing actual fraud are three different things.

LIMITATION 01

Synthetic data

The dataset cannot capture the full complexity, prevalence or evolving behaviour of real payment fraud.

LIMITATION 02

False positives

The classifier's low precision means many normal transactions are flagged. Thresholds and operational costs need further evaluation.

LIMITATION 03

No autonomous decisions

The score is an experimental prioritisation signal, not a decision to accuse a customer or restrict a payment.

Responsible use note: FraudLens is an experimental portfolio project built on synthetic data. Its outputs are not validated for production use and must not be interpreted as proof of fraudulent activity or as a basis for autonomous financial decisions.
FINTECH & PAYMENTS LAB

Investigate the signal.
Understand the evidence.

FraudLens is part of my exploration of how product thinking, data science and AI can improve payment operations and investigation workflows.