Dynamic Language Binding in Relational Visual Reasoning

Thao Minh Le, Vuong Le, Svetha Venkatesh, Truyen Tran

Introduction

Visual Question Answering (VQA) requires sophisticated compositional reasoning—an AI must look at an image, parse a question, and link the right words to the right objects step-by-step to deduce an answer. Historically, models have relied on static relational structures, like pre-extracted scene graphs or predefined semantic predicates (e.g., "object A is behind object B"). However, these static graphs are often incomplete, rigid, or overly complex, failing to reflect how human reasoning actually works. When humans answer a question, the relationships we prioritize change dynamically based on the question and the current step in our thought process.

This paper introduces LOGNet, a novel neural reasoning model that bridges this gap by allowing relational structures—both between visual objects and between objects and words—to emerge on-demand as the reasoning process unfolds.

The LOGNet Architecture

The Language-binding Object Graph Network (LOGNet) pipeline starts by extracting "visual objects" using a standard object detector (Faster R-CNN) and "linguistic objects" by passing question words through a biLSTM.

The LOGNet architecture overview, showing the flow from visual and linguistic inputs through iterative LOG Units to a final answer prediction.

The core innovation is the LOG Unit, an iterative module acting as a relational working memory. During each reasoning step, the LOG unit performs three main functions:

  1. Visual Graph Constructor: It builds a context-aware graph connecting visual objects using multi-head attention, deciding which objects are related based on the current reasoning state.
  2. Language Binding Constructor: It dynamically links visual objects to specific words in the query, creating a bipartite, cross-modal graph.
  3. Representation Refinement: It uses a Graph Convolutional Network (GCN) with ResNet-style skip connections to update object features based on the newly formed multi-modal graph.

The model loops through these units multiple times, updating its internal memory before passing the final state to a classifier to predict the answer.

Datasets and Evaluation

The authors evaluated LOGNet on several standard VQA benchmarks to test both reasoning depth and data efficiency:

  • CLEVR: A synthetic dataset for compositional language and visual reasoning.
  • CLEVR-Human: Natural language questions paired with CLEVR images, introducing linguistic variations.
  • GQA: A large-scale, real-world visual reasoning dataset.
  • VQA v2 (Long questions): Real-world images filtered for complex relational reasoning.

Key Results and Insights

LOGNet demonstrates that building graphs on the fly is highly effective, allowing the model to focus on different relationships (e.g., "color" vs. "shape") depending on the reasoning context. This structured approach leads to extreme data efficiency.

Accuracy vs. training data fraction on the CLEVR dataset, highlighting LOGNet's performance with limited data.

Extreme Low-Data Supremacy

When trained on just 10% of the CLEVR dataset, LOGNet maintained a stellar 91.2% accuracy. In contrast, competing state-of-the-art models collapsed: FiLM dropped to 51.9% and LCGN to 48.9%. This suggests that by learning how to connect concepts rather than just memorizing patterns, the model generalizes far better from limited examples.

Robustness and Interpretability

On the linguistically diverse CLEVR-Human dataset, LOGNet achieved 62.5% accuracy, significantly outperforming previous benchmarks. Visualizing the language-binding weights shows the model acts similarly to humans: early in the process, it pays sharp attention to key attribute words (like "color"), while later iterations show a flattened attention as information is absorbed into working memory.

Conclusion

LOGNet proves that dynamic language binding and iterative graph construction are powerful tools for visual reasoning. While the model currently relies on fixed reasoning lengths and upstream object detectors, its ability to outperform baselines with a fraction of the training data marks a significant step toward more efficient and interpretable multi-modal AI.

Summary updated

BibTeX
@inproceedings{le2020dynamic,
  author = {Thao Minh Le and Vuong Le and Svetha Venkatesh and Truyen Tran},
  title = {{Dynamic Language Binding in Relational Visual Reasoning}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.24963/ijcai.2020/114},
}
Figure