CLID: Controlled-Length Image Descriptions with Limited Data
Elad Hirsch, Ayellet Tal
TL;DR
The paper tackles length-controlled image captioning in the presence of scarce long-caption data. It introduces a two-phase framework: first, self-generate a large, varying-length caption dataset from scene graphs using saliency-guided traversal; second, train with a data-selection strategy that blends a small, high-quality trusted corpus with a large, noisy extended corpus, gradually filtering low-quality samples while retaining long-caption information. A quality-score-based sampling scheme with a smooth threshold controls exposure to synthetic data across training iterations, enabling robust length control without sacrificing overall caption quality. Experiments on MS-COCO and related data show substantial improvements in length-control precision, competitive SPICE scores, and human preference for CLID captions, with strong performance also in paragraph generation. The approach is general and applies to longer-form image descriptions, offering practical benefits for varied user needs and applications.
Abstract
Controllable image captioning models generate human-like image descriptions, enabling some kind of control over the generated captions. This paper focuses on controlling the caption length, i.e. a short and concise description or a long and detailed one. Since existing image captioning datasets contain mostly short captions, generating long captions is challenging. To address the shortage of long training examples, we propose to enrich the dataset with varying-length self-generated captions. These, however, might be of varying quality and are thus unsuitable for conventional training. We introduce a novel training strategy that selects the data points to be used at different times during the training. Our method dramatically improves the length-control abilities, while exhibiting SoTA performance in terms of caption quality. Our approach is general and is shown to be applicable also to paragraph generation.
