Abstract
Dense captioning requires localizing and describing image regions. Traditional methods often suffer from the "aperture problem," where local features alone are insufficient for accurate description. We present the Context and Attribute Grounded Network (CAG-Net), which leverages multi-scale context—including neighboring and global features—alongside coarse-to-fine linguistic attribute supervision. Evaluated on the Visual Genome dataset, CAG-Net achieves a state-of-the-art mAP of 10.51%, demonstrating the effectiveness of contextual grounding in generating distinctive and accurate region descriptions.
Introduction
Dense captioning involves the simultaneous localization and description of regions of interest (ROIs). A significant challenge in this field is the "aperture problem": captions generated solely from features within a single bounding box often lack the context necessary to resolve visual ambiguities. For instance, a patch of yellow fabric might be misidentified as "yellow balloons" without the context of a skier wearing "yellow pants." While global image features provide some context, they often fail to capture the nuances of smaller or unusual objects.
Methods
The proposed Context and Attribute Grounded Network (CAG-Net) addresses these issues through two primary modules:
- Contextual Feature Extractor (CFE): This module constructs a region-level similarity graph to identify and aggregate features from neighboring ROIs that are spatially or visually related. By using a non-local operation, it provides the target ROI with "neighboring context," which is often more informative than global context alone.
- Attribute-Grounded Caption Generator: This component uses a two-stage LSTM framework. The Contextual Cue Integrator (CCI) hierarchically fuses local, neighboring, and global features. Subsequently, the model employs coarse-to-fine supervision by predicting linguistic attributes (nouns, adjectives, verbs, prepositions) extracted from ground-truth captions. This ensures the final sentence is grounded in specific visual concepts.
Results and Discussion
CAG-Net was evaluated on the Visual Genome (VG) v1.0 dataset, a standard benchmark for dense captioning. The model achieved a Mean Average Precision (mAP) of 10.51% using a Region Proposal Network (RPN), significantly outperforming previous state-of-the-art models such as T-LSTM (9.31%) and FCLN (5.39%). When provided with ground-truth bounding boxes, the performance increased to 36.29% mAP.
Ablation studies highlighted the importance of each component. Removing "neighboring" context or "attribute supervision" led to measurable drops in performance, confirming that multi-scale visual features and linguistic grounding are both essential.
Conclusion
CAG-Net effectively mitigates the aperture problem in dense captioning by integrating multi-scale contextual information and linguistic grounding. While the model introduces some computational overhead due to similarity graph construction, the gains in accuracy and descriptiveness are substantial. Future work may explore applying these contextual mechanisms to tasks like visual relationship detection or scene graph generation.
Summary updated