Dynamic Sub-graph Distillation for Robust Semi-supervised Continual Learning

Yan Fan, Yu Wang, Pengfei Zhu, Qinghua Hu

Introduction

Continual learning (CL) models are designed to learn from a stream of data without forgetting previously acquired knowledge. However, they often suffer from "catastrophic forgetting." While semi-supervised continual learning (SSCL) attempts to mitigate this by leveraging unlabeled data, it faces a significant hurdle: unreliable pseudo-labels. This paper introduces Dynamic Sub-Graph Distillation (DSGD), a method that shifts the focus from individual feature distillation to preserving high-order structural relationships between samples.

The SSCL framework and the phenomenon of catastrophic forgetting on unlabeled data.

The Challenge of SSCL

In SSCL, models encounter a sequence of tasks $D_1, ..., D_t$, each containing a small amount of labeled data and a larger pool of unlabeled data. Standard approaches often use knowledge distillation or pseudo-labeling on this unlabeled stream. However, as shown in Figure 1(b), the model's performance on unlabeled data from previous tasks degrades rapidly. Old models generate noisy, biased pseudo-labels for new data, and forcing a new model to mimic these flawed absolute predictions can actually accelerate forgetting rather than prevent it.

Dynamic Sub-Graph Distillation (DSGD)

To address the instability of raw feature distillation, DSGD proposes preserving the topology of the feature space. Instead of matching exact outputs, the model is trained to maintain the relative relationships between data points across tasks.

Methodology

  1. Dynamic Topology Graph Construction: For each training batch, a graph is constructed where nodes represent data samples (from both current data and a memory buffer). Edges are defined by the cosine similarity of their feature representations.
  2. Structure Distillation via PageRank: To capture local structural context, the method employs a K-order Personalized PageRank (PPR) algorithm. This generates a structural signature for each sample based on its relationship with its neighbors.
  3. Sub-Graph Distillation Loss: The objective function minimizes the difference between the structural signatures produced by the old model and the new model. By distilling the graph topology, the method becomes robust to the distribution shifts and label noise inherent in SSCL.

Experimental Evaluation

The authors evaluated DSGD on CIFAR-10, CIFAR-100, and ImageNet-100 under various label-scarcity regimes.

Comparison of incremental accuracy across different distillation targets and pseudo-labeling strategies.

Key Results

  • Performance in Sparse Regimes: On CIFAR-100 with only 20 labels per class (4% ratio), DSGD improved average incremental accuracy by 7.05% over an iCaRL+FixMatch baseline. In the extreme case of CIFAR-10 with 0.6% labels, the improvement reached 31.35%.
  • Efficiency: DSGD outperformed state-of-the-art methods like NNCSL while utilizing a 60% smaller memory buffer, demonstrating superior knowledge retention with fewer resources.
  • Ablation Insights: As illustrated in Figure 4, standard distillation strategies (like DistillAll) often underperform compared to ground-truth unlabeled data (GTUnlabel) because they propagate errors from noisy pseudo-labels. DSGD's structural approach bridges this gap by focusing on stable relational information.

Conclusion

DSGD demonstrates that preserving the structural topology of data is a more robust strategy for semi-supervised continual learning than traditional feature-based distillation. While a gap remains between SSCL and joint training on full datasets, DSGD provides a significant step toward making continual learning viable in data-constrained, real-world environments.

Summary updated

BibTeX
@inproceedings{fan2024dynamic,
  author = {Yan Fan and Yu Wang and Pengfei Zhu and Qinghua Hu},
  title = {{Dynamic Sub-graph Distillation for Robust Semi-supervised Continual Learning}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i11.29079},
}
Figure