39
v1v2 (latest)

Tokenizing Semantic Segmentation with RLE

Abhineet Singh
Justin Rozeboom
Nilanjan Ray
Main:10 Pages
20 Figures
Bibliography:2 Pages
15 Tables
Appendix:7 Pages
Abstract

This paper presents a new unified approach to semantic segmentation in both images and videos by using language modeling to output the masks as sequences of discrete tokens. We use run length encoding (RLE) to discretize the segmentation masks and then train a modified version of Pix2Seq to output these RLE tokens through autoregression. We propose novel tokenization strategies to compress the length of the token sequence to make it practicable to extend this approach to videos. We also show how instance information can be incorporated into the tokenization process to perform panoptic segmentation. We evaluate our proposed models on two datasets to show that they are competitive with the state of the art in some scenarios in spite of being bottlenecked by our limited computational resources. We make our code and models publicly available to facilitate further work in this domain.

View on arXiv
Comments on this paper