Papers › Data-Free Generalized Zero-Shot Learning

Data-Free Generalized Zero-Shot Learning

28 Jan 2024arXiv:2401.15657archive 2025-07-28

Bowen Tang, Long Yan, Jing Zhang, Qian Yu, Lu Sheng, Dong Xu

Deep learning models have the ability to extract rich knowledge from large-scale datasets. However, the sharing of data has become increasingly challenging due to concerns regarding data copyright and privacy. Consequently, this hampers the effective transfer of knowledge from existing data to novel downstream tasks and concepts. Zero-shot learning (ZSL) approaches aim to recognize new classes by transferring semantic knowledge learned from base classes. However, traditional generative ZSL methods often require access to real images from base classes and rely on manually annotated attributes, which presents challenges in terms of data restrictions and model scalability. To this end, this paper tackles a challenging and practical problem dubbed as data-free zero-shot learning (DFZSL), where only the CLIP-based base classes data pre-trained classifier is available for zero-shot classification. Specifically, we propose a generic framework for DFZSL, which consists of three main components. Firstly, to recover the virtual features of the base data, we model the CLIP features of base class images as samples from a von Mises-Fisher (vMF) distribution based on the pre-trained classifier. Secondly, we leverage the text features of CLIP as low-cost semantic information and propose a feature-language prompt tuning (FLPT) method to further align the virtual image features and textual features. Thirdly, we train a conditional generative model using the well-aligned virtual image features and corresponding semantic text features, enabling the generation of new classes features and achieve better zero-shot generalization. Our framework has been evaluated on five commonly used benchmarks for generalized ZSL, as well as 11 benchmarks for the base-to-new ZSL. The results demonstrate the superiority and effectiveness of our approach. Our code is available in https://github.com/ylong4/DFZSL

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2401.15657")

Code

Syntology Ran 9 of 14 code samples harvested from 1 repository linked to this paper; 5 have no recorded run. Of those that ran: 1 ran · violated contract; 5 ran · our draft was wrong; 3 ran with no contract checked.

By repository: official repository: 14 samples from 1 repository, 9 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

ylong4/dfzsl officialmentioned in paperpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

14 samples harvested; 9 ran; 0 honoured the contract we drafted; 5 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · violated contract
5ran · our draft was wrong
3ran
5unverified

Licence: 14 of the 14 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from ylong4/DFZSL. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

Generator ylong4/DFZSL/vdm/net.py official repository ran · metamorphic tier: invariant no licence file found · pointer only · 69042e7f233f5bae · report
avg_entropy ylong4/dfzsl/pt/feature_train_prompt.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 441ae80dd4f616f3 · report
basic_clean ylong4/dfzsl/clip/simple_tokenizer.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 98f385d847636a3e · report
get_class ylong4/dfzsl/splits/extract_clip_feature.py official repository ran fingerprinted no licence file found · pointer only · 845891e2cd517802 · report
get_pairs ylong4/dfzsl/clip/simple_tokenizer.py official repository ran · our draft was wrong no licence file found · pointer only · d919ae32e5e4e616 · report
map_label ylong4/dfzsl/pt/dataset.py official repository ran · violated contract fingerprinted no licence file found · pointer only · 7ac965f971d0020b · report
pil_loader ylong4/dfzsl/pt/feature_train_prompt.py official repository ran no licence file found · pointer only · 65754b7bbf87096d · report
select_confident_samples ylong4/dfzsl/pt/feature_train_prompt.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 3ce4d11e58de02ad · report
whitespace_clean ylong4/dfzsl/clip/simple_tokenizer.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 9542161e9640b858 · report
build_model ylong4/dfzsl/clip/model.py official repository unverified no licence file found · pointer only · aa56b568a90f8516 · report
load ylong4/dfzsl/clip/clip.py official repository unverified no licence file found · pointer only · 88d0e8acec4aead0 · report
read_classnames ylong4/dfzsl/splits/split_imagenet.py official repository unverified no licence file found · pointer only · 7482e292b445c5b2 · report
read_data ylong4/dfzsl/splits/split_imagenet.py official repository unverified no licence file found · pointer only · 0540e50b648ff63d · report
weights_init ylong4/DFZSL/vdm/net.py official repository unverified no licence file found · pointer only · 58207cc00eadcf04 · report

Tasks

Generalized Zero-Shot LearningZero-Shot LearningZero-shot Generalization

1 archive task tag without a task page not shown.

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

ALIGNBASECLIP

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections