Absolute Zero-Shot Learning

Rui Gao, Fan Wan, Daniel Organisciak, Jiyao Pu, Junyan Wang, Haoran Duan, Peng Zhang, Xingsong Hou, Yang LongarXiv 2022

Abstract

Considering the increasing concerns about data copyright and privacy issues, we present a novel Absolute Zero-Shot Learning (AZSL) paradigm, i.e., training a classifier with zero real data. The key innovation is to involve a teacher model as the data safeguard to guide the AZSL model training without data leaking. The AZSL model consists of a generator and student network, which can achieve date-free knowledge transfer while maintaining the performance of the teacher network. We investigate 'black-box' and 'white-box' scenarios in AZSL task as different levels of model security. Besides, we also provide discussion of teacher model in both inductive and transductive settings. Despite embarrassingly simple implementations and data-missing disadvantages, our AZSL framework can retain state-of-the-art ZSL and GZSL performance under the 'white-box' scenario. Extensive qualitative and quantitative analysis also demonstrates promising results when deploying the model under 'black-box' scenario.

Introduction

Deep learning typically requires vast amounts of data, but real-world applications often face significant hurdles due to privacy regulations (such as GDPR), copyright restrictions, and the sensitive nature of information like medical or biometric records.

Traditional Zero-Shot Learning (ZSL) was designed to recognize "unseen" classes (e.g., a "zebra") by learning from "seen" classes (e.g., a "horse") using semantic descriptions like attributes. However, even traditional ZSL relies on thousands of real images of those "seen" classes during the training phase. This paper introduces Absolute Zero-Shot Learning (AZSL), a paradigm that enables training a ZSL model with zero access to real images, effectively bypassing data privacy concerns.

Comparison between traditional ZSL and the proposed AZSL paradigm. In AZSL, the client never sees real sensitive data, utilizing a teacher model as a safeguard.

Methodology

The AZSL framework utilizes a Teacher-Student architecture to facilitate data-free knowledge transfer between a Data Owner Server and an AI Service Client.

The Core Components

  1. The Teacher ($T$): Residing on the secure server, the teacher model is pre-trained on real, sensitive data. It serves as a "data safeguard," providing knowledge without exposing the raw data.
  2. The Generator ($G$): On the client side, a generator synthesizes visual features from random noise and semantic information (e.g., text attributes or BERT embeddings).
  3. The Guidance Loop: The client sends synthetic features to the server for evaluation. The teacher provides feedback based on two security scenarios:
  4. White-Box Scenario: The teacher shares internal weights or gradients, offering a strong training signal at a "mid-risk" level of information leakage.
  5. Black-Box Scenario: The teacher only provides softmax probability outputs, ensuring "low-risk" security but presenting a more challenging training environment.
  6. Data Verification: The client filters synthetic samples based on the teacher's feedback, ensuring the student model only learns from high-quality, recognizable features.
  7. The Student ($S$): The final classification model is trained on these verified synthetic features.
The detailed AZSL framework showing the interaction between the Generator (G), Teacher (T), and Student (S) across the information exchange boundary.

Experimental Evaluation

The authors evaluated AZSL on standard ZSL benchmarks, including AWA1 & AWA2 (Animals with Attributes) and aPY (Attribute Pascal and Yahoo). Semantic information was sourced from manual attributes and BERT-generated word embeddings.

Key Results

Despite the lack of real training data, AZSL achieves remarkable performance:

  • State-of-the-Art in White-Box: In Generalized ZSL (GZSL) on the aPY dataset, AZSL achieved a harmonic mean of 84.8%, outperforming several traditional methods that utilize real images.
  • Robustness: On the AWA2 dataset, it reached a harmonic mean of 82.7%, demonstrating its capability in complex multi-class recognition.
  • Black-Box Feasibility: While performance is lower in the Black-Box setting (e.g., 35.2% on aPY), it remains significantly better than random chance, proving that secure, data-free learning is viable.

Discussion and Insights

AZSL effectively uses synthetic data as a privacy shield. Instead of moving sensitive data to the model, it moves "knowledge" via synthetic features. Interestingly, qualitative analysis suggests that the generator learns to produce "idealized" versions of classes, which can be more clustered than real features, potentially mitigating the common ZSL issue of bias toward seen classes.

Limitations and Future Work

A significant performance gap remains between the White-Box and Black-Box scenarios. Future research will focus on improving generator efficiency in Black-Box settings, reducing communication overhead, and enhancing performance in inductive settings where the teacher has only seen a subset of the required classes.

Summary updated

BibTeX
@misc{gao2022absolute,
  author = {Rui Gao and Fan Wan and Daniel Organisciak and Jiyao Pu and Junyan Wang and Haoran Duan and Peng Zhang and Xingsong Hou and Yang Long},
  title = {{Absolute Zero-Shot Learning}},
  year = {2022},
  eprint = {2202.11319},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2202.11319},
}
Figure