Open Interpretability Models Contributors Research Posts About

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

Source

Citation. Arun Mallya and Svetlana Lazebnik (University of Illinois at Urbana-Champaign). "PackNet: Adding Multiple Tasks to a Single Network by Iterative Pruning". arXiv:1711.05769, v1 of 15 November 2017, v2 of 13 May 2018. Published at CVPR 2018, as the issue gives it. The arXiv v2 text names no venue, and we did not read the CVPR proceedings version. Code: github.com/arunmallya/packnet. The text gives no separate data release, but every dataset is public. Funding: the National Science Foundation, grants 1563727 and 1718221. The acknowledgements thank Maxim Raginsky for the first idea and Greg Shakhnarovich for the name.

Status. Planned. #4782 (catastrophic interference and weight-space programming) would use it, and this page proposes one follow-up that measures evidence. The maintainer designs the campaign to fix models, so this page reports evidence and records questions only.

Read. On 2026-11-19 we downloaded the arXiv v2 PDF and extracted its text with pdftotext. The reader was this page's author, a model (Claude Opus 5.5). We read all of the extracted text in the source's own words. That is the abstract, sections 1 to 6, Tables 1 to 6, the figure captions, the acknowledgements and the references. The paper has no appendix. We did not see the figures as images. For Figures 2 to 5 we have the values that the PDF prints on the plots, as text, but not the bars or error bars. We matched each value to its line or bar from the text layout, so the figure rows below carry that small risk. We did not run the code.

Summary

Claim. One network can learn several tasks in sequence with no loss on the earlier tasks. After each task, weight-magnitude pruning frees part of the weights, and the next task trains only those. The weights of earlier tasks stay fixed, and a binary mask for each task selects its weights at test time.

Method.

Findings, as the source reports them. All numbers are error rates in per cent, top-1 unless the row says top-5.

Setting Result
VGG-16 on ImageNet, after 50% and 75% pruning and training again (Table 2) Top-1 rises from 28.42 to 29.33 and 30.87. Top-5 rises from 9.61 to 9.99 and 10.93
Three tasks added to the 75%-pruned VGG-16, against Individual Networks (Table 2) CUBS 24.95 against 22.57, Cars 15.75 against 13.97, Flowers 9.75 against 8.65
The same tasks with LwF (Table 2) CUBS 30.42, Cars 22.97, Flowers 15.21. ImageNet rises to 39.23 (top-5 16.94)
The same tasks with Classifier Only (Table 2) CUBS 36.76, Cars 56.42, Flowers 20.50
Storage (Table 2) One PackNet model of 595 MB, against 4 individual networks of 2,173 MB. Classifier Only is 562 MB
Mask overhead on VGG-16, conv1_1 to fc7, 537 MB About 17 MB for one added task and about 34 MB for three
Earlier tasks while later ones train (Figure 2) With PackNet, the error on each earlier task stays the same. With LwF, ImageNet error goes from 28.42 to 31.36, 37.14 and 39.02 as tasks are added
Places365 added to 75%-pruned VGG-16 (Table 3) 46.99 against 46.35 for an individual network. The jointly trained network has 33.49 on ImageNet, against 28.42
Other networks, three tasks (Table 4) ResNet-50: CUBS 21.13, Cars 13.75, Flowers 7.10, against 19.56, 12.99, 8.50. DenseNet-121: 21.84, 15.55, 7.71, against 19.72, 13.15, 8.02
Order of tasks, Stanford Cars (Figure 3) 16.00 when added first, 18.34 second, 19.91 third. Over the three datasets, about 3 points worse from first to third
Free parameters on VGG-16 About 67 M free after the first 50% pruning. Task II uses 16.75 M, and task III about 13 M. About 37 M stay free for task IV
90% one-shot pruning of a new task, then training again (Figure 4) Cars 15.75 to 17.84, CUBS 24.13 to 24.72, Flowers 8.96 to 9.48
Separate biases for each task (Table 5) CUBS 25.62 against 25.72 shared, Cars 18.17 against 18.08, Flowers 10.11 against 10.09
Only some layers train for a new task (Figure 5) Cars: 54.63 with the classifier only, 34.61 with the fully connected layers too, 15.75 with all layers
Filter pruning in place of weight pruning (Table 6) About 30% of filters could go (4,000 of 12,416), and 3,730 of those were in the fully connected layers. Cars 34.78 against 13.97 with weight pruning

Where the claims go beyond the evidence

Use in this repo