Datasets:
image imagewidth (px) 100 14.6k | label class label 3
classes |
|---|---|
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real |
Dataset Card for UniAIDet
Dataset Details
Dataset Description
UniAIDet is an evaluation benchmark for detecting AI-generated image content and localizing generated regions. The full benchmark described in the paper comprises approximately 80,000 real and synthetic images across photographic and artistic domains. It covers 20 generative models and methods spanning text-to-image generation, image-to-image generation, inpainting, instruction-guided editing, and face swapping. Partially synthetic images in the benchmark have pixel-level masks for localization.
- Curated by: Huixuan Zhang and Xiaojun Wan, Wangxuan Institute of Computer Technology, Peking University.
- Language(s) (NLP): The benchmark takes images as input. Captions and editing instructions were used during construction.
- License: Component-specific terms apply. The proposed license for the dataset card, original annotations, and benchmark compilation is CC BY-NC-SA 4.0, to the extent the UniAIDet authors hold the relevant rights. Source images and image derivatives remain subject to applicable upstream licenses and permissions, including attribution and redistribution conditions. See, for example, the FFHQ licensing documentation.
Dataset Sources
- Dataset repository: PKU-ONELab/UniAIDet on Hugging Face
- Paper: UniAIDet, arXiv:2510.23023
Uses
Direct Use
Use UniAIDet to evaluate whether a model can detect fully or partially AI-generated images and localize generated regions in partially synthetic images. The benchmark supports analysis across photographic and artistic domains, generation methods, and individual generators where sample metadata permits.
Out-of-Scope Use
UniAIDet is intended for research evaluation of AI-generated image detection and localization. Images are provided as benchmark examples and are not intended to convey factual, artistic, or other information.
Benchmark scores alone are insufficient for determining the provenance of an individual image or making consequential decisions about its creator. Keep evaluation images and their related source and derived images out of training and calibration sets when reporting held-out performance.
Dataset Structure
The paper reports two content-domain evaluation splits, Photo and Art. Each includes real and synthetic images. Human-created artwork belongs to the real class. An image is synthetic if it contains any AI-generated region. The benchmark distinguishes fully synthetic outputs (text-to-image and image-to-image) from partially synthetic outputs (inpainting, editing, and face swapping). Pixel-aligned masks identify the generated regions in partially synthetic images.
Hugging Face Release
The Hugging Face repository stores benchmark files under UniAIDet/, with ArtSplit/ for artwork and PhotoSplit/ for photographs. Within the evaluation directory test/, subdirectories group samples by generator or method. Both domains use the same directory layout. The tree shows Qwen as an example and uses ... for other generator and method directories.
UniAIDet/
βββ ArtSplit/
β βββ test/
β βββ qwen/
β β βββ 0_real/
β β βββ 1_fake/
β β βββ 2_mask/
β βββ ...
βββ PhotoSplit/
βββ test/
βββ qwen/
β βββ 0_real/
β βββ 1_fake/
β βββ 2_mask/
βββ ...
0_real/contains real images (class 0).1_fake/contains synthetic images (class 1), which may be fully or partially generated depending on the method.2_mask/is the mask directory. For the paper's localization evaluation, use the ground-truth masks for partially synthetic samples.
To download the example directory with the Hugging Face CLI:
hf download PKU-ONELab/UniAIDet --repo-type dataset \
--include 'UniAIDet/ArtSplit/test/qwen/**' --local-dir uniaidet-release
Dataset Creation
Curation Rationale
UniAIDet was created to study whether image detectors generalize across content domains and generation methods, and how image-level detection relates to pixel-level localization. The design includes artistic images and instruction-guided edits, both relevant to evaluating detectors in settings beyond fully generated photographs.
Source Data
Data Collection and Processing
Photographic inputs came from MS COCO and NYTimes800k. Artistic inputs came from WikiArt and Danbooru, with artwork selected from before 2023 to reduce the chance of including generative AI outputs among the real images. The authors screened collected images with an automated NSFW detector. The face-swapping pipeline used facial images from FFHQ.
Gemma 3 4B produced captions for text-to-image and image-to-image generation and instructions for image editing. The authors sampled captions, instructions, and outputs from the editing and face-swapping pipelines for qualitative checks. See Section 3 and Appendix A of the paper for the generator list and construction protocol.
Who are the source data producers?
The real source images originate from photographers, artists, illustrators, and other contributors represented in the upstream datasets. The synthetic images were produced by the generation and editing systems selected by the UniAIDet authors.
Annotations
Annotation process
Image-level classes follow sample provenance. Localization masks were generated automatically. For inpainting, the pipeline composites generated content into the original image using a selected Segment Anything mask. For instruction-guided editing, it thresholds pixel differences, filters small connected regions, and composites the retained regions onto the original. For face swapping, it uses masks supplied by the face-swapping methods.
Who are the annotators?
The generation and masking pipelines produced the labels and masks. The authors describe qualitative spot checks. The masks were generated without human annotation.
Personal and Sensitive Information
Photographic source material and face-swap examples may depict identifiable people. Yet these faces are drawn from already publicly available data sources (FFHQ), so no additional information are introduced.
The artworks may contain potentially NSFW contents. The authors tried their best by using an NSFW checker to filter all NSFW contents.
Bias, Risks, and Limitations
The source collections and selected generators determine the benchmark's coverage of visual styles, subjects, and synthesis methods. Some proprietary generation services returned fewer samples because their safety filters rejected requests. The editing masks also reflect the benchmark's compositing procedure and connected-region thresholds, which can affect how well localization scores transfer to raw editing outputs that include subtle or diffuse changes.
Recommendations
Report results separately for Photo and Art, and break them down by synthesis type where possible. The paper reports accuracy, average precision where applicable, and class-specific detection accuracy. It computes mean intersection over union (mIoU) on partially synthetic images. When evaluating a released subset, document the release version and the samples used so that readers can interpret comparisons with the full benchmark.
Citation
BibTeX
@misc{zhang2025uniaidetunifieduniversalbenchmark,
title={UniAIDet: A Unified and Universal Benchmark for AI-Generated Image Content Detection and Localization},
author={Huixuan Zhang and Xiaojun Wan},
year={2025},
eprint={2510.23023},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2510.23023},
}
Glossary
- Holistic synthesis generates the entire image.
- Partial synthesis generates a region within a source image.
- Localization identifies the pixels that belong to the generated region.
Dataset Card Contact
Huixuan Zhang (zhanghuixuan@stu.pku.edu.cn).
- Downloads last month
- 1,311