mlsanityData to 14 Oct 2026

Abacus: A Cost-Based Optimizer for Semantic Operator Systems

arXiv 2505.14661 ↗First posted 20 May 2025cs.DB cs.AIcited by 13

Not on the map. Why?

Abstract (arXiv)

LLMs enable an exciting new class of data processing applications over large collections of unstructured documents. Several new programming frameworks have enabled developers to build these applications by composing them out of semantic operators: a declarative set of AI-powered data transformations with natural language specifications. These include LLM-powered maps, filters, joins, etc. used for document processing tasks such as information extraction, summarization, and more. While systems of semantic operators have achieved strong performance on benchmarks, they can be difficult to optimize. An optimizer for this setting must determine how to physically implement each semantic operator in a way that optimizes the system globally. Existing optimizers are limited in the number of optimizations they can apply, and most (if not all) cannot optimize system quality, cost, or latency subject to constraint(s) on the other dimensions. In this paper we present Abacus, an extensible, cost-based optimizer which searches for the best implementation of a semantic operator system given a (possibly constrained) optimization objective. Abacus estimates operator performance by leveraging a minimal set of validation examples, prior beliefs about operator performance, and/or an LLM judge. We evaluate Abacus on document processing workloads in the biomedical and legal domains (BioDEX; CUAD) and multi-modal question answering (MMQA). We demonstrate that, on-average, systems optimized by Abacus achieve 6.7%-39.4% better quality and are 10.8x cheaper and 3.4x faster than the next best system.

Key facts. Cited by 13 papers in the map (data through 14 Oct 2026). Builds on 23 of its 50 references that are in the map. First posted on arXiv 20 May 2025.

Builds on

23 of 50 references.

References · 23

  1. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  2. 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,442
  3. 2023MMMU: A Massive Multi-discipline Multimodal Understanding and Reasoning Benchmark for Expert AGIcited by 2,080
  4. 2021BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Modelscited by 1,252
  5. 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 832
  6. 2024Mixture-of-Agents Enhances Large Language Model Capabilitiescited by 438
  7. 2024Optimizing Instructions and Demonstrations for Multi-Stage Language Model Programscited by 291
  8. 2021CUAD: An Expert-Annotated NLP Dataset for Legal Contract Reviewcited by 236
  9. 2021MultiModalQA: Complex Question Answering over Text, Tables and Imagescited by 179
  10. 2013Finite-Time Analysis of Kernelised Contextual Banditscited by 177
  11. 2024MileBench: Benchmarking MLLMs in Long Contextcited by 88
  12. 2024Archon: An Architecture Search Framework for Inference-Time Techniquescited by 60
11 more
  1. 2024DocETL: Agentic Query Rewriting and Evaluation for Complex Document Processingcited by 52
  2. 2018BlazeIt: Optimizing Declarative Aggregation and Limit Queries for Neural Network-Based Video Analyticscited by 41
  3. 2024Fine-Tuning and Prompt Optimization: Two Great Steps that Work Better Togethercited by 40
  4. 2017NoScope: Optimizing Neural Network Queries over Video at Scalecited by 37
  5. 2024Semantic Operators: A Declarative Model for Rich, AI-based Data Processingcited by 34
  6. 2023CAESURA: Language Models as Multi-Modal Query Plannerscited by 20
  7. 2018Physical Representation-based Predicate Optimization for a Visual Analytics Databasecited by 19
  8. 2021Accelerating Approximate Aggregation Queries with Expensive Predicatescited by 10
  9. 2023BioDEX: Large-Scale Biomedical Adverse Drug Event Extraction for Real-World Pharmacovigilancecited by 10
  10. 2023Extract-Transform-Load for Video Streamscited by 7
  11. 2023Accelerating Aggregation Queries on Unstructured Streams of Datacited by 4

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 11.

13 papers.

Sort:

By area: