Abstract
This paper introduces a "Joint Decoding" (JD) strategy designed to significantly reduce the computational overhead of high-performance Transformer-based semantic segmentation. By merging feature reconstruction and task decoding into a single, lightweight step, the proposed architecture achieves up to an 11.7x speedup for in-car applications and reduces cloud-side parameters by over 99% for distributed systems. Crucially, these efficiency gains are achieved while maintaining state-of-the-art accuracy on industry-standard benchmarks.
Introduction
Semantic segmentation—the process of assigning a category to every pixel in an image—is a foundational technology for autonomous driving. While Transformer-based models currently lead in accuracy, their high computational cost presents a significant barrier. Automotive systems face two primary constraints: limited on-board processing power for real-time execution and bandwidth/scalability bottlenecks when offloading tasks to the cloud. Previous attempts to solve this involved using simpler convolutional networks or lightweight Transformers that often sacrificed fine-grained detail. This paper proposes a novel Joint Decoding (JD) architecture that bridges this gap.
Proposed Method: Joint Decoding
The authors propose a streamlined architecture based on the SegDeformer framework. In a typical distributed setup, a vehicle sends compressed "bottleneck" features to a cloud server. Traditionally, the server first reconstructs the full feature map and then applies a task decoder. The authors identify this reconstruction as redundant.
The Joint Decoding (JD) approach operates directly on the lower-resolution, compressed latent representation. To achieve this, the researchers implemented several key optimizations:
- Dimensionality Reduction: The internal dimension ($d$) of the decoder was reduced from 256 to 48.
- Spatial Scaling: The downsampling factor ($k$) was increased from 4 to 8.
- Context Mining: The model retains hierarchical attention and learnable "class tokens" to capture global scene information even at reduced resolutions.
In contrast, traditional methods (shown below) require an explicit Feature Decoder (FD) stage, which adds significant latency and parameter count.
Key Insights
- Eliminating Redundancy: The primary insight is that a pixel-perfect reconstruction of the original feature map is not necessary for accurate labeling. By training the decoder to work directly in the compressed latent space, the model eliminates a massive amount of unnecessary computation.
- Global Context via Class Tokens: Even at low spatial resolutions, "global class tokens" (learnable data representing specific categories) allow the model to maintain high accuracy by providing the global context that simple convolutional layers often miss.
- Cloud Scalability: By reducing cloud-side parameters to as little as 0.04% of previous state-of-the-art models, the JD approach allows a single cloud server to support hundreds of times more vehicles simultaneously.
Experimental Results
The researchers evaluated the JD approach on the ADE20K and Cityscapes datasets. The quantitative results demonstrate substantial improvements:
In-Car Application
On the Cityscapes dataset, the model improved performance from a sluggish 1.4 FPS to a more practical 16.5 FPS (an 11.7x increase). On ADE20K, frame rates rose from 43.3 FPS to 154.3 FPS. These speedups were achieved while remaining on-par with the mean Intersection over Union (mIoU) of much heavier baseline models.
Distributed Application
The parameter efficiency in distributed settings is particularly striking. On ADE20K, the cloud-side model used only 0.14% of the parameters compared to previous state-of-the-art methods. On Cityscapes, this dropped further to 0.04%. Furthermore, the model achieved superior accuracy across a wide range of bitrates compared to existing CNN and Transformer baselines.
Conclusion and Future Work
The Joint Decoding strategy provides a highly efficient path for deploying advanced semantic segmentation in the automotive sector. While the decoder is now optimized, the encoder (the initial image processing stage) remains a significant part of the total load. Future research will focus on optimizing the encoder-decoder interface and testing performance on automotive-grade hardware like NVIDIA Orin. Additionally, extending this "Joint Decoding" concept to multi-task learning environments remains a promising direction.
Summary updated