Distributed Semantic Segmentation with Efficient Joint Source and Task Decoding

Danish Nazir, Timo Bartels, Jan Piewek, Thorsten Bagdonat, Tim Fingscheidt

Abstract

Distributed inference allows edge devices to offload computationally intensive deep learning tasks to cloud servers. However, traditional "split-DNN" approaches often suffer from high cloud-side computational overhead due to the serial execution of source decoding (decompression) and task decoding (inference). This paper presents a Joint Source and Task Decoding (JD) framework that merges these steps into a single, efficient operation. By bypassing the reconstruction of intermediate feature maps, the proposed method achieves state-of-the-art performance in semantic segmentation while reducing cloud parameters by approximately 90% and significantly lowering computational complexity (FLOPs).

Introduction

The deployment of sophisticated Deep Neural Networks (DNNs) on edge devices—such as autonomous vehicles and smart cameras—is frequently constrained by limited hardware resources and power budgets. Distributed computing addresses this by splitting the DNN: an edge device executes the initial layers (encoder), compresses the resulting bottleneck features, and transmits them to a cloud server for the remaining processing (decoder).

While effective, conventional distributed inference is hindered by the "serial decoding" paradigm. In this setup, the cloud must first reconstruct the compressed features (source decoding) before passing them to a task-specific network (task decoding). This two-step process is computationally expensive and scales poorly for cloud providers managing millions of concurrent streams. This paper introduces Joint Source and Task Decoding (JD) to streamline this pipeline, enhancing both efficiency and data privacy.

Methodology

The core innovation of this work is the radical simplification of cloud-side processing through three primary mechanisms:

1. Joint Decoder (JD)

Unlike traditional methods that decompress a bitstream into a feature map ($\hat{z}$) before inference, the JD architecture processes the quantized bitstream directly. By eliminating the intermediate reconstruction step, the model maps compressed data straight to the final semantic segmentation mask. This approach recognizes that full feature reconstruction is often redundant for high-level semantic understanding.

2. Training-Time Over-Parameterization

To maintain high accuracy without increasing inference latency, the authors employ a structural re-parameterization technique. During the training phase, Atrous Spatial Pyramid Pooling (ASPP) blocks are expanded with $K$ parallel branches. Once training is complete, these branches are mathematically collapsed into a single, optimized layer. This allows the model to benefit from the representational power of a larger network during training while remaining lightweight during deployment.

3. Variational Compression

The system utilizes a hyperprior-based source codec to manage feature compression. This ensures that the transmitted bottleneck features are bitrate-efficient, balancing the trade-off between communication cost and segmentation accuracy.

Experimental Results

The JD framework was evaluated on the COCO-2017 and Cityscapes datasets, using a ResNet-50 backbone and a DeepLabv3-based topology.

Efficiency and Scalability

The proposed method demonstrates a massive reduction in cloud-side resource requirements:

  • Parameter Count: On the COCO dataset, the JD model requires only 1.66 million parameters, a nearly 90% reduction compared to the previous state-of-the-art (SOTA) of 16.78 million.
  • Computational Complexity: Cloud-side FLOPs dropped from 521 GFLOPs to 10 GFLOPs on COCO, and from 1366 GFLOPs to 39 GFLOPs on Cityscapes.

Segmentation Accuracy

Despite the drastic reduction in size, the JD method outperformed previous SOTA models across nearly all bitrates. On the COCO dataset, the model reached the "No Compression" baseline accuracy at a bitrate of just 0.65 bits per pixel (bpp). Qualitative analysis indicates that JD is particularly effective at preserving small objects, such as poles and sidewalks, which are often lost or misclassified in traditional serial decoding pipelines at low bitrates.

Discussion and Future Work

Beyond efficiency, the JD approach offers inherent privacy advantages. Because the cloud server never reconstructs the original image or high-fidelity bottleneck features, the risk of sensitive visual data being intercepted or reconstructed is significantly mitigated.

However, certain limitations remain. The current implementation is optimized for the DeepLabv3 architecture; future research is required to determine if these benefits extend to modern Transformer-based models like SegFormer. Additionally, while cloud overhead is minimized, the edge device still bears the burden of the ResNet-50 backbone, suggesting that further optimization of the "split point" is a valuable direction for future work.

Conclusion

Joint Source and Task Decoding represents a significant step toward making distributed AI economically viable and private. By treating decompression and inference as a unified task, the JD framework enables high-performance semantic segmentation with a fraction of the traditional computational cost.

Summary updated

BibTeX
@inproceedings{nazir2024distributed,
  author = {Danish Nazir and Timo Bartels and Jan Piewek and Thorsten Bagdonat and Tim Fingscheidt},
  title = {{Distributed Semantic Segmentation with Efficient Joint Source and Task Decoding}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-73223-2\_12},
}
Figure