Abstract
Referring Expression Generation (REG) and Comprehension are critical tasks for human-AI interaction, requiring the ability to uniquely identify a specific object within a complex scene. This paper introduces a novel framework that explicitly models visual context by comparing target objects to their neighbors and jointly generating descriptions for similar objects. By incorporating "visual difference" features and "tying" LSTM hidden states across multiple objects of the same category, the proposed model significantly reduces ambiguity and achieves state-of-the-art performance on RefCOCO, RefCOCO+, and RefCOCOg datasets.
Introduction
In a complex image, simply identifying an object's category (e.g., "dog") is often insufficient. If an image contains three dogs, a "referring expression" must provide enough detail to distinguish the target from the others. Previous models often relied on global image features for context, which can be too generic to be useful for disambiguation. The core challenge lies in identifying distinctive attributes—such as relative position, size, or unique colors—that separate a target object from "distractors" (other objects of the same category).
Methodology
The authors introduce two primary innovations to the standard CNN-LSTM architecture to better handle context:
Visual Comparison (visdif)
Instead of just looking at the target object and the whole image, the model explicitly calculates the difference between the target's visual features and those of its neighbors.
- Appearance Difference: It computes the average difference in CNN features (VGG-fc7) between the target and other objects of the same category.
- Relative Geometry: It encodes the relative location and size (e.g., "the smaller one on the left") by comparing bounding box coordinates.
Joint Language Generation (tie)
Standard models describe objects in isolation. The authors propose "tying" the LSTMs together when multiple objects of the same category are present. This allows the model to "push" descriptions apart, ensuring that if one person is "the man on the left," the other is described differently (e.g., "the man on the right"), preventing the generation of identical, ambiguous labels for different objects.
Experimental Setup
The models were evaluated on three large-scale datasets derived from MSCOCO:
- RefCOCO: Collected via a two-player game (ReferItGame). Descriptions are short and concise.
- RefCOCO+: Similar to RefCOCO, but players were forbidden from using location words (like "left" or "top"), forcing them to focus on purely appearance-based descriptions.
- RefCOCOg: Collected via Amazon Mechanical Turk in a non-interactive setting, resulting in longer, more "flowery" and grammatically complex sentences.
Key Insights
- Global Context is a Trap: Surprisingly, the authors found that adding global image features sometimes decreased performance. Because the global feature is the same for every object in the image, it can introduce noise rather than clarity.
- Same-Category Distractors are Key: Comparing a person to a car doesn't help you describe the person. The most useful context comes from comparing the target to other objects of the same category.
- Linguistic Contrast: Effective communication is a joint task. By tying the generation process together, the model mimics the human intuition that a set of descriptions for a scene should be complementary and mutually exclusive.
Results
The "visdif" model significantly improved object localization accuracy. On RefCOCO, it improved the baseline from 63.15% to 67.57% (Test A). For generation, the "visdif+tie" model achieved the highest scores across automatic metrics like BLEU, ROUGE, and METEOR.
Crucially, the "tie" mechanism drastically reduced the "duplicate rate"—the frequency with which the model gave the same description to different objects in the same image. On RefCOCO, the duplicate rate dropped from ~15% in the baseline to just 4.27%. Human evaluation further confirmed that models using Maximum Mutual Information (MMI) and the "tie" architecture produced much more effective and less ambiguous descriptions.
Conclusion and Future Work
While the model shows significant improvements, performance drops when using automated object detections (Fast R-CNN) compared to ground-truth bounding boxes. Future directions include incorporating even more complex relational reasoning (e.g., "the person holding the umbrella") to further improve the naturalness and accuracy of generated expressions.
Summary updated