A Declarative System for Optimizing AI Workloads
Not on the map. Why?
Abstract (arXiv)
A long-standing goal of data management systems has been to build systems which can compute quantitative insights over large corpora of unstructured data in a cost-effective manner. Until recently, it was difficult and expensive to extract facts from company documents, data from scientific papers, or metrics from image and video corpora. Today's models can accomplish these tasks with high accuracy. However, a programmer who wants to answer a substantive AI-powered query must orchestrate large numbers of models, prompts, and data operations. For even a single query, the programmer has to make a vast number of decisions such as the choice of model, the right inference method, the most cost-effective inference hardware, the ideal prompt design, and so on. The optimal set of decisions can change as the query changes and as the rapidly-evolving technical landscape shifts. In this paper we present Palimpzest, a system that enables anyone to process AI-powered analytical queries simply by defining them in a declarative language. The system uses its cost optimization framework to implement the query plan with the best trade-offs between runtime, financial cost, and output data quality. We describe the workload of AI-powered analytics tasks, the optimization methods that Palimpzest uses, and the prototype system itself. We evaluate Palimpzest on tasks in Legal Discovery, Real Estate Search, and Medical Schema Matching. We show that even our simple prototype offers a range of appealing plans, including one that is 3.3x faster and 2.9x cheaper than the baseline method, while also offering better data quality. With parallelism enabled, Palimpzest can produce plans with up to a 90.3x speedup at 9.1x lower cost relative to a single-threaded GPT-4 baseline, while obtaining an F1-score within 83.5% of the baseline. These require no additional work by the user.
Key facts. Cited by 35 papers in the map (data through 7 Oct 2026). Builds on 26 of its 61 references that are in the map. First posted on arXiv 23 May 2024.
Builds on
26 of 61 references.
References · 26
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
- 2023MetaGPT: Meta Programming for A Multi-Agent Collaborative Frameworkcited by 1,761
- 2022Fast Inference from Transformers via Speculative Decodingcited by 1,615
- 2020Knowledge Distillation: A Surveycited by 1,578
- 2022Competition-Level Code Generation with AlphaCodecited by 1,427
- 2023Gorilla: Large Language Model Connected with Massive APIscited by 1,302
- 2023SGLang: Efficient Execution of Structured Language Model Programscited by 1,107
- 2023Accelerating Large Language Model Decoding with Speculative Samplingcited by 975
14 more
- 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 803
- 2023FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performancecited by 791
- 2023Splitwise: Efficient generative LLM inference using phase splittingcited by 536
- 2023Accelerating LLM Inference with Staged Speculative Decodingcited by 151
- 2023Online Speculative Decodingcited by 109
- 2023Language Models Enable Simple Systems for Generating Structured Views of Heterogeneous Data Lakescited by 101
- 2023End-to-End Beam Retrieval for Multi-Hop Question Answeringcited by 35
- 2022Validating Large Language Models with ReLMcited by 33
- 2024Optimizing LLM Queries in Relational Data Analytics Workloadscited by 20
- 2018Physical Representation-based Predicate Optimization for a Visual Analytics Databasecited by 19
- 2023CAESURA: Language Models as Multi-Modal Query Plannerscited by 19
- 2015Learning Complexity-Aware Cascades for Deep Pedestrian Detectioncited by 18
- 2024Towards Accurate and Efficient Document Analytics with Large Language Modelscited by 11
- 2024Prepacking: A Simple Method for Fast Prefilling and Increased Throughput in Large Language Modelscited by 10
Built on by
Citing papers per year: 2024: 9; 2025: 17; 2026: 9.
35 papers.
Sort:
By area:
- 2024DocETL: Agentic Query Rewriting and Evaluation for Complex Document Processingcited by 49
- 2025In-depth Analysis of Graph-based RAG in a Unified Frameworkcited by 45
- 2024Text2SQL is Not Enough: Unifying AI and Databases with TAGcited by 34
- 2024Semantic Operators: A Declarative Model for Rich, AI-based Data Processingcited by 29
- 2026Atomix: Timely, Transactional Tool Use for Reliable Agentic Workflowscited by 27
- 2024The Design of an LLM-powered Unstructured Analytics Systemcited by 20
- 2025Murakkab: Resource-Efficient Agentic Workflow Orchestration in Cloud Platformscited by 18
- 2025MEBench: Benchmarking Large Language Models for Cross-Document Multi-Entity Question Answeringcited by 15
- 2025SRAG: Structured Retrieval-Augmented Generation for Multi-Entity Question Answering over Wikipedia Graphcited by 10
- 2026Efficient LLM Serving for Agentic Workflows: A Data Systems Perspectivecited by 10
- 2025Orchestrating Agents and Data for Enterprise: A Blueprint Architecture for Compound AIcited by 9
- 2025Cut Costs, Not Accuracy: LLM-Powered Data Processing with Guaranteescited by 8
23 more
- 2024Multi-Modal Data Exploration via Language Agentscited by 7
- 2025Visual Template Inference for Data Extraction from Documentscited by 6
- 2025Towards Resource-Efficient Compound AI Systemscited by 6
- 2025Batch Query Processing and Optimization for Agentic Workflowscited by 6
- 2024AnyMatch -- Efficient Zero-Shot Entity Matching with a Small Language Modelcited by 5
- 2025PalimpChat: Declarative and Interactive AI analyticscited by 4
- 2025From Standalone LLMs to Integrated Intelligence: A Survey of Compound Al Systemscited by 4
- 2024LLM+KG@VLDB'24 Workshop Summarycited by 3
- 2024Variable Extraction for Model Recovery in Scientific Literaturecited by 3
- 2025Research Challenges in Relational Database Management Systems for LLM Queriescited by 2
- 2025ScaleDoc: Scaling LLM-based Predicates over Large Document Collectionscited by 2
- 2026Streaming Model Cascades for Semantic SQLcited by 2
- 2025TAIJI: MCP-based Multi-Modal Data Analytics on Data Lakescited by 1
- 2025DRAMA: Unifying Data Retrieval and Analysis for Open-Domain Analytic Queriescited by 1
- 2026Blue Data Intelligence Layer: Streaming Data and Agents for Multi-source Multi-modal Data-Centric Applicationscited by 1
- 2024Rank It, Then Ask It: Input Reranking for Maximizing the Performance of LLMs on Symmetric Taskscited by 0
- 2025LLM-Powered Proactive Data Systemscited by 0
- 2025Effectiveness of Prompt Optimization in NL2SQL Systemscited by 0
- 2026Declarative Data Services: Structured Agentic Discovery for Composing Data Systemscited by 0
- 2026SemJoin: Semantic Join Optimizationcited by 0
- 2026ASMR: Agentic Schema Generation for Ship Maintenance Report Writingcited by 0
- 2026SAGE: A Unified Algebra and Self-Adaptive Execution for AI Functions in SQLcited by 0
- 2026Robust Hierarchical Structures for Agentic Document Analysiscited by 0
- 2026Robust Hierarchical Structures for Agentic Document Analysis27 Sep 2026
- 2026SAGE: A Unified Algebra and Self-Adaptive Execution for AI Functions in SQL21 Aug 2026
- 2026ASMR: Agentic Schema Generation for Ship Maintenance Report Writing9 Jul 2026
- 2026SemJoin: Semantic Join Optimization28 Jun 2026
- 2026Declarative Data Services: Structured Agentic Discovery for Composing Data Systems20 May 2026
- 2026Blue Data Intelligence Layer: Streaming Data and Agents for Multi-source Multi-modal Data-Centric Applications16 Apr 2026
- 2026Streaming Model Cascades for Semantic SQL1 Apr 2026
- 2026Efficient LLM Serving for Agentic Workflows: A Data Systems Perspective17 Mar 2026
- 2026Atomix: Timely, Transactional Tool Use for Reliable Agentic Workflows16 Feb 2026
- 2025DRAMA: Unifying Data Retrieval and Analysis for Open-Domain Analytic Queries31 Oct 2025
- 2025ScaleDoc: Scaling LLM-based Predicates over Large Document Collections16 Sep 2025
- 2025Cut Costs, Not Accuracy: LLM-Powered Data Processing with Guarantees2 Sep 2025
23 more
- 2025Batch Query Processing and Optimization for Agentic Workflows2 Sep 2025
- 2025Research Challenges in Relational Database Management Systems for LLM Queries28 Aug 2025
- 2025Murakkab: Resource-Efficient Agentic Workflow Orchestration in Cloud Platforms22 Aug 2025
- 2025From Standalone LLMs to Integrated Intelligence: A Survey of Compound Al Systems5 Jun 2025
- 2025Effectiveness of Prompt Optimization in NL2SQL Systems26 May 2025
- 2025TAIJI: MCP-based Multi-Modal Data Analytics on Data Lakes16 May 2025
- 2025Orchestrating Agents and Data for Enterprise: A Blueprint Architecture for Compound AI10 Apr 2025
- 2025In-depth Analysis of Graph-based RAG in a Unified Framework6 Mar 2025
- 2025SRAG: Structured Retrieval-Augmented Generation for Multi-Entity Question Answering over Wikipedia Graph3 Mar 2025
- 2025MEBench: Benchmarking Large Language Models for Cross-Document Multi-Entity Question Answering26 Feb 2025
- 2025LLM-Powered Proactive Data Systems18 Feb 2025
- 2025PalimpChat: Declarative and Interactive AI analytics5 Feb 2025
- 2025Towards Resource-Efficient Compound AI Systems28 Jan 2025
- 2025Visual Template Inference for Data Extraction from Documents11 Jan 2025
- 2024Multi-Modal Data Exploration via Language Agents24 Dec 2024
- 2024Rank It, Then Ask It: Input Reranking for Maximizing the Performance of LLMs on Symmetric Tasks30 Nov 2024
- 2024Variable Extraction for Model Recovery in Scientific Literature21 Nov 2024
- 2024DocETL: Agentic Query Rewriting and Evaluation for Complex Document Processing16 Oct 2024
- 2024LLM+KG@VLDB'24 Workshop Summary2 Oct 2024
- 2024AnyMatch -- Efficient Zero-Shot Entity Matching with a Small Language Model6 Sep 2024
- 2024The Design of an LLM-powered Unstructured Analytics System1 Sep 2024
- 2024Text2SQL is Not Enough: Unifying AI and Databases with TAG27 Aug 2024
- 2024Semantic Operators: A Declarative Model for Rich, AI-based Data Processing16 Jul 2024
- 2024DocETL: Agentic Query Rewriting and Evaluation for Complex Document Processingcited by 49
- 2025Murakkab: Resource-Efficient Agentic Workflow Orchestration in Cloud Platformscited by 18
- 2026Efficient LLM Serving for Agentic Workflows: A Data Systems Perspectivecited by 10
- 2025Orchestrating Agents and Data for Enterprise: A Blueprint Architecture for Compound AIcited by 9
- 2024Multi-Modal Data Exploration via Language Agentscited by 7
- 2026Blue Data Intelligence Layer: Streaming Data and Agents for Multi-source Multi-modal Data-Centric Applicationscited by 1
- 2026Declarative Data Services: Structured Agentic Discovery for Composing Data Systemscited by 0
- 2026ASMR: Agentic Schema Generation for Ship Maintenance Report Writingcited by 0
- 2026Robust Hierarchical Structures for Agentic Document Analysiscited by 0
- 2026Robust Hierarchical Structures for Agentic Document Analysis27 Sep 2026
- 2026ASMR: Agentic Schema Generation for Ship Maintenance Report Writing9 Jul 2026
- 2026Declarative Data Services: Structured Agentic Discovery for Composing Data Systems20 May 2026
- 2026Blue Data Intelligence Layer: Streaming Data and Agents for Multi-source Multi-modal Data-Centric Applications16 Apr 2026
- 2026Efficient LLM Serving for Agentic Workflows: A Data Systems Perspective17 Mar 2026
- 2025Murakkab: Resource-Efficient Agentic Workflow Orchestration in Cloud Platforms22 Aug 2025
- 2025Orchestrating Agents and Data for Enterprise: A Blueprint Architecture for Compound AI10 Apr 2025
- 2024Multi-Modal Data Exploration via Language Agents24 Dec 2024
- 2024DocETL: Agentic Query Rewriting and Evaluation for Complex Document Processing16 Oct 2024
- 2025In-depth Analysis of Graph-based RAG in a Unified Frameworkcited by 45
- 2025MEBench: Benchmarking Large Language Models for Cross-Document Multi-Entity Question Answeringcited by 15
- 2025SRAG: Structured Retrieval-Augmented Generation for Multi-Entity Question Answering over Wikipedia Graphcited by 10
- 2025In-depth Analysis of Graph-based RAG in a Unified Framework6 Mar 2025
- 2025SRAG: Structured Retrieval-Augmented Generation for Multi-Entity Question Answering over Wikipedia Graph3 Mar 2025
- 2025MEBench: Benchmarking Large Language Models for Cross-Document Multi-Entity Question Answering26 Feb 2025
- 2024Text2SQL is Not Enough: Unifying AI and Databases with TAGcited by 34
- 2024Semantic Operators: A Declarative Model for Rich, AI-based Data Processingcited by 29
- 2026Atomix: Timely, Transactional Tool Use for Reliable Agentic Workflowscited by 27
- 2024The Design of an LLM-powered Unstructured Analytics Systemcited by 20
- 2025Cut Costs, Not Accuracy: LLM-Powered Data Processing with Guaranteescited by 8
- 2025Visual Template Inference for Data Extraction from Documentscited by 6
- 2025Towards Resource-Efficient Compound AI Systemscited by 6
- 2024AnyMatch -- Efficient Zero-Shot Entity Matching with a Small Language Modelcited by 5
- 2025PalimpChat: Declarative and Interactive AI analyticscited by 4
- 2025From Standalone LLMs to Integrated Intelligence: A Survey of Compound Al Systemscited by 4
- 2024LLM+KG@VLDB'24 Workshop Summarycited by 3
- 2024Variable Extraction for Model Recovery in Scientific Literaturecited by 3
12 most cited of 22 All 22 (JSON)
- 2026SAGE: A Unified Algebra and Self-Adaptive Execution for AI Functions in SQL21 Aug 2026
- 2026SemJoin: Semantic Join Optimization28 Jun 2026
- 2026Streaming Model Cascades for Semantic SQL1 Apr 2026
- 2026Atomix: Timely, Transactional Tool Use for Reliable Agentic Workflows16 Feb 2026
- 2025DRAMA: Unifying Data Retrieval and Analysis for Open-Domain Analytic Queries31 Oct 2025
- 2025ScaleDoc: Scaling LLM-based Predicates over Large Document Collections16 Sep 2025
- 2025Cut Costs, Not Accuracy: LLM-Powered Data Processing with Guarantees2 Sep 2025
- 2025Research Challenges in Relational Database Management Systems for LLM Queries28 Aug 2025
- 2025From Standalone LLMs to Integrated Intelligence: A Survey of Compound Al Systems5 Jun 2025
- 2025Effectiveness of Prompt Optimization in NL2SQL Systems26 May 2025
- 2025TAIJI: MCP-based Multi-Modal Data Analytics on Data Lakes16 May 2025
- 2025LLM-Powered Proactive Data Systems18 Feb 2025
12 newest of 22 All 22 (JSON)