VisKE: Visual knowledge extraction and question answering by visual verification of relation phrases

Fereshteh Sadeghi, Santosh Kumar Divvala, Ali FarhadiCVPR 2015

Abstract

How can we determine the validity of a statement about our world, such as the relationship eat(horse, hay)? Traditionally, knowledge extraction (KE) has relied on text-driven reasoning. However, text often suffers from reporting bias, omitting the obvious while highlighting the exceptional. In this work, we introduce VisKE (Visual Knowledge Extraction), a system that assesses the validity of verb-based relation phrases between common nouns by analyzing spatial consistency in web images. By reasoning about the relative configurations of entities and relations without explicit human supervision, VisKE enables large-scale knowledge verification. We have verified over 12,000 relation phrases, demonstrating that visual evidence can significantly enrich existing textual knowledge bases and improve open-domain question-answering.

Introduction: The Limits of Textual Knowledge

Traditional Knowledge Extraction systems are primarily built on text corpora. While vast, text is subject to reporting bias: humans rarely document common-sense facts (e.g., "people breathe air") but frequently record rare or metaphorical events. This results in knowledge bases (KBs) that are either incomplete or physically inaccurate.

While images provide a direct window into physical reality, teaching machines to verify relations like fish(bear, salmon) from pixels is non-trivial. Previous computer vision approaches often required massive human-annotated datasets, which do not scale to the diversity of real-world interactions. VisKE addresses this by using an unsupervised, "webly-supervised" approach to learn from the abundance of unlabelled images on the internet.

Methodology: Visual Verification via Spatial Consistency

VisKE operates through a multi-stage pipeline designed to extract signal from noisy web data:

  1. Webly-Supervised Learning: For a given relation like eat(horse, hay), the system automatically retrieves images from search engines. It then trains Deformable Part Models (DPMs) to detect the subject (S), the object (O), and "visual phrases"—combinations like subject-verb (SV) or verb-object (VO).
  2. Spatial Consistency Reasoning: The core of VisKE is a Factor Graph model. Rather than simply detecting the presence of objects, the system evaluates their spatial consistency. A valid relationship implies a predictable relative configuration (e.g., a dog's mouth is typically near the ice cream it is eating).
  3. Probabilistic Inference: Verification is formulated as a "Most Probable Explanation" (MPE) problem. The system checks for five specific patterns of consistency, such as whether the visual appearance of a subject (like a bear) changes predictably when engaged in a specific action (like fishing). If these patterns are consistent across thousands of images, the relation is verified as true.
Examples of visual verification for various relation phrases, comparing VisKE with existing text-based knowledge bases like OpenIE and ConceptNet.

Experiments and Results

The system was evaluated using several datasets, including a "Base" set of 6,093 real-world relations and a "Permute" set of 6,500 intentionally false relations.

Key Performance Metrics

  • Superior Accuracy: VisKE achieved a 62.11% Mean Average Precision (M.A.P.) on the Base set, outperforming state-of-the-art language models (56.20%).
  • Knowledge Base Enrichment: VisKE successfully doubled the size of the "CapableOf" relations in ConceptNet while maintaining a high precision of 0.85.
  • Science Question Answering: In tests using 4th-grade science exam questions (e.g., "Which part of a plant produces seeds?"), VisKE reached 85.7% accuracy, a significant improvement over the 71.4% achieved by text-only methods.

Insights on Visual Reasoning

A key finding is that an entity's appearance often changes during an action—a "visual phrase." For instance, a "fishing bear" looks distinct from a "canonical bear." By capturing these variations, VisKE improves detection accuracy. Furthermore, visual verification is particularly effective for less "popular" entities (e.g., pelicans or lizards) that have sparse textual documentation but distinct visual signatures.

Limitations and Future Work

While VisKE demonstrates the power of visual reasoning, it faces several challenges:

  • Search Engine Dependency: The system's performance is tied to the quality of image search results. Irrelevant results for obscure queries (e.g., make(fox, den)) can hinder verification.
  • Geometric Complexity: The current reliance on 2D bounding box geometry struggles with complex 3D spatial prepositions like "across" or "through."
  • Visual Ambiguity: Subtle visual cues in relations like drink(hedgehog, milk) remain difficult for current detectors to resolve reliably.

Future research will focus on incorporating textual prepositions to better guide the understanding of complex 3D interactions and improving the robustness of detectors for subtle visual relations.

Summary updated

BibTeX
@inproceedings{sadeghi2015viske,
  author = {Fereshteh Sadeghi and Santosh Kumar Divvala and Ali Farhadi},
  title = {{VisKE: Visual knowledge extraction and question answering by visual verification of relation phrases}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2015},
  url = {https://openreview.net/forum?id=HJZYXAZdZS},
}
Figure