Introduction
In the pursuit of general-purpose artificial intelligence, multitask learning (MTL) serves as a critical frontier. However, training a single model on a diverse array of tasks often encounters two significant hurdles: interference and poor generalization. Interference occurs when the gradients from different tasks conflict during training, often leading to "catastrophic forgetting" or a "jack-of-all-trades, master-of-none" scenario where performance is sub-optimal across the board. Generalization suffers because standard monolithic architectures tend to "entangle" knowledge, making it nearly impossible for the model to isolate and apply specific logic learned in one task to a novel, unseen challenge.
While modular approaches like Mixture-of-Experts (MoE) have been proposed, they typically focus on scaling model capacity rather than optimizing how knowledge is shared and recombined. This paper introduces SKILLED (Latent-Skill), a modular neural architecture that addresses these issues by treating tasks as combinations of discrete, reusable "latent skills."
The SKILLED Architecture
The SKILLED model is built upon a framework designed to disentangle facets of knowledge into parameter-efficient modules. Its architecture rests on three primary pillars:
- Skill Inventory: Instead of maintaining task-specific parameters, the model hosts a fixed inventory of "skills." Each skill is implemented as a parameter-efficient adapter—specifically, either Sparse Fine-Tuning (SFT) or Low-Rank Adapters (LoRA). These adapters modify a frozen backbone model (like BART) without requiring a full fine-tune of all parameters.
- Soft Partitions and Routing: For every task, the model learns a binary routing vector. This selection process is made differentiable through a Gumbel-sigmoid relaxation, allowing the model to learn which skills are most relevant for a given task. Crucially, SKILLED supports variable-size allocation; unlike standard MoEs that select a fixed top-k experts, SKILLED can activate many skills for complex tasks and fewer for simpler ones.
- Dual-Speed Learning: To prevent the model from collapsing into a state where every skill is used for every task, the authors implement a dual-speed learning strategy. The routing matrix is updated with a higher learning rate than the skill parameters. This encourages the model to establish a stable task-to-skill mapping before the individual skills begin to specialize too heavily.
The final task-specific model is instantiated by averaging the parameters of all active skills and applying them to the frozen backbone.
Experimental Evaluation
The authors evaluated SKILLED in two distinct and challenging domains: multitask reinforcement learning and few-shot NLP.
Multitask Reinforcement Learning
Using the BabyAI platform, an agent was trained to follow linguistic instructions (e.g., "put the red ball next to the green box") across 8 levels of increasing complexity in a grid world. SKILLED demonstrated remarkable sample efficiency in this environment. It reached a 99% success rate in approximately 2.2 million episodes, significantly faster than the "Shared" baseline (~3.5M) and even the "Expert" baseline (~4.6M), which utilized human-defined task-skill mappings.
Few-Shot NLP Generalization
On the CrossFit benchmark, which includes 160 diverse NLP tasks unified into a text-to-text format, SKILLED was pre-trained on 120 tasks and evaluated on 20 held-out tasks. SKILLED achieved an overall score of 56.9, outperforming the Shared baseline (53.9), HyperFormer (52.7), and Task-MoE (54.9). This performance gain was achieved with high parameter efficiency, adding only about 0.78% more parameters per skill/task dimension.
Key Insights
- Learned Synergies: A surprising finding was that the learned task-skill mapping outperformed the "ground truth" mapping provided by human experts. This suggests that neural models can identify statistical synergies and functional overlaps between tasks that are not intuitively obvious to human designers.
- Modularity vs. Entanglement: Comparisons with HyperFormer (which generates parameters via a hyper-network) showed that while both performed well on training tasks, SKILLED was significantly more robust when adapting to new tasks. This highlights that explicit physical modularity—separating skills into distinct parameter blocks—is more effective for handling distribution shifts than "entangled" parameter generation.
- Interpretability: The quasi-binary nature of the task-skill matrix allows for meaningful visualization. By clustering tasks based on shared skills, the authors generated a "hierarchy of tasks," revealing that tasks with similar underlying linguistic requirements naturally grouped together.
Conclusion
SKILLED demonstrates that modularity and parameter efficiency are key to solving the interference and generalization problems in multitask learning. By learning to recombine a fixed inventory of skills, models can achieve higher efficiency and better zero-shot or few-shot performance. Future research will explore dynamic skill discovery for lifelong learning and methods to ensure greater functional diversity among learned skills.
Summary updated