Give Me Something to Eat: Referring Expression Comprehension with Commonsense Knowledge

Peng Wang, Dongyang Liu, Hui Li, Qi Wu

Introduction

Referring Expression Comprehension (REF) is a fundamental task in computer vision and natural language processing that involves localizing a specific object in an image based on a natural language description. Traditionally, research in this area has focused on visual and spatial attributes, such as "the large red apple on the left." However, human communication often transcends purely visual descriptors, frequently employing affordances or non-visual attributes rooted in commonsense knowledge.

For instance, a request like "give me something to eat" requires an agent to understand that an apple is edible while a decorative plastic fruit is not. Existing datasets, such as RefCOCO, largely ignore this "knowledge gap." This paper introduces KB-Ref, the first referring expression dataset specifically designed to require external commonsense knowledge for object localization.

Example of a referring expression task requiring commonsense knowledge.

The KB-Ref Dataset

To bridge the gap between vision and semantic reasoning, the authors developed KB-Ref. This landmark dataset consists of 43,284 expressions across 16,917 images sourced from Visual Genome. Unlike previous benchmarks, every expression in KB-Ref was human-verified to ensure that at least one piece of external knowledge is necessary to identify the target object.

The knowledge facts are integrated from three primary sources: Wikipedia (59.87%), WebChild (27.88%), and ConceptNet (12.25%). Expressions in KB-Ref are notably more complex than those in RefCOCO, with an average length of 13.3 words compared to approximately 10 words in standard datasets.

Statistical analysis and object distribution of the KB-Ref dataset.

The ECIFA Framework

The authors propose the Expression Conditioned Image and Fact Attention (ECIFA) network to tackle the challenges posed by KB-Ref. ECIFA integrates standard visual features (VGG-16) and linguistic features (LSTM) with a novel external knowledge reasoning pipeline:

  1. Top-down Image Attention: The model uses the input expression to generate an attention map over the image, highlighting regions that align with the linguistic cues.
  2. Two-stage Fact Attention Module:
    • Coarse Retrieval: The system retrieves the top-K most relevant facts from a database of over one million entries using Word2Vec-based similarity.
  3. Episodic Memory Module: This core component utilizes a multi-hop attention mechanism. By "reading" the retrieved facts multiple times, the model updates its internal memory to capture complex interactions between the query and the knowledge base.
  4. Matching Module: The final stage fuses attended image features, retrieved facts, and object geometry to produce a final matching score for candidate regions.

Experimental Results and Insights

The introduction of KB-Ref revealed a significant performance drop in state-of-the-art (SoTA) visual-only models. For example, MAttNet, which performs exceptionally well on RefCOCO, struggled on KB-Ref because it lacks the mechanism to process semantic knowledge.

Key findings from the experiments include:

  • ECIFA Superiority: The proposed ECIFA model achieved an accuracy of 58.97%, outperforming existing models like MAttNet and LGARNs by approximately 12%.
  • Importance of Knowledge: Ablation studies demonstrated that removing knowledge facts led to a more substantial performance decrease than removing image features, suggesting that semantic "why" is often more critical than visual "what" in this context.
  • Reasoning Depth: Performance improved as the number of "passes" in the Episodic Memory Module increased, confirming that multi-hop reasoning is essential for complex queries.
  • The Human Gap: Despite ECIFA's gains, human performance stands at 90.13%. This 31% gap highlights the remaining challenges in achieving human-level reasoning in visual contexts.

Limitations and Future Work

While ECIFA represents a significant step forward, several limitations remain. The model's performance is highly dependent on object detection quality; accuracy drops to ~24% when using automatically detected bounding boxes instead of ground truth. Furthermore, the model is constrained by the breadth and quality of its external knowledge bases. Future research should focus on more robust integration of "noisy" external knowledge and developing more sophisticated reasoning chains to handle increasingly complex human queries.

Summary updated

BibTeX
@inproceedings{wang2020give,
  author = {Peng Wang and Dongyang Liu and Hui Li and Qi Wu},
  title = {{Give Me Something to Eat: Referring Expression Comprehension with Commonsense Knowledge}},
  booktitle = {ACM Multimedia},
  year = {2020},
  url = {https://openreview.net/forum?id=3RjyI0H5X7P},
}
Figure