Decoupled Novel Object Captioner

Yu Wu, Linchao Zhu, Lu Jiang, Yi Yang

TL;DR

The Decoupled Novel Object Captioner (DNOC) enables image captioning models to describe objects they have never encountered in training sentences. By using a placeholder-based language model and a key-value memory linked to a pre-trained object detector, DNOC achieves "zero-shot" captioning without requiring the expensive manual annotation or external text corpora needed by previous methods.

What Problem Does This Paper Address?

Standard image captioning models rely on large datasets of paired images and sentences. While these models excel at describing common objects, they fail when they encounter "novel" objects—categories that weren't present in the training text. For example, if a model was never trained on sentences containing the word "zebra," it might see a zebra and mistakenly describe it as a "horse" or a "fence."

Previous attempts to solve this (like the Deep Compositional Captioner or NOC) required "unpaired" text data—large collections of sentences containing the novel words—to learn the linguistic context of those objects. However, collecting these sentences for every new product or trending topic is labor-intensive. DNOC addresses the zero-shot novel object captioning task: describing an image with a novel object using only a pre-trained object detector, without any training sentences (paired or unpaired) that mention the object.

Methods

The authors propose a framework that "decouples" the sentence structure from the specific object vocabulary. It consists of two primary components:

  1. Sequence Model with Placeholder (SM-P): Instead of trying to predict a specific (and potentially unknown) word like "zebra," the language model (an LSTM) is trained to predict a special token: <PL> (placeholder). This allows the model to learn the "template" of a sentence (e.g., "A <PL> is standing in a field") without needing to know the specific name of the object.
  2. Key-Value Object Memory: This component bridges the gap between vision and language. A pre-trained object detector (Faster R-CNN) identifies objects in the image. For each detected object, the model stores its visual features (the "Key") and its predicted class label (the "Value") in a memory bank.

The Workflow: When the SM-P generates the <PL> token, it uses its current hidden state as a query. This query is transformed into the visual feature space to find the most relevant object in the memory. The model then "reads" the corresponding label (e.g., "zebra") from the memory and plugs it into the sentence, replacing the placeholder.

Datasets

The researchers evaluated DNOC on a specific "held-out" version of the MSCOCO dataset. They selected eight specific object categories to be "novel": bottle, bus, couch, microwave, pizza, racket, suitcase, and zebra. All image-sentence pairs containing these words were removed from the training set, ensuring the model never saw these words in a linguistic context during training.

Key Insights and Ideas

  • Structural Decoupling: The core "aha" moment is that a model doesn't need to know what a "microwave" is to know where a noun belongs in a sentence. By using a placeholder, the model focuses on syntax and context, leaving the specific naming to a specialized visual module.
  • The Hidden State as a Visual Query: The paper demonstrates that the hidden state of a language model—usually thought of as purely linguistic—can be mapped effectively to visual features to retrieve the correct object from a detection-based memory.
  • Zero-Shot Efficiency: Unlike prior state-of-the-art models that required external text data (like Wikipedia or BookCorpus) to learn the context of novel words, DNOC achieves better results using only the labels provided by a standard object detector.

Key Results

DNOC significantly outperformed existing methods on the held-out MSCOCO benchmark:

  • F1-Score: DNOC achieved an average F1-score of 57.92% across the eight novel objects. This is a notable improvement over the previous state-of-the-art, NOC (51.85%) and LSTM-C (55.66%), despite those models having access to extra training sentences.
  • Linguistic Quality: Even without seeing the novel words during training, the METEOR scores (a measure of caption quality) remained competitive (21.57), suggesting that the placeholder mechanism does not degrade the naturalness of the generated language.
  • Ablation Success: The authors showed that using the key-value memory improved the F1-score by over 11% compared to a version that just randomly filled the placeholders with detected labels, proving the effectiveness of their query mechanism.

Limitations and Future Work

While DNOC is a major step forward, it has a few limitations:

  • Detector Dependency: The system is only as good as its object detector. If the detector fails to find an object or mislabels it, the caption will inevitably be incorrect.
  • Single-Word Focus: The current implementation is designed to fill single-word slots. Handling complex novel concepts that require multi-word phrases or specific adjectives (e.g., "a striped zebra") remains a challenge.
  • Future Directions: The authors suggest that future work could involve more sophisticated memory addressing or integrating the system with more advanced "open-world" detectors that can recognize thousands of categories beyond the standard MSCOCO set.

Summary updated

BibTeX
@inproceedings{wu2018decoupled,
  author = {Yu Wu and Linchao Zhu and Lu Jiang and Yi Yang},
  title = {{Decoupled Novel Object Captioner}},
  booktitle = {ACM Multimedia},
  year = {2018},
  doi = {10.1145/3240508.3240640},
}

Loading related content...

Figure