Boosting Knowledge-based Visual Question Answering with Structured Context Reasoning

Qiyou Liu, Yong Zhang, Jianjie Luo, Zhenguo Yang, Yi YuarXiv 2026

TL;DR

The SCoRe framework significantly improves Knowledge-based Visual Question Answering (KB-VQA) by distilling messy, unstructured multimodal data into compact, logic-oriented entity-relation triplets. By moving away from "flat" text prompts to structured relational reasoning, SCoRe achieves new state-of-the-art results on the OK-VQA and A-OKVQA benchmarks while reducing computational overhead.

What Problem Does This Paper Address?

Knowledge-based Visual Question Answering (KB-VQA) requires a model to answer questions about an image by combining visual cues with external, "outside-the-image" knowledge (e.g., "What year was this brand founded?").

Current state-of-the-art approaches typically use Large Language Models (LLMs) by feeding them a "flat" prompt containing image captions, detected objects, and snippets of retrieved text from Wikipedia or Google. However, the authors identify two major bottlenecks in this paradigm:

  1. Cognitive Overload: Directly concatenating heterogeneous data creates long, redundant prompts that distract the LLM with irrelevant information.
  2. Lack of Structure: Unstructured text forces the LLM to implicitly infer complex logical dependencies between entities, which often leads to reasoning failures.
Fig. 1. Two paradigms for LLM-based KB-VQA: (a) Unstructured context reliance, where raw evidence is concatenated into flat, redundant prompts; (b) Our structured context reasoning, which distills multimodal inputs into relational triplets through progressive acquisition, selection, and compression.

Methods

The authors propose SCoRe (Structured Context Reasoning), a three-stage framework designed to transform raw multimodal inputs into a structured reasoning substrate.

  1. Context Acquisition (CA): The system generates "visual notes" (captions, object attributes, and OCR text). Simultaneously, it retrieves external knowledge using a novel two-stage progressive multimodal retrieval strategy. It first performs a coarse title-level search to narrow the search space, followed by a fine-grained paragraph-level retrieval.
  2. Context Selection (CS): An LLM acts as a filter, identifying only the most question-relevant visual and explicit knowledge while eliciting "implicit knowledge" (common sense) already stored within the LLM's weights.
  3. Context Compression (CC) via Relational Logic Distillation (RLD): This is the core innovation. Instead of passing raw sentences to the final QA model, SCoRe uses RLD to decompose the selected context into entity-relation triplets (e.g., [lake, features, sailboats]). This process involves entity extraction, relation extraction, and a refinement step to filter out triples that don't logically connect to the question's key entities.
Fig. 2. The proposed LLM-based Structured Context Reasoning (SCoRe) method.

Datasets

The framework was evaluated on two primary benchmarks:

  • OK-VQA: The standard benchmark for VQA requiring external knowledge.
  • A-OKVQA: An augmented version of OK-VQA that requires more complex, multi-step reasoning.

Key Insights and Ideas

  • Structure Over Quantity: The paper demonstrates that how information is presented to an LLM matters more than how much information is provided. Even though the "Context Compression" stage technically loses some raw text data, the resulting structured triplets provide a clearer "map" for reasoning.
  • Two-Stage Retrieval Efficiency: By using a title-level coarse retrieval before diving into paragraphs, the authors compressed the retrieval search space by tens to hundreds of times without sacrificing recall.
  • Relational Logic as a Substrate: By forcing the model to define explicit relationships (the RLD stage), the authors bridge the gap between unstructured evidence and formal logical reasoning.

Key Results

SCoRe consistently outperformed previous state-of-the-art (SOTA) methods like DIETCOKE and KGenVQA:

  • Zero-shot Performance: On OK-VQA, SCoRe (using Mistral-7B) achieved 52.1%, surpassing the previous best of 49.2%.
  • Few-shot Performance: At 16-shot, SCoRe reached 55.7% on OK-VQA, setting a new benchmark.
  • Efficiency: SCoRe is notably faster, taking roughly 17.5 seconds per sample compared to DIETCOKE’s 29.5 seconds, thanks to its more concise prompts.

Limitations and Future Work

The authors highlight two main failure modes:

  1. Knowledge Conflicts: Occasionally, the LLM's internal pre-trained knowledge contradicts the retrieved external knowledge. For example, the model might prioritize its internal (but incorrect for the specific context) founding date for a brand over the correct date found in the retrieved text.
  2. Granularity Issues: The framework sometimes lacks the fine-grained visual detail needed for highly specific tasks, such as distinguishing between very similar species of birds (e.g., identifying a "cardinal" vs. a generic "bird").

Future work may involve tighter integration between visual feature extraction and the relational distillation process to capture these subtle details.

Summary updated

BibTeX
@misc{liu2026boosting,
  author = {Qiyou Liu and Yong Zhang and Jianjie Luo and Zhenguo Yang and Yi Yu},
  title = {{Boosting Knowledge-based Visual Question Answering with Structured Context Reasoning}},
  year = {2026},
  eprint = {2608.21431},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.21431},
}
Figure