AI RESEARCH

Tokenizing Semantic Segmentation with RLE

arXiv CS.CV

ArXi:2602.21627v2 Announce Type: replace 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.