CoolFace
Datasetpublic

Mengieong/SEED_balanced

SEED_balanced SEED_balanced is the public balanced release of SEED, a benchmark for provenance tracing in sequential deepfake facial edits. Unlike conventional deepfake datasets that focus on single-step manipulations or binary real/fake detection, SEED models multi-step diffusion-based facial editing trajectories and supports three complementary tasks: Authenticity Analysis, Editing Trace Analysis, and Spatial Evidence Analysis. The full SEED benchmark contains 91,526 images… See the full description on the dataset page: https://huggingface.co/datasets/Mengieong/SEED_balanced.

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes195downloads
Dataset Card

SEED_balanced

[image]

SEED_balanced is the public balanced release of SEED, a benchmark for provenance tracing in sequential deepfake facial edits. Unlike conventional deepfake datasets that focus on single-step manipulations or binary real/fake detection, SEED models multi-step diffusion-based facial editing trajectories and supports three complementary tasks: Authenticity Analysis, Editing Trace Analysis, and Spatial Evidence Analysis. The full SEED benchmark contains 91,526 images with step-wise provenance annotations, while the balanced benchmark partition contains 100,000 images with equal proportions of sequence lengths \(L=0,1,2,3,4\).


Overview

ItemDescription
Dataset nameSEED_balanced
Full benchmark scale91,526 images
Balanced benchmark scale100,000 images
DomainFacial imagery
Editing typeSequential diffusion-based facial edits
Source real datasetsFFHQ, CelebAMask-HQ
Step-wise metadataEdit order, attribute labels, prompts, masks, editor identity
Supported tasksAuthenticity, Editing Trace, Spatial Evidence
Official evaluationCodaBench

SEED is built from FFHQ and CelebAMask-HQ and edited using diffusion-based pipelines. Each manipulated sample is generated by applying one to four attribute edits sequentially, and each step is logged with provenance metadata including edited attribute, prompt, mask, and editing model.


Supported Tasks

TaskDescriptionOutput
Authenticity AnalysisDistinguish real images from sequentially edited onesBinary or sequence-based decision
Editing Trace AnalysisPredict edited attributes and their temporal orderOrdered attribute sequence
Spatial Evidence AnalysisLocalize manipulated regionsMask / localization map

These three tasks are explicitly described in the paper and illustrated in the benchmark overview figure.


Data Construction

[image]

SEED is constructed in three stages:

StageDescription
PreprocessingBuild attribute-specific masks and text conditions
Sequential manipulationSample sequence length \(L \in \{1,2,3,4\}\), choose attributes, and apply a diffusion editor step by step
Quality evaluationFilter degenerate results using perceptual and semantic consistency checks

The editing pipeline uses multiple diffusion editors, including LEdits, SDXL, and SD3-style models fine-tuned with UltraEdit. Prompt templates are varied to preserve edit intent while increasing linguistic diversity.


Prompt Template Examples

AttributeInstruction TemplateCaption Template
EyesMake the eyes {color}.A person with {color} eyes.
LipChange the lipstick color to {color}.A person with {color} lipstick.
HairTurn the hair {color}. / Make the hair {style}.A person with {color} hair. / A person with {style} hair.
EyebrowsMake the eyebrows {style}.A person with {style} eyebrows.
GlassesAdd a pair of {glasses}.A person wearing {glasses}.
HatAdd a {hat}.A person wearing a {hat}.

These prompt templates are taken from the paper’s dataset construction section.


Dataset Statistics

StatisticValue
Full SEED images91,526
Sequence length \(L=1\)29.91%
Sequence length \(L=2\)26.21%
Sequence length \(L=3\)21.88%
Sequence length \(L=4\)22.00%
UltraEdit38.28%
LEdits37.34%
SDXL24.38%
AttributeProportion
Lip28%
Eyebrow18%
Eye17%
Hat14%
Hair14%
Glasses9%

These distributions are reported in the dataset statistics section of the paper.


Balanced Partition and Split Protocol

Length bucketCount
\(L=0\), real20,000
\(L=1\)20,000
\(L=2\)20,000
\(L=3\)20,000
\(L=4\)20,000
Total100,000

Benchmark Evaluation

Official evaluation is conducted on CodaBench using three metrics:

MetricMeaning
Fixed-AccToken-level accuracy under a fixed sequence comparison protocol
Adaptive-AccToken-level accuracy under adaptive sequence comparison
Full-AccExact sequence match, the strictest metric

The paper emphasizes that Full-Acc is the strictest metric because the whole predicted edit history must match the ground truth.

Average Results Reported in the Paper

ModelFixed-AccAdaptive-AccFull-Acc
Shuai et al.71.5054.0748.72
FreqNet70.0852.5948.27
Ba et al.68.7854.8050.80
SeqFakeFormer81.6268.5366.97
FAITH (DCT)81.7068.5667.02
FAITH (FFT)81.7568.5867.03
FAITH (DWT)81.8768.8467.26

The paper reports that performance drops as edit chains become longer, and that DWT-based FAITH is the strongest average variant overall.

Robustness Settings

The paper also evaluates robustness under:

PerturbationLevels
JPEG compression25%, 50%, 75%
Gaussian noise10%, 15%, 20%

Repository Contents

This Hugging Face repository hosts the public release only.

FileDescription
SEED_subset_1.zip SEED_subset_2.zip SEED_subset_3.zipPublic training archive
FAITHBaseline execution folder
prediction.zipOptional example submission file

This repository does not contain:

  • —hidden test labels
  • —hidden reference annotations
  • —official private evaluation data

Those components are handled through CodaBench.


Intended Usage

This dataset is intended for:

  • —deepfake forensics research
  • —diffusion-edit provenance tracing
  • —edit-order prediction
  • —localization and evidence analysis
  • —robustness benchmarking under image degradation

Recommended workflow:

  1. 1.Download and extract the public training data from this repository.
  2. 2.Train or fine-tune your method locally.
  3. 3.Validate locally using your own protocol.
  4. 4.Submit predictions to CodaBench for official hidden-set evaluation.

CodaBench: [here](https://www.codabench.org/competitions/edit/15351/)


Data Usage Policy

Please use this dataset for research, benchmarking, and forensic analysis only.

Please do not use it for:

  • —identity recognition or surveillance
  • —face-based profiling
  • —deceptive content generation
  • —unauthorized inference about real individuals

Users should also respect the licenses and usage conditions of the original source datasets and any benchmark-specific release conditions.


FAITH Baseline Setup and Usage

This repository provides the FAITH baseline and the associated training data package for the SeqDeepFake setting.

Repository Contents

After downloading the full repository, the top-level structure is expected to look like this:

text
.
├── FAITH/
├── assets/
├── .gitattributes
├── README.md
├── req.txt
└── seqdeepfake_train_data.zip

1. Environment Setup

Create a new conda environment from req.txt, then activate it:

bash
conda create -n <environment-name> --file req.txt
conda activate <environment-name>

Example:

bash
conda create -n faith --file req.txt
conda activate faith

2. Download the Complete Repository

Please download the complete repository contents from Hugging Face, not only the code folder.

You should have all of the following at the repository root:

  • —FAITH/
  • —assets/
  • —req.txt
  • —README.md
  • —seqdeepfake_train_data.zip

If you download from the web interface instead, make sure the downloaded archive is fully extracted before continuing.

3. Prepare the Training Data

The training data is provided as:

text
seqdeepfake_train_data.zip

Unzip this file into the FAITH directory, then rename the extracted folder to data.

Run the following commands from the repository root:

bash
unzip seqdeepfake_train_data.zip -d FAITH/

Then rename the extracted folder to data.

For example, if the extracted folder is named seqdeepfake_train_data, run:

bash
mv FAITH/seqdeepfake_train_data FAITH/data

After this step, the expected structure should be:

text
.
├── FAITH/
│   ├── data/
│   ├── ...
├── assets/
├── .gitattributes
├── README.md
├── req.txt
└── seqdeepfake_train_data.zip

4. Verify the Data Placement

Before running the baseline, confirm that the dataset is located at:

text
FAITH/data

That is the expected folder name used by the baseline instructions in this repository.

5. Run the Baseline

After the environment is ready and the dataset has been placed in FAITH/data, enter the FAITH directory and run the baseline script.

bash
cd FAITH
python train.sh

Please replace <your_main_script>.py with the actual entry script used in your repository.

If your repository provides separate scripts for training and evaluation, use the appropriate one instead, for example:

bash
cd FAITH
python train.sh

or

bash
cd FAITH
python test.sh

Notes

  1. 1.Make sure you download the full repository contents, not only individual files.
  2. 2.Make sure the extracted dataset folder is renamed exactly to data.
  3. 3.If unzip is not installed on your system, install it first or extract the archive manually.
  4. 4.If the extracted folder name is different on your machine, rename that extracted folder to FAITH/data.
  5. 5.If the project has a custom launch script, use that script instead of the generic python <your_main_script>.py command.

Troubleshooting

PackagesNotFoundError during conda creation

This usually means some packages in req.txt are unavailable in your current conda channels. In that case, try updating conda first, or recreate the environment with the channels required by your project.

The dataset cannot be found

Check that the final path is exactly:

text
FAITH/data

python: can't open file ...

This means the entry script name is different from the placeholder command in this README. Please replace <your_main_script>.py with the actual script name in the FAITH folder.


If you are preparing the Hugging Face repository page, you can copy this file directly as the project README.md and then replace the script placeholder with the exact training or evaluation command used by your codebase.