Tau-Anchor
A robust deepfake and AI video detector
2 min read
The Tau-Anchor model from the CivicBench research is designed to spot AI-generated clips and maintains its accuracy even when bad actors try to bypass detection via subtle pixel tweaks. It analyzes short video snippets using the Delta-CLIP encoder (a ViT-H/14-based vision transformer) fine-tuned on attacked real and generated media. The model outputs a numeric score: if the threshold is exceeded, the video is flagged as AI-created. This tool is useful for researchers and moderators verifying the authenticity of political or news video footage.
Key features
- Attack resistance: maintains its verdict during pixel modifications (evasion and framing).
- Delta-CLIP encoder: uses an image-attack-pretrained model with fine-tuned final blocks.
- Precise margin tuning: accounts for fakes sitting closest to the detection threshold.
- High metrics: AUC reaches 0.941 on the CivicBench benchmark and up to 0.999 on GenVidBench.
What you can do
- Check a video clip for deepfakes using the CivicBench library.
- Run evaluations of detector resilience against adversarial attacks (PGD, APGD, Square).
- Fine-tune or retrain the model on your own datasets using the open repository.
Example
import civicbench
from tau_anchor import TauAnchorDetector
det = TauAnchorDetector.from_pretrained(device="cuda")
clip = next(iter(civicbench.load("path/to/civicbench")))
score = civicbench.score(det, clip.frames)
print(score)
Read more
DetailsInput: 11 RGB frames (512x512 resolution, roughly 8 frames per second).
Hardware requirements: GPU with mixed precision support (recommended for fast computation).
Model weight: around 320 MB for Tau-Anchor and about 4 GB for the base Delta-CLIP encoder.
Limitation: the model analyzes only the first 11 frames (~1.3 seconds) of silent video.










Comments