CVMay 30

Images as Tables: In-Context Learning with TabPFN for Low-Data Detection of AI-Generated Images

arXiv:2606.0087274.9Has Code
AI Analysis

For the problem of detecting AI-generated images with limited labeled examples, this work offers a lightweight adaptation mechanism that avoids retraining, which is practically important for rapidly evolving generators.

The paper proposes a method for detecting AI-generated images by converting images into tabular features using a frozen DINOv3 backbone and PCA, then applying TabPFN for in-context classification without task-specific training. In low-data regimes, it outperforms the state-of-the-art detector LATTE by up to 8.2%, though LATTE remains stronger by 7.4% when many labeled samples from all generators are available.

AI-generated image detection is a moving-target problem: detectors trained on one generator often fail when a new generator appears, and only a few labeled examples are available. We study a simple image-to-table formulation for this regime, where each image is encoded by a frozen DINOv3 backbone, its CLS feature is reduced to a 500-dimensional structured row with PCA, and TabPFN performs real/fake classification by in-context tabular inference rather than task-specific classifier training. This turns fake-image detection into low-data structured prediction over learned visual features, making detector adaptation depend on the labeled context set instead of gradient-based fine-tuning. On GenImage, LATTE, a recent state-of-the-art detector, remains stronger when many labeled samples from all generators are available, by 7.4% in the largest pooled setting, but DINOv3-PCA-TabPFN is stronger in the practically important low-data regime, outperforming LATTE by up to 8.2%, and in transfer settings where the detector must generalize from one generator to another. These results position tabular foundation models as a strong complementary adaptation mechanism for image forensics, shifting adaptation from detector retraining to lightweight in-context updates with a small labeled set of examples. Code URL: https://github.com/jpwalter30/Towards-Generalizable-Detection-of-AI-Generated-Images

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes