A General Retrieval-Augmented Generation Framework for Multimodal Case-Based Reasoning Applications
Ofir Marom
TL;DR
This work presents MCBR-RAG, a general retrieval-augmented generation framework for multimodal case-based reasoning. It formalizes how multimodal case problems can be converted into text-based representations and paired with application-specific latent representations to enable effective retrieval and reuse with LLMs. The authors instantiate the framework in two domains—Math-24 and Backgammon—by training specialized text-generation and latent-representation models, demonstrating improved generation quality over baselines that lack contextual information. The results highlight the potential of multimodal, RAG-enabled CBR to enhance problem solving in domains where cases comprise diverse data modalities. Overall, MCBR-RAG offers a scalable blueprint for integrating multimodal data into RAG-enabled CBR pipelines with practical impact on AI-assisted reasoning tasks.
Abstract
Case-based reasoning (CBR) is an experience-based approach to problem solving, where a repository of solved cases is adapted to solve new cases. Recent research shows that Large Language Models (LLMs) with Retrieval-Augmented Generation (RAG) can support the Retrieve and Reuse stages of the CBR pipeline by retrieving similar cases and using them as additional context to an LLM query. Most studies have focused on text-only applications, however, in many real-world problems the components of a case are multimodal. In this paper we present MCBR-RAG, a general RAG framework for multimodal CBR applications. The MCBR-RAG framework converts non-text case components into text-based representations, allowing it to: 1) learn application-specific latent representations that can be indexed for retrieval, and 2) enrich the query provided to the LLM by incorporating all case components for better context. We demonstrate MCBR-RAG's effectiveness through experiments conducted on a simplified Math-24 application and a more complex Backgammon application. Our empirical results show that MCBR-RAG improves generation quality compared to a baseline LLM with no contextual information provided.
