NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

DiSparse: Disentangled Sparsification for Multitask Model Compression

Xinglong Sun, Ali Hassani, Zhangyang Wang, Gao Huang, Humphrey Shi

Abstract

Multitask Learning (MTL) models offer significant efficiency gains by sharing a single neural backbone across multiple objectives. However, their massive size remains a barrier for deployment on edge devices. Traditional pruning methods often struggle with MTL due to "task entanglement," where parameter importance varies significantly across different tasks. This paper introduces DiSparse, a novel framework that disentangles parameter importance measurement for each task before making collective pruning decisions via an "arbiter." Experimental results across benchmarks like NYU-v2 and Cityscapes demonstrate that DiSparse not only achieves state-of-the-art compression but can also outperform uncompressed dense baselines by reducing task interference.

Introduction

Multitask Learning (MTL) is a powerful paradigm in computer vision and machine learning, enabling a single model to perform diverse tasks such as semantic segmentation, depth estimation, and surface normal prediction simultaneously. While more efficient than maintaining separate models for every task, these shared networks are often over-parameterized and computationally expensive.

Compressing these models via pruning presents a unique challenge: task entanglement. In a shared backbone, a specific parameter might be redundant for one task but critical for another. Standard pruning techniques, typically designed for single-task optimization, fail to account for these conflicting requirements. This often leads to "unbalanced" networks where performance on specific tasks collapses while others remain stable. DiSparse addresses this by treating task importance independently before synthesizing a global pruning mask.

The DiSparse Framework

DiSparse operates on the principle of disentanglement, ensuring that the needs of every task are represented in the final sparse architecture. The framework consists of two primary components:

1. Disentangled Saliency

Rather than calculating a single importance score for the entire model based on a global loss, DiSparse calculates a "saliency score" for every parameter relative to each individual task. This allows the system to identify which parameters are specialized for specific objectives and which are truly redundant across the board.

2. The Arbiter Function

To reconcile the individual task requirements into a single shared backbone, DiSparse employs an "arbiter" function to process task-specific masks:

  • Logical OR: A parameter is retained if it is deemed important by any single task. This is particularly effective for models with a small number of tasks.
  • Majority Vote: For complex models with many tasks, a parameter is retained if a majority of tasks require it, allowing the model to filter out noise and focus on high-utility shared features.

3. Versatility Across Paradigms

DiSparse is not limited to a single stage of the model lifecycle. The authors demonstrate its efficacy across three major pruning paradigms:

  • Static Sparse Training: Pruning at initialization before training begins.
  • Dynamic Sparse Training: Continuously growing and pruning connections throughout the training process.
  • Post-Training Pruning: Compressing a fully trained, dense model.

Experimental Evaluation

The researchers evaluated DiSparse on three widely-used multitask benchmarks:

  • NYU-v2: 2 tasks (Semantic Segmentation and Surface Normal Prediction).
  • Cityscapes: 2 tasks (Semantic Segmentation and Depth Prediction).
  • Tiny-Taskonomy: A complex 5-task suite including Segmentation, Surface Normal, Depth, Keypoint Detection, and Edge Detection.

Key Insights and Results

The "Watershed" Layer

By analyzing the Intersection over Union (IoU) of task masks, the authors identified a "watershed" layer in the backbone where task relatedness drops sharply. This discovery suggests a natural boundary where parameter sharing should cease and task-specific branching should begin, providing a data-driven method for designing MTL architectures.

Sparsity as a Regularizer

One of the most surprising findings was that at 90% sparsity, DiSparse often outperformed the dense, uncompressed baseline. For example, on NYU-v2, DiSparse (dynamic) achieved 28.16 mIoU, compared to the uncompressed DeepLab baseline of 27.69 mIoU. This suggests that sparsification acts as a form of regularization, mitigating "task interference"—a common issue in MTL where tasks compete for the same parameters and degrade each other's performance.

Early Architecture Identification

DiSparse revealed that tasks identify strikingly similar sparse sub-networks even before training starts. This provides new evidence for the "Lottery Ticket Hypothesis" in a multitask context, suggesting that the optimal architecture for a specific set of tasks is often encoded within the random initialization of the network.

Balanced Learning

Unlike standard pruning methods that may inadvertently favor the task with the largest gradient or loss, DiSparse maintained high performance across all five tasks in the Tiny-Taskonomy suite. This demonstrates that the disentangled approach creates a more balanced and robust sparse network.

Conclusion and Future Work

DiSparse represents a significant step forward in multitask model compression. While it faces a minor limitation in "sparsity control"—where the final sparsity level depends on the arbiter's logic and cannot always be perfectly predicted—it offers a superior alternative to traditional pruning.

Future research may leverage the "watershed" discovery to automate the design of multitask architectures. Instead of manually deciding where to branch a network, researchers could use DiSparse to identify the optimal divergence points where tasks naturally require independent parameters.

Summary updated

BibTeX
@inproceedings{sun2022disparse,
  author = {Xinglong Sun and Ali Hassani and Zhangyang Wang and Gao Huang and Humphrey Shi},
  title = {{DiSparse: Disentangled Sparsification for Multitask Model Compression}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2022},
}
Figure