Cantor: Inspiring Multimodal Chain-of-Thought of MLLM

Timin Gao, Peixian Chen, Mengdan Zhang, Chaoyou Fu, Yunhang Shen, Yan Zhang, Shengchuan Zhang, Xiawu Zheng, Xing Sun, Liujuan Cao, Rongrong Ji · DOI

Abstract

Multimodal Large Language Models (MLLMs) often struggle with complex reasoning tasks due to "hallucinations" during the planning phase and a "perception gap" between raw visual data and high-level cognitive requirements. We present Cantor, a training-free perception-decision framework that integrates visual context directly into the decision-making process. By prompting a single MLLM to act as a suite of specialized "cognitive experts," Cantor achieves state-of-the-art performance on benchmarks such as ScienceQA and MathVista, significantly outperforming baseline models and traditional "plan-then-execute" pipelines.

Introduction

While Large Language Models (LLMs) have demonstrated remarkable success in text-based Chain-of-Thought (CoT) reasoning, extending these capabilities to the multimodal domain remains challenging. Current approaches typically follow a two-step "plan then execute" paradigm. However, these methods face two critical issues:

  1. Determining Hallucinations: Models often formulate reasoning plans without sufficient visual grounding, leading to irrelevant queries or incorrect tool selection.
  2. The Perception Gap: Traditional tools provide low-level data (e.g., coordinates) that lack the high-level cognitive summaries (e.g., relative comparisons) necessary for complex reasoning.
Cantor addresses determining hallucinations and the perception gap by grounding planning in visual context and using cognitive experts.

The Cantor Framework

Cantor addresses these challenges through a two-stage architecture designed to bridge the gap between perception and decision-making.

1. Decision-Generation (The Brain)

Unlike traditional planners that operate blindly, Cantor's Decision Generator incorporates the image or a detailed caption during the initial phase. It performs a "Principle Analysis" to identify the core logic required and then handles Task Allocation, assigning sub-problems to specialized experts. This ensures the entire reasoning path is grounded in the actual visual context from the start.

2. Execution (The Experts)

Instead of relying on a fragmented ecosystem of external APIs, Cantor utilizes a powerful MLLM (e.g., Gemini) to adopt various "expert identities" based on the task requirements:

  • TextIntel Extractor: Specialized in OCR and converting image-text into editable formats.
  • ObjectQuant Locator: Focused on counting and spatial relationship analysis.
  • VisionIQ Analyst: Interprets general visual data and complex scenes.
  • ChartSense Expert: Extracts trends and specific data points from graphs.

An Answer Generator then synthesizes these expert insights into a final, coherent response.

Experimental Evaluation

Cantor was evaluated on two primary benchmarks to test its scientific and mathematical reasoning capabilities:

  • ScienceQA: A dataset of over 2,000 image-based scientific questions.
  • MathVista: A benchmark requiring high-level mathematical and combinatorial reasoning in visual contexts.

Results and Discussion

Cantor demonstrates significant performance gains over existing methods without the need for fine-tuning:

  • ScienceQA: Achieving an accuracy of 84.96% (using Gemini Pro), Cantor surpassed the Gemini baseline (80.85%) and several fine-tuned models.
  • MathVista: Cantor reached 44.7% overall accuracy, notably outperforming GPT-4 based augmented LLMs in scientific and statistical reasoning categories.

A key insight from this work is that providing visual context during the decision-making phase drastically reduces errors. For instance, adding a detailed caption to GPT-3.5 improved ScienceQA accuracy from ~65% to over 74%. Furthermore, using MLLMs as "cognitive experts" provides relational data (e.g., "the number of particles is the same") that is more effective for reasoning than raw perception outputs like bounding box coordinates.

Conclusion

Cantor provides a robust, training-free framework for multimodal reasoning. By aligning the "brain" (decision-maker) with the "limbs" (expert modules) through shared visual grounding, it effectively bridges the perception-cognition gap. Future work will explore expanding the expert library and applying the framework to dynamic video-based reasoning.

Summary updated

BibTeX
@inproceedings{gao2024cantor,
  author = {Timin Gao and Peixian Chen and Mengdan Zhang and Chaoyou Fu and Yunhang Shen and Yan Zhang and Shengchuan Zhang and Xiawu Zheng and Xing Sun and Liujuan Cao and Rongrong Ji},
  title = {{Cantor: Inspiring Multimodal Chain-of-Thought of MLLM}},
  booktitle = {ACM Multimedia},
  year = {2024},
  url = {https://openreview.net/forum?id=4yMa8BbH6J},
}
Figure