Manuscript Offprint

arXiv:2608.26744

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

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

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Zehua Hao

Xidian University

Xi'an, Shaanxi, China

zhhao_2025@163.com

Yaoyang Du

Xidian University

Xi'an, Shaanxi, China

yaoyangdu@163.com

Fang Liu ∗^{*}

Xidian University

Xi'an, Shaanxi, China

f63liu@163.com

Xinyan Huang

Xidian University

Xi'an, Shaanxi, China

348445373@163.com

Qinliang Wang

Xidian University

Xi'an, Shaanxi, China

wangqinliang2025@163.com

Puhua Chen

Xidian University

Xi'an, Shaanxi, China

phchen@xidian.edu.cn

Zero-shot Discriminant Paradigm

(a) CLIP

(b) DCLIP

(c) WaffleCLIP (d) ComparativeCLIP

R.thr. Hummingbird

R.thr. Hummingbird

R.thr. Hummingbird

R.thr. Hummingbird

(e) CLS-RL

Figure

Generative Paradigm

Zero-shot Standalone Generative Paradigm

(f) Qwen3-VL

A photo of a R.thr. Hummingbird.

A photo of a R.thr. Hummingbird, which is/has/etc: a very small bird, a long, thin bill

A photo of a R.thr. Hummingbird, which is/has/etc: a brilliant ruby-red throat patch an extremely slender

A photo of a R.thr. Hummingbird, which is/has/etc: a brilliant ruby-red throat patch an extremely slender

Ours(Verifier): ZS Generative Paradigm

CLIP

Text

Encoder

CLIP

Image

Encoder

Generative VLM

(Qwen3-VL)

Observe

the image

with priors

R.thr.

Who predicts correctly?

CLIP top-1

Rufous Hummingbird

X

Standalone LVLM

Anna Hummingbird

X

Verifier (K=4)

R. thr. Hummingbird

✓

GT: Ruby throated Hummingbird

Figure 1: Paradigm comparison for zero-shot image classification.

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-K 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.

CCS Concepts

• Computing methodologies → Object recognition.

References (13)