SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2401.15657 · AAAI · 2024

Data-Free Generalized Zero-Shot Learning

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

arXiv · PDF · Open in the Atlas

Code that ran

9 of 14 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 1 violated it and 1 has no contract verdict; 6 failures of our instrument; 5 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2401.15657.json · badge: /api/ran/2401.15657.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
ylong4/dfzsl canonical (classifier label)
classifier basis: census
8 ran · 4 no recorded run
ylong4/DFZSL community
Papers with Code archive
1 ran · 1 no recorded run
FunctionStatusWhere it lives
Generator Ran
ran on a synthesized input
ylong4/DFZSL/vdm/net.py
pointer only (licence: NONE) · get_code("69042e7f233f5bae")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ylong4/DFZSL when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

avg_entropy Ran
ran; our contract draft was wrong, not the code
ylong4/dfzsl/pt/feature_train_prompt.py
pointer only (licence: NONE) · get_code("441ae80dd4f616f3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ylong4/dfzsl when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

basic_clean Ran
ran; our contract draft was wrong, not the code
ylong4/dfzsl/clip/simple_tokenizer.py
pointer only (licence: NONE); the stored copy get_code serves, from ltpwy/MSCI, is pointer only (licence: NONE) · get_code("98f385d847636a3e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ylong4/dfzsl when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_class Ran
ran; our contract draft was wrong, not the code
ylong4/dfzsl/splits/extract_clip_feature.py
pointer only (licence: NONE) · get_code("845891e2cd517802")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ylong4/dfzsl when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_pairs Ran
ran; our contract draft was wrong, not the code
ylong4/dfzsl/clip/simple_tokenizer.py
pointer only (licence: NONE) · get_code("d919ae32e5e4e616")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ylong4/dfzsl when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

map_label Ran
ran, violated the contract we drafted
ylong4/dfzsl/pt/dataset.py
pointer only (licence: NONE); the stored copy get_code serves, from lijin118/LisGAN, is pointer only (licence: NONE) · get_code("7ac965f971d0020b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ylong4/dfzsl when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

pil_loader Ran
ran, honoured the contract we drafted
ylong4/dfzsl/pt/feature_train_prompt.py
pointer only (licence: NONE) · get_code("65754b7bbf87096d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ylong4/dfzsl when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

select_confident_samples Ran
ran; our contract draft was wrong, not the code
ylong4/dfzsl/pt/feature_train_prompt.py
pointer only (licence: NONE) · get_code("3ce4d11e58de02ad")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ylong4/dfzsl when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

whitespace_clean Ran
ran; our contract draft was wrong, not the code
ylong4/dfzsl/clip/simple_tokenizer.py
pointer only (licence: NONE); the stored copy get_code serves, from ltpwy/MSCI, is pointer only (licence: NONE) · get_code("9542161e9640b858")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ylong4/dfzsl when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

build_model Not yet run
unverified (harvested, no recorded run)
ylong4/dfzsl/clip/model.py
pointer only (licence: NONE); the stored copy get_code serves, from GIT-LJc/LogitGap, is pointer only (licence: NONE) · get_code("aa56b568a90f8516")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ylong4/dfzsl when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

load Not yet run
unverified (harvested, no recorded run)
ylong4/dfzsl/clip/clip.py
pointer only (licence: NONE); the stored copy get_code serves, from GIT-LJc/LogitGap, is pointer only (licence: NONE) · get_code("88d0e8acec4aead0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ylong4/dfzsl when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

read_classnames Not yet run
unverified (harvested, no recorded run)
ylong4/dfzsl/splits/split_imagenet.py
pointer only (licence: NONE) · get_code("7482e292b445c5b2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ylong4/dfzsl when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

read_data Not yet run
unverified (harvested, no recorded run)
ylong4/dfzsl/splits/split_imagenet.py
pointer only (licence: NONE) · get_code("0540e50b648ff63d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ylong4/dfzsl when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

weights_init Not yet run
unverified (harvested, no recorded run)
ylong4/DFZSL/vdm/net.py
pointer only (licence: NONE) · get_code("58207cc00eadcf04")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ylong4/DFZSL when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 14 samples lifted from this paper's linked repositories, 14 carry a function identity and 0 do not. Of the 14 distinct functions with an identity, 9 are also present in other papers whose code we hold (9 with at least one paper dated earlier, 3 the same month, 8 later) and 5 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
get_pairs 258 other papers
108 dated earlier, 3 the same month, 139 later, 7 same year, order not determinable, 1 undated · 4 only as an assembly brick
1802.06474 (2018-02)
A Closed-form Solution to Photorealistic Image Stylization
1803.01128 (2018-03)
Seq2Sick: Evaluating the Robustness of Sequence-to-Sequence Models with Adversarial Examples
1809.00125 (2018-09)
Simple Fusion: Return of the Language Model
and 255 more not named here
whitespace_clean 231 other papers
90 dated earlier, 3 the same month, 130 later, 7 same year, order not determinable, 1 undated · 4 only as an assembly brick
1901.07441 (2019-01)
PadChest: A large chest x-ray image dataset with multi-label annotated reports
2107.06383 (2021-07)
How Much Can CLIP Benefit Vision-and-Language Tasks?
2108.10904 (2021-08)
SimVLM: Simple Visual Language Model Pretraining with Weak Supervision
and 228 more not named here
basic_clean 218 other papers
90 dated earlier, 3 the same month, 117 later, 7 same year, order not determinable, 1 undated · 4 only as an assembly brick
1901.07441 (2019-01)
PadChest: A large chest x-ray image dataset with multi-label annotated reports
2107.06383 (2021-07)
How Much Can CLIP Benefit Vision-and-Language Tasks?
2108.10904 (2021-08)
SimVLM: Simple Visual Language Model Pretraining with Weak Supervision
and 215 more not named here
build_model 9 other papers
2 dated earlier, 7 later
2305.18010 (2023-05)
Test-Time Adaptation with CLIP Reward for Zero-Shot Generalization in Vision-Language Models
2311.15243 (2023-11)
ID-like Prompt Learning for Few-Shot Out-of-Distribution Detection
2403.12952 (2024-03)
Just Shift It: Test-Time Prototype Shifting for Zero-Shot Generalization with Vision-Language Models
and 6 more not named here
load 8 other papers
1 dated earlier, 7 later
2311.15243 (2023-11)
ID-like Prompt Learning for Few-Shot Out-of-Distribution Detection
2403.12952 (2024-03)
Just Shift It: Test-Time Prototype Shifting for Zero-Shot Generalization with Vision-Language Models
2403.14119 (2024-03)
C-TPT: Calibrated Test-Time Prompt Tuning for Vision-Language Models via Text Feature Dispersion
and 5 more not named here
map_label 8 other papers
7 dated earlier, 1 same year, order not determinable · 1 only as an assembly brick
1812.01784 (2018-12)
Generalized Zero- and Few-Shot Learning via Aligned Variational Autoencoders
1904.04092 (2019-04)
Leveraging the Invariant Side of Generative Zero-Shot Learning
1904.08703 (2019-04)
Out-of-Distribution Detection for Generalized Zero-Shot Action Recognition
and 5 more not named here
select_confident_samples 8 other papers
3 dated earlier, 5 later · 1 only as an assembly brick
2103.00020 (2021-03)
Learning Transferable Visual Models From Natural Language Supervision
2209.07511 (2022-09)
Test-Time Prompt Tuning for Zero-Shot Generalization in Vision-Language Models
2305.18010 (2023-05)
Test-Time Adaptation with CLIP Reward for Zero-Shot Generalization in Vision-Language Models
and 5 more not named here
avg_entropy 7 other papers
3 dated earlier, 4 later · 2 only as an assembly brick
2103.00020 (2021-03)
Learning Transferable Visual Models From Natural Language Supervision
2209.07511 (2022-09)
Test-Time Prompt Tuning for Zero-Shot Generalization in Vision-Language Models
2305.18010 (2023-05)
Test-Time Adaptation with CLIP Reward for Zero-Shot Generalization in Vision-Language Models
and 4 more not named here
read_classnames 2 other papers
1 dated earlier, 1 later
2309.05950 (2023-09)
Language Models as Black-Box Optimizers for Vision-Language Models
2510.22127 (2025-10)
Mint: A Simple Test-Time Adaptation of Vision-Language Models against Common Corruptions

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

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.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2401.15657")
get_code_for_paper("2401.15657")
have("2401.15657")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2401.15657.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2401.15657.svg)](https://syntology.ai/paper/2401.15657)

Connect an agent — have() is free.