TPR: Topology-Preserving Reservoirs for Generalized Zero-Shot Learning

Hui Chen, Yanbin Liu, Yongqiang Ma, Nanning Zheng, Xin Yu
2/3/2026

No official code found. Best implementation: AllenML-Chen/TPR (3 stars, last commit 2024-05-24).

Abstract

Pre-trained vision-language models (VLMs) such as CLIP have shown excellent performance for zero-shot classification. Based on CLIP, recent methods design various learnable prompts to evaluate the zero-shot generalization capability on a base-to-novel setting. This setting assumes test samples are already divided into either base or novel classes, limiting its application to realistic scenarios. In this paper, we focus on a more challenging and practical setting: generalized zero-shot learning (GZSL), i.e. , testing with no information about the base/novel division. To address this challenging zero-shot problem, we introduce two unique designs that enable us to classify an image without the need of knowing whether it comes from seen or unseen classes. Firstly , most existing methods only adopt a single latent space to align visual and linguistic features, which has a limited ability to represent complex visual-linguistic patterns, especially for fine-grained tasks. Instead, we propose a dual-space feature alignment module that effectively augments the latent space with a novel attribute space induced by a well-devised attribute reservoir. In particular, the attribute reservoir consists of a static vocabulary and learnable tokens complementing each other for flexible control over feature granularity. Secondly , finetuning CLIP models ( e.g. , prompt learning) on seen base classes usually sacrifices the model’s original generalization capability on unseen novel classes. To mitigate this issue, we present a new topology-preserving objective that can enforce feature topology structures of the combined base and novel classes to resemble the topology of CLIP. In this manner, our model will inherit the generalization ability of CLIP through maintaining the pairwise class angles in the attribute space. Extensive experiments on twelve object recognition datasets demonstrate that our model, termed Topology-Preserving Reservoir (TPR), outperforms strong baselines including both prompt learning and conventional generative-based zero-shot methods

DOISemantic Scholar

Code Implementations(1)

AllenML-Chen/TPRCommunity65%

Pytorch code of our NeurIPS paper: "TPR: Topology-Preserving Reservoirs for Generalized Zero-Shot Learning"

32PythonMay 22, 20242 years ago

Similar Papers

Cite this paper

@article{chen2026tpr,
  title  = {TPR: Topology-Preserving Reservoirs for Generalized Zero-Shot Learning},
  author = {Hui Chen and Yanbin Liu and Yongqiang Ma and Nanning Zheng and Xin Yu},
  year   = {2026},
  doi    = {10.52202/079017-3246},
  url    = {https://doi.org/10.52202/079017-3246},
  journal = {NEURIPS 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2f06bc35206c1d2261bf80114b014904386ed5d2.svg)](https://codeofpaper.com/paper/2f06bc35206c1d2261bf80114b014904386ed5d2)

Discussion