Saved in:
Bibliographic Details
Main Authors: Pan, Ting, Tang, Lulu, Wang, Xinlong, Shan, Shiguang
Format: Preprint
Published: 2023
Subjects:
Online Access:https://arxiv.org/abs/2312.09128
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913433468796928
author Pan, Ting
Tang, Lulu
Wang, Xinlong
Shan, Shiguang
author_facet Pan, Ting
Tang, Lulu
Wang, Xinlong
Shan, Shiguang
contents We present a unified, promptable model capable of simultaneously segmenting, recognizing, and captioning anything. Unlike SAM, we aim to build a versatile region representation in the wild via visual prompting. To achieve this, we train a generalizable model with massive segmentation masks, \eg, SA-1B masks, and semantic priors from a pre-trained CLIP model with 5 billion parameters. Specifically, we construct a promptable image decoder by adding a semantic token to each mask token. The semantic token is responsible for learning the semantic priors in a predefined concept space. Through joint optimization of segmentation on mask tokens and concept prediction on semantic tokens, our model exhibits strong regional recognition and localization capabilities. For example, an additional 38M-parameter causal text decoder trained from scratch sets a new record with a CIDEr score of 164.7 on the Visual Genome region captioning task. We believe this model can be a versatile region-level image tokenizer, capable of encoding general-purpose region context for a broad range of visual perception tasks. Code and models are available at {\footnotesize \url{https://github.com/baaivision/tokenize-anything}}.
format Preprint
id arxiv_https___arxiv_org_abs_2312_09128
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Tokenize Anything via Prompting
Pan, Ting
Tang, Lulu
Wang, Xinlong
Shan, Shiguang
Computer Vision and Pattern Recognition
We present a unified, promptable model capable of simultaneously segmenting, recognizing, and captioning anything. Unlike SAM, we aim to build a versatile region representation in the wild via visual prompting. To achieve this, we train a generalizable model with massive segmentation masks, \eg, SA-1B masks, and semantic priors from a pre-trained CLIP model with 5 billion parameters. Specifically, we construct a promptable image decoder by adding a semantic token to each mask token. The semantic token is responsible for learning the semantic priors in a predefined concept space. Through joint optimization of segmentation on mask tokens and concept prediction on semantic tokens, our model exhibits strong regional recognition and localization capabilities. For example, an additional 38M-parameter causal text decoder trained from scratch sets a new record with a CIDEr score of 164.7 on the Visual Genome region captioning task. We believe this model can be a versatile region-level image tokenizer, capable of encoding general-purpose region context for a broad range of visual perception tasks. Code and models are available at {\footnotesize \url{https://github.com/baaivision/tokenize-anything}}.
title Tokenize Anything via Prompting
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2312.09128