arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2106.09436cs.CV
收藏

用于图像描述的半自回归Transformer

Semi-Autoregressive Transformer for Image Captioning

Hefei University of Technology(合肥工业大学);Tencent AI Lab(腾讯AI实验室);Key Laboratory of Knowledge Engineering with Big Data (Ministry of Education)(大数据知识工程教育部重点实验室)

Yuanen Zhou, Yong Zhang, Zhenzhen Hu, Meng Wang

摘要:

当前最先进的图像描述模型采用自回归解码器\ie,它们通过调节先前生成的单词来生成每个单词,这导致推理期间的严重延迟。为了解决这个问题,最近提出了非自回归图像描述模型,通过并行生成所有单词来显著加快推理速度。然而,这些非自回归模型不可避免地遭受大的生成质量下降,因为他们删除字依赖过度。为了在速度和质量之间取得更好的平衡,我们引入了一个用于图像描述~的半自回归模型(SATIC),该模型在全局上保持自回归特性,但在局部上生成单词。在Transformer的基础上,只需要做一些修改就可以实现SATIC。在MSCOCO图像描述基准测试上的实验结果表明,SATIC可以实现良好的权衡,而无需花里胡哨。代码可在{ \color{magenta} \url{https://github.com/YuanEZhou/satic} }获得。

英文摘要:

Current state-of-the-art image captioning models adopt autoregressive decoders, \ie they generate each word by conditioning on previously generated words, which leads to heavy latency during inference. To tackle this issue, non-autoregressive image captioning models have recently been proposed to significantly accelerate the speed of inference by generating all words in parallel. However, these non-autoregressive models inevitably suffer from large generation quality degradation since they remove words dependence excessively. To make a better trade-off between speed and quality, we introduce a semi-autoregressive model for image captioning~(dubbed as SATIC), which keeps the autoregressive property in global but generates words parallelly in local . Based on Transformer, there are only a few modifications needed to implement SATIC. Experimental results on the MSCOCO image captioning benchmark show that SATIC can achieve a good trade-off without bells and whistles. Code is available at {\color{magenta}\url{https://github.com/YuanEZhou/satic}}.

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

↑