Abstract
UberNet is a "Swiss Army knife" for computer vision: a single Convolutional Neural Network (CNN) trained to solve seven distinct tasks—ranging from low-level boundary detection to high-level object detection—simultaneously. To achieve this, the authors introduced an asynchronous training strategy to handle diverse, partially-labeled datasets and a memory-efficient backpropagation algorithm that makes the system's memory requirements independent of the number of tasks.
Introduction: The Specialist vs. Generalist Dilemma
In modern computer vision, state-of-the-art models are typically specialists designed for a single task, such as pixel segmentation or bounding box detection. However, a truly intelligent agent requires a holistic understanding of a scene across multiple levels of abstraction simultaneously. UberNet addresses this by providing a unified framework for multi-level vision.
The authors identify two primary bottlenecks to building such a "universal" vision network:
- Data Fragmentation: No single "super-dataset" exists with ground-truth labels for every vision task. Most datasets are specialized for one or two objectives.
- Memory Constraints: Standard deep learning training requires storing intermediate activations for every layer. As task-specific "heads" or branches are added to a network, memory usage scales linearly, often exceeding the limits of modern hardware.
Methodology
UberNet utilizes a shared trunk architecture based on VGG-16, which extracts features that are then fed into multiple task-specific branches.
Asynchronous SGD and Sample-Dependent Loss
To train on disjoint datasets, UberNet employs a loss function that only penalizes the network for tasks where ground truth is available for a specific image. For example, if an image from a saliency dataset is processed, gradients for object detection are set to zero. The authors also propose Asynchronous SGD, where task-specific parameters are updated only after the network has processed a sufficient "effective batch size" for that specific task, preventing noisy updates from infrequent samples.
Memory-Efficient Backpropagation
To mitigate memory explosion, the authors implemented a technique similar to gradient checkpointing. Instead of storing activations for all $L$ layers, they store a subset of "anchor" activations (approximately $\sqrt{L}$). During the backward pass, missing activations are recomputed on the fly. Crucially, task branches are processed and cleared from memory sequentially, making the total memory footprint independent of the number of tasks being trained.
Multi-Resolution Pyramid
The network processes an image pyramid with tied weights, allowing it to capture both fine-grained details for low-level tasks and global context for high-level ones.
Experimental Results and Insights
UberNet was evaluated across seven major benchmarks, including BSDS500 (boundaries), NYUv2 (surface normals), and PASCAL VOC (detection and segmentation).
- Task Synergy: Joint training often improves performance. For instance, combining object detection and semantic segmentation boosted detection mAP from 78.7% to 80.1%.
- Capacity Bottlenecks: Adding too many diverse tasks (e.g., surface normals) can lead to a slight performance drop in others, suggesting a "communicating vessels" effect where the shared trunk's capacity is limited.
- Efficiency: UberNet processes all seven tasks in just 0.7 seconds per frame on a single Titan-X GPU.
Conclusion and Future Work
UberNet demonstrates that a single generalist model can achieve competitive accuracy with specialized models while maintaining high efficiency. Future work may involve moving to higher-capacity backbones like ResNet or ResNeXt to alleviate the capacity bottleneck and automatically identifying which tasks are most mutually beneficial for joint training.
Summary updated