Multi-Frequency Fusion Transformer (MFFT) Master Benchmark Manifest
This repository contains the canonical, immutable master dataset manifest (manifest/split_manifest.json) defining the 120,000-image multi-generator forensic benchmark utilized in:
"Multi-Frequency Fusion Transformer: Robust and Computationally Efficient AI-Generated Image Forensics Across Generator Architectures"
Elsevier: Machine Learning with Applications (MLWA)
π Benchmark Specification & Cryptographic Fingerprint
To ensure strict reproducibility, eliminate dataset drift, and prevent data leakage across distributed GPU worker nodes, the benchmark manifest is cryptographically frozen:
| Metadata Attribute | Value |
|---|---|
| Total Benchmark Images | 120,000 |
| Class Balance | 50.0% Real (60,000) / 50.0% AI-Generated & Deepfake (60,000) |
| Training Partition (70%) | 84,000 images |
| Validation Partition (15%) | 18,000 images |
| Held-Out Test Partition (15%) | 18,000 images |
| Canonical Partition Seed | 42 |
| Manifest Content SHA-256 | e8db1a7249ef22fbf9fcb6e6659e9ecc5ebbc5d81430a268fce26546f23bdde2 |
| File SHA-256 | dcba81ed490e6a9ab965fdce903a77a46f9d5d8763b0fe81d612ff41422d800e |
| Benchmark Schema Version | 1.0 |
π Dataset Composition & Generator Sources
The benchmark encompasses 12 major dataset shards representing diverse natural photography and modern generative paradigms (GANs, Denoising Diffusion, Latent Diffusion, Autoregressive Synthesis, and Facial Video Deepfakes):
| Dataset Shard / Mount Slug | Sample Count | Primary Category | Underlying Generative Architecture / Source |
|---|---|---|---|
places365 |
51,610 | Pristine Real | High-diversity natural scene, architectural, and landscape photography |
artifact-dataset |
41,364 | AI-Generated | 25+ Generator families (StyleGAN1/2/3, ProGAN, BigGAN, CycleGAN, StarGAN, GauGAN, CIPS, DDPM, Latent Diffusion, GLIDE, VQ-Diffusion, etc.) |
ntire2026 |
7,692 | AI-Generated | NTIRE Forensics Challenge state-of-the-art synthetic generation benchmark |
dfdc-faces-of-the-train-sample |
5,850 | Deepfakes | Deepfake Detection Challenge (DFDC) video frame manipulations |
genimage-ai |
5,071 | AI-Generated | Cross-generator diffusion benchmarks (Midjourney, Stable Diffusion, Wukong) |
celebdf-v2image-dataset |
4,803 | Deepfakes | Celeb-DF v2 high-quality identity-swapped facial deepfakes |
stable-diffusion |
1,611 | AI-Generated | CompVis / Stability AI Stable Diffusion text-to-image synthesis |
faceforensics |
953 | Deepfakes | FaceForensics++ (Deepfakes, Face2Face, FaceSwap, NeuralTextures) |
mfft-real |
683 | Pristine Real | Uncompressed native camera sensor captures |
dall-e3 |
294 | AI-Generated | OpenAI DALL-E 3 held-out cross-generator transfer test set |
midjourney |
54 | AI-Generated | Midjourney v5/v6 photorealistic generative outputs |
open-images-v7-dataset |
15 | Pristine Real | High-resolution object & entity photographic benchmarks |
| Total | 120,000 | Balanced 50/50 | Comprehensive Multi-Generator Forensic Coverage |
π‘οΈ Anti-Contamination & Leakage Prevention Guarantees
- Video & Identity Grouping: For video-based deepfake datasets (
faceforensics,dfdc-faces-of-the-train-sample,celebdf-v2image-dataset), frames originating from the same video or subject identity are strictly quarantined to a single partition. No identity or sequential video frame appears across both train and test partitions. - Deterministic Partitioning: Sample assignments are indexed by unique SHA-256 content hashes, guaranteeing that every distributed training node trains on the exact same 84,000 images and validates on the identical 18,000 held-out images.
- Leave-One-Generator-Out (LOGO) Subsets: Held-out generative families (
dall-e3,logo_holdout_gan,logo_holdout_diffusion,logo_holdout_deepfake) are explicitly partitioned to verify out-of-distribution transferability to unseen synthesis algorithms.
π Manifest JSON Schema (manifest/split_manifest.json)
The manifest file is structured as follows:
{
"version": 1,
"created_at": "2026-09-28T11:50:45Z",
"created_by_worker": "kaggle-manifest-builder",
"seed": 42,
"total_images": 120000,
"class_counts": {
"real": 60000,
"ai_generated": 60000
},
"split_sizes": {
"train": 84000,
"val": 18000,
"test": 18000
},
"manifest_sha256": "e8db1a7249ef22fbf9fcb6e6659e9ecc5ebbc5d81430a268fce26546f23bdde2",
"samples": [
["/kaggle/input/datasets/awsaf49/artifact-dataset/lsun/cat/cat/img032049.jpg", 1],
["/kaggle/input/datasets/benjaminkz/places365/train/bedroom/0002145.jpg", 0]
],
"split_indices": {
"train": [0, 1, 2, ...],
"val": [84000, 84001, ...],
"test": [102000, 102001, ...]
}
}
samples: An ordered list of[image_relative_path, label]tuples, wherelabel = 0denotes Real andlabel = 1denotes AI-Generated / Deepfake.split_indices: Explicit integer indices indexing intosamplesfortrain(84,000),val(18,000), andtest(18,000).
π» Quickstart: Loading Manifest in PyTorch
import json
import torch
from torch.utils.data import Dataset, DataLoader
from PIL import Image
from torchvision import transforms
from huggingface_hub import hf_hub_download
# 1. Download canonical master manifest
manifest_path = hf_hub_download(
repo_id="MohsinElis/mfft-master-manifest",
filename="manifest/split_manifest.json",
repo_type="model"
)
with open(manifest_path, "r", encoding="utf-8") as f:
manifest = json.load(f)
print(f"Loaded manifest: {manifest['total_images']:,} images (Hash: {manifest['manifest_sha256'][:16]}...)")
print(f"Splits: Train={manifest['split_sizes']['train']:,} | Val={manifest['split_sizes']['val']:,} | Test={manifest['split_sizes']['test']:,}")
# 2. PyTorch Dataset implementation
class ForensicManifestDataset(Dataset):
def __init__(self, manifest, split="test", transform=None):
self.samples = manifest["samples"]
self.indices = manifest["split_indices"][split]
self.transform = transform
def __len__(self):
return len(self.indices)
def __getitem__(self, idx):
sample_idx = self.indices[idx]
img_path, label = self.samples[sample_idx]
# Load image from disk/storage
image = Image.open(img_path).convert("RGB")
if self.transform:
image = self.transform(image)
return image, torch.tensor(label, dtype=torch.long)
# 3. Create DataLoader
transform = transforms.Compose([
transforms.Resize((384, 384)),
transforms.ToTensor(),
transforms.Normalize(mean=[0.485, 0.456, 0.406], std=[0.229, 0.224, 0.225])
])
test_dataset = ForensicManifestDataset(manifest, split="test", transform=transform)
test_loader = DataLoader(test_dataset, batch_size=32, shuffle=False, num_workers=4)
print(f"Test DataLoader initialized with {len(test_dataset):,} samples ({len(test_loader)} batches).")
π Citation
If you use this benchmark manifest or the MFFT framework in your research, please cite:
@article{mfft2026mlwa,
title={Multi-Frequency Fusion Transformer: Robust and Computationally Efficient AI-Generated Image Forensics Across Generator Architectures},
author={Eli, Mohsin and Mahmud, Imran and Shadman, Nihan and Jenny, Tasnim and Zihan, Md and Siam, R. S. and Mridha, Leya and Miraj, Sadman Hasan},
journal={Machine Learning with Applications},
year={2026},
publisher={Elsevier},
note={Master Manifest: https://huggingface.co/MohsinElis/mfft-master-manifest}
}