Abstract:In storage-constrained class-incremental learning, models are required to learn new classes and maintain the ability to recognize old classes simultaneously. To address the inadequate visual representations caused by limited old-class samples and the imbalance in sample numbers between new and old classes, a data replay augmentation method is proposed. First, the backbone parameters of a pretrained vision-language model are frozen. Efficient fine-tuning is then performed via low-rank adaptation to adapt the model to the downstream tasks. Second, a vision-language cross-augmentation mechanism is developed. Visual features are enhanced with class text information through cross-attention. Text representations are then optimized using visual information in turn. Information complementarity between the two modalities is thus achieved. Finally, a sample weighting strategy based on intra-class correlations is designed. Intra-class correlations are calculated by the deviations of sample features from class prototypes to characterize the relationships among samples within each class. The correlation weights are combined with the reciprocal of the number of samples per class. Weights are constructed to account for both sample scarcity and semantic diversity.The sample imbalance between new and old classes is thereby alleviated. Experiments are conducted on three benchmark datasets: CIFAR-100, ImageNet-R and ImageNet-A. The results show that the proposed method achieves superior performance in both average classification accuracy and final classification accuracy.
[1] He K M, Zhang X Y, Ren S Q, et al. Deep residual learning for image recognition[C]//Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. Washington, USA: IEEE, 2016: 770-778. [2] Li Z Z, Hoiem D.Learning without forgetting[J]. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2018, 40(12): 2935-2947. [3] Han X, Zhang Z Y, Ding N, et al. Pre-trained models: past, pre-sent and future[J]. AI Open, 2021, 2: 225-250. [4] Chen S F, Ge C J, Tong Z, et al. AdaptFormer: adapting vision transformers for scalable visual recognition[C]//Proceedings of the 36th International Conference on Neural Information Processing Systems. Cambridge, USA: MIT Press, 2022: 16664-16678. [5] Radford A, Kim J W, Hallacy C, et al. Learning transferable visual models from natural language supervision[C]//Proceedings of the 38th International Conference on Machine Learning. San Diego, USA: JMLR, 2021: 8748-8763. [6] Dosovitskiy A, Beyer L, Kolesnikov A, et al. An image is worth 16×16 words: Transformers for image recognition at scale[EB/OL].[2026-07-09]. https://arxiv.org/pdf/2010.11929v2. [7] Aljundi R, Lin M, Goujaud B, et al. Gradient based sample selection for online continual learning[C]//Proceedings of the 33rd International Conference on Neural Information Processing Systems. Cambridge, USA: MIT Press, 2019: 11817-11826. [8] Huang C, Li Y N, Loy C C, et al. Learning deep representation for imbalanced classification[C]//Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. Washington, USA: IEEE, 2016: 5375-5384. [9] Gao R, Liu W W.DDGR: continual learning with deep diffusion-based generative replay[C]//Proceedings of the 40th International Conference on Machine Learning. San Diego, USA: PMLR, 2023: 10744-10763. [10] Dhar P, Singh R V, Peng K C, et al. Learning without memorizing[C]//Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. Washington, USA: IEEE, 2019: 5133-5141. [11] Wang Y, Zhou D W, Ye H J.Integrating task-specific and universal adapters for pre-trained model-based class-incremental learning[C]//Proceedings of the IEEE/CVF International Conference on Computer Vision. Washington, USA: IEEE, 2025: 806-816. [12] Wang Z F, Zhang Z Z, Lee C Y, et al. Learning to prompt for continual learning[C]//Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. Washington, USA: IEEE, 2022: 139-149. [13] Wang Z F, Zhang Z Z, Ebrahimi S, et al. DualPrompt: complementary prompting for rehearsal-free continual learning[C]//Proceedings of the 17th European Conference on Computer Vision. Berlin, Germany: Springer, 2022: 631-648. [14] Smith J S, Karlinsky L, Gutta V, et al. CODA-Prompt: Continual decomposed attention-based prompting for rehearsal-free continual learning[C]//Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. Washington, USA: IEEE, 2023: 11909-11919. [15] Zhou D W, Cai Z W, Ye H J, et al. Revisiting class-incremental learning with pre-trained models: generalizability and adaptivity are all you need[J]. International Journal of Computer Vision, 2025, 133(3): 1012-1032. [16] Liang Y S, Li W J.InfLoRA: interference-free low-rank adaptation for continual learning[C]//Proceedings of the IEEE/CVF Confe-rence on Computer Vision and Pattern Recognition. Washington, USA: IEEE, 2024: 23638-23647. [17] Zhou D W, Zhang Y H, Wang Y, et al. Learning without forge-tting for vision-language models[J]. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2025, 47(6): 4489-4504. [18] 李劲哲,吴宇贤,蔡珺恺,等.基于对偶注意力机制的图文情感分析[J].软件导刊, 2024, 23(4): 178-185. (Li J Z, Wu Y X, Cai J K, et al. Graphic sentiment analysis based on pairwise attention mechanisms[J]. Software Guide, 2024, 23(4): 178-185.) [19] Hou S H, Pan X Y, Loy C C, et al. Learning a unified classifier incrementally via rebalancing[C]//Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. Washington, USA: IEEE, 2019: 831-839. [20] Hu E, Shen Y L, Wallis P, et al. LoRA: low-rank adaptation of large language models[EB/OL].[2026-07-09].https://arxiv.org/pdf/2106.09685. [21] Chen X H, Zhou Y C, Wu D Y, et al. AREA: adaptive reweigh-ting via effective area for long-tailed classification[C]//Procee-dings of the IEEE/CVF International Conference on Computer Vision. Washington, USA: IEEE, 2023: 19220-19230. [22] Hendrycks D, Basart S, Mu N, et al. The many faces of robustness: a critical analysis of out-of-distribution generalization[C]//Proceedings of the IEEE/CVF International Conference on Compu-ter Vision. Washington, USA: IEEE, 2021: 8320-8329. [23] Hendrycks D, Zhao K, Basart S, et al. Natural adversarial examples[C]//Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. Washington, USA: IEEE, 2021: 15257-15266. [24] Paszke A, Gross S, Massa F, et al. PyTorch: an imperative style, high-performance deep learning library[C]//Proceedings of the 33rd International Conference on Neural Information Processing Systems. Cambridge, USA: MIT Press, 2019: 8026-8037. [25] Sun H L, Zhou D W, Zhan D C, ,et al. PILOT: a pre-trained model-based continual learning toolbox[J/OL]. Science China Information Sciences, 2025, 68(4). https://doi.org/10.1007/s11432-024-4276-4. [26] Zhou K Y, Yang J K, Loy C C, et al. Learning to prompt for vision-language models[J]. International Journal of Computer Vision, 2022, 130(9): 2337-2348. [27] Welling M. Herding dynamical weights to learn[EB/OL]. [2026-07-09].https://dl.acm.org/doi/pdf/10.1145/1553374.1553517. [28] Zhou D W, Li K W, Ning J Y, et al. External knowledge injection for CLIP-based class-incremental learning[C]//Proceedings of the IEEE/CVF International Conference on Computer Vision. Wa-shington, USA: IEEE, 2025: 3314-3325. [29] Huang L L, Cao X S, Lu H R, et al. Class-incremental learning with CLIP: adaptive representation adjustment and parameter fusion[C]//Proceedings of the 18th European Conference on Computer Vision. Berlin, Germany: Springer, 2024: 214-231. [30] Jha S, Gong D, Yao L N.CLAP4CLIP: continual learning with probabilistic finetuning for vision-language models[C]//Procee-dings of the 38th International Conference on Neural Information Processing Systems. Cambridge, USA: MIT Press, 2024: 129146-129186. [31] Rebuffi S A, Kolesnikov A, Sperl G, et al. iCaRL: incremental classifier and representation learning[C]//Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. Washington, USA: IEEE, 2017: 5533-5542. [32] Yan S P, Xie J W, He X M.DER: dynamically expandable representation for class incremental learning[C]//Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. Washington, USA: IEEE, 2021: 3013-3022. [33] Zhou D W, Wang Q W, Ye H J, et al. A model or 603 exemplars: towards memory-efficient class-incremental learning[EB/OL].[2026-07-09]. https://arxiv.org/pdf/2205.13218. [34] Zhou D W, Sun H L, Ye H J, et al. Expandable subspace ensemble for pre-trained model-based class-incremental learning[C]//Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. Washington, USA: IEEE, 2024: 23554-23564.