Multimodal Logical Inference System for Visual-Textual Entailment

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

Introduction

While deep learning has significantly advanced the field of visual grounding—enabling models to identify objects like "dogs" or "cars" with high accuracy—these systems often falter when faced with complex logical reasoning. A standard vision-language model might correctly identify a "cat" and a "pumpkin" in an image but fail to verify a statement like "No cat is next to a pumpkin." This failure stems from a reliance on statistical associations rather than strict logical inference. This paper presents an unsupervised multimodal inference system designed to bridge this gap by using First-Order Logic (FOL) to determine visual-textual entailment.

System Architecture

The proposed system treats visual-textual entailment as a formal logic problem, translating both images and text into a unified logical representation. The pipeline consists of three primary components:

  1. Graph Translator: This component converts a "scene graph"—a structured representation of an image's objects, attributes, and relations—into an FOL formula ($M$).
  2. Semantic Parser: Using a Combinatory Categorial Grammar (CCG) parser, the system transforms the input sentence into its own FOL formula ($T$).
  3. Inference Engine: The system employs Prover9, an automated theorem prover, to check if the image formula ($M$) logically entails the sentence formula ($T$). If $M \vdash T$ is proven, the statement is considered true.
Overview of the multimodal inference pipeline, showing the translation of visual and textual data into a unified First-Order Logic (FOL) representation for theorem proving.

Logical Reasoning and Predicate Circumscription

A significant challenge in visual reasoning is the "closed-world" nature of images. An image explicitly shows what is present but does not list what is absent. To handle negation and universal quantification, the authors introduce Predicate Circumscription. This technique applies a closed-world assumption: if the scene graph does not contain a specific entity or relation, the system assumes it does not exist in that "world." This allows the system to accurately process negative statements and numerals.

For example, when evaluating a sentence like "Every green tree is tall," the system must verify that for every entity identified as a "green tree," the attribute "tall" also applies. Without circumscription, the system could not be certain it has accounted for all relevant entities.

Example queries for universal quantification, such as 'Every green tree is tall,' used to evaluate the system's logical reasoning capabilities across different visual contexts.

Experimental Evaluation

The system was evaluated using the Visual Genome and GRIM datasets. The authors focused on semantically complex queries involving quantification, negation, and spatial relations.

The results demonstrate that the "Hybrid" approach—which selectively applies complex logical translations—significantly outperforms simple baselines. On the Visual Genome dataset, the F1 score for quantification (Q) improved from 8.59 to 28.18, while negation (Neg) rose from 66.38 to 73.39. Furthermore, integrating image captions to resolve co-references and fill gaps in scene graphs improved the F1 score for general relations on the GRIM dataset by 60%.

Conclusion and Future Work

By using First-Order Logic as a neutral "lingua franca," this system achieves precise multimodal reasoning without the need for extensive training data. However, limitations remain, particularly regarding lexical gaps (e.g., the system failing to recognize "wear" and "have" as related) and the inherent vagueness of natural language. Future work may involve integrating external knowledge bases like WordNet to bridge these semantic gaps and improve the system's robustness against detector errors in the initial scene graph generation.

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