Skip to content
Home
Go back

SentinelGraph: Engineering a Live, Hybrid Anti-Fraud Pipeline

SentinelGraph live anti-fraud lab dashboard

Welcome to the SentinelGraph Live Anti-Fraud Lab! This project is engineered as an open, evolving Live Build. To capture the real engineering process, I am keeping this “flight log” to document and monitor every development phase as it happens—from the initial notebook sketches and infrastructure blueprints to, hopefully: real-time feature serving, versioned model deployment, and production drift detection.

Each of these topics is massive and could easily warrant its own dedicated project. Therefore, my primary objective remains to document my self-studies- done also for teh sake of showcasing my passion for real-time systems and directly applyng what I learn into a functional environment

Having a soft spot for linear algebra, I’ve always been fascinated by how PCA tackles the curse of dimensionality, or by the underlying geometry of latent spaces in Autoencoders, and so on. For that reason, I envision this flight log evolving into a hub packed with references to deep-dive theoretical articles, real-world MLOps production use cases, and technical papers I’ll discover along the way.

Every complex system needs a starting point. To build SentinelGraph, I had to strip away the noise and define the foundational blueprint—the absolute baseline required to spark life into the pipeline.

My “minimal viable” architecture of a real-time ML-powered system consists of:

Why a hybrid stack?

Having spent time in a SOC (Security Operations Center) as an analyst, I’ve lived on the other side of the glass, interacting daily with the static, deterministic rules of standard SIEMs.

Yet, even with its rigid constraints, that environment gives you the distinct feeling of a living, breathing ecosystem. The daily routine of rule tuning, continuous network monitoring, updating alerting logic, and deciding what to automate versus what to handle manually—it is, in essence, the most natural form of a real-time system. It operates at a human pace, driven by strict protocols and constant evolution.

Having managed this human-driven loop, my focus has naturally shifted toward expanding these capabilities through real-time, ML-powered systems.

Therefore, when searching for a project use case, anchoring myself to this direct experience made anomaly/fraud detection the most natural choice.

However, as soon as I began developing the project, my attention shifted toward the architectural blind spots of traditional security centers. A standard SOC setup rarely addresses the lifecycle of a machine learning model, simply because it doesn’t deploy one. Yet, a SOC’s operational loop suffers from its own form of drift: detection rules continuously deteriorate as attacker behaviors shift, requiring constant manual restoration and tuning.

It is the exact same fundamental principle—systemic decay over time—but driven by different agents. Realizing that MLOps provides the automated engineering frameworks to manage this continuous lifecycle, counter model drift, and maintain system reliability is precisely what sparked my deep interest in the MLOps lifecycle.

Fraud at the edge is rarely a pure classification problem. Latency budgets, explainability for analysts, and shifting adversarial behavior push you toward composable layers rather than one monolithic scorer. For these reasons, I chose a hybrid, multi-layered defense stack to power this real-time pipeline, structuring it around distinct walls of defense.

Layer 1: The Deterministic Wall (Static Rules)

The first line of defense is purely human-driven. It relies on static, deterministic rules that reflect the deep business logic and domain expertise of those who curate them. Crafting these rules is often the hardest part; it is where the experience of the analyst pays off.

By implementing this first wall, I wanted to address an age-old engineering question: When do you actually need Machine Learning? Are you sure you need it at all? In many scenarios, you might realize that static rules catch 90% of the noise, keeping the system lightweight and delivering immediate, cost-effective value to the business.

Layer 2: The Probabilistic Wall (The ML Ensemble)

When a threat bypasses domain logic, the second wall takes over. This is where Machine Learning enters the pipeline. Rather than chasing a mythical “perfect, universal model,” this layer treats models as specialized entities, acknowledging that where one paradigm struggles, another might excel by orders of magnitude.

This interplay between deterministic speed and probabilistic adaptation is what makes a real-time system feel like a living, breathing organism.

However, orchestrating this multi-model approach introduces a new layer of complexity. Managing multiple “brains” in a real-time ecosystem means carrying the weight of their entire operational lifecycle. You cannot just deploy them and walk away; you must ensure they remain reliable over time.

This is where the core MLOps infrastructure becomes non-negotiable:

Ultimately, this project is less about the models themselves and more about engineering the resilient infrastructure that allows them to survive, adapt, and remain trustworthy in a production environment.

Try the live lab

The interactive dashboard lives on the portfolio:

OPEN THE LIVE LAB →

☕ A quick note before you dive in: The backend is currently hosted on a free-tier server. If the dashboard feels a bit sleepy at first, give it about 30 seconds to wake up and drink its morning coffee. Once it’s up, you’re good to go!


Share this post on:

Previous Post
Multi-stage Docker?
Next Post
Beyond the Shocks: Shape-Preserving Reconstruction in 2D Data Flows