English

Can Neural Image Captioning be Controlled via Forced Attention?

Computation and Language 2019-11-12 v1 Computer Vision and Pattern Recognition Machine Learning

Abstract

Learned dynamic weighting of the conditioning signal (attention) has been shown to improve neural language generation in a variety of settings. The weights applied when generating a particular output sequence have also been viewed as providing a potentially explanatory insight into the internal workings of the generator. In this paper, we reverse the direction of this connection and ask whether through the control of the attention of the model we can control its output. Specifically, we take a standard neural image captioning model that uses attention, and fix the attention to pre-determined areas in the image. We evaluate whether the resulting output is more likely to mention the class of the object in that area than the normally generated caption. We introduce three effective methods to control the attention and find that these are producing expected results in up to 28.56% of the cases.

Keywords

Cite

@article{arxiv.1911.03936,
  title  = {Can Neural Image Captioning be Controlled via Forced Attention?},
  author = {Philipp Sadler and Tatjana Scheffler and David Schlangen},
  journal= {arXiv preprint arXiv:1911.03936},
  year   = {2019}
}

Comments

Accepted shortpaper for the 12th International Conference on Natural Language Generation

R2 v1 2026-06-23T12:10:45.712Z