cs.CVAug 27, 2026

G2D: Generative-to-Discriminative Collaborative Inference for Zero-Shot Image Classification

Authors: Zehua Hao, Fang Liu, Qinliang Wang, Yaoyang Du, Xinyan Huang, Puhua Chen

Organizations: Xidian University Xi’an, Shaanxi, China

Abstract

Zero-shot classification needs efficient label retrieval and fine-grained visual reasoning, yet discriminative and generative vision-language models fail in complementary ways.When CLIP's top-1 prediction is wrong, the correct label often remains in its top-KK shortlist, making disambiguation rather than recall the key challenge.Standalone generative models, however, are hindered by large label spaces and unconstrained outputs.This complementarity motivates separating broad candidate retrieval from fine-grained, image-grounded verification.We propose G2D, a training-free framework that uses a generative VLM to verify CLIP-retrieved candidates against the image.Candidate names and CLIP probabilities provide a structured prior for resolving visually similar classes.Fixed confidence routing, entropy-adaptive candidate sizing, and trie-constrained decoding focus generative reasoning on uncertain samples and ensure one valid output for each input at test time.Across eight benchmarks, G2D achieves 68.85% average accuracy, versus 59.35% for CLIP and 63.11% for the standalone VLM.Across seven generator configurations, candidate-set verification improves average accuracy by 1.08--27.42 percentage points.G2D also transfers to DCLIP, WaffleCLIP, and CuPL, supporting a practical interface between discriminative proposal and generative visual reasoning. Code: https://github.com/Harzva/G2D

Figures & tables

Explore similar work

CardsList
  1. Beyond Heuristic Prompting: A Concept-Guided Bayesian Framework for Zero-Shot Image Recognition

    Mar 9, 2026Hui Liu, Kecheng Chen, Jialiang Wang +3Zero-Shot Image ClassificationZero-Shot Learning

  2. Unlocking Few-Shot Capabilities in LVLMs via Prompt Conditioning and Head Selection

    Mar 25, 2026Adhemar de Senneville, Xavier Bou, Jérémy Anger +2Large Vision-Language ModelsZero-Shot Image Classification

  3. CLIP Embeddings for AI-Generated Image Detection: A Few-Shot Study with Lightweight Classifier

    May 15, 2025Ziyang OuAI-Generated Image Detection