mlsanityData to 7 Oct 2026

A Declarative System for Optimizing AI Workloads

arXiv 2405.14696 ↗First posted 23 May 2024cs.CL cs.AI cs.DBcited by 35

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

  1. 2022Training language models to follow instructions with human feedbackcited by 15,712
  2. 2015Distilling the Knowledge in a Neural Networkcited by 10,076
  3. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  4. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
  5. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
  6. 2023MetaGPT: Meta Programming for A Multi-Agent Collaborative Frameworkcited by 1,761
  7. 2022Fast Inference from Transformers via Speculative Decodingcited by 1,615
  8. 2020Knowledge Distillation: A Surveycited by 1,578
  9. 2022Competition-Level Code Generation with AlphaCodecited by 1,427
  10. 2023Gorilla: Large Language Model Connected with Massive APIscited by 1,302
  11. 2023SGLang: Efficient Execution of Structured Language Model Programscited by 1,107
  12. 2023Accelerating Large Language Model Decoding with Speculative Samplingcited by 975
14 more
  1. 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 803
  2. 2023FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performancecited by 791
  3. 2023Splitwise: Efficient generative LLM inference using phase splittingcited by 536
  4. 2023Accelerating LLM Inference with Staged Speculative Decodingcited by 151
  5. 2023Online Speculative Decodingcited by 109
  6. 2023Language Models Enable Simple Systems for Generating Structured Views of Heterogeneous Data Lakescited by 101
  7. 2023End-to-End Beam Retrieval for Multi-Hop Question Answeringcited by 35
  8. 2022Validating Large Language Models with ReLMcited by 33
  9. 2024Optimizing LLM Queries in Relational Data Analytics Workloadscited by 20
  10. 2018Physical Representation-based Predicate Optimization for a Visual Analytics Databasecited by 19
  11. 2023CAESURA: Language Models as Multi-Modal Query Plannerscited by 19
  12. 2015Learning Complexity-Aware Cascades for Deep Pedestrian Detectioncited by 18
  13. 2024Towards Accurate and Efficient Document Analytics with Large Language Modelscited by 11
  14. 2024Prepacking: A Simple Method for Fast Prefilling and Increased Throughput in Large Language Modelscited by 10

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 9; 2025: 17; 2026: 9.

35 papers.

Sort:

By area:

  1. 2024DocETL: Agentic Query Rewriting and Evaluation for Complex Document Processingcited by 49
  2. 2025In-depth Analysis of Graph-based RAG in a Unified Frameworkcited by 45
  3. 2024Text2SQL is Not Enough: Unifying AI and Databases with TAGcited by 34
  4. 2024Semantic Operators: A Declarative Model for Rich, AI-based Data Processingcited by 29
  5. 2026Atomix: Timely, Transactional Tool Use for Reliable Agentic Workflowscited by 27
  6. 2024The Design of an LLM-powered Unstructured Analytics Systemcited by 20
  7. 2025Murakkab: Resource-Efficient Agentic Workflow Orchestration in Cloud Platformscited by 18
  8. 2025MEBench: Benchmarking Large Language Models for Cross-Document Multi-Entity Question Answeringcited by 15
  9. 2025SRAG: Structured Retrieval-Augmented Generation for Multi-Entity Question Answering over Wikipedia Graphcited by 10
  10. 2026Efficient LLM Serving for Agentic Workflows: A Data Systems Perspectivecited by 10
  11. 2025Orchestrating Agents and Data for Enterprise: A Blueprint Architecture for Compound AIcited by 9
  12. 2025Cut Costs, Not Accuracy: LLM-Powered Data Processing with Guaranteescited by 8
23 more
  1. 2024Multi-Modal Data Exploration via Language Agentscited by 7
  2. 2025Visual Template Inference for Data Extraction from Documentscited by 6
  3. 2025Towards Resource-Efficient Compound AI Systemscited by 6
  4. 2025Batch Query Processing and Optimization for Agentic Workflowscited by 6
  5. 2024AnyMatch -- Efficient Zero-Shot Entity Matching with a Small Language Modelcited by 5
  6. 2025PalimpChat: Declarative and Interactive AI analyticscited by 4
  7. 2025From Standalone LLMs to Integrated Intelligence: A Survey of Compound Al Systemscited by 4
  8. 2024LLM+KG@VLDB'24 Workshop Summarycited by 3
  9. 2024Variable Extraction for Model Recovery in Scientific Literaturecited by 3
  10. 2025Research Challenges in Relational Database Management Systems for LLM Queriescited by 2
  11. 2025ScaleDoc: Scaling LLM-based Predicates over Large Document Collectionscited by 2
  12. 2026Streaming Model Cascades for Semantic SQLcited by 2
  13. 2025TAIJI: MCP-based Multi-Modal Data Analytics on Data Lakescited by 1
  14. 2025DRAMA: Unifying Data Retrieval and Analysis for Open-Domain Analytic Queriescited by 1
  15. 2026Blue Data Intelligence Layer: Streaming Data and Agents for Multi-source Multi-modal Data-Centric Applicationscited by 1
  16. 2024Rank It, Then Ask It: Input Reranking for Maximizing the Performance of LLMs on Symmetric Taskscited by 0
  17. 2025LLM-Powered Proactive Data Systemscited by 0
  18. 2025Effectiveness of Prompt Optimization in NL2SQL Systemscited by 0
  19. 2026Declarative Data Services: Structured Agentic Discovery for Composing Data Systemscited by 0
  20. 2026SemJoin: Semantic Join Optimizationcited by 0
  21. 2026ASMR: Agentic Schema Generation for Ship Maintenance Report Writingcited by 0
  22. 2026SAGE: A Unified Algebra and Self-Adaptive Execution for AI Functions in SQLcited by 0
  23. 2026Robust Hierarchical Structures for Agentic Document Analysiscited by 0