SOTAVerified

D3Former: Debiased Dual Distilled Transformer for Incremental Learning

2022-07-25Code Available1· sign in to hype

Abdelrahman Mohamed, Rushali Grandhe, K J Joseph, Salman Khan, Fahad Khan

Code Available — Be the first to reproduce this paper.

Reproduce

Code

Abstract

In class incremental learning (CIL) setting, groups of classes are introduced to a model in each learning phase. The goal is to learn a unified model performant on all the classes observed so far. Given the recent popularity of Vision Transformers (ViTs) in conventional classification settings, an interesting question is to study their continual learning behaviour. In this work, we develop a Debiased Dual Distilled Transformer for CIL dubbed D^3Former. The proposed model leverages a hybrid nested ViT design to ensure data efficiency and scalability to small as well as large datasets. In contrast to a recent ViT based CIL approach, our D^3Former does not dynamically expand its architecture when new tasks are learned and remains suitable for a large number of incremental tasks. The improved CIL behaviour of D^3Former owes to two fundamental changes to the ViT design. First, we treat the incremental learning as a long-tail classification problem where the majority samples from new classes vastly outnumber the limited exemplars available for old classes. To avoid the bias against the minority old classes, we propose to dynamically adjust logits to emphasize on retaining the representations relevant to old tasks. Second, we propose to preserve the configuration of spatial attention maps as the learning progresses across tasks. This helps in reducing catastrophic forgetting by constraining the model to retain the attention on the most discriminative regions. D^3Former obtains favorable results on incremental versions of CIFAR-100, MNIST, SVHN, and ImageNet datasets. Code is available at https://tinyurl.com/d3former

Tasks

Benchmark Results

DatasetModelMetricClaimedVerifiedStatus
CIFAR-100 - 50 classes + 10 steps of 5 classesD3FormerAverage Incremental Accuracy70.94Unverified
CIFAR-100 - 50 classes + 25 steps of 2 classesD3FormerAverage Incremental Accuracy68.68Unverified
CIFAR-100 - 50 classes + 5 steps of 10 classesD3FormerAverage Incremental Accuracy72.23Unverified

Reproductions