DiL: Discrete-anchored Representation Alignment for Semi-Supervised Continual Learning

Nanyi Wang, Chaojie Chen, Zuoqi Tang, Jinxiang Lai, Xingcai Wu, Qi WangICML 2026

Executive Summary

Semi-Supervised Continual Learning (SSCL) presents a highly realistic yet formidable challenge for AI: learning new tasks sequentially from a massive stream of mostly unlabeled data, with only a fraction of labeled examples. DiL (Discrete-anchored Incremental Learning) tackles the inherent instability of SSCL by grounding feature updates in stable, discrete "anchors." By selectively distilling only the most informative feature channels and proactively separating confusable classes in the representation space, DiL significantly reduces feature drift and class overlap, achieving state-of-the-art performance on challenging benchmarks like ImageNet-100.

The Challenge of Semi-Supervised Continual Learning

In real-world deployments, models must continuously adapt to new classes without forgetting old ones, often relying on abundant unlabeled data. This paradigm faces two major hurdles:

  1. Feature Drift: Most SSCL methods rely on "pseudo-labels" for unlabeled data. Because these labels are frequently incorrect, the errors are reinforced through dense distillation. This causes the model's internal representations to drift away from the ground truth.
  2. Boundary Erosion: As the model learns new classes with limited supervision, the decision boundaries between old ("base") and new ("novel") classes blur. The model forgets how to distinguish between visually similar categories because it lacks a structured mechanism to keep them separate.

Existing methods typically treat all feature dimensions equally, inadvertently allowing noise from incorrect pseudo-labels to propagate across the entire network and intensify base-novel interference.

Methodology: Discrete-anchored Incremental Learning (DiL)

To address these issues, the authors propose DiL, a framework that utilizes "discrete anchors" to stabilize the learning process. DiL consists of two primary innovations:

Discrete Contrastive Distillation (DCD)

Instead of forcing the student model to match the teacher model across every feature dimension (dense distillation), DCD introduces an Importance Mask. It identifies which feature channels are most relevant to a specific class based on activation frequency and magnitude. Distillation is then performed only on these key channels. By discretizing the distillation pathway, DCD effectively filters out the noise from unreliable pseudo-labels and curbs error reinforcement.

Class-Aware Channel-Chunked Encoding (CACE)

CACE manages the geometry of the feature space to prevent boundary erosion. It partitions the feature vector into "chunks" and assigns specific combinations of these chunks to different classes as "anchors." Crucially, CACE utilizes a confusion matrix to identify which base classes a novel class is likely to be confused with. It then assigns the new class an anchor that is near-orthogonal to those confusable base classes, proactively isolating them in the representation space.

Datasets and Evaluation

The researchers evaluated DiL across four standard computer vision benchmarks under class-incremental settings:

  • CIFAR-10 & CIFAR-100: Standard datasets used to test long-term stability and retention.
  • ImageNet-100: A complex, high-resolution subset of ImageNet, evaluated in a rigorous 20-task sequence.
  • CUB-200: A fine-grained dataset of bird species, testing the model's efficacy in few-shot scenarios where labels are extremely scarce.

Key Insights

  • Sparsity as a Shield: A core insight of DiL is that less is more when dealing with noisy pseudo-labels. By selectively updating only the most critical channels via DCD, the model becomes highly resilient to poisoned gradients.
  • Proactive Isolation: Rather than allowing the feature space to evolve chaotically, CACE provides a geometric blueprint. Forcing new classes into specific, non-overlapping chunks of the feature space maintains clear decision boundaries even under weak supervision.
  • Efficiency Gains: Despite introducing structural constraints, DiL actually reduces peak memory utilization (e.g., dropping from ~4.9 GB to ~3.8 GB on CIFAR-100) compared to prior state-of-the-art methods, without adding extra parameters or inference-time complexity.

Key Results

DiL consistently outperforms existing SSCL methods (such as DSGD and USP) across diverse protocols:

  • ImageNet-100 (1% labels): DiL achieved a remarkable 14.85% improvement in average incremental accuracy over the previous best method.
  • CIFAR-100: In low-label settings, DiL improved Last Task Accuracy by over 5%, demonstrating superior retention of old knowledge while acquiring new tasks.
  • Representation Stability: Quantitative metrics for Relative Drift and Boundary Margin confirmed that DiL's representations remain significantly more stable and separable over extended task sequences compared to baselines.

Limitations and Future Work

While discrete anchors prove highly effective, the current DiL architecture relies on a fixed channel selection and anchor configuration. In extremely long or open-ended data streams, these fixed assignments could eventually become a bottleneck as the feature space reaches its capacity. Future research will likely explore adaptive anchor designs capable of dynamically reconfiguring themselves as the data distribution shifts or as the model scales to an even larger number of classes.

Summary updated

BibTeX
@inproceedings{wang2026dil,
  author = {Nanyi Wang and Chaojie Chen and Zuoqi Tang and Jinxiang Lai and Xingcai Wu and Qi Wang},
  title = {{DiL: Discrete-anchored Representation Alignment for Semi-Supervised Continual Learning}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=pZiQlweASP},
}
Figure