NousDB - A Fast Query Engine for Semantic Analytics
Christos Tsapelas (Department of Informatics, Telecommunications, National, Kapodistrian University of Athens, Archimedes, Athena Research Center), Georgia Koutrika (Archimedes, Athena Research Center),
Key points
From the paper's conclusion- We present NousDB, a high-performance semantic analytics engine built on Apache DataFusion\cite{10.1145/3626246.3653368}.Through NousDB we propose an extended relational algebra with three semantic operators and formal algebraic properties that enable principled query rewriting and cross-operator optimization.
Abstract
Semantic data analytics systems integrate AI-powered operators into query pipelines, enabling declarative queries over structured and unstructured data. However, existing systems rely on per-tuple model invocations, ad hoc operator designs, and lack principled cost models, resulting in poor scalability and limited optimization. We present NousDB, a high-performance semantic analytics engine built on Apache DataFusion\cite{10.1145/3626246.3653368}.Through NousDB we propose an extended relational algebra with three semantic operators and formal algebraic properties that enable principled query rewriting and cross-operator optimization. We further propose a token-based cost model using equi-depth token histograms to optimize batch sizing under context-window constraints and provide statistical guarantees for safe batching. Experiments show that NousDB achieves up to $\times 86$ speedups with both local and enterprise LLMs, while leading competitors in token efficiency and accuracy. These gains extend to complex JOB and Stack workloads augmented with semantic operators, supporting both traditional and semantic analytics.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- SemBench: A Benchmark for Semantic Query Processing EnginesProceedings of the VLDB Endowment · 2026
- Navigating Runtime Dynamism in Semantic Query ServingarXiv · 2026
- AI Data Analysis: A New Approach - Multi-engine Joint State Data AnalysisarXiv · 2026
- OCTOPUS: Towards A Tag Model for Cross-Query Reuse in Semantic Query ProcessingarXiv · 2026
- Cracking Query Bottlenecks: Towards Efficiency-Oriented Text-to-SQL GenerationProceedings of the ACM on Software Engineering · 2026
- text2ql: Multi-Target Natural Language Querying via a Language-Agnostic Intermediate RepresentationarXiv · 2026