[Paper Review] Beyond Single-Modal Analytics: A Framework for Integrating Heterogeneous LLM-Based Query Systems for Multi-Modal Data
The paper proposes Meta Engine, a modular framework that integrates heterogeneous specialized LLM-based query systems into a unified multi-modal analytics pipeline, improving performance on complex tasks.
With the increasing use of multi-modal data, semantic query has become more and more demanded in data management systems, which is an important way to access and analyze multi-modal data. As unstructured data, most information of multi-modal data (text, image, video, etc.) hides in the semantics, which cannot be accessed by traditional database queries like SQL. Given the power of Large Language Models (LLMs) in understanding semantics and processing natural language, in recent years several LLM-based semantic query systems have been proposed to support semantic querying over unstructured data. However, this rapid growth has produced a fragmented ecosystem. Applications face significant integration challenges due to (1) disparate APIs of different semantic query systems and (2) a fundamental trade-off between specialization and generality. Many semantic query systems are highly specialized, offering state-of-the-art performance within a single modality but struggling with multi-modal data. Conversely, some "all-in-one" systems handle multiple modalities but often exhibit suboptimal performance compared to their specialized counterparts in specific modalities. This paper introduces Meta Engine, a novel ``query system on query systems'', designed to resolve those aforementioned challenges. Meta Engine is a unified semantic query engine that integrates heterogeneous, specialized LLM-based query systems. Its architecture comprises five key components: (1) a Natural Language (NL) Query Parser, (2) an Operator Generator, (3) a Query Router, (4) a set of Adapters, and (5) a Result Aggregator. In the evaluation, Meta Engine consistently outperforms all baselines, yielding 3--6x higher F1 in most cases and up to ~24x on specific datasets.
Motivation & Objective
- Motivate and address fragmentation in LLM-based semantic query systems across modalities.
- Propose a unified, extensible framework (Meta Engine) to combine specialized systems via adapters.
- Provide unified user interfaces and flexible pipeline components for easy integration and customization.
- Demonstrate improved performance over baselines through end-to-end evaluation and ablations.
Proposed method
- Introduce Meta Engine architecture with three levels: top-level APIs, building blocks, and bottom-level adapters.
- Implement query preprocessing (Query Decomposer) to dynamically decompose complex NL queries into subqueries.
- Use a confidence-based operator ranking (select_op) to map subqueries to multiple data operators (TextAnalytics, ImageAnalytics, TableAnalytics).
- Route operators to appropriate adapters via a Query Router (statistics-based or learning-based) for execution.
- Provide query postprocessing (Result Aggregator) to synthesize subquery results into a final answer.
- Enable pipeline customization through modular, extensible components and unified APIs.

Experimental results
Research questions
- RQ1How can heterogeneous specialized LLM-based query systems be integrated into a single pipeline for multi-modal data?
- RQ2What architectural design and components enable high performance and flexibility in such integration?
- RQ3Do unified APIs and adapters improve development ease while preserving or enhancing accuracy?
- RQ4What is the impact of different routing strategies (statistical vs learning-based) on performance?
- RQ5How do decomposition, planning, and execution optimizations affect end-to-end results?
Key findings
- Meta Engine achieves 3–6x higher F1 than baselines in most cases and up to 24x on some datasets.
- A unified pipeline significantly improves multi-modal semantic processing by leveraging strengths of specialized systems.
- Two router strategies (statistics-based and learning-based) offer trade-offs, with learning-based generally more accurate and statistics-based sometimes superior.
- Dynamic query decomposition with dependency-based parallelism enhances efficiency and scalability.
- Acomprehensive evaluation and ablation studies demonstrate the contribution of each major component.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.