SIH - 2026 [Internal Hackathon] | Problem Statement 2 (C-433) Topic: Telling Real From Synthetic in the Age of Generative Media Target: 100/100 Points Across Core + ALL Bonus Modules (Modules A – G)
Build an end-to-end, media authenticity verification system (SignalScope) that:
- Classifies an input image as Real or AI-Generated (synthetic).
- Generalizes effectively to unseen generator architectures (e.g., Midjourney, SDXL, Flux, DALL-E 3, Imagen, etc.).
- Explains its verdict with faithful, localized visual cues (heatmaps) and natural language explanations.
- Extends into a comprehensive forensic suite delivering all 7 optional bonus modules.
Caution
DISQUALIFICATION WARNING: Submissions that violate ethics rules will receive 0 points / disqualification.
- In-Scope: Detection of synthetic imagery in general (scenes, objects, art, architecture, product shots).
- Out-of-Scope (FORBIDDEN):
- Face-swap deepfakes of real, identifiable individual people.
- Political claims or real-world news event adjudication.
- Scraping images of identifiable individuals.
- Verdict Framing Rule: Always frame outputs as likelihood assessments (e.g., "likely AI-generated (88% confidence)"), NEVER absolute accusations.
- Input: Single image (JPEG/PNG/WebP, arbitrary resolution).
-
Output:
- Binary Label:
RealvsAI-generated(with probability score$[0.0, 1.0]$ ). - Operating Point Metrics: Accuracy and False-Positive Rate (FPR) at a calibrated threshold.
- Binary Label:
-
Evaluation Metrics:
- Primary Metric: ROC-AUC on Held-Out Test Set (Weighted heavily on the Unseen-Generator Split).
- Secondary Metrics: Overall ROC-AUC, Macro-F1 score, Confusion Matrix.
-
Minimum Bar:
- Transfer learning backbone (CNN or ViT).
- Honest train/val/test split (no data leakage).
- Predict interface accessible via Web App / Notebook / CLI.
- Objective: Explain why an image is flagged as synthetic using human-interpretable cues.
- Key Components:
- Visual Heatmap / Saliency Map: Grad-CAM / Layer-CAM / Attention map highlighting the precise anomalous regions (e.g., warped text, anatomical flaws, irregular lighting/reflections).
- Grounded Textual Cues: Specific natural language points covering:
- Implausible textures / frequency artifacts.
- Warped / unreadable text.
- Lighting and shadow inconsistencies.
- Anatomical or geometrical errors.
- Scoring Rubric (15 Points):
- Correctness: Cited cues correspond to real artifacts.
- Localisation: Heatmap points to genuinely anomalous areas, not whole image.
- Usefulness: Understandable to non-experts; honest uncertainty hedging.
- No Over-claiming: Avoids fabricated certainty.
- Objective: Go beyond binary classification to identify the likely generator family or model type.
- Key Components:
- Multi-class Classifier: Identifies architecture families:
- Diffusion-based (Stable Diffusion, Midjourney, DALL-E, Flux)
- GAN-based (StyleGAN, ProGAN, BigGAN)
- Autoregressive / Transformer-based (Parti, Imagen)
- Metrics: Multi-class confusion matrix, top-1 accuracy, and macro-F1 per generator family.
- Multi-class Classifier: Identifies architecture families:
- Objective: Ensure detector accuracy remains resilient under real-world image degradations.
-
Supported Degradation Vectors:
-
JPEG Compression: Quality factors (
$Q \in [30, 50, 70, 90]$ ). -
Resizing / Downsampling: Scaling down to
$256 \times 256$ ,$512 \times 512$ . - Screenshotting / Re-encoding: Artifacts introduced by social media re-uploads.
- Light Editing / Blur / Gaussian Noise.
-
JPEG Compression: Quality factors (
- Deliverable: Degradation-vs-Accuracy curve plots and automated robustness test suite.
- Objective: Combine metadata signals with visual model verdicts for holistic authenticity checks.
- Key Components:
- EXIF Metadata Parser: Extracts camera specs, software history, edit timestamps.
- C2PA / Content Credentials Parser: Reads signed cryptographic manifests (C2PA / JUMBF headers).
- Fusion Engine: Combines metadata evidence (e.g., C2PA signature status, missing EXIF camera info) with ML confidence score.
- Objective: Assess semantic consistency between an image and its accompanying caption/claim.
- Key Components:
- Cross-Modal Embedding Alignment: Use CLIP / BLIP-2 / ViT-L text-image matching score.
- Mismatch Signal: Detect when synthetic images are paired with misleading generic descriptive captions.
- Objective: Deliver a production-ready, highly responsive user interface with low latency.
-
Key Features:
- Web Dashboard: Sleek, modern drag-and-drop web UI (Vite + React / Web UI) with instant visual feedback.
- Batch Scanning: Upload & evaluate multiple images simultaneously.
- Browser Extension Mockup: Chrome extension concept for single-click image verification on web pages.
-
Latency Target:
$< 3$ seconds per prediction on standard GPU/CPU.
- Objective: Test detector vulnerability against adversarial perturbations and document failure cases honestly.
- Key Components:
- Adversarial Attack Testing: Evaluate against FGSM, PGD, and frequency domain noise injection.
- Mitigation Strategies: Test blur defense, JPEG re-compression defense, and adversarial training.
- Failure Analysis Report: Honest documentation of edge cases where the detector fails.
| Criteria | Weight | Focus Areas & Scoring Anchors |
|---|---|---|
| AI/ML Implementation | 25 pts | Held-out AUC (unseen-generator weighted heaviest), honest split, calibration, correct metric reporting. |
| Technical Implementation | 20 pts | Reproducibility (runs in <10m from README), code quality, robustness engineering, deployment. |
| Innovation & Creativity | 15 pts | Novel feature extraction (frequency domain, spatial noise, multi-model ensemble). |
| Explanation & Trust Impact | 15 pts | Module A score (faithfulness, Grad-CAM localisation, useful natural language explanations). |
| User Experience | 10 pts | Sleek UI, responsible "likely" framing, drag-and-drop, batch scanning. |
| Problem Understanding | 10 pts | Grasp of unseen generalisation, honest limitation reporting. |
| Presentation & Demo | 5 pts | 3-5 minute clear demo video. |
| TOTAL | 100 pts |
- Unseen-generator-split AUC on held-out test set (Higher wins).
- Overall held-out AUC.
- Reproducibility (Clean single-command run from README).
- Explanation faithfulness score & depth of bonus modules.
SIGNALSCOPE/
├── .gitignore # Exhaustive gitignore for ML, web, & temp files
├── README.md # Main entry point with reproduction guide
├── REQUIREMENTS_AND_SPECIFICATIONS.md # Technical specification & rubric breakdown
├── requirements.txt # Python dependencies
├── src/ # Core application source code
│ ├── app/ # Web dashboard / frontend code
│ └── api/ # Backend REST / FastAPI services
├── model/ # Model definition & prediction interface
│ ├── predict.py # Standardized inference entrypoint
│ ├── backbone.py # Neural network architecture definition
│ ├── train.py # Training & validation scripts
│ ├── explainability.py # Grad-CAM & explanation generator (Module A)
│ ├── attribution.py # Generator classification (Module B)
│ ├── robustness.py # Degradation testing (Module C)
│ ├── metadata.py # EXIF / C2PA parser (Module D)
│ ├── multimodal.py # CLIP text-image consistency (Module E)
│ └── active_defense.py # Adversarial attack testing (Module G)
└── report/ # Deliverables directory
├── model_report.md # Standardized 1-page model report
└── explanation_samples/ # Sample heatmaps and outputs for judging
- Data Pipeline: Set up CIFAKE (
birdy654/cifake-real-and-ai-generated-synthetic-images) ingestion: train on itstrain/split (10% held back for validation) and report on itstest/split. - Model Training Pipeline: Implement EfficientNet / ViT baseline + frequency domain feature extraction (FFT / DCT artifacts).
- Bonus Modules Engine: Implement Modules A through G in
model/. - Web UI & API: Build a high-performance web dashboard with drag-and-drop, batch processing, and visual heatmaps.
- Evaluation Suite: Build automated evaluation scripts for held-out metrics, ROC-AUC, confusion matrix, and degradation curves.