CivicBench / README.md
Lumpus99's picture
Update card
1cd3acd verified
|
Raw History Blame Contribute Delete
5.59 kB
---
pretty_name: CivicBench
license: other
license_name: civicbench
license_link: https://huggingface.co/datasets/kurbanintelligencelab/CivicBench#licenses-and-terms
language:
- en
task_categories:
- video-classification
tags:
- ai-generated-video-detection
- deepfake-detection
- adversarial-robustness
- video-forensics
- political-video
- benchmark
size_categories:
- 10K<n<100K
configs:
- config_name: default
data_files:
- split: test
path: data/*/*.parquet
- config_name: real
data_files:
- split: test
path: data/real/*.parquet
- config_name: generated
data_files:
- split: test
path: data/generated/*.parquet
---
# CivicBench
**Robust detection of AI-generated political video.** CivicBench tests detectors of AI-generated video on political
scenes, clean and under attack in both directions: hiding a fake (evasion) and framing real footage as fake (framing).
[Paper (arXiv)](https://arxiv.org/abs/2611.29766) · [Code and attack toolkit](https://github.com/KurbanIntelligenceLab/CivicBench) · `pip install civicbench`
## Quick start
```python
import civicbench # pip install "civicbench[data]"
clips = civicbench.load() # this dataset, streamed: real and generated clips
results = civicbench.evaluate(my_detector, clips) # clean AUC and TPR, evasion and framing at 1, 2 and 4 gray levels
```
Or with the `datasets` library alone:
```python
from datasets import load_dataset
ds = load_dataset("kurbanintelligencelab/CivicBench", split="test", streaming=True) # or the "real" / "generated" config
```
No login and no form are needed.
## What is inside
| | Clips | Source |
|---|---|---|
| Real | 2,632 | Public-domain and openly licensed footage of briefings, speeches, legislatures, and protests: the White House, the US State Department, the US Senate, the Kremlin, and demonstrations on Wikimedia Commons |
| Generated | 10,800 | Eight open text-to-video generators, each rendering the same 1,350 prompts about invented politicians, parties, and countries in nine kinds of civic scenes |
Each row is one clip. The official test input is `frames`: 11 frames of 512 x 512 pixels, stored as lossless PNG,
with `frames_sha256` (the SHA-256 of the 11 x 512 x 512 x 3 uint8 array). `video_file` points to the clip's video in
`videos/`: the 4-second cut for real clips and the full render for generated clips, with `video_sha256`.
| Column | Real clips | Generated clips |
|---|---|---|
| `clip_id`, `label`, `scene_kind` | yes | yes |
| `frames`, `frames_sha256`, `video_file`, `video_sha256`, `changes` | yes | yes |
| `source`, `title`, `source_page`, `media_url`, `start_s`, `duration_s` | yes | |
| `licence`, `licence_url`, `creator`, `credit`, `upload_year`, `content_note` | yes | |
| `generator`, `generator_repo`, `generator_revision`, `generator_licence` | | yes |
| `prompt_id`, `prompt`, `political_level` (0 to 2), `seed`, `width`, `height`, `num_frames`, `fps`, `steps`, `guidance_scale`, `regeneration_round` | | yes |
The generators are Wan2.2-TI2V-5B, Wan2.1-T2V-1.3B, LTX-Video 0.9, Mochi 1 preview, CogVideoX1.5-5B,
HunyuanVideo-1.5, SANA-Video 2B, and Kandinsky 5.0 Video Lite. The prompt, seed, and settings of every generated clip
are listed, so any clip can be rendered again.
## Licenses and terms
**Real clips** keep their own licenses: public domain, CC0, CC BY, or CC BY-SA, given clip by clip in `licence` and
`licence_url`, with the creator and the required credit in `creator` and `credit`. Clips cut from CC BY-SA videos stay
under CC BY-SA. We add no terms to them.
**Generated clips** are released for research on detecting AI-generated video. Please:
- treat every generated clip as AI-generated, and say so wherever you show one;
- do not present a clip as real, and do not use the clips for disinformation, to influence elections, or to
impersonate anyone;
- follow the terms of the generator that rendered the clip (`generator_licence`).
Two generators add limits:
- **HunyuanVideo-1.5** (Tencent Hunyuan Community License): use its clips for evaluation only. Do not use them to
train, fine-tune, or otherwise improve any AI model, detectors included. Tencent's license does not cover the
European Union, the United Kingdom, or South Korea.
- **LTX-Video 0.9** (RAIL-M): research use only.
The generator developers (Alibaba, Lightricks, Genmo, Zhipu AI, Tencent, NVIDIA, and Kandinsky Lab) are not affiliated
with CivicBench and do not endorse it.
## Ethics and takedown
The real footage shows officials and members of the public at public events, published by governments or by their
uploaders under open licenses. The generated clips show invented people, parties, and countries. The release contains no
attacked real clips. Four real clips show non-sexual public nudity at street protests. They are `wc107445233_0` and
`wc107445233_1`, from a protest in Berlin, and `wc71000095_0` and `wc71000095_1`, from the 2014 World Naked Bike Ride in
Brighton. Filter them out by `clip_id` if your use needs that. To ask for a clip's removal, open an issue on
[GitHub](https://github.com/KurbanIntelligenceLab/CivicBench/issues) or email hkurban@hbku.edu.qa.
## Citation
```bibtex
@misc{cakiroglu2026civicbench,
title = {CivicBench: Robust Detection of AI-Generated Political Video},
author = {Cakiroglu, Mert Onur and Buxton, Elham and Dalkilic, Mehmet and Kurban, Hasan},
year = {2026},
eprint = {2611.29766},
archivePrefix = {arXiv},
primaryClass = {cs.CV},
url = {https://arxiv.org/abs/2611.29766}
}
```