[Paper Review] AutoMTL: A Programming Framework for Automating Efficient Multi-Task Learning
AutoMTL is a programming framework that automates efficient multi-task learning (MTL) by compiling any backbone CNN into a multi-task supermodel with operator-level parameter sharing. It uses a gradient-based architecture search with regularization to jointly optimize for high task accuracy and low memory footprint, outperforming state-of-the-art methods on CityScapes, NYUv2, and Tiny-Taskonomy benchmarks.
Multi-task learning (MTL) jointly learns a set of tasks by sharing parameters among tasks. It is a promising approach for reducing storage costs while improving task accuracy for many computer vision tasks. The effective adoption of MTL faces two main challenges. The first challenge is to determine what parameters to share across tasks to optimize for both memory efficiency and task accuracy. The second challenge is to automatically apply MTL algorithms to an arbitrary CNN backbone without requiring time-consuming manual re-implementation and significant domain expertise. This paper addresses the challenges by developing the first programming framework AutoMTL that automates efficient MTL model development for vision tasks. AutoMTL takes as inputs an arbitrary backbone convolutional neural network (CNN) and a set of tasks to learn, and automatically produces a multi-task model that achieves high accuracy and small memory footprint simultaneously. Experiments on three popular MTL benchmarks (CityScapes, NYUv2, Tiny-Taskonomy) demonstrate the effectiveness of AutoMTL over state-of-the-art approaches as well as the generalizability of AutoMTL across CNNs. AutoMTL is open-sourced and available at https://github.com/zhanglijun95/AutoMTL.
Motivation & Objective
- To address the challenge of designing resource-efficient MTL architectures that balance model size and task accuracy.
- To eliminate the need for manual re-implementation of MTL algorithms when changing backbone networks.
- To enable general programmers and practitioners to easily adopt MTL without deep ML expertise.
- To support arbitrary CNN backbones through a decoupled, automated compilation pipeline.
- To provide a flexible, stretchable architecture search space that adapts to task complexity and interference.
Proposed method
- The Multi-Task Supermodel Compiler (MTS-Compiler) transforms a user-provided CNN backbone into a multi-task supermodel by treating each operator as a basic unit for parameter sharing.
- A stretchable architecture search space is encoded using Virtual Computation Nodes, enabling dynamic model capacity adjustment based on task demands.
- A policy network with differentiable architecture search is trained to determine optimal sharing patterns across tasks, using a regularization loss to control parameter sharing.
- The regularization hyperparameter λreg controls the trade-off between model compactness and task performance.
- The framework supports arbitrary CNN backbones without re-implementation, leveraging a source-to-source compilation approach.
- The method is implemented via PyTorch APIs, enabling seamless integration and automatic supermodel generation in under 0.6 seconds.
Experimental results
Research questions
- RQ1Can a programming framework automate efficient MTL model development across arbitrary CNN backbones without manual re-implementation?
- RQ2Does operator-level parameter sharing enable better trade-offs between model size and task accuracy than layer-level sharing?
- RQ3Can a compiler-based supermodel transformation decouple architecture search from backbone design, improving accessibility?
- RQ4How does the stretchable architecture search space perform across diverse benchmarks and backbone models?
- RQ5To what extent can regularization hyperparameters like λreg control the accuracy-compactness trade-off in learned multi-task models?
Key findings
- AutoMTL achieved +17.1% and +13.2% relative improvement in task accuracy over the single-task baseline on CityScapes with 35.9% fewer parameters when using MNasNet.
- On CityScapes, AutoMTL produced a multi-task model with 33.5% fewer parameters than the single-task baseline while improving performance by 7.4% relative to MobileNetV2.
- With λreg = 0.0005, AutoMTL reduced model parameters to 0.018M (33% of baseline) while maintaining 70.0% mIoU, 86.6% depth accuracy, and 93.4% surface normal accuracy.
- Policy visualization showed that semantic segmentation shares more operators than depth estimation, and skip connections were heavily used in depth estimation, indicating task-specific compactness preferences.
- The MTS-Compiler compiled any backbone CNN into a supermodel in ~0.6 seconds, while re-implementing a state-of-the-art NAS-based MTL method (Adashare) took 20–40 hours for expert users.
- AutoMTL generalized effectively across MobileNetV2, MNasNet, and ResNet-18 on CityScapes, NYUv2, and Tiny-Taskonomy, demonstrating broad applicability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.