arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2303.14042cs.CV
收藏

面向类增量学习的类增量样本压缩

Class-Incremental Exemplar Compression for Class-Incremental Learning

Singapore Management University(新加坡管理大学);Max Planck Institute for Informatics(马克斯·普朗克信息学研究所)

Zilin Luo, Yaoyao Liu, Bernt Schiele, Qianru Sun

AI总结:

本文提出类增量掩码(CIM)方法,通过类激活图生成0-1掩码压缩非判别性像素,在有限内存下保存更多旧类压缩样本,解决了阈值权衡与类别差异问题,在多个高分辨率基准上取得最先进的类增量学习准确率。

摘要:

基于样本的类增量学习(CIL)在每个增量阶段使用所有新类样本和少量旧类样本对模型进行微调,其中“少量样本”受限于有限的内存预算。在本文中,我们基于一个简单却极其有效的想法打破了这一“少量样本”限制:通过对非判别性像素进行下采样来压缩样本,并在内存中保存“多样本”压缩样本。在无需任何人工标注的情况下,我们通过从类激活图(CAM)生成判别性像素的 0-1 掩码来实现这种压缩。我们提出了一种名为类增量掩码(CIM)的自适应掩码生成模型,以明确解决使用 CAM 的两个困难:1)使用任意阈值将 CAM 的热图转换为 0-1 掩码会导致判别性像素覆盖率与样本数量之间的权衡,因为总内存是固定的;2)不同目标类别的最佳阈值各不相同,这在 CIL 的动态环境中尤为明显。我们通过双层优化问题交替优化 CIM 模型和传统 CIL 模型。我们在包括 Food-101、ImageNet-100 和 ImageNet-1000 的高分辨率 CIL 基准上进行了大量实验,结果表明使用 CIM 压缩样本可以实现新的最先进 CIL 准确率,例如,在 10-Phase ImageNet-1000 上比 FOSTER 高 4.8 个百分点。我们的代码可在 https://github.com/xfflzl/CIM-CIL 获取。

英文摘要:

Exemplar-based class-incremental learning (CIL) finetunes the model with all samples of new classes but few-shot exemplars of old classes in each incremental phase, where the "few-shot" abides by the limited memory budget. In this paper, we break this "few-shot" limit based on a simple yet surprisingly effective idea: compressing exemplars by downsampling non-discriminative pixels and saving "many-shot" compressed exemplars in the memory. Without needing any manual annotation, we achieve this compression by generating 0-1 masks on discriminative pixels from class activation maps (CAM). We propose an adaptive mask generation model called class-incremental masking (CIM) to explicitly resolve two difficulties of using CAM: 1) transforming the heatmaps of CAM to 0-1 masks with an arbitrary threshold leads to a trade-off between the coverage on discriminative pixels and the quantity of exemplars, as the total memory is fixed; and 2) optimal thresholds vary for different object classes, which is particularly obvious in the dynamic environment of CIL. We optimize the CIM model alternatively with the conventional CIL model through a bilevel optimization problem. We conduct extensive experiments on high-resolution CIL benchmarks including Food-101, ImageNet-100, and ImageNet-1000, and show that using the compressed exemplars by CIM can achieve a new state-of-the-art CIL accuracy, e.g., 4.8 percentage points higher than FOSTER on 10-Phase ImageNet-1000. Our code is available at https://github.com/xfflzl/CIM-CIL.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑