Multimodal Logical Inference System for Visual-Textual Entailment

Riko Suzuki, Hitomi Yanaka, Masashi Yoshikawa, Koji Mineshima, Daisuke Bekki

Abstract

Recent advancements in multimodal AI have improved object recognition, yet these systems often struggle with formal logical reasoning. We present an unsupervised system that translates both images and text into First-Order Logic (FOL) formulas to determine visual-textual entailment. By leveraging scene graphs and predicate circumscription, the system effectively handles complex linguistic phenomena such as negation, numerals, and universal quantification.

Introduction

While deep learning models excel at mapping images and text into high-dimensional vector spaces, these embeddings are often insufficient for precise logical reasoning. Standard multimodal systems can identify objects but frequently fail to verify statements involving negation ("There are no cats") or universal quantification ("Every dog is brown"). This research addresses the gap between visual perception and formal logic by proposing a framework that treats visual-textual entailment as a theorem-proving task.

Methodology

The proposed pipeline for visual-textual entailment consists of three primary stages: graph translation, semantic parsing, and logical inference.

The system pipeline converts images into scene graphs and then into FOL structures, while text is parsed into logical formulas for theorem proving.
  1. Graph Translation: The system converts a scene graph (representing objects, attributes, and relations) into an FOL formula ($M$). A "Complex Translation" ($Tr_c$) based on predicate circumscription is employed to implement a "Closed World Assumption." This allows the system to infer that if an object is not explicitly labeled in the scene graph, it does not exist in the context, enabling the proof of negative statements.
  2. Semantic Parsing: Input sentences are transformed into logical formulas ($T$) using the ccg2lambda Combinatory Categorial Grammar (CCG) parser, which is optimized for handling quantifiers and numerals.
  3. Inference Engine: The automated theorem prover, Prover9, checks if the image formula ($M$) logically entails the text formula ($T$). To maintain efficiency, a hybrid approach is used, applying complex translation only when the sentence contains negative or universal operators.

Key Insights: Logic as a Unified Language

The core innovation of this work is the use of formal logic as a "universal bridge" between modalities. Unlike supervised methods that require extensive training data, this approach is entirely unsupervised.

A critical component is the "Power of Nothing Else"—the application of predicate circumscription. By defining the scene graph's contents as the exhaustive set of existing objects, the system overcomes the traditional logical hurdle where "no cats" cannot be proven because a cat might simply be "off-camera." This allows for rigorous handling of negation and universal statements.

Evaluation and Results

The system was evaluated on the Visual Genome and GRIM datasets. The hybrid approach demonstrated significant improvements over simple conjunctive baselines, particularly in complex linguistic categories.

The system successfully navigates complex queries like 'Every green tree is tall,' which require universal quantification and attribute matching.

Key performance gains in F1-score on the Visual Genome dataset include:

  • Quantifiers (Q): Improved from 8.59 to 28.18.
  • Negation (Neg): Improved from 66.38 to 73.39.
  • Relations (Rel): Improved from 25.13 to 35.10.

The system proved exceptionally capable in image retrieval tasks involving logically intricate queries that typically stump standard embedding-based models.

Limitations and Future Work

Despite its logical precision, the system faces challenges with lexical gaps and linguistic vagueness. For instance, it may fail to recognize synonyms like "wearing" and "having" without external knowledge bases. Additionally, vague terms like "many" or "everyone" are difficult to map to strict logical domains. Future research will focus on integrating knowledge insertion mechanisms (e.g., WordNet) and expanding the system's ability to handle the inherent ambiguity of natural language.

Summary updated

BibTeX
@inproceedings{suzuki2019multimodal,
  author = {Riko Suzuki and Hitomi Yanaka and Masashi Yoshikawa and Koji Mineshima and Daisuke Bekki},
  title = {{Multimodal Logical Inference System for Visual-Textual Entailment}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2019},
  doi = {10.18653/v1/p19-2054},
}
Figure