CMMCoT: Enhancing Complex Multi-Image Comprehension via Multi-Modal Chain-of-Thought and Memory Augmentation

Guanghao Zhang, Tao Zhong, Yan Xia, Mushui Liu, Zhelun Yu, Haoyuan Li, Wanggui He, Dong She, Yi Wang, Hao Jiang

TL;DR

CMMCoT is a new framework that brings "slow-thinking" (Chain-of-Thought) capabilities to multi-image AI models. By interleaving textual reasoning with specific visual region extraction and a novel test-time memory module (RIFREM), the model achieves state-of-the-art performance on complex tasks like cross-image comparison and anomaly detection.

What Problem Does This Paper Address?

While Multi-modal Large Language Models (MLLMs) have become quite good at describing a single image, they often stumble when asked to compare or reason across multiple images. Most current models use a "direct prediction" approach—they look at the images and jump straight to an answer.

This leads to two major issues:

  1. Missing Evidence: Models often overlook subtle visual details that link different images together.
  2. Black-Box Reasoning: We don't know why the model arrived at an answer, making it hard to trust in critical applications.

Humans, by contrast, perform "slow thinking": we look back and forth between images, identify specific objects of interest, and build a mental chain of logic. CMMCoT aims to mimic this human cognitive process.

Methods

The authors introduce the Complex Multi-Modal Chain-of-Thought (CMMCoT) framework, which relies on two main pillars:

  1. Interleaved Multimodal Reasoning: Unlike standard Chain-of-Thought (CoT) which is purely text-based, CMMCoT generates reasoning chains that include spatial coordinates and visual tokens. During training, the model is supervised to not just "say" the right thing, but to "point" to the right visual regions at each step of its logic.
  2. RIFREM (Retrieval-based Image Feature Reasoning Enhancement Module): This is a test-time memory augmentation. As the model processes images, it stores "Key" and "Value" pairs of visual features in a memory bank. When the model identifies a specific object during its reasoning chain, it uses RIFREM to retrieve high-resolution features from that memory bank, enriching its understanding of that specific entity before moving to the next reasoning step.

The framework is built on top of the Qwen2-VL architecture, utilizing its ability to handle dynamic image resolutions and multi-modal rotary position embeddings.

Datasets

To train a model to think this way, the authors needed a new kind of data. They curated the CMMCoT-260k dataset, which includes 260,000 instances across four categories:

  • Caption: Multi-image descriptions.
  • Co-reference: Identifying the same object across different views.
  • Comparison: Finding similarities and differences between images.
  • Reason: Complex logical deduction based on visual evidence.

For evaluation, they tested the model on several rigorous benchmarks, including BLINK (perceptual similarity), Mantis (multi-image logic), NLVR2 (visual-textual reasoning), and MVBench (video/temporal reasoning).

Key Insights and Ideas

  • Visual Grounding as Supervision: The most important "aha moment" is that textual reasoning isn't enough for multi-image tasks. By forcing the model to extract and "look at" specific visual tokens during the reasoning process, the authors significantly reduced "hallucinations" where the model makes up facts.
  • The Power of Memory: The RIFREM module acts like a high-resolution "zoom" that the model can trigger whenever it needs to focus. This allows the model to maintain a global view of the scene while diving into details when the logic demands it.
  • Synergy of Grounding and Images: Ablation studies showed that while grounding (bounding boxes) helps, combining it with actual entity-specific visual features (MCoT) provides a much larger performance boost.

Key Results

CMMCoT sets new state-of-the-art records for open-source models:

  • Superior Accuracy: The 7B version of the model achieved an average score of 74.6 across six major benchmarks, outperforming the standard Qwen2.5-VL-7B by 1.4 points.
  • Small Model Efficiency: Their 3B parameter model outperformed its counterpart by 2.6 points, showing that structured reasoning can make smaller models punch well above their weight class.
  • Interpretability: Qualitative examples show the model correctly identifying "common sense" violations (like a dog wearing boxing gloves) and providing explicit causal interpretations that other models (like GPT-4o) missed.

Limitations and Future Work

  • Latency Overhead: The authors acknowledge that the RIFREM module introduces "non-trivial latency overheads." While it makes the model smarter, it also makes it slower, which might be a hurdle for real-time applications.
  • Base Model Dependency: The framework's success depends heavily on the base model's inherent localization abilities. If the base model can't find objects well, the "slow thinking" process breaks down.
  • Future Directions: The authors suggest exploring more memory-efficient architectures and extending this "slow thinking" paradigm to even more dynamic environments, such as long-form video or interactive robotics.

Summary updated

BibTeX
@inproceedings{zhang2026cmmcot,
  author = {Guanghao Zhang and Tao Zhong and Yan Xia and Mushui Liu and Zhelun Yu and Haoyuan Li and Wanggui He and Dong She and Yi Wang and Hao Jiang},
  title = {{CMMCoT: Enhancing Complex Multi-Image Comprehension via Multi-Modal Chain-of-Thought and Memory Augmentation}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2026},
  doi = {10.1609/aaai.v40i15.38236},
}
Figure