Symbolic and Abstractive Reasoning with Complex Visual Queries

Yichi Zhang, Jingdian Lu, Zhuo Chen, Lingbing Guo, Jun Xu, Wen Zhang, Huajun ChenarXiv 2026 · arXiv

TL;DR

While Multimodal Large Language Models (MLLMs) excel at recognizing concrete objects, they struggle with abstract, symbolic reasoning. This paper introduces Complex Visual Queries (CVQs)—visualized first-order logic problems over knowledge graphs—and presents QUASAR, a benchmark dataset and two-stage training framework designed to teach MLLMs how to perform structured, multi-step neuro-symbolic reasoning.

What Problem Does This Paper Address?

Current MLLMs are remarkably good at answering questions about natural images (e.g., "What color is the cat?"), but they stumble when confronted with abstract visual representations like flowcharts, mind maps, or geometric diagrams. These abstract visuals require more than just perception; they demand compositionality and multi-step logical deduction.

Existing benchmarks for graph reasoning are largely limited to simple, single-hop lookups. To bridge this gap, the authors adapt Complex Query Answering (CQA)—a paradigm traditionally confined to text- or embedding-based knowledge graph research—into the visual modality. By turning multi-hop logical queries involving operators like AND, OR, and NOT into structured images, they challenge MLLMs to execute true neuro-symbolic reasoning directly from visual inputs.

Methods

The authors developed a comprehensive framework spanning data generation, task definition, and a specialized training pipeline:

  1. Visual Query Synthesis Engine: The engine samples complex logical query templates from multi-modal knowledge graphs (MMKGs). It uses CLIP to filter out noisy images and ensure semantic alignment, then renders the logical structure into a clean, directed computational graph using GraphViz.
  2. Two Core Tasks:
  3. Complex Query Understanding (CQU): The model must look at a visual query graph and translate it into a structured, formatted logical expression.
  4. Complex Query Reasoning (CQR): Given a visual query and a text-based reference subgraph (containing both true evidence and distractor triples), the model must deduce the correct target entities.
  5. Two-Stage Training Framework:
  6. Stage 1: Supervised Fine-Tuning (SFT): Models are trained on fine-grained, step-by-step Chain-of-Thought (CoT) templates to internalize graph parsing and logical execution.
  7. Stage 2: Fine-grained Preference Optimization: To sharpen the model's ability to distinguish subtle structural differences, the authors collect hard negative samples where the SFT model failed and apply alignment techniques like DPO, ORPO, or SimPO.
Figure 3: Overview of the QUASAR’s construction pipeline. We present the detailed steps, definition of the CQU/CQR task, training pipelines, and CoT prompt design of our work.

Datasets

The paper introduces QUASAR (Visual Query as Symbolic And Reasoning), a large-scale dataset containing over 85,000 instances evenly split between the CQU and CQR tasks.

QUASAR systematically covers 14 canonical first-order logic (FOL) query types combining projection ($p$), intersection ($i$), union ($u$), and negation ($n$). The underlying data is sourced from three major multi-modal knowledge graphs: VisualSem, MKG-Y, and FB15K-237.

Figure 2: 14 different complex query types in our QUASAR data based on projection/intersection/union/negation.

To evaluate out-of-distribution (OOD) generalization, the authors also test their models on VisuLogic (a diverse abstract visual reasoning benchmark) and general vision-language benchmarks like AI2D, MathVerse, OCRBench, and TextVQA.

Key Insights and Ideas

  • Zero-Shot Blindness: Out-of-the-box open-source MLLMs exhibit near-zero performance on CVQ tasks. This indicates that symbolic visual logic is a completely novel paradigm missing from standard web-scale pre-training mixtures.
  • Asymmetric Transfer Capability: A fascinating finding is that models trained on compositionally complex query patterns generalize beautifully down to simpler query types. However, the reverse is not true; training exclusively on simple patterns leaves the model helpless against complex logic.
  • The Negation Bottleneck: Negation ($\neg$) is by far the hardest logical operator for MLLMs to master. Models trained without explicit negation examples fail completely to generalize to negation-involving queries, revealing a clear operator hierarchy where union is easy, but negation requires dedicated supervision.
  • Latent Reasoning Stimulation: Training MLLMs on structured visual logic graphs acts as a general "reasoning stimulant." It consistently boosts their performance on entirely unrelated abstract reasoning benchmarks (like VisuLogic) without triggering catastrophic forgetting on standard vision-language tasks.

Key Results

  • From Zero to Hero: Following the two-stage training pipeline, open-source backbone models (Qwen3-VL-2B and 8B) rocketed from ~0% to near-perfect (~98% to 100%) in-distribution accuracy across both CQU and CQR tasks.
  • Outperforming Proprietary Giants: The fine-tuned open-source models substantially outperformed massive closed-source models like GPT-4o and Gemini-1.5-Flash (which were evaluated zero-shot), proving that task-specific structural training is essential for this flavor of reasoning.
  • Preference Optimization Wins OOD: While Stage 1 (SFT) secured high in-distribution scores, Stage 2 (Preference Optimization via DPO/SimPO/ORPO) was crucial for unlocking superior out-of-distribution generalization on the independent VisuLogic benchmark.

Limitations and Future Work

While a major step forward, the authors note a few limitations:

  • Domain Diversity: The dataset relies entirely on general-purpose knowledge graphs. It currently lacks specialized, knowledge-intensive vertical domains like medicine, finance, or law.
  • Simplified Search Space: For the reasoning task (CQR), the models are provided with a pre-filtered reference subgraph rather than being forced to autonomously search a massive, open-ended knowledge graph.

As a next step, the authors plan to transition this work into agentic workflows, where an MLLM can act as an active agent capable of navigating and querying dynamic, large-scale multi-modal knowledge sources on the fly.

Summary updated

Abstract

Understanding and reasoning over abstract visual content remains a challenge for current multi-modal large language models (MLLMs). In this paper, we explore a novel abstract data type termed complex visual query (CVQ), designed to probe symbolic and abstractive reasoning, which is a critical yet underexplored dimension of human-like neuro-symbolic reasoning for MLLMs. We present a comprehensive investigation from three perspectives: \textbf{Data $\times$ Paradigm $\times$ Exploration}. Specifically, we propose a scalable pipeline for synthesizing CVQs grounded in large-scale multi-modal knowledge graphs, generating a diverse dataset encompassing 14 distinct query types via systematic combinations of first-order logic operators. We further introduce a two-stage training framework that progressively equips MLLMs with robust visual reasoning capabilities. We conduct extensive experiments to rigorously evaluate MLLMs across multiple dimensions, including reasoning performance on CVQs, as well as cross-task and cross-scenario generalization. We believe our work opens new perspectives and avenues for advancing the reasoning frontiers of MLLMs.
BibTeX
@misc{zhang2026symbolic,
  author = {Yichi Zhang and Jingdian Lu and Zhuo Chen and Lingbing Guo and Jun Xu and Wen Zhang and Huajun Chen},
  title = {{Symbolic and Abstractive Reasoning with Complex Visual Queries}},
  year = {2026},
  eprint = {2606.09195},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.09195},
}

Loading related content...

Figure