[Paper Review] Heterogeneous Forgetting Compensation for Class-Incremental Learning
This paper proposes Heterogeneous Forgetting Compensation (HFC), a novel class-incremental learning framework that addresses heterogeneous forgetting by jointly optimizing representation and gradient aspects. It introduces a task-semantic aggregation block for learning task-shared representations and two plug-and-play losses—gradient-balanced forgetting compensation and relation distillation—to balance gradient updates across old classes, achieving state-of-the-art accuracy on CIFAR-100 with 79.4% average accuracy under ViT-Base.
Class-incremental learning (CIL) has achieved remarkable successes in learning new classes consecutively while overcoming catastrophic forgetting on old categories. However, most existing CIL methods unreasonably assume that all old categories have the same forgetting pace, and neglect negative influence of forgetting heterogeneity among different old classes on forgetting compensation. To surmount the above challenges, we develop a novel Heterogeneous Forgetting Compensation (HFC) model, which can resolve heterogeneous forgetting of easy-to-forget and hard-to-forget old categories from both representation and gradient aspects. Specifically, we design a task-semantic aggregation block to alleviate heterogeneous forgetting from representation aspect. It aggregates local category information within each task to learn task-shared global representations. Moreover, we develop two novel plug-and-play losses: a gradient-balanced forgetting compensation loss and a gradient-balanced relation distillation loss to alleviate forgetting from gradient aspect. They consider gradient-balanced compensation to rectify forgetting heterogeneity of old categories and heterogeneous relation consistency. Experiments on several representative datasets illustrate effectiveness of our HFC model. The code is available at https://github.com/JiahuaDong/HFC.
Motivation & Objective
- To address the limitation in existing class-incremental learning (CIL) methods that assume uniform forgetting across old classes, neglecting inherent forgetting heterogeneity.
- To investigate how different old classes—especially those with diverse appearances (e.g., car, bus) versus distinct attributes (e.g., road, traffic sign)—exhibit varying forgetting speeds.
- To reduce forgetting heterogeneity by jointly optimizing representation learning and gradient update balance across old categories.
- To develop a plug-and-play framework that improves forgetting compensation without architectural changes, enhancing generalization in continual learning.
Proposed method
- Introduces a task-semantic aggregation (TSA) block that aggregates local category features within each task to learn global, task-shared representations, reducing representation-level forgetting heterogeneity.
- Proposes a gradient-balanced forgetting compensation (GFC) loss that dynamically adjusts gradient updates based on forgetting severity per old class, ensuring balanced optimization across heterogeneous classes.
- Designs a gradient-balanced relation distillation (GRD) loss to preserve inter-class relationships among old categories, maintaining consistency in learned feature relations during incremental learning.
- Combines TSA, GFC, and GRD into a unified HFC framework that operates as a plug-in module, compatible with existing CIL backbones like ViT-Base and ResNet-32.
- Employs a variance-based forgetting heterogeneity (FH) metric to quantify and analyze the degree of imbalanced forgetting across old classes.
- Uses a unified training objective that integrates knowledge distillation, replay-free learning, and gradient balancing to minimize forgetting while maintaining accuracy on old classes.
Experimental results
Research questions
- RQ1How does forgetting heterogeneity—where some old classes are forgotten faster than others—affect the performance of existing class-incremental learning models?
- RQ2Can learning task-shared global representations through a task-semantic aggregation block reduce forgetting heterogeneity in class-incremental learning?
- RQ3To what extent can gradient-balanced compensation losses mitigate imbalanced gradient propagation across old classes with varying forgetting tendencies?
- RQ4Does the combination of representation-level and gradient-level compensation lead to improved generalization and reduced forgetting on both easy-to-forget and hard-to-forget categories?
- RQ5How does the proposed HFC model compare to state-of-the-art CIL methods in terms of average accuracy and forgetting heterogeneity on standard benchmarks?
Key findings
- HFC achieves 79.4% average accuracy on CIFAR-100 with ViT-Base and 5 tasks, outperforming the previous SOTA method (FOSTER) by 0.6 percentage points.
- The forgetting heterogeneity (FH) metric drops from 131.5 in the baseline to 103.6 in HFC, demonstrating significant reduction in imbalanced forgetting across old classes.
- The ablation study confirms that all components—TSA, GFC, and GRD—contribute synergistically, with the full HFC model reducing FH by 21.8% compared to the baseline.
- When combined with ResNet-32, HFC improves average accuracy by 0.7–0.8 points over baselines, with a 12.6% improvement in the upper bound gap for AFC.
- The task-wise performance analysis shows HFC consistently outperforms other methods across all incremental tasks, especially in later stages where forgetting is most severe.
- The gradient-balanced losses effectively reduce over-compensation for hard-to-forget classes and prevent under-compensation for easy-to-forget ones, as validated by the FH metric and accuracy curves.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.