SOTAVerified

PackNet: Adding Multiple Tasks to a Single Network by Iterative Pruning

2017-11-15CVPR 2018Code Available1· sign in to hype

Arun Mallya, Svetlana Lazebnik

Code Available — Be the first to reproduce this paper.

Reproduce

Code

Abstract

This paper presents a method for adding multiple tasks to a single deep neural network while avoiding catastrophic forgetting. Inspired by network pruning techniques, we exploit redundancies in large deep networks to free up parameters that can then be employed to learn new tasks. By performing iterative pruning and network re-training, we are able to sequentially "pack" multiple tasks into a single network while ensuring minimal drop in performance and minimal storage overhead. Unlike prior work that uses proxy losses to maintain accuracy on older tasks, we always optimize for the task at hand. We perform extensive experiments on a variety of network architectures and large-scale datasets, and observe much better robustness against catastrophic forgetting than prior work. In particular, we are able to add three fine-grained classification tasks to a single ImageNet-trained VGG-16 network and achieve accuracies close to those of separately trained networks for each task. Code available at https://github.com/arunmallya/packnet

Tasks

Benchmark Results

DatasetModelMetricClaimedVerifiedStatus
Cifar100 (20 tasks)PackNetAverage Accuracy67.5Unverified
CUBS (Fine-grained 6 Tasks)PackNetAccuracy80.41Unverified
Flowers (Fine-grained 6 Tasks)PackNetAccuracy93.04Unverified
ImageNet (Fine-grained 6 Tasks)PackNetAccuracy75.71Unverified
Sketch (Fine-grained 6 Tasks)PackNetAccuracy76.17Unverified
Stanford Cars (Fine-grained 6 Tasks)PackNetAccuracy86.11Unverified
Wikiart (Fine-grained 6 Tasks)PackNetAccuracy69.4Unverified

Reproductions