Knowledge Aided Consistency for Weakly Supervised Phrase Grounding

Kan Chen, Jiyang Gao, Ram Nevatia

Abstract

Weakly supervised phrase grounding aims to map natural language queries to specific image regions without the need for manual bounding box annotations during training. We present the Knowledge Aided Consistency Network (KAC Net), a novel framework that enforces dual consistency across visual and language modalities. By leveraging external knowledge from pre-trained object classifiers to filter candidate regions, KAC Net significantly improves grounding accuracy. Experimental results on the Flickr30K Entities and Referit Game benchmarks demonstrate that KAC Net outperforms previous state-of-the-art methods, achieving a nearly 10% accuracy boost on Flickr30K.

Introduction

Phrase grounding—the task of localizing objects described in natural language queries—is a fundamental challenge in multimodal AI. While supervised methods have achieved high performance, they rely on expensive, human-annotated datasets where every phrase is manually linked to a bounding box. To overcome this "annotation tax," researchers have turned to weakly supervised learning, where models learn from image-text pairs alone.

Conceptual comparison of supervised learning (a), standard weakly supervised learning (b), and the proposed KAC Net (c) which integrates dual consistency and external knowledge.

Previous weakly supervised approaches primarily focused on "language consistency," attempting to reconstruct the text query from predicted visual features. However, these methods often struggle with spatial ambiguity and background noise. KAC Net addresses these issues by introducing a dual-consistency mechanism and integrating "free" external knowledge to refine region proposals.

Methodology

KAC Net operates on two core principles designed to bridge the gap between visual and linguistic modalities: Dual Consistency and Knowledge Based Pooling (KBP).

Dual Consistency

Traditional models typically optimize for language reconstruction. KAC Net extends this by enforcing Visual Consistency. In addition to reconstructing the text query, the model is tasked with predicting the spatial location parameters (coordinates) of the candidate proposals. This dual-reconstruction objective acts as a powerful regularizer, ensuring that the model selects regions that are not only semantically relevant but also spatially coherent.

Knowledge Based Pooling (KBP)

The "secret sauce" of KAC Net is the KBP module. Recognizing that pre-trained image classifiers (e.g., VGG trained on ImageNet) already possess significant object recognition capabilities, the authors use these models to generate category probability distributions for every candidate region.

The detailed architecture of KAC Net, illustrating the flow from visual and language modalities through the KBP Gate to the consistency loss modules.

As shown in the architecture above, the KBP Gate uses Natural Language Processing to compare nouns in the query to the classifier's predicted categories. For example, if a query mentions a "man" and the classifier identifies a "person" in a specific region, that region receives a higher weight. This effectively filters out background noise—such as a car in a soccer match—before the grounding process begins.

Experimental Results

KAC Net was evaluated on two major benchmarks: Flickr30K Entities and the Referit Game. During training, the model ignored all ground-truth bounding boxes to maintain a strictly weakly supervised environment.

  • Flickr30K Entities: KAC Net achieved 38.71% accuracy, representing a 9.78% improvement over the previous state-of-the-art (GroundeR).
  • Referit Game: The model reached 15.83% accuracy, a 5.13% improvement over existing methods.

Analysis of category-specific performance revealed that the KBP gate was particularly effective for well-defined object classes. On Flickr30K, the model saw massive gains in categories like "animals" (+30.89%) and "vehicles" (+23.00%), where external knowledge bases are most robust.

Discussion and Future Work

While KAC Net sets a new benchmark for weakly supervised grounding, it faces limitations when dealing with categories absent from its external knowledge base, such as specific types of clothing. Furthermore, the model currently processes queries in isolation, which can lead to ambiguity in scenes with multiple similar objects (e.g., distinguishing between "a man" and "another man").

Future research directions include incorporating more sophisticated external knowledge, such as relationship detectors or attribute classifiers, to provide finer-grained guidance for the grounding process. Additionally, exploring contextual linguistic models could help the network better distinguish between similar objects in complex scenes.

Summary updated

BibTeX
@inproceedings{chen2018knowledge,
  author = {Kan Chen and Jiyang Gao and Ram Nevatia},
  title = {{Knowledge Aided Consistency for Weakly Supervised Phrase Grounding}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2018},
  doi = {10.1109/cvpr.2018.00425},
}
Figure