Abstract
Do visual tasks have a relationship, or are they unrelated? For instance, could having surface normals simplify estimating the depth of an image? Intuition answers these questions positively, implying the existence of a structure among visual tasks. Knowing this structure has notable value; it is the concept underlying transfer learning and provides a principled way for identifying redundancies across tasks, e.g., to seamlessly reuse supervision among related tasks or solve many tasks in one system without piling up complexity. We propose a fully computational approach for modeling the structure of the space of visual tasks. This is done via finding (first and higher-order) transfer learning dependencies across a dictionary of twenty-six 2D, 2.5D, 3D, and semantic tasks in a latent space. The product is a computational taxonomic map for task transfer learning. We study the consequences of this structure, such as nontrivial emerged relationships, and exploit them to reduce the demand for labeled data. For example, we show that the total number of labeled datapoints needed for solving a set of 10 tasks can be reduced by roughly 2/3 (compared to training independently) while keeping performance nearly the same. We provide a set of tools for computing and probing this taxonomical structure, including a solver that users can employ to devise efficient supervision policies for their use cases.
Introduction: Beyond the Sisyphean Challenge
In modern computer vision, tasks are often treated as isolated "islands." Training a model for edge detection, depth estimation, or object classification typically starts from scratch using task-specific labeled data. This siloed approach presents a "Sisyphean challenge" where every new task requires a massive, expensive labeled dataset.
While we intuitively know that tasks are related—for instance, understanding surface normals should aid in depth estimation—we have lacked a formal, data-driven way to measure these relationships. Taskonomy seeks to "disentangle" this structure, creating a computational map of the space of visual tasks that identifies which tasks provide the most useful features for solving others.
The Taskonomy Framework
The authors propose a four-step computational pipeline to build this taxonomy:
- Task-Specific Modeling: 26 fully supervised "expert" networks (using a ResNet-50 backbone) are trained for various 2D, 2.5D, 3D, and semantic tasks.
- Transfer Modeling: The encoders of these experts are frozen, and small "readout" networks (transfer functions) are trained to see how well one task's representation can solve another. These functions are low-capacity to ensure they measure the accessibility of information rather than learning the task from scratch.
- Ordinal Normalization (AHP): To account for different loss scales across tasks, the Analytic Hierarchy Process (AHP) is used to create a normalized affinity matrix, ranking source tasks by their transfer effectiveness.
- Computing the Taxonomy (BIP): Finally, Boolean Integer Programming (BIP) is used to solve for the optimal global transfer policy. Given a "supervision budget," the BIP solver identifies which tasks to train from scratch to maximize performance across the entire dictionary.
Task Dictionary and Dataset
Building this structure required a unique dataset where every image has ground truth for every task. The authors developed the Taskonomy Dataset, which includes:
- Scale: 4 million images of indoor scenes from approximately 600 buildings.
- Completeness: Every image is registered to a 3D mesh, allowing for the programmatic generation of labels for 2D, 2.5D, and 3D tasks (e.g., depth, normals, and occlusion edges).
- Semantic Labels: For tasks like object classification, Knowledge Distillation from existing models was used to generate "soft" labels.
Key Insights and Results
The resulting taxonomy reveals a stable, non-random structure that clusters tasks into intuitive groups: 3D, 2D, low-dimensional geometric, and semantic.
- Data Efficiency: To solve a set of 10 tasks, the Taskonomy transfer policy requires roughly 2/3 less labeled data than training each task independently to reach the same performance level.
- Intuition vs. Computation: Human intuition is not always a perfect guide. For example, while one might assume depth is a prerequisite for surface normals, the model found that the reverse direction (normals → depth) is computationally more efficient.
- Higher-Order Transfers: The paper explores "higher-order" transfers where features from multiple sources (e.g., combining 3D edges and curvature) are used to solve a target task like reshading.
- Universality: The discovered relationships are not specific to the Taskonomy dataset; rankings remained highly correlated (Spearman’s rho > 0.82) when tested on ImageNet and MIT Places.
Conclusion
Taskonomy provides a principled way to identify redundancies across tasks and reuse supervision. While the current map is specific to the CNN function class (ResNet-50) and a fixed dictionary of 26 tasks, it provides a foundation for future work in efficient multi-task learning and principled transfer learning policies.
Summary updated