[Paper Review] Beyond Shared Hierarchies: Deep Multitask Learning through Soft Layer Ordering
This paper proposes soft layer ordering for deep multitask learning, enabling shared layers to be applied in flexible, task-specific sequences rather than fixed parallel hierarchies. By learning dynamic, differentiable ordering weights for shared layers across tasks, the method improves performance over both single-task and fixed-order multitask models, demonstrating that generalizable functional building blocks can be discovered and recombined for diverse tasks.
Existing deep multitask learning (MTL) approaches align layers shared between tasks in a parallel ordering. Such an organization significantly constricts the types of shared structure that can be learned. The necessity of parallel ordering for deep MTL is first tested by comparing it with permuted ordering of shared layers. The results indicate that a flexible ordering can enable more effective sharing, thus motivating the development of a soft ordering approach, which learns how shared layers are applied in different ways for different tasks. Deep MTL with soft ordering outperforms parallel ordering methods across a series of domains. These results suggest that the power of deep MTL comes from learning highly general building blocks that can be assembled to meet the demands of each task.
Motivation & Objective
- To challenge the assumption that shared layers in deep multitask learning must be applied in parallel across tasks.
- To investigate whether flexible layer ordering—such as permuted or soft ordering—can improve information integration across diverse tasks.
- To develop a method that learns how to apply shared layers in different sequences for different tasks, enabling discovery of generalizable functional building blocks.
- To demonstrate that soft layer ordering leads to better performance and more effective transfer than fixed-order or single-task learning.
Proposed method
- Proposes a soft ordering mechanism where shared layers are applied in different sequences for different tasks via learnable, differentiable scaling parameters.
- Uses a recursive architecture defined by Equation 7, where each task's representation is built by summing scaled shared layers at each depth, with scaling determined by task-specific routing weights.
- Employs a joint training objective that simultaneously optimizes layer parameters and the soft ordering weights for each task.
- Extends the approach to various layer types, including fully connected, convolutional, and recurrent layers (e.g., LSTMs), enabling broader applicability.
- Introduces a recurrent-like structure in the module design, allowing shared layers to be reused across depths with task-specific routing.
- Supports generalization by allowing new tasks to learn how to compose pre-trained shared layers without retraining them.
Experimental results
Research questions
- RQ1Does the assumption of parallel layer ordering in deep multitask learning limit the types of shared representations that can be learned?
- RQ2Can a permuted ordering of shared layers—where layers are applied in different sequences for different tasks—improve performance over fixed parallel ordering?
- RQ3Can a differentiable, soft layer ordering mechanism outperform both fixed-order and single-task learning across diverse domains?
- RQ4Do shared layers trained with soft ordering learn more generalizable, reusable functional building blocks than those trained in fixed positions?
Key findings
- Soft layer ordering significantly outperforms both single-task learning and fixed-order multitask learning across multiple domains, including vision, NLP, and reinforcement learning.
- Experiments show that soft ordering enables better integration of information across diverse and numerous tasks, even when tasks are superficially unrelated.
- The method discovers shared layers that function as generalizable, multipurpose building blocks, which can be recombined in different ways for different tasks.
- The learned soft ordering mechanism allows new tasks to be solved by reusing pre-trained shared layers with only routing weights fine-tuned, suggesting strong generalization potential.
- Soft ordering enables a form of functional modularity that aligns with recurring structural patterns observed in natural and technological systems.
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.