Deep Class-Incremental Learning From Decentralized Data

Xiaohan Zhang, Songlin Dong, Jinjie Chen, Qi Tian, Yihong Gong, Xiaopeng Hong

TL;DR

This paper introduces "Decentralized Class-Incremental Learning" (DCIL), a new paradigm for machine learning where data is continuously arriving from multiple decentralized sources, and models need to learn without centralizing this data. They propose the "Decentralized Composite Knowledge Incremental Distillation" (DCID) framework, which effectively addresses catastrophic forgetting in this challenging setting and achieves state-of-the-art results.

What Problem Does This Paper Address?

Traditional incremental learning (IL) assumes data arrives sequentially from a single source, making it prone to "catastrophic forgetting" – the model forgets old knowledge when learning new information. However, in many real-world scenarios, data is generated and stored across multiple distributed locations (e.g., user devices, sensors) and continuously streams in. Moving all this data to a central server for training is often impractical due to privacy concerns, communication costs, and storage limitations. Existing distributed learning (DL) and federated learning (FL) methods aggregate models but don't inherently handle continuous data streams. This paper bridges this gap by proposing DCIL, a framework that enables continuous learning from decentralized data without data centralization.

Methods

The core of the proposed solution is the Decentralized Composite Knowledge Incremental Distillation (DCID) framework, which comprises three key stages:

  1. Decentralized Incremental Knowledge Distillation (DID): This stage adapts existing class-incremental learning (CIL) methods to a decentralized setting. Local models are updated using their local data and a small "anchor set" of historical data to mitigate forgetting.
  2. Decentralized Collaborated Knowledge Distillation (DCD): To improve local model learning, an ensemble of local models acts as a "teacher" to guide each individual "student" local model. This is achieved using a small, shared dataset (without labels) to facilitate knowledge transfer among local models.
  3. Decentralized Aggregated Knowledge Distillation (DAD): This final stage aggregates knowledge from the local models to update the central "general" model. It starts with a weighted average of local models (similar to FedAvg) and then uses knowledge distillation from the ensemble of local models to refine the general model.

The paper also introduces a basic DCIL framework to serve as a benchmark, adapting existing CIL methods for decentralized use.

Datasets

The experiments were conducted on two standard datasets:

  • CIFAR100: A dataset of 60,000 natural RGB images across 100 classes.
  • SubImageNet: A subset of ImageNet, containing approximately 130,000 RGB images for training and 5,000 for testing, with 100 classes.

The authors also synthesized non-IID (non-independent and identically distributed) data distributions using the Dirichlet distribution to simulate realistic heterogeneous data scenarios.

Key Insights and Ideas

  • The Necessity of DCIL: The paper convincingly argues that existing IL, DL, and FL paradigms are insufficient for scenarios with continuous, decentralized data streams, highlighting the need for a new approach.
  • Knowledge Distillation as a Unifying Tool: DCID leverages knowledge distillation at multiple levels – within local models (DID), between local models (DCD), and from local to the general model (DAD) – to effectively transfer and consolidate knowledge.
  • Mitigating Model Drift: The proposed DAD stage, which goes beyond simple parameter averaging, is crucial for preventing "model drift" in the general model, a common issue when aggregating decentralized models.
  • Balancing Privacy and Performance: By using small, shared datasets without labels for inter-model communication, DCID strikes a good balance between preserving data privacy and achieving effective learning.

Key Results

  • Superior Performance: The proposed DCID framework consistently outperformed baseline DCIL methods (including those using FedAvg, FedMAX, and FedProx for aggregation) across various CIL algorithms (iCARL, LUCIR, ERDIL, TPCIL) and datasets (CIFAR100, SubImageNet).
  • Significant Gains: On SubImageNet, DCID achieved average accuracies up to 4.36% higher than the second-best method in the 5-session setting and up to 5.70% higher in final accuracy.
  • Robustness to Non-IID Data: DCID demonstrated strong performance even under highly heterogeneous data distributions (low alpha values in the Dirichlet distribution), outperforming the baseline by a notable margin.
  • Efficiency: The DCID framework showed reduced total training time compared to traditional centralized CIL approaches, as local models can be trained in parallel.

Limitations and Future Work

  • Limitations:
    • The paper acknowledges that larger shared datasets can improve performance but also increase communication costs and privacy risks. They found performance saturates beyond a certain point (e.g., 20 shared samples per class).
  • The performance of both baseline and DCID methods can decrease with an increasing number of local sites, which is a common observation in federated learning.
  • Future Work:
    • The authors suggest applying the proposed DCID framework to multi-robot systems, which inherently involve decentralized learning and continuous data streams.
  • Further exploration of hyperparameter tuning, particularly for the number of local epochs and shared samples, could yield additional improvements.

Summary updated

BibTeX
@article{zhang2022deep,
  author = {Xiaohan Zhang and Songlin Dong and Jinjie Chen and Qi Tian and Yihong Gong and Xiaopeng Hong},
  title = {{Deep Class-Incremental Learning From Decentralized Data}},
  journal = {IEEE Trans. Neural Networks Learn. Syst.},
  year = {2022},
  url = {https://openreview.net/forum?id=42NDejtHrW},
}
Figure