Reproduce “Learning Combinatorial Prompts for Universal Controllable Image Captioning” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Zhen Wang, Jun Xiao, Yueting Zhuang, Fei Gao, Jian Shao, Long Chen

Researchers from Zhejiang University and HKUST developed ComPro, a prompt-based framework for universal controllable image captioning (CIC) that efficiently generates descriptions under multiple, simultaneous control signals. Leveraging a fixed GPT-2 model, ComPro outperforms existing signal-specific models (e.g., 227.5 CIDEr-D vs. 192.3 for content control) while using fewer trainable parameters and achieving robust combinatorial control.

Key insights

  • A fixed Pretrained Language Model (PLM) can serve as a universal language generator for CIC, abstracting away signal-specific architectural designs, when effectively steered by learnable prompts.
  • Signal-specific mask attention, by controlling information flow, is crucial for allowing a single prompt generation network to learn and encode diverse content-related and structure-related control signals simultaneously.
  • The modularity and extensibility of prompt learning enable easy generalization to new combinations of control instances and entirely new types of control signals (e.g., tense) without significant architectural changes.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.