解决图像识别中旧类别遗忘问题,提升新类别识别准确率
Solving the Catastrophic Forgetting Problem in Generalized Category Discovery
- 通过局部熵正则与双视角KL约束,强化旧类别知识保留
- 在CUB数据集上新旧类别准确率分别提升2.51%和7.74%
- 适用于需要持续学习新类别的实际图像识别场景
广义类别发现(GCD)旨在从无标签数据中识别已知与新类别,更贴近真实图像识别场景。其核心在于需充分记忆旧类别以识别新类别。现有先进方法SimGCD通过去偏学习将已知类别知识迁移至新类别学习,但适应过程中部分旧类别特征会灾难性遗忘,导致新类别分类性能下降。为此,我们提出LegoGCD,无缝集成至已有方法,增强新类别判别能力的同时保持对旧类别的性能。具体设计两种技术:局部熵正则化(LER)优化无标签数据中潜在已知类样本分布,保障旧类别知识保留;双视角KL散度约束(DKL)促使同一图像双视图预测分布一致,避免预测错配并生成更可靠的潜在已知类样本。大量实验验证,LegoGCD有效缓解旧类别遗忘,在所有数据集上表现优异,如在CUB数据集上新类别与旧类别准确率分别提升2.51%与7.74%。代码已开源:https://github.com/Cliffia123/LegoGCD。
原文摘要 · Abstract (English)
Generalized Category Discovery (GCD) aims to identify a mix of known and novel categories within unlabeled data sets, providing a more realistic setting for image recognition. Essentially, GCD needs to remember existing patterns thoroughly to recognize novel categories. Recent state-of-the-art method SimGCD transfers the knowledge from known-class data to the learning of novel classes through debiased learning. However, some patterns are catastrophically forgot during adaptation and thus lead to poor performance in novel categories classification. To address this issue, we propose a novel learning approach, LegoGCD, which is seamlessly integrated into previous methods to enhance the discrimination of novel classes while maintaining performance on previously encountered known classes. Specifically, we design two types of techniques termed as Local Entropy Regularization (LER) and Dual-views Kullback Leibler divergence constraint (DKL). The LER optimizes the distribution of potential known class samples in unlabeled data, thus ensuring the preservation of knowledge related to known categories while learning novel classes. Meanwhile, DKL introduces Kullback Leibler divergence to encourage the model to produce a similar prediction distribution of two view samples from the same image. In this way, it successfully avoids mismatched prediction and generates more reliable potential known class samples simultaneously. Extensive experiments validate that the proposed LegoGCD effectively addresses the known category forgetting issue across all datasets, eg, delivering a 7.74% and 2.51% accuracy boost on known and novel classes in CUB, respectively. Our code is available at: https://github.com/Cliffia123/LegoGCD.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。