arXiv:2611.03132cs.CVNov 2026

Manuscript Offprint

arXiv:2611.03132

Behavioral Affinity Transduction for Zero-Shot Vision-Language Classification

Junxi Huang, Wenshuo Chen, Xiucheng Wang, Meitong Shen, Shaofeng Liang, Yuehan Kou, Yutao Yue, Nan Cheng

ABSTRACT

An image that is hard to classify on its own may have a helpful neighbor in the same unlabeled batch. Zero-shot vision-language models (VLMs) score images independently and leave this evidence unused. We study small unlabeled query batches with no labeled examples. Visual similarity can reflect pose or background, so it may connect images from different classes. Each image's scores over the class vocabulary offer another way to choose neighbors. We introduce Behavioral Affinity Transduction (BAT), which builds a sparse graph from these class-response profiles. The graph supplies neighbor evidence during prediction. For EM-Dirichlet, it also screens candidate classes and initializes assignments. BAT plugs into direct and iterative readouts of a frozen VLM. Across diverse datasets, BAT improves the mean accuracy of every tested readout. In the main RN50 comparison, soft and hard EM-Dirichlet gain 4.22 and 2.72 percentage points.

Index Terms— Vision-language models, zero-shot classification, transductive inference, affinity graphs, class response

1. INTRODUCTION

Consider a small album of pet photos. One beagle is partly hidden by a blanket, while another is clearly visible. A terrier in the same room may resemble the hidden beagle more because of the background. A zero-shot vision-language model (VLM) such as CLIP scores each photo against breed names independently [1]. The clear beagle could help label the hidden one if the model knew which photos to compare. Video clips and photo collections often provide such unlabeled groups. Transductive inference uses the group to refine predictions jointly.

We study one unlabeled batch of N=75N = 75 images with a frozen VLM and the full class vocabulary. There are no labeled support images or other test samples. EM-Dirichlet fits class distributions to batch responses [2], and StatA adapts to

Figure

Fig. 1. OxfordPets visual and response t-SNE projections.

the classes present [3]. These methods estimate class usage across the batch. A difficult image still needs relevant peers. TransCLIP uses visual affinities [4]. ZLaP and ECALP propagate labels on image-text graphs [5, 6], with ZLaP's transductive version using the full test set. In a batch of 75, a misplaced edge can pass evidence from the wrong image.

Occlusion can separate the beagles in visual space. Their scores over the same breed names may still agree. Figure 1 shows this pattern on OxfordPets. BAT uses the full class response to find images with similar plausible labels and joins them in a sparse graph.

BAT fits between the frozen VLM and a readout, as Fig. 2 shows. It builds one graph from cached class responses, then gathers neighboring assignments into a class message at each step. Direct prediction uses the message to revise scores. Iterative readouts use it to update assignments. EM-Dirichlet also uses the graph to screen candidate classes and initialize assignments. The encoders and class prototypes stay fixed, making BAT a plug-and-play module.

We make three contributions.

  • We build a sparse graph from class responses to link images with shared category evidence.

  • BAT shares one graph across seven readouts of a frozen VLM as a plug-and-play module.

  • At N=75N = 75, all seven readouts gain mean accuracy on ten datasets. Response graphs also outperform visual graphs for EM-Dirichlet.

Corresponding authors are *Nan Cheng (dr.nan.cheng@ieee.org) and †Yutao Yue (yutaoyue@hkustgz.edu.cn).

Figure

Fig. 2. BAT graph construction and readout integration.