Leveraging Partial Dependency Trees to Control Image Captions
Leveraging Partial Dependency Trees to Control Image Captions
复制标题
DOI:
10.18653/v1/2021.alvr-1.3
复制
发表时间:
2021-06
期刊:
影响因子:
--
通讯作者:
Wenjie Zhong;Yusuke Miyao
中科院分区:
文献类型:
--
作者:
Wenjie Zhong;Yusuke Miyao
Controlling the generation of image captions attracts lots of attention recently. In this paper, we propose a framework leveraging partial syntactic dependency trees as control signals to make image captions include specified words and their syntactic structures. To achieve this purpose, we propose a Syntactic Dependency Structure Aware Model (SDSAM), which explicitly learns to generate the syntactic structures of image captions to include given partial dependency trees. In addition, we come up with a metric to evaluate how many specified words and their syntactic dependencies are included in generated captions. We carry out experiments on two standard datasets: Microsoft COCO and Flickr30k. Empirical results show that image captions generated by our model are effectively controlled in terms of specified words and their syntactic structures.The code is available on GitHub.