arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2301.02229cs.CVcs.AI
收藏

All in Tokens:通过软令牌统一视觉任务的输出空间

All in Tokens: Unifying Output Space of Visual Tasks via Soft Token

Huazhong University of Science and Technology(华中科技大学);Microsoft Research Asia(微软亚洲研究院);Xi’an Jiaotong University(西安交通大学);University of Science and Technology of China(中国科学技术大学)

Jia Ning, Chen Li, Zheng Zhang, Zigang Geng, Qi Dai, Kun He, Han Hu

摘要:

与语言任务不同,视觉任务的输出空间通常限于一组标记,视觉任务的输出空间更加复杂,很难为各种视觉任务建立统一的视觉模型。在本文中,我们寻求统一的视觉任务的输出空间,使我们也可以建立一个统一的模型的视觉任务。为此,我们展示了一个统一的模型,同时处理两个典型的视觉任务的实例分割和深度估计,分别具有离散/固定长度和连续/可变长度的输出。我们提出了几种考虑到视觉任务特殊性的新技术:1)软令牌。我们使用软令牌来表示任务输出。与普通VQ-VAE中的硬令牌被分配给离散码本/词汇表的独热不同,软令牌被软分配给码本嵌入。软令牌可以提高下一个令牌推理和任务输出解码的准确性; 2)掩码增强。许多视觉任务在标签注释中具有损坏、未定义或无效的值,即,深度图的遮挡区域。我们表明,掩模增强技术可以大大有利于这些任务。通过这些新技术和其他设计,我们证明了所提出的通用任务求解器可以很好地执行实例分割和深度估计。特别是在NYUv 2深度估计这一特定任务上,我们实现了0.279的RMSE,在此基准上创下了新的纪录。通用任务求解器,称为AiT,可以在\url{https://github.com/SwinTransformer/AiT}上找到。

英文摘要:

Unlike language tasks, where the output space is usually limited to a set of tokens, the output space of visual tasks is more complicated, making it difficult to build a unified visual model for various visual tasks. In this paper, we seek to unify the output space of visual tasks, so that we can also build a unified model for visual tasks. To this end, we demonstrate a single unified model that simultaneously handles two typical visual tasks of instance segmentation and depth estimation, which have discrete/fixed-length and continuous/varied-length outputs, respectively. We propose several new techniques that take into account the particularity of visual tasks: 1) Soft token. We employ soft token to represent the task output. Unlike hard tokens in the common VQ-VAE which are assigned one-hot to discrete codebooks/vocabularies, the soft token is assigned softly to the codebook embeddings. Soft token can improve the accuracy of both the next token inference and decoding of the task output; 2) Mask augmentation. Many visual tasks have corruption, undefined or invalid values in label annotations, i.e., occluded area of depth maps. We show that a mask augmentation technique can greatly benefit these tasks. With these new techniques and other designs, we show that the proposed general-purpose task-solver can perform both instance segmentation and depth estimation well. Particularly, we achieve 0.279 RMSE on the specific task of NYUv2 depth estimation, setting a new record on this benchmark. The general-purpose task-solver, dubbed AiT, is available at \url{https://github.com/SwinTransformer/AiT}.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑