[Paper Review] HyperGrid: Efficient Multi-Task Transformers with Grid-wise Decomposable Hyper Projections
HyperGrid proposes a grid-wise, decomposable hypernetwork-based projection layer for efficient multi-task learning in Transformers, enabling a single T5 model to match individually fine-tuned state-of-the-art performance on GLUE and SuperGLUE benchmarks. By learning task-specific, region-wise weight projections through a local-global hypernetwork composition, it achieves 16× parameter savings while maintaining competitive accuracy across 16 tasks.
Achieving state-of-the-art performance on natural language understanding tasks typically relies on fine-tuning a fresh model for every task. Consequently, this approach leads to a higher overall parameter cost, along with higher technical maintenance for serving multiple models. Learning a single multi-task model that is able to do well for all the tasks has been a challenging and yet attractive proposition. In this paper, we propose extsc{HyperGrid}, a new approach for highly effective multi-task learning. The proposed approach is based on a decomposable hypernetwork that learns grid-wise projections that help to specialize regions in weight matrices for different tasks. In order to construct the proposed hypernetwork, our method learns the interactions and composition between a global (task-agnostic) state and a local task-specific state. We apply our proposed extsc{HyperGrid} on the current state-of-the-art T5 model, demonstrating strong performance across the GLUE and SuperGLUE benchmarks when using only a single multi-task model. Our method helps bridge the gap between fine-tuning and multi-task learning approaches.
Motivation & Objective
- To reduce the high parameter and maintenance cost of fine-tuning separate models for each NLU task.
- To bridge the performance gap between single-task fine-tuning and multi-task co-training in Transformers.
- To enable a single model to perform competitively across diverse NLU tasks without task-specific fine-tuning tricks.
- To explore structured, instance-specific parameter adaptation via hypernetworks for improved multi-task generalization.
Proposed method
- Introduces grid-wise projections that partition feed-forward layer weights into spatial regions, enabling region-specific parameter adaptation per input.
- Employs a dual hypernetwork setup with a local task-specific head and a global task-agnostic state embedding for compositional parameter generation.
- Uses decomposable hyper-projections to model rich pairwise interactions between local and global states, improving expressiveness and factorization.
- Applies the HyperGrid module to T5 models, replacing standard feed-forward layers with task-conditioned, adaptive projections during multi-task fine-tuning.
- Trains a single multi-task model on all GLUE and SuperGLUE tasks simultaneously, avoiding task-specific hyperparameters and ensembling.
- Uses a $32 \times 128$ grid for parameterization and a local-global (LG) configuration to balance expressiveness and efficiency.
Experimental results
Research questions
- RQ1Can a single multi-task Transformer model achieve performance competitive with individually fine-tuned models on diverse NLU benchmarks?
- RQ2How can hypernetworks be structured to enable efficient, task-specific adaptation without increasing model size?
- RQ3Can grid-wise, region-specific parameter projections improve multi-task generalization compared to standard row-wise reweighting?
- RQ4Does a decomposable local-global hypernetwork composition outperform standard hypernetworks in multi-task learning?
Key findings
- The 3B HyperGrid model achieves 87.7 on SuperGLUE, just 1.2% below the SOTA, while using 16× fewer parameters.
- The 11B HyperGrid model matches the performance of the 176B T5 (11B) model on GLUE, achieving 89.4 vs. 89.7.
- On SuperGLUE, the 3B model scores 84.7, matching RoBERTa ensembles that rely on task-specific fine-tuning tricks.
- The HyperGrid model outperforms strong baselines like BERT++ and RoBERTa, which use ensembles and task-specific strategies, with a single model.
- The method reduces total parameter cost by 16× compared to training individual models for all 16 GLUE and SuperGLUE tasks.
- The local-global hypernetwork composition enables effective task-specific adaptation without catastrophic forgetting or performance degradation.
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.