International Journal of Computer Vision Computer Vision and Pattern Recognition
GRAIL: Granularity Adaptive Representation for Class-Incremental Learning with Granular-Ball
Abstract
Class-Incremental Learning (CIL) addresses the challenge of progressively integrating novel categories while preserving the ability to discriminate previously learned ones, striking a delicate balance between plasticity and stability. Due to storage limitations and privacy concerns, Non-Exemplar Class-Incremental Learning (NECIL) has attracted increasing attention, as it strictly prohibits access to previously encountered categories during training, which aggravates the problem of catastrophic forgetting. Although retaining class prototypes serves as a bridge for knowledge recall in NECIL, condensing complex class information into a fixed-granularity vector faces an inherent bottleneck in capturing the diverse patterns within the class distribution. Inspired by this, we propose the GRanularity Adaptive representation for Incremental Learning (GRAIL) under the non-exemplar setting, based on the premise that class distribution in the embedding space can be approximated by multiple local representations at different granularities. Specifically, the method integrates granular-ball computing into NECIL to adaptively represent class distributions using multiple hyperballs (granular-balls) at varying granularities. Benefiting from the granularity and computational adaptivity of granular-balls, the method effectively captures the multi-granularity distribution patterns of previously learned classes. Its expandable representation range further helps alleviate inter-task class distribution imbalance during the incremental learning process. In incremental phases, a multi-granularity-aware augmentation strategy is employed to preserve discriminability among encountered classes, and a multi-granularity-aware contrastive loss is minimized to promote representation separation between new and old tasks and maintain model plasticity. Extensive experiments on CIFAR-100, Tiny-ImageNet, ImageNet-Subset, and two additional fine-grained datasets demonstrate that GRAIL achieves competitive or superior performance across most evaluated settings. The source code will be available at https://github.com/AldrinLake/GRAIL.git .