TL;DR
The paper introduces CrOss-sample Relational Fusion (CORF), a unified framework designed for Cross-Domain Class-Incremental Learning (CDCIL). CORF simultaneously tackles catastrophic forgetting and domain shift by using a dual-sensitive sample refinement mechanism to learn domain-agnostic features and a hierarchical kernel-based distillation strategy to preserve structural knowledge across tasks.
What Problem Does This Paper Address?
In real-world deployment, machine learning models face two major challenges: learning new categories over time (Class-Incremental Learning, or CIL) and adapting to new environments (Domain Generalization, or DG). For instance, an autonomous driving system trained to recognize vehicles on sunny urban roads must incrementally learn to identify novel transport modes while generalizing to rainy highways or rural environments.
Standard CIL methods prevent the model from forgetting old classes but fail under domain shifts. Conversely, DG methods handle domain shifts but assume a static, fully known set of classes. This paper addresses the intersection of both fields—Cross-Domain Class-Incremental Learning (CDCIL)—where a model must sequentially learn new classes from diverse seen domains and successfully generalize to entirely unseen domains during inference.
Methods
CORF consists of two main components that work at the data and structural levels:
- Dual-Sensitive Refinement (DSR): This data-augmentation strategy selectively blends training samples based on model confidence and spatial importance (derived via Grad-CAM):
- High-Confidence Blending: Samples with high predictive certainty are paired with same-class images from different domains. Their low-contribution regions (background noise) are blended, forcing the model to focus on domain-invariant core semantics.
- Low-Confidence Blending: Ambiguous or distorted samples are fused with different-class instances from the same domain within high-contribution regions to encourage feature disentanglement. These are assigned to temporary auxiliary classes to prevent decision-boundary corruption.
- Hierarchical Kernel-Based Distillation (HKD): To prevent catastrophic forgetting without relying on rigid logit matching (which fails when domains shift), HKD treats knowledge distillation as a geometry-aware relational alignment task. It extracts feature maps across multiple network depths and constructs sample-to-sample similarity matrices. It uses a hybrid kernel combining a Cosine kernel (for global angular alignment) and a Student-t kernel (for local neighborhood robustness) to enforce topological consistency between the old and current models.
Datasets
The authors evaluated CORF on three widely recognized domain generalization benchmarks using a class-split incremental protocol:
- OfficeHome: 65 classes split into 5-task and 13-task configurations across 4 domains (Art, Clipart, Product, Real).
- DomainNet: 345 classes divided into 5 tasks across multiple highly distinct domains.
- PACS: 7 classes starting with 3 base classes and adding 2 classes per incremental task across 4 domains (Photo, Art, Cartoon, Sketch).
Evaluation follows a domain-rotation protocol where one domain is completely hidden during training to serve as the Unseen Domain (UD), while the others act as Seen Domains (SD).
Key Insights and Ideas
- Confidence-Guided Blending Matters: Instead of uniform mixing (like CutMix), isolating high-confidence and low-confidence samples allows the model to treat stable semantic anchors differently from noisy, domain-distorted images.
- Relational Over Individual Distillation: Under domain shift, individual sample activations drift significantly. Distilling the geometric relationships (topology) between samples across multiple layers provides a much more stable supervisory signal for retaining old knowledge.
- The Hybrid Kernel Advantage: Combining Cosine and Student-t kernels allows the model to simultaneously preserve global semantic directions and local neighborhood structures, making it robust against abrupt representation shifts.
Key Results
CORF was integrated into several classic and state-of-the-art CIL baselines (e.g., Replay, iCaRL, DER, FOSTER) and consistently boosted performance:
- Substantial Gains on Baselines: On the DomainNet dataset (5 tasks), CORF improved the final accuracy of the MEMO baseline by 10.95% and the DER baseline by 8.26%.
- Balanced Performance: CORF significantly raised the Harmonic Mean (HM) between seen and unseen domains, proving that it doesn't just memorize training domains at the expense of generalization.
- Transformer Compatibility: The authors demonstrated that CORF can be plugged into prompt-based Vision Transformer (ViT) frameworks like L2P and DualPrompt, maintaining stable performance without causing prompt-space collapse.
Limitations and Future Work
- Backbone Dependency: CORF is primarily optimized for convolutional backbones where the entire feature extractor is trainable. Its performance gains are less pronounced on ViT frameworks that freeze the backbone and only tune lightweight prompts, as the representation space cannot be dynamically reshaped.
- Computational Overhead: Generating Grad-CAM masks and computing hierarchical kernel matrices increases training time by approximately 1.2× compared to standard baselines.
Future work will focus on extending CORF to more diverse incremental learning scenarios and handling more complex, real-world domain shifts.
Summary updated