Cyclops
Exposing the unseen. Securing the real.
Created on 16th October 2025
•
Cyclops
Exposing the unseen. Securing the real.
Description of your solution
Project Proposal: Cyclops - An Agent-Powered DeepFake Detection Pipeline
Project Overview
For this hackathon, we will build Cyclops, a sophisticated, multi-modal pipeline designed to detect DeepFakes in video, image, and audio content. In an era where digital manipulation is increasingly common and convincing, this project will address the critical need for reliable tools to identify manipulated media, thereby safeguarding against misinformation and digital fraud.
At the core of Cyclops will be an intelligent AI agent that autonomously orchestrates the entire detection process, from input analysis to final reporting.
The system will be built as a full-stack web application. The frontend, using Next.js and Tailwind CSS, will provide a clean and intuitive user interface for uploading files. The backend, powered by a Flask server, will host the AI agent and the suite of detection models it manages.
Core Technology and Agentic Workflow
The pipeline's strength will lie in its agent-driven, parallel-processing approach. The AI agent will analyze both visual and auditory data to make a final, aggregated decision.
1. Agent-Led Input Handling and Preprocessing
Upon receiving a media file, the Cyclops agent will first determine its type (video, image, or audio) and initiate the appropriate preprocessing workflow.
- Metadata Analysis: The agent's first action will be to extract and scrutinize the file's metadata. It will look for inconsistencies such as missing camera information, anomalies in creation/modification dates, or software tags that are common in manipulation tools. This initial analysis will provide the agent with its first clues and help inform its subsequent decisions.
- For Video/Image: The agent will dynamically decide the optimal frame extraction rate based on video length and complexity. For images, it will orchestrate their conversion into a standardized video format. It will then deploy a Multi-task Cascaded Convolutional Network (MTCNN) to detect and extract facial regions. A key part of the agent's role here will be to intelligently apply data augmentations (like rotations, scaling, and visual distractors) to test the media's robustness and improve the reliability of the detection models.
- For Audio: The agent will utilize the Librosa library to manage audio feature extraction. This process will involve trimming silence, normalizing the waveform, and converting the audio into a mel-spectrogram, which will serve as the input for the audio detection model.
2. Dynamic, Agent-Orchestrated Detection
Based on its initial analysis of the input media and metadata, the AI agent will autonomously decide which detection models to run, optimizing for both speed and accuracy.
-
Model Selection: The agent will choose between two powerful visual detection methods, or run both in parallel for maximum confidence:
- Frames-Based Detection: An EfficientNet-B0 model, fine-tuned for binary classification (Real vs. Fake). The agent will feed extracted faces directly to this model for a fast, initial assessment.
- MRI-GAN Based Detection: A more intensive method where the agent uses a U-Net-based Generator to create MRI-like images that highlight manipulation artifacts. These images, which appear blank for real faces and artifact-rich for fakes, are then classified by a separate EfficientNet-B0 model. The agent may trigger this for high-stakes analysis or when the first model's confidence is low.
-
Audio Analysis: Concurrently, if audio is present, the agent will direct the extracted mel-spectrogram features to a Logistic Regression model for classification.
3. Intelligent Aggregation and LLM-Powered Reporting
The final and most critical phase is the agent's synthesis of all collected data.
- Evidence Aggregation: The agent will collect and weigh the predictions from all active models (visual, audio, and metadata analysis). It will apply a "fake fraction" threshold to the frame-by-frame visual results to make a holistic decision about the video's authenticity.
- Structured Data Output: The agent will compile its findings—including model confidence scores, frame-level results, metadata flags, and audio analysis—into a structured JSON object.
- LLM Report Generation: As the final step, the agent will pass this JSON data to a Large Language Model (LLM). The LLM will be tasked with generating a clear, human-readable summary of the findings, explaining why the media was flagged as real or fake and highlighting the key evidence. This will transform raw data into an accessible and actionable report for the end-user.
Goal and Impact
Our goal is to build Cyclops as a powerful, accessible, and transparent tool for detecting deepfake.
Reference:
- Pratikkumar Prajapati, Chris Pollett, *"MRI‑GAN: A Generalized Approach to Detect DeepFakes
Tracks Applied (1)
