Beyond Relational: Semantic-Aware Multi-Modal Analytics with LLM-Native Query Optimization

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Zhu, Junhao, Chen, Lu, Ke, Xiangyu, Fang, Ziquan, Li, Tianyi, Gao, Yunjun, Jensen, Christian S.
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914170080854016
author Zhu, Junhao
Chen, Lu
Ke, Xiangyu
Fang, Ziquan
Li, Tianyi
Gao, Yunjun
Jensen, Christian S.
author_facet Zhu, Junhao
Chen, Lu
Ke, Xiangyu
Fang, Ziquan
Li, Tianyi
Gao, Yunjun
Jensen, Christian S.
contents Multi-modal analytical processing has the potential to transform applications in e-commerce, healthcare, entertainment, and beyond. However, real-world adoption remains elusive due to the limited ability of traditional relational query operators to capture query semantics. The emergence of foundation models, particularly the large language models (LLMs), opens up new opportunities to develop flexible, semantic-aware data analytics systems that transcend the relational paradigm. We present Nirvana, a multi-modal data analytics framework that incorporates programmable semantic operators while leveraging both logical and physical query optimization strategies, tailored for LLM-driven semantic query processing. Nirvana addresses two key challenges. First, it features an agentic logical optimizer that uses natural language-specified transformation rules and random-walk-based search to explore vast spaces of semantically equivalent query plans -- far beyond the capabilities of conventional optimizers. Second, it introduces a cost-aware physical optimizer that selects the most effective LLM backend for each operator using a novel improvement-score metric. To further enhance efficiency, Nirvana incorporates computation reuse and evaluation pushdown techniques guided by model capability hypotheses. Experimental evaluations on three real-world benchmarks demonstrate that Nirvana is able to reduce end-to-end runtime by 10%--85% and reduces system processing costs by 76% on average, outperforming state-of-the-art systems at both efficiency and scalability.
format Preprint
id arxiv_https___arxiv_org_abs_2511_19830
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Beyond Relational: Semantic-Aware Multi-Modal Analytics with LLM-Native Query Optimization
Zhu, Junhao
Chen, Lu
Ke, Xiangyu
Fang, Ziquan
Li, Tianyi
Gao, Yunjun
Jensen, Christian S.
Databases
Artificial Intelligence
Multi-modal analytical processing has the potential to transform applications in e-commerce, healthcare, entertainment, and beyond. However, real-world adoption remains elusive due to the limited ability of traditional relational query operators to capture query semantics. The emergence of foundation models, particularly the large language models (LLMs), opens up new opportunities to develop flexible, semantic-aware data analytics systems that transcend the relational paradigm. We present Nirvana, a multi-modal data analytics framework that incorporates programmable semantic operators while leveraging both logical and physical query optimization strategies, tailored for LLM-driven semantic query processing. Nirvana addresses two key challenges. First, it features an agentic logical optimizer that uses natural language-specified transformation rules and random-walk-based search to explore vast spaces of semantically equivalent query plans -- far beyond the capabilities of conventional optimizers. Second, it introduces a cost-aware physical optimizer that selects the most effective LLM backend for each operator using a novel improvement-score metric. To further enhance efficiency, Nirvana incorporates computation reuse and evaluation pushdown techniques guided by model capability hypotheses. Experimental evaluations on three real-world benchmarks demonstrate that Nirvana is able to reduce end-to-end runtime by 10%--85% and reduces system processing costs by 76% on average, outperforming state-of-the-art systems at both efficiency and scalability.
title Beyond Relational: Semantic-Aware Multi-Modal Analytics with LLM-Native Query Optimization
topic Databases
Artificial Intelligence
url https://arxiv.org/abs/2511.19830