Abstract
In industrial sectors such as manufacturing and engineering, technical documentation is inherently multimodal, containing complex diagrams, schematics, and screenshots alongside text. Standard text-only Retrieval-Augmented Generation (RAG) systems often fail to capture this critical visual context. This paper explores the optimization of multimodal RAG pipelines, comparing strategies like multimodal embeddings (CLIP) against textual image summaries. Our findings indicate that while multimodal inputs significantly boost performance—reaching ~80% correctness in ideal conditions—the retrieval of relevant images remains a significant challenge. We demonstrate that decoupling retrieval via textual summaries currently offers a more robust and flexible architecture for industrial AI assistants.
Introduction: The Visual Blind Spot in Industrial AI
Large Language Models (LLMs) have revolutionized information retrieval, yet they remain prone to hallucinations and lack domain-specific technical knowledge. RAG addresses this by grounding model responses in external documents. However, industrial documentation is rarely text-only. Manuals for robots or programmable logic controllers (PLCs) are dense with visual data that standard RAG systems cannot "see." This study investigates whether adding image support improves performance in these specialized domains and identifies the optimal architecture for a multimodal RAG pipeline.
Methodology: Comparing Retrieval Strategies
The researchers evaluated two primary strategies for integrating images into the RAG process using Multimodal LLMs (MLLMs) like GPT-4Vision and LLaVA:
- Multimodal Embeddings: Utilizing models like CLIP to map images and text into a shared vector space, enabling the system to retrieve images based on semantic similarity to a text query.
- Textual Summaries: Using an MLLM to generate descriptive text for each image. These summaries are then indexed and retrieved using standard text-search techniques. This approach "decouples" the retrieval phase from the final generation phase, where the original image is provided to the model.
To evaluate these configurations, the authors employed an "LLM-as-a-Judge" framework, measuring metrics such as Answer Correctness, Relevancy, and Faithfulness.
Experimental Setup and Datasets
Due to the lack of high-quality industrial multimodal datasets, the authors developed a manually annotated dataset derived from 20 technical PDF manuals. This dataset comprises 8,540 text chunks and 8,377 images. A test set of 100 question-answer pairs was designed to simulate real-world tasks, including troubleshooting and device configuration.
Key Results and Insights
The experiments revealed a clear advantage for multimodal systems. In a "Gold Standard" scenario where the correct context is manually provided, the inclusion of images increased answer correctness from ~60% to ~80%.
Summaries vs. Embeddings
Surprisingly, textual summaries outperformed multimodal embeddings. Summaries allow for prompt-based tuning to highlight specific technical details and integrate more seamlessly with existing text-heavy search infrastructure.
The Retrieval Bottleneck
Despite the benefits of visual context, finding the correct image automatically is significantly harder than finding the correct text. Image-only RAG performed poorly, often barely exceeding a no-retrieval baseline. This suggests that the "weak link" in current multimodal RAG is the retrieval mechanism itself.
Model Comparison: GPT-4V vs. LLaVA
GPT-4V consistently outperformed the open-source LLaVA model in technical reasoning and answer correctness. Furthermore, providing multiple retrieved images generally improved GPT-4V's performance, although it occasionally introduced challenges in maintaining strict "Image Faithfulness."
Conclusion and Future Directions
Integrating images into RAG pipelines is essential for industrial applications, providing a substantial performance boost over text-only systems. However, the gap between automated retrieval and "Gold Standard" performance highlights a need for better image-indexing techniques, such as fine-tuning embeddings for technical diagrams. Future research will explore how emerging models like GPT-4o handle these complex multimodal interactions.
Summary updated