HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

Piggyback: Adapting a Single Network to Multiple Tasks by Learning to Mask Weights

Arun Mallya; Dillon Davis; Svetlana Lazebnik

Piggyback: Adapting a Single Network to Multiple Tasks by Learning to Mask Weights

Abstract

This work presents a method for adapting a single, fixed deep neural network to multiple tasks without affecting performance on already learned tasks. By building upon ideas from network quantization and pruning, we learn binary masks that piggyback on an existing network, or are applied to unmodified weights of that network to provide good performance on a new task. These masks are learned in an end-to-end differentiable fashion, and incur a low overhead of 1 bit per network parameter, per task. Even though the underlying network is fixed, the ability to mask individual weights allows for the learning of a large number of filters. We show performance comparable to dedicated fine-tuned networks for a variety of classification tasks, including those with large domain shifts from the initial task (ImageNet), and a variety of network architectures. Unlike prior work, we do not suffer from catastrophic forgetting or competition between tasks, and our performance is agnostic to task ordering. Code available at https://github.com/arunmallya/piggyback.

Code Repositories

arunmallya/piggyback
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
continual-learning-on-cubs-fine-grained-6Piggyback
Accuracy: 80.5
continual-learning-on-flowers-fine-grained-6Piggyback
Accuracy: 94.77
continual-learning-on-imagenet-fine-grained-6Piggyback
Accuracy: 76.16
continual-learning-on-sketch-fine-grained-6Piggyback
Accuracy: 79.91
continual-learning-on-stanford-cars-finePiggyback
Accuracy: 89.62
continual-learning-on-visual-domain-decathlonPiggyback
Avg. Accuracy: 76.60
decathlon discipline (Score): 2838
continual-learning-on-wikiart-fine-grained-6Piggyback
Accuracy: 71.33

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Piggyback: Adapting a Single Network to Multiple Tasks by Learning to Mask Weights | Papers | HyperAI