Abstract
Standard image captioning models typically generate descriptions in a fixed left-to-right sequence, often overlooking small or novel objects. We present CGO (Captions with Guiding Objects), a framework that allows for "intention-oriented" captioning. By anchoring sentence generation on a user-selected guiding object and employing a bidirectional LSTM approach, CGO ensures the inclusion of specific objects while maintaining linguistic fluency and significantly improving the description of novel or inconspicuous items.
Introduction: The Passive Nature of Image Captioning
Traditional image captioning systems rely on an encoder-decoder architecture that generates a single, most-likely description of an image from start to finish. While effective for general scenes, this "passive" approach suffers from two primary limitations: a lack of user control over specific objects of interest and the "novel object" problem, where models fail to describe objects not seen during caption training.
To address these, the CGO framework shifts the paradigm toward active, intention-oriented generation. Instead of hoping a model mentions a specific detail, users can explicitly guide the model to build a description around a chosen object, such as a "laptop" or a "houseplant." This is made possible by first identifying candidate objects through a classifier and then using them as anchors for the sentence.
Methods: The CGO Framework
The core innovation of CGO is its ability to break the left-to-right generation constraint through bidirectional generation.
Bidirectional Generation
Rather than starting with a generic <START> token, CGO begins with a guiding object ($y_k$). The framework consists of two primary modules:
- LSTM-L (Left): This module generates the sentence "prefix" by working backwards from the guiding object to the beginning of the sentence.
- LSTM-R (Right): This module takes the guiding object and the generated prefix to complete the "suffix" of the sentence.
Object Guidance and Novel Word Embedding
To ensure the prefix is contextually aware of the rest of the sentence, LSTM-L is fed a sequence of "assumed" objects expected to appear later. Furthermore, to handle objects outside the captioning training set, CGO utilizes a novel word embedding trick: it adopts the embeddings of visually or semantically similar "seen" objects (e.g., using "boat" to represent "schooner").
Experimental Evaluation
The researchers evaluated CGO using the MSCOCO benchmark for general fluency and ImageNet (ILSVRC2012) to test its performance on novel objects.
Key Results
- Novel Object Captioning: CGO achieved a state-of-the-art average F1 score of 75.8 on the MSCOCO novel object test split, vastly outperforming previous models like DCC (39.8) and NBT (53.2).
- Object Recall: The model significantly improved the recall of inconspicuous objects. For instance, the recall for "cups" rose from 0.15 in the base model to 0.69.
- Fluency: Despite the non-linear generation order, METEOR scores remained high (24.2–28.0), confirming that the bidirectional approach preserves grammatical integrity.
Conclusion and Future Work
CGO provides a robust mechanism for controllable image captioning, effectively "anchoring" descriptions on specific objects to ensure diversity and accuracy. While the current model guarantees the inclusion of a single guiding object, future work may explore multi-object constraints and the integration of more advanced object detectors to further refine the quality of the generated "intentions."
Summary updated