Continual Learning From a Stream of APIs

被引:0
|
作者
Yang, Enneng [1 ]
Wang, Zhenyi [2 ]
Shen, Li [3 ,4 ]
Yin, Nan [5 ]
Liu, Tongliang [6 ]
Guo, Guibing [1 ]
Wang, Xingwei [1 ]
Tao, Dacheng [7 ]
机构
[1] Northeastern Univ, Shenyang 110004, Peoples R China
[2] Univ Maryland, College Pk, MD 20742 USA
[3] Sun Yat Sen Univ, Guangzhou 510275, Peoples R China
[4] JD Explore Acad, Beijing 101111, Peoples R China
[5] Mohamed bin Zayed Univ Artificial Intelligence, Abu Dhabi, U Arab Emirates
[6] Univ Sydney, Camperdown, NSW 2050, Australia
[7] Nanyang Technol Univ, Singapore 639798, Singapore
基金
中国国家自然科学基金; 国家重点研发计划;
关键词
Data-free learning; catastrophic forgetting; plasticity-stability; continual learning; NEURAL-NETWORKS; GAME; GO;
D O I
10.1109/TPAMI.2024.3460871
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
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 risks. Instead, stakeholders usually release pre-trained machine learning models as a service (MLaaS), which users can access via APIs. This paper considers two practical-yet-novel CL settings: data-efficient CL (DECL-APIs) and data-free CL (DFCL-APIs), which achieve CL from a stream of APIs with partial or no raw data. Performing CL under these two new settings faces several challenges: unavailable full raw data, unknown model parameters, heterogeneous models of arbitrary architecture and scale, and catastrophic forgetting of previous APIs. To overcome these issues, we propose a novel data-free cooperative continual distillation learning framework that distills knowledge from a stream of APIs into a CL model by generating pseudo data, just by querying APIs. Specifically, our framework includes two cooperative generators and one CL model, forming their training as an adversarial game. We first use the CL model and the current API as fixed discriminators to train generators via a derivative-free method. Generators adversarially generate hard and diverse synthetic data to maximize the response gap between the CL model and the API. Next, we train the CL model by minimizing the gap between the responses of the CL model and the black-box API on synthetic data, to transfer the API's knowledge to the CL model. Furthermore, we propose a new regularization term based on network similarity to prevent catastrophic forgetting of previous APIs. Our method performs comparably to classic CL with full raw data on the MNIST and SVHN datasets in the DFCL-APIs setting. In the DECL-APIs setting, our method achieves 0.97x, 0.75x and 0.69x performance of classic CL on the more challenging CIFAR10, CIFAR100, and MiniImageNet, respectively.
引用
收藏
页码:11432 / 11445
页数:14
相关论文
共 50 条
  • [21] SLER: Self-generated long-term experience replay for continual reinforcement learning
    Li, Chunmao
    Li, Yang
    Zhao, Yinliang
    Peng, Peng
    Geng, Xupeng
    APPLIED INTELLIGENCE, 2021, 51 (01) : 185 - 201
  • [22] Practical Recommendations for Replay-Based Continual Learning Methods
    Merlin, Gabriele
    Lomonaco, Vincenzo
    Cossu, Andrea
    Carta, Antonio
    Bacciu, Davide
    IMAGE ANALYSIS AND PROCESSING, ICIAP 2022 WORKSHOPS, PT II, 2022, 13374 : 548 - 559
  • [23] FoCL: Feature-oriented continual learning for generative models
    Lao, Qicheng
    Mortazavi, Mehrzad
    Tahaei, Marzieh
    Dutil, Francis
    Fevens, Thomas
    Havaei, Mohammad
    PATTERN RECOGNITION, 2021, 120
  • [24] Continual learning from demonstration of robotics skills
    Auddy, Sayantan
    Hollenstein, Jakob
    Saveriano, Matteo
    Rodriguez-Sanchez, Antonio
    Piater, Justus
    ROBOTICS AND AUTONOMOUS SYSTEMS, 2023, 165
  • [25] Continual Learning Based on Knowledge Distillation and Representation Learning
    Chen, Xiu-Yan
    Liu, Jian-Wei
    Li, Wen-Tao
    ARTIFICIAL NEURAL NETWORKS AND MACHINE LEARNING - ICANN 2022, PT IV, 2022, 13532 : 27 - 38
  • [26] Online continual learning with declarative memory
    Xiao, Zhe
    Du, Zhekai
    Wang, Ruijin
    Gan, Ruimeng
    Li, Jingjing
    NEURAL NETWORKS, 2023, 163 : 146 - 155
  • [27] Prediction and Control in Continual Reinforcement Learning
    Anand, Nishanth
    Precup, Doina
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 36 (NEURIPS 2023), 2023,
  • [28] Continual Learning for Fake Audio Detection
    Ma, Haoxin
    Yi, Jiangyan
    Tao, Jianhua
    Bai, Ye
    Tian, Zhengkun
    Wang, Chenglong
    INTERSPEECH 2021, 2021, : 886 - 890
  • [29] Toward durable representations for continual learning
    Alaa El Khatib
    Fakhri Karray
    Advances in Computational Intelligence, 2022, 2 (1):
  • [30] Continual Learning with Neural Networks: A Review
    Awasthi, Abhijeet
    Sarawagi, Sunita
    PROCEEDINGS OF THE 6TH ACM IKDD CODS AND 24TH COMAD, 2019, : 362 - 365