Initial upload: GenAI manipulation detection dataset
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- README.md +242 -0
- annotations.csv +0 -0
- data/fake/fake_000000.jpg +3 -0
- data/fake/fake_000001.jpg +3 -0
- data/fake/fake_000002.jpg +3 -0
- data/fake/fake_000003.jpg +3 -0
- data/fake/fake_000004.jpg +3 -0
- data/fake/fake_000005.jpg +3 -0
- data/fake/fake_000006.jpg +3 -0
- data/fake/fake_000007.jpg +3 -0
- data/fake/fake_000008.jpg +3 -0
- data/fake/fake_000009.jpg +3 -0
- data/fake/fake_000010.jpg +3 -0
- data/fake/fake_000011.jpg +3 -0
- data/fake/fake_000012.jpg +3 -0
- data/fake/fake_000013.jpg +3 -0
- data/fake/fake_000014.jpg +3 -0
- data/fake/fake_000015.jpg +3 -0
- data/fake/fake_000016.jpg +3 -0
- data/fake/fake_000017.jpg +3 -0
- data/fake/fake_000018.jpg +3 -0
- data/fake/fake_000019.jpg +3 -0
- data/fake/fake_000020.jpg +3 -0
- data/fake/fake_000021.jpg +3 -0
- data/fake/fake_000022.jpg +3 -0
- data/fake/fake_000023.jpg +3 -0
- data/fake/fake_000024.jpg +3 -0
- data/fake/fake_000025.jpg +3 -0
- data/fake/fake_000026.jpg +3 -0
- data/fake/fake_000027.jpg +3 -0
- data/fake/fake_000028.jpg +3 -0
- data/fake/fake_000029.jpg +3 -0
- data/fake/fake_000030.jpg +3 -0
- data/fake/fake_000031.jpg +3 -0
- data/fake/fake_000032.jpg +3 -0
- data/fake/fake_000033.jpg +3 -0
- data/fake/fake_000034.jpg +3 -0
- data/fake/fake_000035.jpg +3 -0
- data/fake/fake_000036.jpg +3 -0
- data/fake/fake_000037.jpg +3 -0
- data/fake/fake_000038.jpg +3 -0
- data/fake/fake_000039.jpg +3 -0
- data/fake/fake_000040.jpg +3 -0
- data/fake/fake_000041.jpg +3 -0
- data/fake/fake_000042.jpg +3 -0
- data/fake/fake_000043.jpg +3 -0
- data/fake/fake_000044.jpg +3 -0
- data/fake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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
task_categories:
|
| 4 |
+
- image-classification
|
| 5 |
+
- image-segmentation
|
| 6 |
+
tags:
|
| 7 |
+
- deepfake-detection
|
| 8 |
+
- image-manipulation
|
| 9 |
+
- forensics
|
| 10 |
+
- genai-detection
|
| 11 |
+
- real-estate
|
| 12 |
+
- interior-design
|
| 13 |
+
- hackathon
|
| 14 |
+
size_categories:
|
| 15 |
+
- 1K<n<10K
|
| 16 |
+
pretty_name: GenAI Manipulation Detection Dataset - Interior Design Images
|
| 17 |
+
---
|
| 18 |
+
|
| 19 |
+
# GenAI Manipulation Detection Dataset - Interior Design Images
|
| 20 |
+
|
| 21 |
+
## 📋 Dataset Description
|
| 22 |
+
|
| 23 |
+
This dataset contains **1000 paired images** (real + manipulated) for training and evaluating GenAI manipulation detection models. Created for the **MenaML Winter School 2026 Hackathon**.
|
| 24 |
+
|
| 25 |
+
### Dataset Summary
|
| 26 |
+
|
| 27 |
+
- **Total Images**: 1000 pairs (2000 total images)
|
| 28 |
+
- **Image Size**: 512x512
|
| 29 |
+
- **Format**: JPEG
|
| 30 |
+
- **Source**: Pinterest Interior Design Images (Kaggle)
|
| 31 |
+
- **License**: MIT
|
| 32 |
+
|
| 33 |
+
## 🎯 Challenge Context
|
| 34 |
+
|
| 35 |
+
This dataset was created for **Track B: Real Estate & Commercial Integrity** of the MenaML Winter School 2026 GenAI Detection Challenge.
|
| 36 |
+
|
| 37 |
+
The challenge focuses on detecting:
|
| 38 |
+
- ✅ Virtual staging (furniture replacement)
|
| 39 |
+
- ✅ Texture smoothing (wall/surface manipulation)
|
| 40 |
+
- ✅ Compression artifacts
|
| 41 |
+
- ✅ Splicing and copy-move forgery
|
| 42 |
+
- ✅ Physical impossibilities (shadow/reflection mismatches)
|
| 43 |
+
|
| 44 |
+
## 📂 Dataset Structure
|
| 45 |
+
|
| 46 |
+
```
|
| 47 |
+
dataset/
|
| 48 |
+
├── data/
|
| 49 |
+
│ ├── real/ # Original unmanipulated images
|
| 50 |
+
│ │ ├── real_000000.jpg
|
| 51 |
+
│ │ ├── real_000001.jpg
|
| 52 |
+
│ │ └── ...
|
| 53 |
+
│ └── fake/ # Manipulated images
|
| 54 |
+
│ ├── fake_000000.jpg
|
| 55 |
+
│ ├── fake_000001.jpg
|
| 56 |
+
│ └── ...
|
| 57 |
+
├── annotations.csv # Detailed annotations for each image pair
|
| 58 |
+
├── metadata.json # Dataset statistics and metadata
|
| 59 |
+
└── README.md # This file
|
| 60 |
+
```
|
| 61 |
+
|
| 62 |
+
## 📊 Manipulation Categories
|
| 63 |
+
|
| 64 |
+
- **compression_artifact**: 191 images (19.1%)
|
| 65 |
+
- **smoothness_anomaly**: 206 images (20.6%)
|
| 66 |
+
- **physical_impossibility**: 192 images (19.2%)
|
| 67 |
+
- **frequency_manipulation**: 209 images (20.9%)
|
| 68 |
+
- **splicing**: 202 images (20.2%)
|
| 69 |
+
|
| 70 |
+
|
| 71 |
+
### Detailed Technique Breakdown
|
| 72 |
+
|
| 73 |
+
- `compression_mismatch`: 100 (10.0%)
|
| 74 |
+
- `bilateral_filter`: 108 (10.8%)
|
| 75 |
+
- `texture_removal`: 98 (9.8%)
|
| 76 |
+
- `reflection_inconsistency`: 94 (9.4%)
|
| 77 |
+
- `upscaling`: 74 (7.4%)
|
| 78 |
+
- `copy_move`: 94 (9.4%)
|
| 79 |
+
- `frequency_injection`: 70 (7.0%)
|
| 80 |
+
- `object_insertion`: 108 (10.8%)
|
| 81 |
+
- `grid_artifact`: 65 (6.5%)
|
| 82 |
+
- `shadow_mismatch`: 98 (9.8%)
|
| 83 |
+
- `double_jpeg`: 91 (9.1%)
|
| 84 |
+
|
| 85 |
+
|
| 86 |
+
## 🔧 Manipulation Techniques Explained
|
| 87 |
+
|
| 88 |
+
### 1️⃣ Smoothness Anomaly
|
| 89 |
+
- **bilateral_filter**: Aggressive bilateral filtering creating unnatural smoothness
|
| 90 |
+
- **texture_removal**: Edge-preserving filter that removes texture detail
|
| 91 |
+
- **Detection**: Texture analysis, high-frequency loss detection
|
| 92 |
+
|
| 93 |
+
### 2️⃣ Compression Artifact
|
| 94 |
+
- **double_jpeg**: Two rounds of JPEG compression with different quality levels
|
| 95 |
+
- **compression_mismatch**: Regions with different compression quality
|
| 96 |
+
- **Detection**: DCT coefficient analysis, block artifact detection
|
| 97 |
+
|
| 98 |
+
### 3️⃣ Frequency Manipulation
|
| 99 |
+
- **upscaling**: Downscale→upscale creating bicubic interpolation signatures
|
| 100 |
+
- **frequency_injection**: GAN-like ring patterns in frequency domain
|
| 101 |
+
- **grid_artifact**: 8×8 grid patterns typical of GAN outputs
|
| 102 |
+
- **Detection**: FFT analysis, power spectral density
|
| 103 |
+
|
| 104 |
+
### 4️⃣ Splicing
|
| 105 |
+
- **copy_move**: Copy region and paste elsewhere with compression mismatch
|
| 106 |
+
- **object_insertion**: Insert objects with different compression characteristics
|
| 107 |
+
- **Detection**: SIFT/ORB feature matching, noise inconsistency analysis
|
| 108 |
+
|
| 109 |
+
### 5️⃣ Physical Impossibility
|
| 110 |
+
- **shadow_mismatch**: Inconsistent shadow directions
|
| 111 |
+
- **reflection_inconsistency**: Reflections not matching room layout
|
| 112 |
+
- **Detection**: VLM reasoning, physics-based validation
|
| 113 |
+
|
| 114 |
+
## 💻 Usage
|
| 115 |
+
|
| 116 |
+
### Load with Pandas
|
| 117 |
+
|
| 118 |
+
```python
|
| 119 |
+
import pandas as pd
|
| 120 |
+
from PIL import Image
|
| 121 |
+
|
| 122 |
+
# Load annotations
|
| 123 |
+
df = pd.read_csv("hf://datasets/FatimahEmadEldin/genai-manipulation-detection-interior/annotations.csv")
|
| 124 |
+
|
| 125 |
+
# Load an image pair
|
| 126 |
+
row = df.iloc[0]
|
| 127 |
+
|
| 128 |
+
real_img = Image.open(f"hf://datasets/FatimahEmadEldin/genai-manipulation-detection-interior/data/{row['real_image_path']}")
|
| 129 |
+
fake_img = Image.open(f"hf://datasets/FatimahEmadEldin/genai-manipulation-detection-interior/data/{row['fake_image_path']}")
|
| 130 |
+
|
| 131 |
+
print(f"Manipulation: {row['manipulation_category']}")
|
| 132 |
+
print(f"Technique: {row['manipulation_technique']}")
|
| 133 |
+
```
|
| 134 |
+
|
| 135 |
+
### Load with HuggingFace Datasets
|
| 136 |
+
|
| 137 |
+
```python
|
| 138 |
+
from datasets import load_dataset
|
| 139 |
+
|
| 140 |
+
# Load dataset
|
| 141 |
+
dataset = load_dataset("FatimahEmadEldin/genai-manipulation-detection-interior")
|
| 142 |
+
|
| 143 |
+
# Access data
|
| 144 |
+
sample = dataset['train'][0]
|
| 145 |
+
```
|
| 146 |
+
|
| 147 |
+
### PyTorch DataLoader
|
| 148 |
+
|
| 149 |
+
```python
|
| 150 |
+
from torch.utils.data import Dataset, DataLoader
|
| 151 |
+
import pandas as pd
|
| 152 |
+
from PIL import Image
|
| 153 |
+
|
| 154 |
+
class ManipulationDataset(Dataset):
|
| 155 |
+
def __init__(self, annotations_csv, data_dir, transform=None):
|
| 156 |
+
self.df = pd.read_csv(annotations_csv)
|
| 157 |
+
self.data_dir = data_dir
|
| 158 |
+
self.transform = transform
|
| 159 |
+
|
| 160 |
+
def __len__(self):
|
| 161 |
+
return len(self.df)
|
| 162 |
+
|
| 163 |
+
def __getitem__(self, idx):
|
| 164 |
+
row = self.df.iloc[idx]
|
| 165 |
+
|
| 166 |
+
real_img = Image.open(f"{self.data_dir}/{row['real_image_path']}")
|
| 167 |
+
fake_img = Image.open(f"{self.data_dir}/{row['fake_image_path']}")
|
| 168 |
+
|
| 169 |
+
if self.transform:
|
| 170 |
+
real_img = self.transform(real_img)
|
| 171 |
+
fake_img = self.transform(fake_img)
|
| 172 |
+
|
| 173 |
+
return {
|
| 174 |
+
'real': real_img,
|
| 175 |
+
'fake': fake_img,
|
| 176 |
+
'label': 1, # 1 for manipulated
|
| 177 |
+
'category': row['manipulation_category'],
|
| 178 |
+
'technique': row['manipulation_technique']
|
| 179 |
+
}
|
| 180 |
+
|
| 181 |
+
# Usage
|
| 182 |
+
dataset = ManipulationDataset('annotations.csv', 'data/')
|
| 183 |
+
dataloader = DataLoader(dataset, batch_size=32, shuffle=True)
|
| 184 |
+
```
|
| 185 |
+
|
| 186 |
+
## 📝 Annotations Format
|
| 187 |
+
|
| 188 |
+
Each row in `annotations.csv` contains:
|
| 189 |
+
|
| 190 |
+
- `image_id`: Unique identifier (e.g., "000000")
|
| 191 |
+
- `real_image_path`: Path to real image (e.g., "real/real_000000.jpg")
|
| 192 |
+
- `fake_image_path`: Path to manipulated image (e.g., "fake/fake_000000.jpg")
|
| 193 |
+
- `real_image_filename`: Filename of real image
|
| 194 |
+
- `fake_image_filename`: Filename of manipulated image
|
| 195 |
+
- `source_image_path`: Original source from Kaggle dataset
|
| 196 |
+
- `manipulation_category`: High-level category (5 types)
|
| 197 |
+
- `manipulation_technique`: Specific technique used
|
| 198 |
+
- `manipulation_description`: Human-readable description
|
| 199 |
+
- `label`: Always "manipulated"
|
| 200 |
+
- `timestamp`: Creation timestamp
|
| 201 |
+
|
| 202 |
+
## 🎓 Citation
|
| 203 |
+
|
| 204 |
+
If you use this dataset in your research or hackathon submission, please cite:
|
| 205 |
+
|
| 206 |
+
```bibtex
|
| 207 |
+
@dataset{genai_manipulation_interior_2026,
|
| 208 |
+
title={GenAI Manipulation Detection Dataset - Interior Design},
|
| 209 |
+
author={MenaML Winter School 2026 - Team [Your Team Name]},
|
| 210 |
+
year={2026},
|
| 211 |
+
publisher={HuggingFace},
|
| 212 |
+
howpublished={\url{https://huggingface.co/datasets/FatimahEmadEldin/genai-manipulation-detection-interior}}
|
| 213 |
+
}
|
| 214 |
+
```
|
| 215 |
+
|
| 216 |
+
## 📜 License
|
| 217 |
+
|
| 218 |
+
This dataset is released under the **MIT License**.
|
| 219 |
+
|
| 220 |
+
The source images are from the Pinterest Interior Design Images dataset on Kaggle, used under MIT license.
|
| 221 |
+
|
| 222 |
+
## 🏆 Hackathon Information
|
| 223 |
+
|
| 224 |
+
- **Event**: MenaML Winter School 2026
|
| 225 |
+
- **Challenge**: Detecting GenAI & Sophisticated Manipulation in Public Media
|
| 226 |
+
- **Track**: B - Real Estate & Commercial Integrity
|
| 227 |
+
- **Deadline**: January 28, 2026
|
| 228 |
+
|
| 229 |
+
## 🙏 Acknowledgments
|
| 230 |
+
|
| 231 |
+
- Source dataset: [Pinterest Interior Design Images](https://www.kaggle.com/datasets/galinakg/interior-design-images-and-metadata) by Galina KG
|
| 232 |
+
- Challenge organizers: MenaML Winter School 2026
|
| 233 |
+
- Tools: OpenCV, scikit-image, NumPy, Pandas
|
| 234 |
+
|
| 235 |
+
## 📧 Contact
|
| 236 |
+
|
| 237 |
+
For questions about this dataset, please open an issue on the HuggingFace dataset page.
|
| 238 |
+
|
| 239 |
+
---
|
| 240 |
+
|
| 241 |
+
**Created**: 2026-01-26T22:36:29.871044
|
| 242 |
+
**Version**: 1.0.0
|
annotations.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/fake/fake_000000.jpg
ADDED
|
Git LFS Details
|
data/fake/fake_000001.jpg
ADDED
|
Git LFS Details
|
data/fake/fake_000002.jpg
ADDED
|
Git LFS Details
|
data/fake/fake_000003.jpg
ADDED
|
Git LFS Details
|
data/fake/fake_000004.jpg
ADDED
|
Git LFS Details
|
data/fake/fake_000005.jpg
ADDED
|
Git LFS Details
|
data/fake/fake_000006.jpg
ADDED
|
Git LFS Details
|
data/fake/fake_000007.jpg
ADDED
|
Git LFS Details
|
data/fake/fake_000008.jpg
ADDED
|
Git LFS Details
|
data/fake/fake_000009.jpg
ADDED
|
Git LFS Details
|
data/fake/fake_000010.jpg
ADDED
|
Git LFS Details
|
data/fake/fake_000011.jpg
ADDED
|
Git LFS Details
|
data/fake/fake_000012.jpg
ADDED
|
Git LFS Details
|
data/fake/fake_000013.jpg
ADDED
|
Git LFS Details
|
data/fake/fake_000014.jpg
ADDED
|
Git LFS Details
|
data/fake/fake_000015.jpg
ADDED
|
Git LFS Details
|
data/fake/fake_000016.jpg
ADDED
|
Git LFS Details
|
data/fake/fake_000017.jpg
ADDED
|
Git LFS Details
|
data/fake/fake_000018.jpg
ADDED
|
Git LFS Details
|
data/fake/fake_000019.jpg
ADDED
|
Git LFS Details
|
data/fake/fake_000020.jpg
ADDED
|
Git LFS Details
|
data/fake/fake_000021.jpg
ADDED
|
Git LFS Details
|
data/fake/fake_000022.jpg
ADDED
|
Git LFS Details
|
data/fake/fake_000023.jpg
ADDED
|
Git LFS Details
|
data/fake/fake_000024.jpg
ADDED
|
Git LFS Details
|
data/fake/fake_000025.jpg
ADDED
|
Git LFS Details
|
data/fake/fake_000026.jpg
ADDED
|
Git LFS Details
|
data/fake/fake_000027.jpg
ADDED
|
Git LFS Details
|
data/fake/fake_000028.jpg
ADDED
|
Git LFS Details
|
data/fake/fake_000029.jpg
ADDED
|
Git LFS Details
|
data/fake/fake_000030.jpg
ADDED
|
Git LFS Details
|
data/fake/fake_000031.jpg
ADDED
|
Git LFS Details
|
data/fake/fake_000032.jpg
ADDED
|
Git LFS Details
|
data/fake/fake_000033.jpg
ADDED
|
Git LFS Details
|
data/fake/fake_000034.jpg
ADDED
|
Git LFS Details
|
data/fake/fake_000035.jpg
ADDED
|
Git LFS Details
|
data/fake/fake_000036.jpg
ADDED
|
Git LFS Details
|
data/fake/fake_000037.jpg
ADDED
|
Git LFS Details
|
data/fake/fake_000038.jpg
ADDED
|
Git LFS Details
|
data/fake/fake_000039.jpg
ADDED
|
Git LFS Details
|
data/fake/fake_000040.jpg
ADDED
|
Git LFS Details
|
data/fake/fake_000041.jpg
ADDED
|
Git LFS Details
|
data/fake/fake_000042.jpg
ADDED
|
Git LFS Details
|
data/fake/fake_000043.jpg
ADDED
|
Git LFS Details
|
data/fake/fake_000044.jpg
ADDED
|
Git LFS Details
|
data/fake/fake_000045.jpg
ADDED
|
Git LFS Details
|
data/fake/fake_000046.jpg
ADDED
|
Git LFS Details
|
data/fake/fake_000047.jpg
ADDED
|
Git LFS Details
|