針對類別增量學習的多錨點知識蒸餾和連續動態調整之特徵邊距
Multi-Anchor Distillation and Continually-Adapted Margin for Class-Incremental Learning
摘要
在類別增量學習中,當已經擁有辨識舊類別能力的模型被要求進一步學習辨識新添加的類別時,通常會導致模型對於舊類別產生遺忘以致於在舊類別上的辨識能力下降,這個問題被稱作災難性遺忘 (catastrophic forgetting)。現存有許多方法是基於知識蒸餾 (knowledge distillation) 的技術,試圖在學習新添加的類別的同時保留模型對已學習類別的知識來緩解災難性遺忘的問題,本文進一步提出多錨點蒸餾目標 (multi-anchor distillation objective) 以更進一步減輕災難性遺忘,其藉由訓練模型時同時約束特徵空間中的輸入資料和每個舊類別的多個類別嵌入 (class embeddings) 之間的空間關係來實現。此外,由於增量學習的知識蒸餾一般依賴於保留一個經驗重播緩衝區(knowledge replay buffer)來儲存已見類別的樣本,但由於緩衝區的大小有限,同時也會帶來了另一個類別不平衡的問題:每個已學習類別的樣本數量逐漸減少,導致與新類別的樣本數量相差愈多。因此,我們提出將連續動態調整之特徵邊距 (continually-adapted margin) 引入分類目標函數中,以解決由類別不平衡引起的對新類別的預測偏差。我們對各種數據集和設定進行了廣泛的實驗,證明我們提出的類別增量學習方法相比於幾個最先進的方法更有效以及得到更優越的性能。
This thesis addresses the problem of class-incremental learning, where the model is trained to recognize the classes added incrementally, thus leading to the challenging issue of catastrophic forgetting. Stemming from the knowledge distillation idea of attempting to retain the model's knowledge on seen classes while learning the newly-added ones, we advance to further alleviate the catastrophic forgetting via our proposed multi-anchor distillation objective, which is realized by constraining the spatial relationship between the input data and the multiple class embeddings of each seen class in the feature space while training the model. Moreover, since the knowledge distillation for incremental learning generally relies on keeping a replay buffer to store the samples of seen classes, the buffer of limited size brings another issue of class imbalance: the number of samples from each seen class decreases gradually, thus being much smaller than the number of samples from each new class. We therefore propose to introduce the continually-adapted margin into the classification objective for tackling the prediction bias towards new classes caused by the class imbalance. Extensive experiments are conducted on various datasets and settings to demonstrate the effectiveness and superior performance of our proposed techniques for class-incremental learning in comparison to several state-of-the-art baselines.