Lune

ICML2021Top-tier venue

Zero-Shot Knowledge Distillation from a Decision-Based Black-Box Model

Zi Wang

Abstract

Knowledge distillation (KD) is a successful approach for deep neural network acceleration, with which a compact network (student) is trained by mimicking the softmax output of a pre-trained high-capacity network (teacher). In tradition, KD usually relies on access to the training samples and the parameters of the white-box teacher to acquire the transferred knowledge. However, these prerequisites are not always realistic due to storage costs or privacy issues in real-world applications. Here we propose the concept of decisionbased black-box (DB3) knowledge distillation, with which the student is trained by distilling the knowledge from a black-box teacher (parameters are not accessible) that only returns classes rather than softmax outputs. We start with the scenario when the training set is accessible. We represent a sample's robustness against other classes by computing its distances to the teacher's decision boundaries and use it to construct the soft label for each training sample. After that, the student can be trained via standard KD. We then extend this approach to a more challenging scenario in which even accessing the training data is not feasible. We propose to generate pseudo samples distinguished by the teacher's decision boundaries to the largest extent and construct soft labels for them, which are used as the transfer set. We evaluate our approaches on various benchmark networks and datasets and experiment results demonstrate their effectiveness. Codes are available at: https://github.com/zwang84/zsdb3kd .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

15 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Defense against Model Extraction Attack by Bayesian Active Watermarking cites Defending against Data-Free Model Extraction by Distributionally Robust Defensive Training
  • Defense against Model Extraction Attack by Bayesian Active Watermarking cites Towards Data-Free Model Stealing in a Hard Label Setting
  • Data-Free Knowledge Distillation with Soft Targeted Transfer Set Synthesis cites Uncertainty-Aware Multi-Shot Knowledge Distillation for Image-Based Object Re-Identification
  • Data-Free Knowledge Distillation with Soft Targeted Transfer Set Synthesis cites Data-Free Learning of Student Networks
  • Defending against Data-Free Model Extraction by Distributionally Robust Defensive Training cites Towards Data-Free Model Stealing in a Hard Label Setting
  • Towards Data-Free Model Stealing in a Hard Label Setting cites Data-Free Learning of Student Networks
  • Fully Exploiting Every Real Sample: SuperPixel Sample Gradient Model Stealing cites Towards Data-Free Model Stealing in a Hard Label Setting
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers15

  1. Towards Data-Free Model Stealing in a Hard Label SettingSunandini Sanyal, Sravanti Addepalli, R. Venkatesh BabuCVPR 2022 · 76 citations
  2. Defending against Data-Free Model Extraction by Distributionally Robust Defensive TrainingZhenyi Wang, Li Shen, Tongliang Liu, Tiehang Duan et al.NeurIPS 2023 · 26 citations
  3. Defense against Model Extraction Attack by Bayesian Active WatermarkingZhenyi Wang, Yihan Wu, Heng HuangICML 2024 · 10 citations
  4. Language Modelling via Learning to RankArvid Frydenlund, Gagandeep Singh, Frank RudziczAAAI 2022 · 9 citations
  5. Fully Exploiting Every Real Sample: SuperPixel Sample Gradient Model StealingYunlong Zhao, Xiaoheng Deng, Yijing Liu, Xinjun Pei et al.CVPR 2024 · 6 citations

Builds on12

  1. Data-Free Learning of Student NetworksHanting Chen, Yunhe Wang, Chang Xu, Zhaohui Yang et al.ICCV 2019 · 427 citations
  2. Sign-OPT: A Query-Efficient Hard-label Adversarial AttackMinhao Cheng, Simranjit Singh, Patrick H. Chen, Pin-Yu Chen et al.ICLR 2020 · 256 citations
  3. Uncertainty-Aware Multi-Shot Knowledge Distillation for Image-Based Object Re-IdentificationXin Jin, Cuiling Lan, Wenjun Zeng, Zhibo ChenAAAI 2020 · 122 citations
  4. A Geometry-Inspired Decision-Based AttackYujia Liu, Seyed-Mohsen Moosavi-Dezfooli, Pascal FrossardICCV 2019 · 55 citations
  5. Data-Free Knowledge Distillation with Soft Targeted Transfer Set SynthesisZi WangAAAI 2021 · 35 citations

Related papers

  1. GrayKD: Distilling Better Knowledge from Black-box LLM via Multi-rationale InjectionHyeongsoo Lim, Hyung Yong Kim, Jin Young Kim, Min Ho Jang et al.AAAI 2026
  2. IDEAL: Query-Efficient Data-Free Learning from Black-Box ModelsJie Zhang, Chen Chen, Lingjuan LyuICLR 2023 · 5 citations
  3. Aligning Logits Generatively for Principled Black-Box Knowledge DistillationJing Ma, Xiang Xiang, Ke Wang, Yuchuan Wu et al.CVPR 2024 · 1 citation
  4. Medium-Difficulty Samples Constitute Smoothed Decision Boundary for Knowledge Distillation on Pruned DatasetsYudong Chen, Xuwei Xu, Frank de Hoog, Jiajun Liu et al.ICLR 2025
  5. Safe Distillation BoxJingwen Ye, Yining Mao, Jie Song, Xinchao Wang et al.AAAI 2022 · 14 citations
Dusk over the sea between two cliffs drawn in fine vertical lines