arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2110.05342cs.CV
收藏

半自回归图像描述

Semi-Autoregressive Image Captioning

University of Chinese Academy of Sciences(中国科学院大学);Peng Cheng Laboratory(鹏城实验室);Huawei Technologies(华为技术有限公司)

Xu Yan, Zhengcong Fei, Zekang Li, Shuhui Wang, Qingming Huang, Qi Tian

摘要:

用于图像描述的现有技术方法通常采用自回归方式,即,逐字生成描述,这遭受了解码速度慢的问题,并成为实时应用中的瓶颈。具有连续迭代细化的非自回归图像描述消除了句子生成中的顺序依赖性,可以以相当大的加速实现与自回归对应物相当的性能。然而,基于一个精心设计的实验,我们经验证明,迭代次数可以有效地减少时,提供足够的先验知识的语言解码器。为此,我们提出了一种新的两阶段的框架,称为半自回归图像描述(SAIC),使性能和速度之间更好的权衡。SAIC模型保持了全局自回归特性,但减轻了局部自回归特性。具体来说,SAIC模型首先以自回归的方式跳跃地产生一个间歇序列,即按顺序预测每个词组中的第一个词。然后,借助部分确定的先验信息和图像特征,SAIC模型用一次迭代非自回归地填充所有跳过的单词。在MS COCO基准上的实验结果表明,我们的SAIC模型优于前面的非自回归图像描述模型,同时获得了竞争性的推理加速。代码可在https://github.com/feizc/SAIC上获得。

英文摘要:

Current state-of-the-art approaches for image captioning typically adopt an autoregressive manner, i.e., generating descriptions word by word, which suffers from slow decoding issue and becomes a bottleneck in real-time applications. Non-autoregressive image captioning with continuous iterative refinement, which eliminates the sequential dependence in a sentence generation, can achieve comparable performance to the autoregressive counterparts with a considerable acceleration. Nevertheless, based on a well-designed experiment, we empirically proved that iteration times can be effectively reduced when providing sufficient prior knowledge for the language decoder. Towards that end, we propose a novel two-stage framework, referred to as Semi-Autoregressive Image Captioning (SAIC), to make a better trade-off between performance and speed. The proposed SAIC model maintains autoregressive property in global but relieves it in local. Specifically, SAIC model first jumpily generates an intermittent sequence in an autoregressive manner, that is, it predicts the first word in every word group in order. Then, with the help of the partially deterministic prior information and image features, SAIC model non-autoregressively fills all the skipped words with one iteration. Experimental results on the MS COCO benchmark demonstrate that our SAIC model outperforms the preceding non-autoregressive image captioning models while obtaining a competitive inference speedup. Code is available at https://github.com/feizc/SAIC.

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

↑