[Paper Review] Combining Modular Skills in Multitask Learning
This paper proposes a latent-skill multitask learning framework that jointly learns a task–skill allocation matrix and parameter-efficient skill adapters (e.g., sparse or low-rank) to instantiate task-specific models via weighted averaging of active skills. The method achieves superior sample efficiency in reinforcement learning and few-shot generalization in NLP, while enabling interpretable, disentangled knowledge reuse across tasks.
A modular design encourages neural models to disentangle and recombine different facets of knowledge to generalise more systematically to new tasks. In this work, we assume that each task is associated with a subset of latent discrete skills from a (potentially small) inventory. In turn, skills correspond to parameter-efficient (sparse / low-rank) model parameterisations. By jointly learning these and a task-skill allocation matrix, the network for each task is instantiated as the average of the parameters of active skills. To favour non-trivial soft partitions of skills across tasks, we experiment with a series of inductive biases, such as an Indian Buffet Process prior and a two-speed learning rate. We evaluate our latent-skill model on two main settings: 1) multitask reinforcement learning for grounded instruction following on 8 levels of the BabyAI platform; and 2) few-shot adaptation of pre-trained text-to-text generative models on CrossFit, a benchmark comprising 160 NLP tasks. We find that the modular design of a network significantly increases sample efficiency in reinforcement learning and few-shot generalisation in supervised learning, compared to baselines with fully shared, task-specific, or conditionally generated parameters where knowledge is entangled across tasks. In addition, we show how discrete skills help interpretability, as they yield an explicit hierarchy of tasks.
Motivation & Objective
- Address the limitations of fixed or entangled parameter sharing in multitask learning by enabling dynamic, reusable skill composition.
- Enable systematic generalization through modular, disentangled knowledge that can be recombined across tasks.
- Improve sample efficiency in reinforcement learning and few-shot adaptation in supervised learning by learning task–skill assignments end-to-end.
- Enhance model interpretability by discovering explicit, hierarchical task relationships through shared skill patterns.
- Integrate with existing parameter-efficient fine-tuning methods (e.g., LoRA, LT-SFT) to minimize computational overhead.
Proposed method
- Model each task as a combination of a subset of discrete, latent skills drawn from a fixed inventory of parameter-efficient adapters (e.g., sparse or low-rank).
- Learn a differentiable task–skill allocation matrix that soft-assigns skills to tasks, using inductive biases like an Indian Buffet Process prior or two-speed learning rates.
- Instantiate the task-specific model by averaging the parameters of active skills, enabling efficient and modular parameter sharing.
- Use inductive biases—such as a sparse prior via the Indian Buffet Process or faster learning for the allocation matrix—to encourage non-trivial, meaningful skill partitions.
- Integrate with existing parameter-efficient methods (LoRA, LT-SFT) to maintain low memory and compute costs despite skill-specific parameters.
- Train end-to-end using supervised or reinforcement learning objectives, with the task–skill matrix and skill parameters jointly optimized.
Experimental results
Research questions
- RQ1Can a modular, latent-skill approach improve sample efficiency in multitask reinforcement learning compared to fully shared or task-specific models?
- RQ2Can the proposed method generalize effectively to new, unseen NLP tasks with few-shot adaptation, outperforming conditional parameter generation baselines?
- RQ3How does the use of inductive biases (e.g., Indian Buffet Process, two-speed learning) improve the quality and sparsity of skill allocation?
- RQ4To what extent can the learned skills enable interpretable, hierarchical task relationships through shared knowledge patterns?
- RQ5Can the framework be efficiently combined with existing parameter-efficient fine-tuning methods without incurring significant computational overhead?
Key findings
- The model achieves significantly higher sample efficiency in multitask reinforcement learning on BabyAI, requiring substantially fewer episodes to reach near-perfect success rates across 8 levels than fully shared, task-specific, or ground-truth skill baselines.
- On CrossFit, the model outperforms competitive baselines—including HyperFormer—in few-shot adaptation to held-out NLP tasks, demonstrating superior generalization from pre-trained skills.
- The use of an Indian Buffet Process prior or two-speed learning rates leads to more structured, non-trivial skill allocations, improving model robustness and disentanglement.
- The method enables interpretable task hierarchies by revealing which tasks share common skills, providing explicit insight into task relationships.
- Integration with LoRA and LT-SFT maintains minimal increase in time and space complexity, preserving efficiency while enabling modular adaptation.
- The model generalizes effectively to new tasks by recombining previously learned skills, demonstrating strong systematic generalization beyond simple fine-tuning.
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.