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

重新审视具有大容量存储的kNN-based图像分类系统

Revisiting a kNN-based Image Classification System with High-capacity Storage

Kioxia Corporation(铠侠公司)

Kengo Nakata, Youyang Ng, Daisuke Miyashita, Asuka Maki, Yu-Chieh Lin, Jun Deguchi

摘要:

在使用深度神经网络的现有图像分类系统中,图像分类所需的知识被隐式地存储在模型参数中。如果用户想要更新这些知识,那么他们需要微调模型参数。此外,用户无法验证推理结果的有效性或评估知识对结果的贡献。在本文中,我们研究了一个系统,存储知识的图像分类,如图像特征图,标签,和原始图像,而不是在模型参数,但在外部大容量存储。我们的系统在对输入图像进行分类时参考了像数据库一样的存储。为了增加知识,我们的系统更新数据库而不是微调模型参数,这避免了增量学习场景中的灾难性遗忘。我们重新访问kNN(k-最近邻)分类器,并在我们的系统中使用它。通过分析kNN算法引用的邻域样本,我们可以解释过去学习的知识如何用于推理结果。我们的系统在ImageNet数据集上实现了79.8%的top-1准确率,而在预训练后没有微调模型参数,在任务增量学习设置中,Split CIFAR-100数据集上的准确率为90.8%。

英文摘要:

In existing image classification systems that use deep neural networks, the knowledge needed for image classification is implicitly stored in model parameters. If users want to update this knowledge, then they need to fine-tune the model parameters. Moreover, users cannot verify the validity of inference results or evaluate the contribution of knowledge to the results. In this paper, we investigate a system that stores knowledge for image classification, such as image feature maps, labels, and original images, not in model parameters but in external high-capacity storage. Our system refers to the storage like a database when classifying input images. To increase knowledge, our system updates the database instead of fine-tuning model parameters, which avoids catastrophic forgetting in incremental learning scenarios. We revisit a kNN (k-Nearest Neighbor) classifier and employ it in our system. By analyzing the neighborhood samples referred by the kNN algorithm, we can interpret how knowledge learned in the past is used for inference results. Our system achieves 79.8% top-1 accuracy on the ImageNet dataset without fine-tuning model parameters after pretraining, and 90.8% accuracy on the Split CIFAR-100 dataset in the task incremental learning setting.

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

↑