Contextualized Image Captioning (CIC) evolves traditional image captioning into a more complex domain, necessitating the ability for multimodal reasoning. It aims to generate image captions given specific contextual information. This paper further introduces a novel domain of Controllable Contextualized Image Captioning (Ctrl-CIC). Unlike CIC, which solely relies on broad context, Ctrl-CIC accentuates a user-defined highlight, compelling the model to tailor captions that resonate with the highlighted aspects of the context. We present two approaches, Prompting-based Controller ( \(\mathcal {P}\) - \(\texttt{Ctrl}\) ) and Recalibration-based Controller ( \(\mathcal {R}\) - \(\texttt{Ctrl}\) ), to generate focused captions. \(\mathcal {P}\) - \(\texttt{Ctrl}\) conditions the model generation on highlight by prepending captions with highlight-driven prefixes, whereas \(\mathcal {R}\) - \(\texttt{Ctrl}\) tunes the model to selectively recalibrate the encoder embeddings for highlighted tokens. Additionally, we design a GPT-4V empowered evaluator to assess the quality of the controlled captions alongside standard assessment methods. Extensive experimental results demonstrate the efficient and effective controllability of our method, charting a new direction in achieving user-adaptive image captioning. Code is avaliable at https://github.com/ShunqiM/Ctrl-CIC .

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Controllable Contextualized Image Captioning: Directing the Visual Narrative Through User-Defined Highlights

  • Shunqi Mao,
  • Chaoyi Zhang,
  • Hang Su,
  • Hwanjun Song,
  • Igor Shalyminov,
  • Weidong Cai

摘要

Contextualized Image Captioning (CIC) evolves traditional image captioning into a more complex domain, necessitating the ability for multimodal reasoning. It aims to generate image captions given specific contextual information. This paper further introduces a novel domain of Controllable Contextualized Image Captioning (Ctrl-CIC). Unlike CIC, which solely relies on broad context, Ctrl-CIC accentuates a user-defined highlight, compelling the model to tailor captions that resonate with the highlighted aspects of the context. We present two approaches, Prompting-based Controller ( \(\mathcal {P}\) - \(\texttt{Ctrl}\) ) and Recalibration-based Controller ( \(\mathcal {R}\) - \(\texttt{Ctrl}\) ), to generate focused captions. \(\mathcal {P}\) - \(\texttt{Ctrl}\) conditions the model generation on highlight by prepending captions with highlight-driven prefixes, whereas \(\mathcal {R}\) - \(\texttt{Ctrl}\) tunes the model to selectively recalibrate the encoder embeddings for highlighted tokens. Additionally, we design a GPT-4V empowered evaluator to assess the quality of the controlled captions alongside standard assessment methods. Extensive experimental results demonstrate the efficient and effective controllability of our method, charting a new direction in achieving user-adaptive image captioning. Code is avaliable at https://github.com/ShunqiM/Ctrl-CIC .