TSP-Transformer: Task-Specific Prompts Boosted Transformer for Holistic Scene Understanding

Shuo Wang, Jing Li, Zibo Zhao, Dongze Lian, Binbin Huang +3 more
11/6/2023
21 citations
cs.CV
transformer-attention

Official code: tb2-sy/TSP-Transformer (13 stars, Python, MIT, last commit 2024-05-30).

Abstract

Holistic scene understanding includes semantic segmentation, surface normal estimation, object boundary detection, depth estimation, etc. The key aspect of this problem is to learn representation effectively, as each subtask builds upon not only correlated but also distinct attributes.

Show full abstract

Inspired by visual-prompt tuning, we propose a Task-Specific Prompts Transformer, dubbed TSP-Transformer, for holistic scene understanding. It features a vanilla transformer in the early stage and tasks-specific prompts transformer encoder in the lateral stage, where tasks-specific prompts are augmented. By doing so, the transformer layer learns the generic information from the shared parts and is endowed with task-specific capacity. First, the tasks-specific prompts serve as induced priors for each task effectively. Moreover, the task-specific prompts can be seen as switches to favor task-specific representation learning for different tasks. Extensive experiments on NYUD-v2 and PASCAL-Context show that our method achieves state-of-the-art performance, validating the effectiveness of our method for holistic scene understanding. We also provide our code in the following link https://github.com/tb2-sy/TSP-Transformer.

View on arXivView PDF

Code Implementations(1)

MIT

[WACV 2024] TSP-Transformer: Task-Specific Prompts Boosted Transformer for Holistic Scene Understanding

130Python, ShellOct 25, 20232 years agoMIT
multi-task-learningprompt-learningscene-understandingtransformer

Similar Papers

Cite this paper

@article{wang2023tsptransformer,
  title  = {TSP-Transformer: Task-Specific Prompts Boosted Transformer for Holistic Scene Understanding},
  author = {Shuo Wang and Jing Li and Zibo Zhao and Dongze Lian and Binbin Huang and Xiaomei Wang and Zhengxin Li and Shenghua Gao},
  year   = {2023},
  eprint = {2311.03427},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.03427v1}
}

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/2311.03427.svg)](https://codeofpaper.com/paper/2311.03427)

Discussion