arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.18413cs.LGcs.AIcs.CV
收藏

学习从 API 中学习:黑箱无数据元学习

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

Tsinghua University(清华大学);Tsinghua Shenzhen International Graduate School(清华大学深圳国际研究生院);JD Explore Academy(京东探索研究院);University at Buffalo(纽约州立大学布法罗分校);School of Data Science, the Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳)数据科学学院);School of Computer Science, the University of Sydney(悉尼大学计算机科学学院)

Zixuan Hu, Li Shen, Zhenyi Wang, Baoyuan Wu, Chun Yuan, Dacheng Tao

AI总结:

针对只能黑箱访问任意架构与规模 API 的无数据元学习问题,提出 BiDf-MKD,通过零阶反演、双层蒸馏、边界查询恢复和任务记忆回放迁移元知识并取得优越性能。

摘要:

无数据元学习(DFML)旨在通过从一组预训练模型进行元学习,在无法访问训练数据的情况下实现对新任务的高效学习。现有 DFML 工作只能从以下模型进行元学习:(i)白盒模型,(ii)小规模预训练模型,并且(iii)具有相同架构,忽视了更实际的场景:用户只能以推理方式访问 API,而 API 内部具有任意模型架构和模型规模。为解决该问题,我们提出双层无数据元知识蒸馏(BiDf-MKD)框架,将更通用的元知识从一组黑箱 API 迁移到单个元模型。具体而言,仅通过查询 API,我们利用零阶梯度估计器对每个 API 进行反演以恢复其训练数据,随后通过新颖的双层元知识蒸馏结构执行元学习;在该结构中,我们设计了边界查询集恢复技术,以在决策边界附近恢复信息更丰富的查询集。此外,为在有限 API 预算设置下促进更好的泛化,我们提出任务记忆回放,通过覆盖更多插值任务来使潜在任务分布多样化。在多种真实场景中的大量实验表明,我们的 BiDf-MKD 框架具有优越性能。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑