Update README.md
Browse files
README.md
CHANGED
|
@@ -7,7 +7,91 @@ tags:
|
|
| 7 |
- image
|
| 8 |
size_categories:
|
| 9 |
- 1M<n<10M
|
|
|
|
|
|
|
| 10 |
---
|
|
|
|
|
|
|
| 11 |
[Paper](https://arxiv.org/abs/2411.04125)/[Project Page](https://jespark.net/projects/2024/community_forensics/)
|
| 12 |
|
| 13 |
-
Currently working on formatting and uploading the data. Full dataset will be released in the coming weeks.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
- image
|
| 8 |
size_categories:
|
| 9 |
- 1M<n<10M
|
| 10 |
+
language:
|
| 11 |
+
- en
|
| 12 |
---
|
| 13 |
+
|
| 14 |
+
# Dataset Description
|
| 15 |
[Paper](https://arxiv.org/abs/2411.04125)/[Project Page](https://jespark.net/projects/2024/community_forensics/)
|
| 16 |
|
| 17 |
+
Currently working on formatting and uploading the data. Full dataset will be released in the coming weeks.
|
| 18 |
+
|
| 19 |
+
## Dataset Summary
|
| 20 |
+
- The Community Forensics dataset is a dataset intended for developing and benchmarking forensics methods that detect or analyze AI-generated images. It contains 2.7M generated images collected from 4803 generator models.
|
| 21 |
+
|
| 22 |
+
## Supported Tasks
|
| 23 |
+
- Image Classification: identify whether the given image is AI-generated. We mainly study this task in our paper, but other tasks may be possible with our dataset.
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
# Dataset Structure
|
| 27 |
+
## Data Instances
|
| 28 |
+
Our dataset is formatted in a Parquet data frame of the following structure:
|
| 29 |
+
```
|
| 30 |
+
{
|
| 31 |
+
"image_name": "00000162.png",
|
| 32 |
+
"format": "PNG",
|
| 33 |
+
"resolution": "[512, 512]",
|
| 34 |
+
"image_data": "b'\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\..."
|
| 35 |
+
"model_name": "stabilityai/stable-diffusion-2",
|
| 36 |
+
"prompt": "montreal grand prix 2018 von icrdesigns",
|
| 37 |
+
"real_source": "LAION",
|
| 38 |
+
"subset": "Systematic",
|
| 39 |
+
"split": "train",
|
| 40 |
+
}
|
| 41 |
+
```
|
| 42 |
+
|
| 43 |
+
## Data Fields
|
| 44 |
+
`image_name`: Filename of an image. \
|
| 45 |
+
`format`: PIL image format. \
|
| 46 |
+
`resolution`: Image resolution. \
|
| 47 |
+
`image_data`: Image data in byte format. Can be read using Python's BytesIO. \
|
| 48 |
+
`model_name`: Name of the model used to sample this image. Has format {author_name}/{model_name} for `Systematic` subset, and {model_name} for other subsets. \
|
| 49 |
+
`prompt`: Input prompt (if exists). \
|
| 50 |
+
`real_source`: Paired real dataset(s) that was used to source the prompts or to train the generators. \
|
| 51 |
+
`subset`: Denotes which subset the image belongs to (Systematic: Hugging Face models, Manual: manually downloaded models, Commercial: commercial models). \
|
| 52 |
+
`split`: Train/test split.
|
| 53 |
+
|
| 54 |
+
## Data splits
|
| 55 |
+
`Systematic`: Systematically downloaded subset of the data (data downloaded from Hugging Face via automatic pipeline) \
|
| 56 |
+
`Manual`: Manually downloaded subset of the data \
|
| 57 |
+
`Commercial`: Commercial models subset
|
| 58 |
+
|
| 59 |
+
# Dataset Creation
|
| 60 |
+
## Curation Rationale
|
| 61 |
+
This dataset is created to address the limited model diversity of the existing datasets for generated image detection. While some existing datasets contain millions of images, they are typically sampled from handful of generator models. We instead sample 2.7M images from 4803 generator models, approximately 34 times more generators than the most extensive previous dataset that we are aware of.
|
| 62 |
+
|
| 63 |
+
## Collection Methodology
|
| 64 |
+
We collect generators in three different subgroups. (1) We systematically download and sample open source latent diffusion models from Hugging Face. (2) We manually sample open source generators with various architectures and training procedures. (3) We sample from both open and closed commercially available generators.
|
| 65 |
+
|
| 66 |
+
## Personal and Sensitive Information
|
| 67 |
+
The dataset does not contain any sensitive identifying information (i.e., does not contain data that reveals information such as racial or ethnic origin, sexual orientation, religious or political beliefs).
|
| 68 |
+
|
| 69 |
+
# Considerations of Using the Data
|
| 70 |
+
## Social Impact of Dataset
|
| 71 |
+
This dataset may be useful for researchers in developing and benchmarking forensics methods. Such methods may aid users in better understanding the given image. However, we believe the classifiers, at least the ones that we have trained or benchmarked, still show far too high error rates to be used directly in the wild which can lead to unwanted consequences (e.g., falsely accusing an author of creating fake images or allowing generated content to be certified as real).
|
| 72 |
+
|
| 73 |
+
## Discussion of Biases
|
| 74 |
+
The dataset has been primarily sampled from LAION captions. This may introduce biases that could be present in web-scale data (e.g., favoring human photos instead of other categories of photos). In addition, a vast majority of the generators we collect are derivatives of Stable Diffusion, which may introduce bias towards detecting certain types of generators.
|
| 75 |
+
|
| 76 |
+
## Other Known Limitations
|
| 77 |
+
The generative models are sourced from the community and may contain inappropriate content. While in many contexts it is important to detect such images, these generated images may require further scrutiny before being used in other downstream applications.
|
| 78 |
+
|
| 79 |
+
# Additional Information
|
| 80 |
+
## Acknowledgement
|
| 81 |
+
We thank the creators of the many open source models that we used to collect the Community Forensics dataset. We thank Chenhao Zheng, Cameron Johnson, Matthias Kirchner, Daniel Geng, Ziyang Chen, Ayush Shrivastava, Yiming Dou, Chao Feng, Xuanchen Lu, Zihao Wei, Zixuan Pan, Inbum Park, Rohit Banerjee, and Ang Cao for the valuable discussions and feedback. This research was developed with funding from the Defense Advanced Research Projects Agency (DARPA) under Contract No. HR001120C0123.
|
| 82 |
+
|
| 83 |
+
## Licensing Information
|
| 84 |
+
We release the dataset with a `cc-by-4.0` license for research purposes only. In addition, we note that each image in this dataset has been generated by the models with their respective licenses. We therefore provide metadata of all models present in our dataset with their license information. A vast majority of the generators use the [CreativeML OpenRAIL-M license](https://github.com/CompVis/stable-diffusion/blob/main/LICENSE). Please refer to the metadata for detailed licensing information for your specific application.
|
| 85 |
+
|
| 86 |
+
## Citation Information
|
| 87 |
+
```
|
| 88 |
+
@misc{park2024communityforensics,
|
| 89 |
+
title={Community Forensics: Using Thousands of Generators to Train Fake Image Detectors},
|
| 90 |
+
author={Jeongsoo Park and Andrew Owens},
|
| 91 |
+
year={2024},
|
| 92 |
+
eprint={2411.04125},
|
| 93 |
+
archivePrefix={arXiv},
|
| 94 |
+
primaryClass={cs.CV},
|
| 95 |
+
url={https://arxiv.org/abs/2411.04125},
|
| 96 |
+
}
|
| 97 |
+
```
|