SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2306.02095 · CVPR · 2023

Content-aware Token Sharing for Efficient Semantic Segmentation with Vision Transformers

Chenyang Lu, Gijs Dubbelman, Daan De Geus

arXiv · PDF · Open in the Atlas

Code that ran

We have not lifted any functions out of this paper's repositories yet, so there is nothing we have run. The repositories linked to it are listed below.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

This paper introduces Content-aware Token Sharing (CTS), a token reduction approach that improves the computational efficiency of semantic segmentation networks that use Vision Transformers (ViTs). Existing works have proposed token reduction approaches to improve the efficiency of ViT-based image classification networks, but these methods are not directly applicable to semantic segmentation, which we address in this work. We observe that, for semantic segmentation, multiple image patches can share a token if they contain the same semantic class, as they contain redundant information. Our approach leverages this by employing an efficient, class-agnostic policy network that predicts if image patches contain the same semantic class, and lets them share a token if they do. With experiments, we explore the critical design choices of CTS and show its effectiveness on the ADE20K, Pascal Context and Cityscapes datasets, various ViT backbones, and different segmentation decoders. With Content-aware Token Sharing, we are able to reduce the number of processed tokens by up to 44%, without diminishing the segmentation quality. * Both authors contributed equally. 1 In this work we use the term ViTs for the complete family of vision transformers that purely apply global self-attention. ViT Policy N tokens N patches N patches M<N patches ViT M<N tokens Standard vision transformer Vision transformer with Content-aware Token Sharing (CTS)

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2306.02095")
get_code_for_paper("2306.02095")
have("2306.02095")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2306.02095.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2306.02095.svg)](https://syntology.ai/paper/2306.02095)

Connect an agent — have() is free.