Taskonomy: Disentangling Task Transfer Learning
Introduction: The Efficiency Gap in Computer Vision
In modern computer vision, tasks such as edge detection, depth estimation, and object classification are typically treated as independent problems. This "siloed" approach is computationally expensive and data-inefficient, requiring massive labeled datasets for every new objective. It also ignores the intuitive reality that many visual tasks are fundamentally related—for instance, understanding surface normals should logically inform depth perception.
Taskonomy addresses this by providing a quantitative "map" of the relationships between 26 common computer vision tasks. By disentangling these relationships, the authors demonstrate that a large suite of tasks can be solved using significantly less labeled data by leveraging transfer learning between related domains.
Methodology: Mapping the Task Space
The researchers developed a four-step computational pipeline to build a data-driven taxonomy:
- Task-Specific Modeling: They trained 26 "expert" neural networks, each dedicated to a specific task (e.g., 2D edges, 3D curvature, semantic segmentation). An example of the Surface Normals task output from the dataset. Source, p. 2
- Transfer Modeling: For every pair of tasks $(s, t)$, a small "readout" function was trained to predict the output of target task $t$ using the internal features of source task $s$. This measures the "affinity" or transferability between tasks.
- Ordinal Normalization: To account for varying loss scales across different tasks (e.g., pixels vs. class labels), the Analytic Hierarchy Process (AHP) was used to normalize affinities into a consistent metric.
- Computing the Global Taxonomy: The problem was framed as a subgraph selection optimization. Using Binary Integer Programming (BIP), the authors identified the optimal set of source tasks to train from scratch to maximize performance across all target tasks within a given "supervision budget."
The Taskonomy Dataset
To ensure that observed transferabilities were due to task relationships rather than data discrepancies, the study utilized a massive, consistent dataset:
- Scale: 4 million images of indoor scenes from approximately 600 buildings.
- Consistency: Every image contains annotations for all 26 tasks, ensuring "exactly the same pixels" are used across the board.
- Validation: Findings were benchmarked against standard datasets like ImageNet and MIT Places to ensure generalizability beyond indoor environments.
Key Insights: Redundancy and Generalization
The resulting taxonomy revealed several counter-intuitive findings. While humans might expect depth to transfer well to surface normals, the researchers found the opposite—normals to depth—is computationally more efficient for neural networks.
Furthermore, the study highlighted that many visual tasks are highly redundant. By identifying these redundancies, vision can be treated as a collective system. For robotics, "mid-level" features (found in the center of the taxonomy) proved more useful for downstream tasks like navigation than raw images or high-level semantic labels alone.
Results and Limitations
The Taskonomy-guided transfer policy reduced the required labeled data by approximately 2/3 compared to independent training while maintaining nearly identical performance across 10 target tasks. This was supported by a massive experimental scale, involving over 3,000 transfer functions and 48,000 GPU hours.
However, the study notes limitations:
- Domain Specificity: The primary focus on indoor scenes may mean task relationships shift in environments like aerial or medical imaging.
- Transfer Capacity: The use of low-capacity transfer functions might miss deeper relationships that more complex models could uncover.
- Static Nature: The current taxonomy is fixed; future work could explore dynamic versions that evolve as a model learns.
Summary updated