Hierarchical Text-mapped Visual Outlier Exposure for Open-Set Generative Model Attribution

Shuai Tang, Leyao Zhu, Peisong He, Haoliang Li, Hao Ren, Yinjie LeiarXiv 2026

TL;DR

When an AI-generated image appears online, forensic investigators often need to know which model created it—even if that specific model was never seen during training. HTVOE (Hierarchical Text-mapped Visual Outlier Exposure) solves this open-set attribution problem by organizing visual and textual clues into a two-tier hierarchy (model family vs. specific model) and inventing "unknown" text prompts that are mapped into the visual feature space as synthetic outliers. The result is a detector that spots unseen generative models—and even entirely unseen model architectures—with over 94% to 99% accuracy.

What Problem Does This Paper Address?

Early AI-image attribution tools worked in a "closed-set" world: they could tell a ProGAN image from a BigGAN image, provided both models were in the training set. In reality, new generators appear every month. Open-set model attribution asks a harder question: can a system attribute images from unseen models, or even unseen architectures (e.g., training only on GANs and Diffusion models, then being tested on Flow, VAE, or Autoregressive models)?

Existing open-set approaches fall into two camps:

  1. Reference-based methods, which compare a test image against a pre-collected reference database—making them only as good as the reference set.
  2. Classification-based methods, which train multi-class classifiers or simulate extra samples around known classes.

Both camps share a blind spot: they rely solely on model-level visual features, ignoring the broader architecture-level family traits and any textual supervision.

Figure 2: (a) The distributions of attribution features obtained from different generated images in the visual feature space via t-SNE. (b) The cosine similarity matrix of attribution features across generative models. Visual features exhibit hierarchical separability: architectures form distinct mani- folds, within which individual models cluster more tightly.

Methods

The authors build HTVOE on top of a frozen pre-trained CLIP (ViT-L/14) backbone, introducing three main components:

  • Unified Text-image Hierarchical Structure (UTHS): Instead of treating every generator as an isolated label, UTHS models both architecture-level (e.g., GAN, Diffusion) and model-level (e.g., ProGAN, ADM) features.
  • Textual side: Learnable architecture-level prompts are fed into a lightweight Conditional Network (Con-Net) to guide and initialize the model-level prompts.
  • Visual side: Intermediate (21st) and final (24th) ViT blocks extract architecture- and model-level features, respectively. To prevent CLIP's semantic focus from washing out subtle forensic traces, the authors insert a Multi-scale Dilated Convolution Adapter (MDC-Adapter) (with dilation rates $r=2, 4$) into the image encoder blocks.
  • Text-mapped Visual Outlier Generation (TVOG): To teach the network what "unknown" looks like, TVOG introduces learnable "unknown" text prompts (representing 4 unknown architectures and 8 unknown models). Because text and image features share CLIP's aligned space, these textual outliers act as visual-space outliers. The authors further blend them with known visual features using mixup (via a Beta distribution) and apply an outlier loss that forces the model to output a uniform (random-guess) probability distribution for these synthetic unknowns.
  • Cross-level and Cross-modality Alignment: Two auxiliary losses keep the geometry tidy: a cosine-similarity loss ($L_{level}$) tying model-level features to their parent architecture, and a Euclidean distance loss ($L_{mod}$) preventing text-image alignment from drifting during training.
Figure 3: The overview of our HTVOE framework. (a) Hierarchical attribution features are obtained using the text encoder with a Con-Net and the image encoder equipped with the MDC-Adapter. For simplicity, only abbreviations of architecture and model names are presented. (b) Cross-level alignment (Llevel), cross-modal alignment (Lmod) and cross entropy (Lce) are used to optimize the attribution network. (c) The textual outliers generated by the “unknown” prompts are mapped to the visual feature space and mixup is adopted to enhance the diversity.

Datasets

The authors assemble a benchmark of real images (from ImageNet) and synthetic images from 22 publicly available generators spanning five architectures (GAN, Diffusion, Flow, VAE, and Autoregressive). Training uses a low-shot setup of 250 images per generator, while testing uses 2,000 images per generator across two protocols:

  • Protocol-1 (Unseen models, seen architectures): Trained on real images + 8 seen models (4 GANs: ProGAN, StarGAN, CycleGAN, BigGAN; 4 Diffusion: Glide, ADM, diffusion1.5, VQDM). Tested on those plus 10 unseen models from the same families (StyleGAN, GauGAN, SAGAN, MMDGAN, DALLE2, Midjourney, diffusion1.4, Wukong, flux, diffusion3.5).
  • Protocol-2 (Unseen architectures): Same training set, tested on completely different generative mechanisms: Flow-based (Glow), VAE-based (NVAE), and Autoregressive (Infinity, CCA).

Key Insights and Ideas

  • Generation artifacts are naturally hierarchical: A quick t-SNE and similarity check on vanilla CLIP features reveals that models from the same architecture form broad manifolds, while individual models cluster tightly inside them. Exploiting this two-tier structure gives the network a much stronger inductive bias.
  • Text is a cheap, controllable outlier factory: Generating realistic visual outliers directly in pixel or feature space is notoriously hard. By defining "unknown" in text space and leaning on CLIP's cross-modal alignment (plus mixup), HTVOE carves out cleaner decision boundaries around known classes without ever seeing a real unknown image.
  • Diffusion models are harder to attribute than GANs: Across most methods in Protocol-1, unseen diffusion models proved trickier to spot than unseen GANs—likely because early GANs rely on cascaded upsampling blocks and single-step generation that leave behind louder, periodic fingerprints.

Key Results

HTVOE outperforms all compared closed-set and open-set baselines across both protocols:

  • Protocol-1 (Unseen Models): Achieves 99.41% closed-set accuracy, 94.98% AUC, and 94.73% OSCR on all unseen models—beating the next-best open-set methods (Cioni et al. at 83.59% AUC / 83.06% OSCR, and Li et al. at 82.06% AUC / 80.86% OSCR) by more than 10 percentage points.
  • Protocol-2 (Unseen Architectures): Reaches 99.21% AUC and 98.77% OSCR across unseen Flow, VAE, and Autoregressive models.
  • Feature Clustering: On unseen samples, HTVOE achieves the highest Average Purity (78.35% in Protocol-1, 92.82% in Protocol-2), NMI, and ARI.
  • Ablations: Removing the hierarchical structure drops open-set AUC/OSCR by over 5% (to 89.75% / 89.55%), swapping out the MDC-Adapter drops it to 90.22% / 90.06%, and removing TVOG outlier exposure drops it to 86.93% / 86.85%.
Table 1: Performance evaluation and comparison with other state-of-the-art methods in Protocol-1 (%).

Limitations and Future Work

  • Prompt redundancy: While adding more "unknown" prompts generally boosts outlier diversity and open-set performance, pushing the count too high can introduce redundant information during training.
  • Beyond static images: The authors note that extending HTVOE to AI-generated video attribution by incorporating temporal information is a promising next step.

Summary updated

BibTeX
@misc{tang2026hierarchical,
  author = {Shuai Tang and Leyao Zhu and Peisong He and Haoliang Li and Hao Ren and Yinjie Lei},
  title = {{Hierarchical Text-mapped Visual Outlier Exposure for Open-Set Generative Model Attribution}},
  year = {2026},
  eprint = {2612.05358},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2612.05358},
}
Figure