Skip to content
Segun UmoruSEGUN UMORU
Back to all case studies

Machine Learning

OMNIS: 2D Financial Sentiment & Behavioral Fraud Intelligence Engine

Architected a dual-classifier financial intelligence engine scoring banking customers on Sentiment and Fit across a 20-zone strategic matrix, paired with a real-time Kafka event streaming fraud detection pipeline achieving 99%+ accuracy.

Client / Context

Optimus AI Labs

My Role

AI Engineering Lead

Timeline

2025 – 2026

Verified Deliverables & Impact

99%+ Fraud Detection Accuracy
0.94-0.96 ROC AUC
Sub-10ms Inference Latency
25% Churn Reduction
Technologies:XGBoostApache KafkaPythonFastAPIScikit-learnMLflowRedisGreat Expectations

Executive Overview

Retail banking institutions generate millions of transactional and customer support events daily. Most banks analyze this data in disconnected silos: fraud detection operates independently of churn prevention, and product recommendation teams have no visibility into customer satisfaction trends.

OMNIS was engineered as an integrated customer intelligence platform for Nigerian retail banking, mapping customer behavior across a 2-Dimensional (Sentiment × Fit) 20-zone matrix while providing continuous real-time fraud and behavioral risk scoring.

The Architectural Challenge

  1. High Transaction Velocity: Banking transactions occur in millisecond bursts. Recalculating machine learning risk scores synchronously on every transaction introduces unacceptable checkout latency.
  2. Multi-Factor Behavioral Drift: Customer loyalty and fraud patterns evolve rapidly with macroeconomic shifts, requiring automated model retraining triggers without manual redeployment.
  3. Low False-Positive Tolerance: In financial services, false fraud flags lead to angry customers and churn; missing real fraud leads to capital loss.

The Solution & System Design

1. The 2-Dimensional Matrix (Sentiment × Fit)

OMNIS maps every customer to a 4×5 grid of 20 strategic zones based on two independent production machine learning models:

  • Sentiment Model (XGBoost): Evaluates 30+ engineered features across six sentiment components (feedback tone, engagement recency, transactional mood, channel responsiveness, and complaint sentiment) achieving 0.93–0.96 ROC AUC.
  • Fit Model (XGBoost): Evaluates demographic alignment, financial capacity, peer transaction correlation, and historical churn indicators achieving 0.90–0.94 ROC AUC.
          HIGH  ┌─────────────┬─────────────┬─────────────┬─────────────┐
                │  Champions  │  Advocates  │ High Growth │  Key Target │
                ├─────────────┼─────────────┼─────────────┼─────────────┤
    F           │  Loyalists  │  Satisfied  │  Nurturing  │  Engageable │
    I   MED     ├─────────────┼─────────────┼─────────────┼─────────────┤
    T           │ Vulnerable  │ Inactive OK │ At-Risk Med │ Re-engage   │
                ├─────────────┼─────────────┼─────────────┼─────────────┤
          LOW   │ Immediate   │ Churn Risk  │ Severely    │ Dormant /   │
                │ Churn Risk  │ High        │ Disaffected │ Disengaged  │
                └─────────────┴─────────────┴─────────────┴─────────────┘
                     NEGATIVE        NEUTRAL       POSITIVE      VERY POSITIVE
                                      S E N T I M E N T

2. Event-Driven Architecture with Apache Kafka

To keep operational latency under 10ms, OMNIS decouples scoring from transactional execution using an Apache Kafka event backbone:

  • High-Value Triggers: Transactions exceeding threshold values trigger immediate background sentiment and risk recalculation.
  • Micro-Updates: Logins, recommendation clicks, and failed attempts push lightweight feature updates to Redis.
  • Automated Retraining Loop: MLflow monitors model drift; upon 20% cumulative data growth or performance threshold drops, automated retraining pipelines are triggered with Great Expectations validation gates.

3. Real-Time Fraud & Anomaly Scoring

Running alongside sentiment calculation, an ensemble of IsolationForest and XGBoost evaluates behavioral anomalies against historical customer baseline profiles, achieving 99%+ accuracy with under 2% false positives.

Results

Deployed across banking test cohorts, OMNIS delivered:

  • 25% reduction in customer churn through proactive at-risk zone re-engagement campaigns.
  • Sub-10ms model inference latency at runtime.
  • 99%+ fraud detection accuracy across high-frequency transaction event streams.