TL;DR
The researchers introduce PS3 (Partially-Specified Sequence Supervision), a framework that allows image captioning models to learn from object detection labels as if they were "partial" sentences. By treating labels as constraints within a Finite State Automaton (FSA), they enable models to describe thousands of novel visual concepts found in massive detection datasets without requiring expensive, human-written full captions for every new object.
What Problem Does This Paper Address?
Standard image captioning models suffer from a "data bottleneck." To learn how to describe an image, they typically require large datasets of paired images and full human-written sentences (like COCO Captions). However, these datasets are expensive to scale and usually cover a very limited vocabulary—COCO, for instance, only features 91 object classes.
In contrast, object detection datasets (like Open Images) are much larger and contain thousands of visual concepts, but they only provide labels and bounding boxes, not natural language descriptions. The challenge is: How can we "assimilate" the rich visual knowledge from detection datasets into a captioning model without breaking its ability to generate fluent, natural sentences?
Methods
The authors propose a two-step iterative algorithm called PS3. The core idea is to treat an image label (e.g., "scooter") as a partial caption that is missing an unknown number of words.
- FSA Construction: For an image with labels, they construct a Finite State Automaton (FSA). This is a mathematical "map" that defines which sequences of words are acceptable. For example, an FSA might require that the generated sentence contains at least two out of three specific labels (like "man" and "scooter").
- Step 1: Caption Completion: Using the current version of the captioning model and Constrained Beam Search (CBS), the system searches for the most probable full sentence that satisfies the FSA's constraints. Essentially, the model "fills in the blanks" around the labels to create a pseudo-ground-truth sentence.
- Step 2: Parameter Update: The model is then trained (using standard cross-entropy loss) to predict these completed sequences.
By alternating these steps, the model learns the linguistic context for new objects. Crucially, they use an "Up-Down" attention architecture and leverage pre-trained word embeddings (GloVe) to handle out-of-vocabulary words that the model hasn't seen in full sentences before.
Datasets
- COCO Captions: Used for initial training and as the primary evaluation benchmark.
- COCO Novel Object Splits: A specific subset where eight object classes (e.g., "bottles," "bus," "pizza") are removed from the training captions but present in the test set. This tests the model's ability to describe objects it has never seen in a sentence.
- Open Images V4: A massive dataset with 1.9 million images and 600 object classes. The authors used this to demonstrate that their model could scale to a much wider variety of "in the wild" visual concepts.
Key Insights and Ideas
- Labels are Partial Sequences: The most elegant insight is viewing a list of tags not as a separate data modality, but as a "corrupted" or "incomplete" version of the target sequence. This allows image captioning to be framed as a general sequence learning problem.
- FSA as a Bridge: Using FSAs provides a flexible way to encode uncertainty. Instead of forcing a specific word order, the FSA allows the model to decide where the label fits best in a sentence (e.g., "a man on a scooter" vs. "the scooter is red").
- Training vs. Inference: Previous methods often required "constrained decoding" at test time to force the model to mention certain objects. The authors found that by using PS3 during training, the model "assimilates" the knowledge so well that it can often generate the correct labels at test time using standard, unconstrained decoding.
- Visual Grounding: Even without full sentences, the model's visual attention mechanism learns to "look" at the correct pixels for novel objects (like a tennis racket) simply by being told that the word must appear somewhere in the output.
Key Results
- State-of-the-Art: On the COCO novel object captioning task, PS3 outperformed all previous specialized architectures (like DCC and NOC), achieving a SPICE score of 17.9 and a CIDEr score of 94.5.
- Efficiency: Unlike prior work that required complex, multi-stage pipelines, PS3 works with standard "encoder-decoder" architectures.
- Scaling to Open Images: The authors successfully trained a model to describe 25 animal classes from Open Images that do not exist in COCO. Qualitatively, the model could correctly identify and describe "tigers" and "monkeys" while maintaining high-quality performance on the original COCO tasks.
Limitations and Future Work
- Simple FSA Logic: The current method for building FSAs is relatively simple (randomly selecting labels). The authors suggest that using more structured data, like Scene Graphs (which define relationships like "man riding scooter"), could lead to even more accurate and complex FSAs.
- Vocabulary Dependence: The model still relies heavily on pre-trained word embeddings to understand the relationship between novel words. If a word isn't in the pre-trained embedding space, the model struggles.
- Failure Cases: In some instances, the model still fails to mention the novel object if the visual signal is weak or the linguistic "completion" in Step 1 was poor.
Summary updated