mlsanityData to 7 Oct 2026

Beyond Linear LLM Invocation: An Efficient and Effective Semantic Filter Paradigm

arXiv 2603.04799 ↗First posted 5 Mar 2026cs.DB cs.AI cs.CLcited by 1

Not on the map. Why?

Abstract (arXiv)

Large language models (LLMs) are increasingly used for semantic query processing over large corpora. A set of semantic operators derived from relational algebra has been proposed to provide a unified interface for expressing such queries, among which the semantic filter operator serves as a cornerstone. Given a table T with a natural language predicate e, for each tuple in the relation, the execution of a semantic filter proceeds by constructing an input prompt that combines the predicate e with its content, querying the LLM, and obtaining the binary decision. However, this tuple-by-tuple evaluation necessitates a complete linear scan of the table, incurring prohibitive latency and token costs. Although recent work has attempted to optimize semantic filtering, it still does not break the linear LLM invocation barriers. To address this, we propose Clustering-Sampling-Voting (CSV), a new framework that reduces LLM invocations to sublinear complexity while providing error guarantees. CSV embeds tuples into semantic clusters, samples a small subset for LLM evaluation, and infers cluster-level labels via two proposed voting strategies: UniVote, which aggregates labels uniformly, and SimVote, which weights votes by semantic similarity. Moreover, CSV triggers re-clustering on ambiguous clusters to ensure robustness across diverse datasets. The results conducted on real-world datasets demonstrate that CSV reduces the number of LLM calls by 1.28-355x compared to the state-of-the-art approaches, while maintaining comparable effectiveness in terms of Accuracy and F1 score.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 23 of its 50 references that are in the map. First posted on arXiv 5 Mar 2026.

Builds on

23 of 50 references.

References · 23

  1. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  2. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
  3. 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,416
  4. 2018FEVER: a large-scale dataset for Fact Extraction and VERificationcited by 1,362
  5. 2022Text Embeddings by Weakly-Supervised Contrastive Pre-trainingcited by 1,216
  6. 2019PEGASUS: Pre-training with Extracted Gap-sentences for Abstractive Summarizationcited by 1,100
  7. 2017Automated Hate Speech Detection and the Problem of Offensive Languagecited by 724
  8. 2023Can LLM Already Serve as A Database Interface? A BIg Bench for Large-Scale Database Grounded Text-to-SQLscited by 667
  9. 2021LexGLUE: A Benchmark Dataset for Legal Language Understanding in Englishcited by 302
  10. 2018BlazeIt: Optimizing Declarative Aggregation and Limit Queries for Neural Network-Based Video Analyticscited by 41
  11. 2024Text2SQL is Not Enough: Unifying AI and Databases with TAGcited by 34
  12. 2024GPT Semantic Cache: Reducing LLM Costs and Latency via Semantic Embedding Cachingcited by 21
11 more
  1. 2024Optimizing LLM Queries in Relational Data Analytics Workloadscited by 20
  2. 2024The Design of an LLM-powered Unstructured Analytics Systemcited by 20
  3. 2024UQE: A Query Engine for Unstructured Databasescited by 18
  4. 2022End-to-end Optimization of Machine Learning Prediction Queriescited by 16
  5. 2020Approximate Selection with Guarantees using Proxiescited by 13
  6. 2022Optimizing Machine Learning Inference Queries with Correlative Proxy Modelscited by 13
  7. 2025Beyond Quacking: Deep Integration of Language Models and RAG into DuckDBcited by 12
  8. 2021Accelerating Approximate Aggregation Queries with Expensive Predicatescited by 9
  9. 2025Cut Costs, Not Accuracy: LLM-Powered Data Processing with Guaranteescited by 8
  10. 2025Steering Semantic Data Processing With DocWranglercited by 4
  11. 2025Research Challenges in Relational Database Management Systems for LLM Queriescited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.