Introduction
Traditional image captioning has evolved from generating a single holistic sentence for an entire image to "dense captioning," which provides descriptive phrases for localized regions. However, most dense captioning models focus on individual objects and their static attributes. Human visual perception is inherently relational; we naturally perceive interactions between entities. This paper introduces Relational Captioning, a task aimed at generating free-form natural language descriptions for pairs of interacting objects.
As shown in Figure 1, while relationship detection typically outputs rigid <subject-predicate-object> triplets, relational captioning seeks to produce rich, descriptive sentences that capture the nuance of these interactions.
The Multi-Task Triple-Stream Network (MTTSNet)
To address the complexities of relational captioning, the authors propose the Multi-Task Triple-Stream Network (MTTSNet). The architecture is specifically designed to mirror the linguistic structure of a relationship by processing three distinct visual components for every pair of detected objects.
Triple-Stream Architecture
For any two regions of interest (RoIs), the model extracts three distinct features:
- Subject Feature: The visual representation of the primary actor.
- Object Feature: The visual representation of the secondary entity.
- Union Feature: The bounding box encompassing both entities. This "union" region is critical as it contains the visual context necessary to identify the interaction (the predicate). This stream also integrates geometric features, such as relative size and spatial coordinates.
Recurrent Generation and POS Guidance
The model employs three separate LSTMs, each corresponding to one of the streams. These units collaboratively generate a single caption. A key innovation is the Multi-Task Part-of-Speech (POS) Classification. During word generation, the model simultaneously predicts whether the current word belongs to the Subject, Predicate, or Object category. This structural prior acts as a grammatical scaffold, ensuring the model aligns specific words with the correct visual regions at the appropriate time in the sentence flow.
Dataset and Augmentation
The model was evaluated using the Visual Genome (VG) 1.2 dataset. To move beyond simple triplets (e.g., "man-riding-bike"), the authors augmented the data by tokenizing relational expressions and merging them with attribute labels. This process transformed basic labels into descriptive sentences like "The man wearing a black shirt is riding a red motorcycle," resulting in a dataset with a vocabulary of over 15,000 unique words.
Key Insights and Results
The research highlights several critical findings:
- The Importance of Union Context: Ablation studies confirmed that the union region is the most vital for predicate identification. Without it, the model struggles to distinguish between similar interactions like "fixing" vs. "riding."
- Linguistic Priors: The inclusion of multi-task POS classification significantly improved performance, raising the mAP from 0.61 to 0.88. This suggests that explicit structural guidance is essential for complex captioning tasks.
- Superiority over DenseCap: MTTSNet outperformed standard dense captioning frameworks (like DenseCap) in both Recall (46.78 vs 42.63) and METEOR scores (21.87 vs 19.57), demonstrating its ability to produce more diverse and contextually accurate descriptions.
Conclusion and Future Work
Relational captioning provides a more semantically dense understanding of visual scenes than object-centric approaches. While the current model treats object pairs as directed relationships, future work could explore multi-object "triads" or apply this framework to video summarization, where temporal relationships between actors are paramount.
Summary updated