[Paper Review] Polyhistor: Parameter-Efficient Multi-Task Adaptation for Dense Vision Tasks
Polyhistor and Polyhistor-Lite are parameter-efficient multi-task adaptation methods for dense vision tasks using Vision Transformers, introducing Decomposed HyperNetworks and Layer-wise Scaling Kernels to reduce trainable parameters by up to 90% while matching or exceeding full fine-tuning performance. The method achieves state-of-the-art accuracy with only ~10% of the parameters used by prior methods.
Adapting large-scale pretrained models to various downstream tasks via fine-tuning is a standard method in machine learning. Recently, parameter-efficient fine-tuning methods show promise in adapting a pretrained model to different tasks while training only a few parameters. Despite their success, most existing methods are proposed in Natural Language Processing tasks with language Transformers, and adaptation to Computer Vision tasks with Vision Transformers remains under-explored, especially for dense vision tasks. Further, in multi-task settings, individually fine-tuning and storing separate models for different tasks is inefficient. In this work, we provide an extensive multi-task parameter-efficient benchmark and examine existing parameter-efficient fine-tuning NLP methods for vision tasks. Our results on four different dense vision tasks showed that existing methods cannot be efficiently integrated due to the hierarchical nature of the Hierarchical Vision Transformers. To overcome this issue, we propose Polyhistor and Polyhistor-Lite, consisting of Decomposed HyperNetworks and Layer-wise Scaling Kernels, to share information across different tasks with a few trainable parameters. This leads to favorable performance improvements against existing parameter-efficient methods while using fewer trainable parameters. Specifically, Polyhistor achieves competitive accuracy compared to the state-of-the-art while only using ~10% of their trainable parameters. Furthermore, our methods show larger performance gains when large networks and more pretraining data are used.
Motivation & Objective
- To address the inefficiency of existing parameter-efficient fine-tuning methods in dense vision tasks, especially with hierarchical Vision Transformers.
- To overcome the limitations of adapter-based and hypernetwork-based methods when applied to multi-task dense vision benchmarks.
- To design a unified, parameter-efficient framework that shares knowledge across multiple dense vision tasks while minimizing trainable parameters.
- To evaluate the scalability and performance of parameter-efficient methods under varying model sizes and pretraining data regimes.
- To demonstrate that larger models and more pretraining data amplify the performance gains of the proposed method.
Proposed method
- Proposes Decomposed Lite-HyperNetworks that split a single large hypernetwork into two smaller, low-rank hypernetworks to generate adapter weights, reducing parameter count while maintaining performance.
- Introduces Layer-wise Scaling Kernels that factorize adapter weight matrices into Template Kernels and size-controllable Scaling Kernels via Kronecker product, enabling parameter sharing across layers in hierarchical Vision Transformers.
- Uses a shared Template Kernel across all layers and scales the Scaling Kernel size according to the layer’s feature dimension, enabling efficient adaptation without increasing parameter count.
- Employs task-specific embeddings to condition the hypernetworks, allowing each task to have a unique adaptation path while sharing the core parameter-efficient mechanism.
- Applies the method to Swin Transformer-based models, enabling joint training across semantic segmentation, instance segmentation, saliency prediction, and normals estimation with minimal parameter updates.
- Constructs a unified benchmark framework with consistent training and evaluation protocols to fairly compare with existing NLP-based parameter-efficient methods on dense vision tasks.
Experimental results
Research questions
- RQ1Can existing NLP-based parameter-efficient fine-tuning methods be effectively transferred to dense vision tasks using Vision Transformers?
- RQ2Why do adapter-based and hypernetwork-based methods fail to scale efficiently in hierarchical Vision Transformers for multi-task learning?
- RQ3How can we reduce the number of trainable parameters in multi-task vision adaptation without sacrificing performance?
- RQ4Does the performance gain of parameter-efficient methods scale with model size and pretraining data size?
- RQ5Can a unified, shared adaptation mechanism across tasks outperform task-specific fine-tuning with fewer parameters?
Key findings
- Polyhistor-Lite achieves a 1.74% average accuracy gain over single-task full fine-tuning while using only 0.41M trainable parameters (0.36% of the full model) on Swin-Tiny with ImageNet-1k pretraining.
- The method outperforms state-of-the-art multi-task parameter-efficient methods that use significantly more parameters, achieving competitive performance with ~10% of their trainable parameters.
- Performance gains increase with larger backbone models: larger improvements are observed on Swin-Base compared to Swin-Tiny, indicating scalability with model size.
- Models pre-trained on ImageNet-22k show larger performance gains than those on ImageNet-1k, and require fewer trainable parameters to match the same performance level.
- Larger task embedding dimensions (up to 64) lead to higher average performance gains, with a 1.74% improvement over full fine-tuning when using k=64.
- The method maintains strong performance across diverse dense vision tasks, including semantic segmentation, instance segmentation, saliency prediction, and normals estimation, 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.