TL;DR
This paper explores "split computing"—splitting a deep neural network between a mobile device and an edge server—specifically for complex object detectors like Faster R-CNN. The authors demonstrate that while naive splitting fails because early layers actually increase data size, injecting artificial bottlenecks and using "head network distillation" can reduce data transfer by up to 93% with manageable hits to accuracy.
What Problem Does This Paper Address?
Deep learning models for object detection (like Mask R-CNN) are computationally heavy, making them difficult to run locally on mobile devices. While "edge computing" solves this by offloading the entire task to a powerful server, it requires transmitting high-resolution raw images, which can clog wireless networks.
"Split computing" is a middle-ground approach where the mobile device runs the first few layers (the "head") and sends the intermediate results (tensors) to the edge server to finish the job (the "tail"). However, most research in this area focuses on simple image classification. The authors identify a major hurdle for object detectors: data amplification. In complex detectors, the early layers often produce tensors that are significantly larger than the original input image, making naive splitting slower than just sending the raw image.
Methods
The authors propose a strategy to make split computing viable for complex detectors:
- Bottleneck Injection: Instead of splitting the model at a "natural" point, they redesign the architecture to include an artificial bottleneck early in the network. Specifically, they modify "Layer 1" of the ResNet backbone to have a significantly smaller number of output channels ($C$).
- Strategic Splitting: They identify that the split must occur before the first branching point in the network (e.g., before the Feature Pyramid Network) to avoid the need to transmit multiple tensors.
- Head Network Distillation: To ensure the new, smaller "head" still produces useful features, they use a teacher-student training scheme. The original, full-sized layers act as the "teacher," guiding the training of the new bottlenecked "student" layers.
Datasets
The study primarily uses the COCO 2017 dataset (Common Objects in Context), a large-scale benchmark for object detection and segmentation. They also reference results from the COCO 2014 minival dataset to compare against standard TensorFlow model baselines.
Key Insights and Ideas
-
The Data Amplification Trap: Figure 2 illustrates the core challenge: in standard Faster and Mask R-CNN models, the tensor size at almost every early layer is much larger than the input image. A naive split at "Layer 2," for example, would require sending ~20x more data than the raw image.
Figure 2: Layer-wise output tensor sizes of Faster and Mask R-CNNs scaled by input tensor size (3×800×800). -
Branching Complexity: Unlike simple classification models, object detectors branch out to handle different scales (FPN) and tasks (RPN, RoI Heads). This limits where you can practically split the model without exponentially increasing the communication overhead.
- Mobile Limitations: The authors provide a sobering look at mobile performance. Running a Faster R-CNN locally on a Raspberry Pi 4 takes 20–30 seconds per image, which is far from real-time. This highlights why effective offloading is a necessity, not just a luxury.
Key Results
- Significant Data Reduction: By injecting bottlenecks, the authors reduced the size of the data to be transferred by 80.3% to 93.4% compared to traditional edge computing (sending the raw input tensor).
- Performance Trade-offs: There is a clear Pareto frontier between bottleneck size and detection accuracy (mAP). As shown in Figure 5, reducing the bottleneck size leads to a drop in mAP, but the distillation process helps maintain relatively high performance even with significant compression.
- Latency Benchmarks: The paper provides detailed running times across different hardware (Raspberry Pi, Jetson TX2, and Desktop GPUs), establishing a baseline for how much time split computing needs to "save" to be competitive.
Limitations and Future Work
The primary limitation is that aggressive bottlenecks still cause significant accuracy degradation. While distillation helps, there is a limit to how much information can be squeezed through a very narrow "head" without losing the semantic details needed for complex detection.
The authors suggest that the next step is to combine these architectural bottlenecks with further compression techniques like quantization (reducing the precision of the numbers in the tensors) to further drive down inference time and bandwidth usage. They also note the need for more efficient training strategies to bridge the accuracy gap.
Summary updated