paper-with-me

Papers

Learning to Learn from APIs: Black-Box Data-Free Meta-Learning

2023-05-28 · Zixuan Hu, Li Shen, Zhenyi Wang, Baoyuan Wu, Chun Yuan, DaCheng Tao

Data-free meta-learning (DFML) aims to enable efficient learning of new tasks by meta-learning from a collection of pre-trained models without access to the training data. Existing DFML work can only meta-learn from (i) white-box and (ii) small-scale pre-trained models (iii) with the same architecture, neglecting the more practical setting where the users only have inference access to the APIs with arbitrary model architectures and model scale inside. To solve this issue, we propose a Bi-level Data-free Meta Knowledge Distillation (BiDf-MKD) framework to transfer more general meta knowledge from a collection of black-box APIs to one single meta model. Specifically, by just querying APIs, we inverse each API to recover its training data via a zero-order gradient estimator and then perform meta-learning via a novel bi-level meta knowledge distillation structure, in which we design a boundary query set recovery technique to recover a more informative query set near the decision boundary. In addition, to encourage better generalization within the setting of limited API budgets, we propose task memory replay to diversify the underlying task distribution by covering more interpolated tasks. Extensive experiments in various real-world scenarios show the superior performance of our BiDf-MKD framework.

📄 PDF Abstract BibTeX arXiv:2305.18413

Code (1)

Egg-Hu/BiDf-MKD 공식 구현 pytorch

Tasks

Few-Shot LearningKnowledge DistillationMeta-Learning

Methods 이 논문이 사용한 방법론

Knowledge Distillation A very simple way to improve the performance of almost any machine learning algorithm is to train many different models on the same data and then to average their predictions.…

Similar Papers 제목 키워드 기반

Black-Box Tuning for Language-Model-as-a-Service

2022-01-10 · Tianxiang Sun, Yunfan Shao, Hong Qian, Xuanjing Huang 외

Extremely large pre-trained language models (PTMs) such as GPT-3 are usually released as a service. It allows users to design task-specific prompts to query the PTMs through some black-box APIs. In such a scenario, which…

In-Context LearningLanguage ModelingLanguage Modelling

Continual Learning From a Stream of APIs

2023-08-31 · Enneng Yang, Zhenyi Wang, Li Shen, Nan Yin 외

Continual learning (CL) aims to learn new tasks without forgetting previous tasks. However, existing CL methods require a large amount of raw data, which is often unavailable due to copyright considerations and privacy r…

Continual Learning

Student Surpasses Teacher: Imitation Attack for Black-Box NLP APIs

2021-08-29 · COLING 2022 10 · Qiongkai Xu, Xuanli He, Lingjuan Lyu, Lizhen Qu 외

Machine-learning-as-a-service (MLaaS) has attracted millions of users to their splendid large-scale models. Although published as black-box APIs, the valuable models behind these services are still vulnerable to imitatio…

Domain AdaptationModel extractionUnsupervised Domain Adaptation

IDEAL: Query-Efficient Data-Free Learning from Black-box Models

2022-05-23 · Jie Zhang, Chen Chen, Lingjuan Lyu

Knowledge Distillation (KD) is a typical method for training a lightweight student model with the help of a well-trained teacher model. However, most KD methods require access to either the teacher's training data or mod…

Knowledge Distillation

Distributed Black-box Attack: Do Not Overestimate Black-box Attacks

2022-10-28 · Han Wu, Sareh Rowlands, Johan Wahlstrom

Black-box adversarial attacks can fool image classifiers into misclassifying images without requiring access to model structure and weights. Recent studies have reported attack success rates of over 95% with less than 1,…

Classificationimage-classificationImage Classification