mlsanityData to 14 Oct 2026

Continual Learning From a Stream of APIs

arXiv 2309.00023 ↗First posted 31 Aug 2023cs.LGcited by 6

Not on the map. Why?

Abstract (arXiv)

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 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 CIFAR10, CIFAR100, and MiniImageNet.

Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 60 of its 94 references that are in the map. First posted on arXiv 31 Aug 2023.

Builds on

60 of 94 references.

References · 60

  1. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  4. 2020Language Models are Few-Shot Learnerscited by 32,419
  5. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
  6. 2022Generative Adversarial Networkscited by 5,627
  7. 2016Overcoming catastrophic forgetting in neural networkscited by 4,787
  8. 2014Going Deeper with Convolutionscited by 4,241
  9. 2016Wide Residual Networkscited by 3,070
  10. 2016Matching Networks for One Shot Learningcited by 2,255
  11. 2020Extracting Training Data from Large Language Modelscited by 2,189
  12. 2017Gradient Episodic Memory for Continual Learningcited by 1,898
38 more
  1. 2020Knowledge Distillation: A Surveycited by 1,603
  2. 2018Continual Lifelong Learning with Neural Networks: A Reviewcited by 1,330
  3. 2017Memory Aware Synapses: Learning what (not) to forgetcited by 1,105
  4. 2020Dark Experience for General Continual Learning: a Strong, Simple Baselinecited by 911
  5. 2016Practical Black-Box Attacks against Machine Learningcited by 903
  6. 2017PackNet: Adding Multiple Tasks to a Single Network by Iterative Pruningcited by 898
  7. 2018Riemannian Walk for Incremental Learning: Understanding Forgetting and Intransigencecited by 742
  8. 2020Inverting Gradients -- How easy is it to break privacy in federated learning?cited by 712
  9. 2017Lifelong Learning with Dynamically Expandable Networkscited by 694
  10. 2018Overcoming catastrophic forgetting with hard attention to the taskcited by 681
  11. 2021Do Vision Transformers See Like Convolutional Neural Networks?cited by 675
  12. 2017ZOO: Zeroth Order Optimization based Black-box Attacks to Deep Neural Networks without Training Substitute Modelscited by 666
  13. 2017Decision-Based Adversarial Attacks: Reliable Attacks Against Black-Box Machine Learning Modelscited by 462
  14. 2019Orthogonal Gradient Descent for Continual Learningcited by 369
  15. 2021Gradient Projection Memory for Continual Learningcited by 348
  16. 2019On Tiny Episodic Memories in Continual Learningcited by 307
  17. 2018Knockoff Nets: Stealing Functionality of Black-Box Modelscited by 292
  18. 2022Black-Box Tuning for Language-Model-as-a-Servicecited by 256
  19. 2018Learning without Memorizingcited by 250
  20. 2019Data-Free Learning of Student Networkscited by 204
  21. 2019Episodic Memory in Lifelong Language Learningcited by 188
  22. 2018Continual Learning of Context-dependent Processing in Neural Networkscited by 179
  23. 2020A Primer on Zeroth-Order Optimization in Signal Processing and Machine Learningcited by 162
  24. 2020Using Hindsight to Anchor Past Knowledge in Continual Learningcited by 161
  25. 2019Uncertainty-based Continual Learning with Adaptive Regularizationcited by 146
  26. 2020Data-Free Model Extractioncited by 124
  27. 2020Continual Deep Learning by Functional Regularisation of Memorable Pastcited by 105
  28. 2020MAZE: Data-Free Model Stealing Attack Using Zeroth-Order Gradient Estimationcited by 99
  29. 2020Continual Learning in Low-rank Orthogonal Subspacescited by 99
  30. 2019Data-Free Adversarial Distillationcited by 90
  31. 2021Continual Learning for Text Classification with Information Disentanglement Based Regularizationcited by 86
  32. 2022TRGP: Trust Region Gradient Projection for Continual Learningcited by 82
  33. 2022I Know What You Trained Last Summer: A Survey on Stealing Machine Learning Models and Defencescited by 75
  34. 2021Flattening Sharpness for Dynamic Gradient Projection Memory Benefits Continual Learningcited by 72
  35. 2023A Comprehensive Survey of Forgetting in Deep Learning Beyond Continual Learningcited by 69
  36. 2020DaST: Data-free Substitute Training for Adversarial Attackscited by 60
  37. 2022BBTv2: Towards a Gradient-Free Future with Large Language Modelscited by 53
  38. 2021Posterior Meta-Replay for Continual Learningcited by 45

50 most cited of 60 All 60 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 1; 2025: 4; 2026: 1.

6 papers.