Embedding-Free Transformer with Inference Spatial Reduction for Efficient Semantic Segmentation

Hyunwoo Yu, Yubin Cho, Beoungwoo Kang, Seunghun Moon, Kyeongbo Kong +1 more
2/14/2026

No official code found. Best implementation: hyunwoo137/EDAFormer (34 stars, Apache-2.0, last commit 2025-03-15).

Abstract

We present an Encoder-Decoder Attention Transformer, EDAFormer, which consists of the Embedding-Free Transformer (EFT) encoder and the all-attention decoder leveraging our Embedding-Free Attention (EFA) structure. The proposed EFA is a novel global context modeling mechanism that focuses on functioning the global non-linearity, not the specific roles of the query, key and value. For the decoder, we explore the optimized structure for considering the globality, which can improve the semantic segmentation performance. In addition, we propose a novel Inference Spatial Reduction (ISR) method for the computational efficiency. Different from the previous spatial reduction attention methods, our ISR method further reduces the key-value resolution at the inference phase, which can mitigate the computation-performance trade-off gap for the efficient semantic segmentation. Our EDAFormer shows the state-of-the-art performance with the efficient computation compared to the existing transformer-based semantic segmentation models in three public benchmarks, including ADE20K, Cityscapes and COCO-Stuff. Furthermore, our ISR method reduces the computational cost by up to 61% with minimal mIoU performance degradation on Cityscapes dataset. The code is available at https://github.com/hyunwoo137/EDAFormer.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Official Pytorch implementations for "Embedding-Free Transformer with Inference Spatial Reduction for Efficient Semantic Segmentation"(ECCV 2024)

345Shell, PythonJul 5, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{yu2026embeddingfree,
  title  = {Embedding-Free Transformer with Inference Spatial Reduction for Efficient Semantic Segmentation},
  author = {Hyunwoo Yu and Yubin Cho and Beoungwoo Kang and Seunghun Moon and Kyeongbo Kong and Suk-Ju Kang},
  year   = {2026},
  eprint = {2407.17261},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2407.17261},
  journal = {ECCV 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.17261.svg)](https://codeofpaper.com/paper/2407.17261)

Discussion