[CVPR 2026] UniGenDet: A Unified Generative-Discriminative Framework

Yanran Zhang, Wenzhao Zheng†, Yifei Li, Bingyao Yu, Yu Zheng, Lei Chen, Jie Zhou*, Jiwen Lu
Department of Automation, Tsinghua University, China
*Corresponding author    †Project leader

UniGenDet Teaser

UniGenDet is a unified co-evolutionary framework that jointly optimizes image generation and generated-image detection in a single loop. By bridging generation and authenticity understanding through symbiotic multimodal self-attention, UniGenDet turns the traditional "generator vs. detector" arms race into a closed-loop collaboration.

This repository hosts the fine-tuned model weights for UniGenDet.

πŸ”— Links

πŸš€ Getting Started

The UniGenDet model supports two main tasks:

  1. Text-to-Image Generation (t2i)
  2. AI-Generated Image Detection and Explanation (detection)

To use these weights for generation, detection, or further fine-tuning, please refer to the official GitHub repository. The repository provides a comprehensive demo.py script for interactive inference.

Quick Inference Example Setup:

  1. Clone the GitHub repository: git clone https://github.com/Zhangyr2022/UniGenDet.git
  2. Install dependencies as outlined in the repo's README.md.
  3. Download the base BAGEL pretrained assets.
  4. Run demo.py pointing to this Hugging Face model directory.

For complete installation, data preparation, training (GDUF/DIGA), and evaluation instructions, please consult the main GitHub repository.

Citation

@article{zhang2026unigendet,
  title   = {UniGenDet: A Unified Generative-Discriminative Framework for Co-Evolutionary Image Generation and Generated Image Detection},
  author  = {Zhang, Yanran and Zheng, Wenzhao and Li, Yifei and Yu, Bingyao and Zheng, Yu and Chen, Lei and Zhou, Jie and Lu, Jiwen},
  journal = {CoRR},
  volume  = {abs/2604.21904},
  year    = {2026},
  url     = {[https://arxiv.org/abs/2604.21904](https://arxiv.org/abs/2604.21904)},
}
Downloads last month

-

Downloads are not tracked for this model. How to track
Safetensors
Model size
15B params
Tensor type
F32
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for Yanran21/UniGenDet

Base model

Qwen/Qwen2.5-7B
Finetuned
(29)
this model

Paper for Yanran21/UniGenDet