03 / Multimodal reasoning / 2026

AEGIS

An interpretable deepfake-analysis pipeline using staged visual reasoning, self-critique, and contradiction-aware evidence aggregation.

Role
Pipeline design, fine-tuning, quantization, notebook delivery, and documentation
Duration
May 2026
Status
open-source
3reasoning stages

Visionary, Inquisitor, and Self-Critique stages.

SFT + GRPOpublished adapters

Two fine-tuning approaches released for inspection.

4-bitGGUF variant

A quantized release intended for lighter local inference.

1NLI judge

A contradiction-aware cross-encoder stage before the verdict.

A / EVIDENCE

REAL OUTPUTS, RELEASES, AND SOURCE.

Product captures link to the live or published source. The architecture view is generated only from documented project layers and is not presented as a product screenshot.

REAL PROJECT MEDIA
Kaggle notebook page for AEGIS showing the agentic deepfake-detection project and its implementation cells.SOURCE ↗
EVIDENCE / 01

The published AEGIS Kaggle notebook, with the staged deepfake-analysis workflow available for inspection.

B / PROBLEM

What needed to change

A single opaque deepfake score offers little context for review. A useful analysis pipeline needs staged evidence, contradiction handling, and a conservative final decision.

C / SYSTEM RESPONSE

What I built

AEGIS uses three prompt-switched Gemma 4 E2B reasoning stages followed by a DeBERTa cross-encoder NLI judge and conservative aggregation.

D / ARCHITECTURE

THE SYSTEM, LAYER BY LAYER.

Each layer below names its responsibility directly, preserving the distinction between repository evidence and explanatory architecture.

01

Visionary

Produces an initial evidence-oriented visual reading.

02

Inquisitor

Challenges the initial reading and seeks inconsistencies.

03

Self-Critique

Reviews the reasoning trail before judgment.

04

DeBERTa NLI judge

Filters contradictions before conservative aggregation.

E / ENGINEERING DECISIONS

01

Prompt-switched agents

Distinct roles structure inspection without requiring separate base models.

TRADE-OFF

Stages can inherit common model blind spots despite different prompts.

02

Contradiction filtering

An NLI stage makes conflicting claims visible before a verdict is formed.

TRADE-OFF

The judge introduces its own classification assumptions.

03

Local release path

SFT, GRPO, merged, and 4-bit GGUF artifacts support inspection across hardware profiles.

TRADE-OFF

Quantization may change output behavior and requires separate validation.

F / STACK

Gemma 4 E2BPyTorchPEFTUnslothDeBERTa NLIGGUF

G / LIMITATIONS

WHERE THE SYSTEM STOPS.

  • Deepfake analysis is probabilistic; outputs are not forensic proof and require human review.
  • The pipeline can inherit dataset and model biases from its training and evaluation sources.
  • This portfolio visualizes the documented pipeline and does not run inference in the browser.

H / WHAT I LEARNED

WHAT THE BUILD CLARIFIED.

  • Interpretability improves when intermediate disagreement is retained rather than hidden.
  • Conservative aggregation is a system behavior, not a substitute for evidence quality.
NEXT SYSTEM / 04PROMPTLESS GENERATOR