mlsanityData to 7 Oct 2026

Semantic Operators: A Declarative Model for Rich, AI-based Data Processing

arXiv 2407.11418 ↗First posted 16 Jul 2024cs.DB cs.AI cs.CLcited by 29

Not on the map. Why?

Abstract (arXiv)

The semantic capabilities of large language models (LLMs) have the potential to enable rich analytics and reasoning over vast knowledge corpora. Unfortunately, existing systems either empirically optimize expensive LLM-powered operations with no performance guarantees, or serve a limited set of row-wise LLM operations, providing limited robustness, expressiveness and usability. We introduce semantic operators, the first formalism for declarative and general-purpose AI-based transformations based on natural language specifications (e.g., filtering, sorting, joining or aggregating records using natural language criteria). Each operator opens a rich space for execution plans, similar to relational operators. Our model specifies the expected behavior of each operator with a high-quality gold algorithm, and we develop an optimization framework that reduces cost, while providing accuracy guarantees with respect to a gold algorithm. Using this approach, we propose several novel optimizations to accelerate semantic filtering, joining, group-by and top-k operations by up to 1,000×. We implement semantic operators in the LOTUS system and demonstrate LOTUS' effectiveness on real, bulk-semantic processing applications, including fact-checking, biomedical multi-label classification, search, and topic analysis. We show that the semantic operator model is expressive, capturing state-of-the-art AI pipelines in a few operator calls, and making it easy to express new pipelines that match or exceed quality of recent LLM-based analytic systems by up to 170%, while offering accuracy guarantees. Overall, LOTUS programs match or exceed the accuracy of state-of-the-art AI pipelines for each task while running up to 3.6× faster than the highest-quality baselines. LOTUS is publicly available at https://github.com/lotus-data/lotus.

Key facts. Cited by 29 papers in the map (data through 7 Oct 2026). Builds on 30 of its 63 references that are in the map. First posted on arXiv 16 Jul 2024.

Builds on

30 of 63 references.

References · 30

  1. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  2. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
  3. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
  4. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
  5. 2017Billion-scale similarity search with GPUscited by 2,477
  6. 2018FEVER: a large-scale dataset for Fact Extraction and VERificationcited by 1,362
  7. 2021BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Modelscited by 1,225
  8. 2022Text Embeddings by Weakly-Supervised Contrastive Pre-trainingcited by 1,216
  9. 2020ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERTcited by 1,160
  10. 2023FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performancecited by 791
  11. 2020Calibration of Pre-trained Transformerscited by 307
  12. 2021Recursively Summarizing Books with Human Feedbackcited by 287
18 more
  1. 2023FacTool: Factuality Detection in Generative AI -- A Tool Augmented Framework for Multi-Task and Multi-Domain Scenarioscited by 247
  2. 2022Improving Passage Retrieval with Zero-Shot Question Generationcited by 164
  3. 2023RankZephyr: Effective and Robust Zero-Shot Listwise Reranking is a Breeze!cited by 151
  4. 2023Large Language Model Cascades with Mixture of Thoughts Representations for Cost-efficient Reasoningcited by 140
  5. 2023BooookScore: A systematic exploration of book-length summarization in the era of LLMscited by 137
  6. 2023Language Models Enable Simple Systems for Generating Structured Views of Heterogeneous Data Lakescited by 101
  7. 2023Beyond Yes and No: Improving Zero-Shot LLM Rankers via Scoring Fine-Grained Relevance Labelscited by 86
  8. 2018TypeSQL: Knowledge-based Type-Aware Neural Text-to-SQL Generationcited by 81
  9. 2015Simple, Robust and Optimal Ranking from Pairwise Comparisonscited by 68
  10. 2018BlazeIt: Optimizing Declarative Aggregation and Limit Queries for Neural Network-Based Video Analyticscited by 41
  11. 2024A Declarative System for Optimizing AI Workloadscited by 35
  12. 2024ACORN: Performant and Predicate-Agnostic Search Over Vector Embeddings and Structured Datacited by 31
  13. 2024Optimizing LLM Queries in Relational Data Analytics Workloadscited by 20
  14. 2024UQE: A Query Engine for Unstructured Databasescited by 18
  15. 2020Approximate Selection with Guarantees using Proxiescited by 13
  16. 2023SUQL: Conversational Search over Structured and Unstructured Data with Large Language Modelscited by 13
  17. 2023BioDEX: Large-Scale Biomedical Adverse Drug Event Extraction for Real-World Pharmacovigilancecited by 10
  18. 2021Accelerating Approximate Aggregation Queries with Expensive Predicatescited by 9

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 4; 2025: 17; 2026: 8.

29 papers.

Sort:

By area:

  1. 2024Text2SQL is Not Enough: Unifying AI and Databases with TAGcited by 34
  2. 2025DeepScholar-Bench: A Live Benchmark and Automated Evaluation for Generative Research Synthesiscited by 31
  3. 2025KramaBench: A Benchmark for AI Systems on Data-to-Insight Pipelines over Data Lakescited by 30
  4. 2024Knowledge-Aware Query Expansion with Large Language Models for Textual and Relational Retrievalcited by 24
  5. 2024The Design of an LLM-powered Unstructured Analytics Systemcited by 20
  6. 2025Large language models for artificial general intelligence (AGI): A survey of foundational principles and approachescited by 18
  7. 2025Abacus: A Cost-Based Optimizer for Semantic Operator Systemscited by 11
  8. 2025Weaver: Interweaving SQL and LLM for Table Reasoningcited by 8
  9. 2025SemBench: A Benchmark for Semantic Query Processing Enginescited by 8
  10. 2025Batch Query Processing and Optimization for Agentic Workflowscited by 6
  11. 2025Deep Research is the New Analytics System: Towards Building the Runtime for AI-Driven Analyticscited by 6
  12. 2025Making Prompts First-Class Citizens for Adaptive LLM Pipelinescited by 3
17 more
  1. 2025Querying Databases with Function Callingcited by 2
  2. 2025A Case for Computing on Unstructured Datacited by 2
  3. 2024Beyond Fine-Tuning: Effective Strategies for Mitigating Hallucinations in Large Language Models for Data Analyticscited by 1
  4. 2025DRAMA: Unifying Data Retrieval and Analysis for Open-Domain Analytic Queriescited by 1
  5. 2026Blue Data Intelligence Layer: Streaming Data and Agents for Multi-source Multi-modal Data-Centric Applicationscited by 1
  6. 2026Larch: Learned Query Optimization for Semantic Predicatescited by 1
  7. 2026Large Databases Need Small, Open-Weight Language Modelscited by 1
  8. 2025RelationalFactQA: A Benchmark for Evaluating Tabular Fact Retrieval from Large Language Modelscited by 0
  9. 2025SABER: A SQL-Compatible Semantic Document Processing System Based on Extended Relational Algebracited by 0
  10. 2025Play by the Type Rules: Inferring Constraints for LLM Functions in Declarative Programscited by 0
  11. 2025Poodle: Seamlessly Scaling Down Large Language Models with Just-in-Time Model Replacementcited by 0
  12. 2025KathDB: Explainable Multimodal Database Management System with Human-AI Collaborationcited by 0
  13. 2026Filtered Approximate Nearest Neighbor Search in Vector Databases: System Design and Performance Analysiscited by 0
  14. 2026SODIUM: From Open Web Data to Queryable Databasescited by 0
  15. 2026SemJoin: Semantic Join Optimizationcited by 0
  16. 2026SAGE: A Unified Algebra and Self-Adaptive Execution for AI Functions in SQLcited by 0
  17. 2026The Stochastic Shift: A New Evaluation Paradigm for Text-to-SQL with AI Operatorscited by 0