An Efficient Semantic Segmentation Decoder for In-Car or Distributed Applications

Danish Nazir, Gowtham Sai Inti, Timo Bartels, Jan Piewek, Thorsten Bagdonat, Tim FingscheidtarXiv 2025 · DOI

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 proposed Joint Decoding (JD) architecture, which integrates reconstruction and task decoding into a single step for both in-car and cloud environments.

The Joint Decoding (JD) approach operates directly on the lower-resolution, compressed latent representation. To achieve this, the researchers implemented several key optimizations:

  1. Dimensionality Reduction: The internal dimension ($d$) of the decoder was reduced from 256 to 48.
  2. Spatial Scaling: The downsampling factor ($k$) was increased from 4 to 8.
  3. 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.

A baseline distributed application architecture requiring an explicit feature reconstruction stage (FD) before decoding.

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

BibTeX
@misc{nazir2025efficient,
  author = {Danish Nazir and Gowtham Sai Inti and Timo Bartels and Jan Piewek and Thorsten Bagdonat and Tim Fingscheidt},
  title = {{An Efficient Semantic Segmentation Decoder for In-Car or Distributed Applications}},
  year = {2025},
  eprint = {2510.16747},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.16747},
}
Figure