Abstract
Large Vision-Language Models (LVLMs) often struggle with complex multi-image reasoning tasks due to the difficulty of crafting precise, task-specific instructions. We present Analyze-Prompt-Reason (APR), a training-free, dual-agent framework that decouples task analysis from visual reasoning. By utilizing a "PromptEngineer" to generate expert-level instructions and a "VisionReasoner" to execute them, APR achieves state-of-the-art performance on benchmarks like TQA (99.13%) and DocVQA (96.87%) without specialized fine-tuning.
Introduction
While Large Language Models (LLMs) have demonstrated remarkable logical capabilities, extending this reasoning to interleaved multi-image data remains a significant challenge. Standard user prompts often lack the domain expertise or formatting constraints necessary for complex visual tasks, such as comparing fine-grained differences in biological specimens or navigating multi-page documents. Manually engineering high-quality prompts for every new dataset is labor-intensive and unscalable. The APR framework addresses this by automating the creation of expert-level prompts to unlock the latent reasoning power of off-the-shelf vision models.
The Analyze-Prompt-Reason (APR) Framework
The APR architecture consists of two collaborative agents designed to separate task conceptualization from visual execution:
- The PromptEngineer (LLM): Powered by GPT-4o, this agent serves as a meta-cognitive strategist. It processes the original research paper of a dataset, the specific task requirements, and a few text-only exemplars to synthesize a highly detailed, task-specific prompt.
- The VisionReasoner (LVLM): Powered by Claude 3.5 or 3.7, this agent receives the generated prompt along with multimodal examples (image-text pairs). It then performs final inference on the target data.
This decoupling allows the system to generalize across diverse formats—from medical image classification to infographic analysis—without requiring new training or human intervention.
Experimental Setup and Datasets
The framework was rigorously evaluated on 18 diverse datasets from the 2025 MIRAGE Challenge (Track A), categorized into four primary reasoning domains:
- Multi-Image Reasoning: Includes change detection (CLEVR-Change) and fine-grained comparison (Birds-to-Words).
- Document & Knowledge-Based Understanding: Focuses on structured visual content (DocVQA, SlideVQA).
- Interactive Multi-Modal Communication: Involves dialogue and instruction-following (ALFRED, MMCoQA).
- Multi-Image Discrimination: Addresses visual similarity and identity (LFW).
Key Results and Analysis
The APR framework demonstrated significant performance gains, particularly when paired with the latest reasoning models. Claude 3.7 consistently outperformed Claude 3.5, especially in zero-shot and few-shot settings, highlighting a superior ability to follow complex, multi-step instructions.
Notable achievements include:
- Textbook Question Answering (TQA): Reached a near-perfect 99.13% accuracy with 3-shot prompting.
- Document VQA: Achieved 96.87% accuracy, demonstrating expert-level comprehension of structured documents.
- Overall Accuracy: Claude 3.7 reached an average accuracy of 80.87% across classification and QA subtasks.
The study also revealed that "prompting > fine-tuning," as near-ceiling performance was reached using only automated instruction engineering. However, performance was not always monotonic; in some cases, like Fashion200K, additional examples led to "context window pressure" or noise, causing a slight dip in accuracy.
Conclusion
Analyze-Prompt-Reason (APR) demonstrates that the primary bottleneck in multi-image reasoning is often instruction quality rather than model capacity. By automating the role of the prompt engineer, APR provides a scalable path toward general-purpose visual reasoning agents capable of handling complex, interleaved data without the need for costly fine-tuning.
Summary updated