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 条
  • [1] Modular-Relatedness for Continual Learning
    Shaker, Ammar
    Alesiani, Francesco
    Yu, Shujian
    ADVANCES IN INTELLIGENT DATA ANALYSIS XX, IDA 2022, 2022, 13205 : 290 - 301
  • [2] Continual Learning With Knowledge Distillation: A Survey
    Li, Songze
    Su, Tonghua
    Zhang, Xuyao
    Wang, Zhongjie
    IEEE TRANSACTIONS ON NEURAL NETWORKS AND LEARNING SYSTEMS, 2024,
  • [3] Continual learning with invertible generative models
    Pomponi, Jary
    Scardapane, Simone
    Uncini, Aurelio
    NEURAL NETWORKS, 2023, 164 : 606 - 616
  • [4] Quantum Continual Learning Overcoming Catastrophic Forgetting
    Jiang, Wenjie
    Lu, Zhide
    Deng, Dong-Ling
    CHINESE PHYSICS LETTERS, 2022, 39 (05)
  • [5] Continual Learning with Sparse Progressive Neural Networks
    Ergun, Esra
    Toreyin, Behcet Ugur
    2020 28TH SIGNAL PROCESSING AND COMMUNICATIONS APPLICATIONS CONFERENCE (SIU), 2020,
  • [6] Is Class-Incremental Enough for Continual Learning?
    Cossu, Andrea
    Graffieti, Gabriele
    Pellegrini, Lorenzo
    Maltoni, Davide
    Bacciu, Davide
    Carta, Antonio
    Lomonaco, Vincenzo
    FRONTIERS IN ARTIFICIAL INTELLIGENCE, 2022, 5
  • [7] Continual Deep Learning for Time Series Modeling
    Ao, Sio-Iong
    Fayek, Haytham
    SENSORS, 2023, 23 (16)
  • [8] From MNIST to ImageNet and back: benchmarking continual curriculum learning
    Faber, Kamil
    Zurek, Dominik
    Pietron, Marcin
    Japkowicz, Nathalie
    Vergari, Antonio
    Corizzo, Roberto
    MACHINE LEARNING, 2024, 113 (10) : 8137 - 8164
  • [9] A Comprehensive Survey of Continual Learning: Theory, Method and Application
    Wang, Liyuan
    Zhang, Xingxing
    Su, Hang
    Zhu, Jun
    IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, 2024, 46 (08) : 5362 - 5383
  • [10] Continual Learning Approach for Remote Sensing Scene Classification
    Ammour, Nassim
    Bazi, Yakoub
    Alhichri, Haikel
    Alajlan, Naif
    IEEE GEOSCIENCE AND REMOTE SENSING LETTERS, 2022, 19