mlsanityData to 14 Oct 2026

The Case for Instance-Optimized LLMs in OLAP Databases

arXiv 2507.04967 ↗First posted 7 Jul 2025cs.DB cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Large Language Models (LLMs) can enhance analytics systems with powerful data summarization, cleaning, and semantic transformation capabilities. However, deploying LLMs at scale -- processing millions to billions of rows -- remains prohibitively expensive in computation and memory. We present IOLM-DB, a novel system that makes LLM-enhanced database queries practical through query-specific model optimization. Instead of using general-purpose LLMs, IOLM-DB generates lightweight, specialized models tailored to each query's specific needs using representative data samples. IOLM-DB reduces model footprints by up to 76% and increases throughput by up to 3.31× while maintaining accuracy through aggressive compression techniques, including quantization, sparsification, and structural pruning. We further show how our approach enables higher parallelism on existing hardware and seamlessly supports caching and batching strategies to reduce overheads. Our prototype demonstrates that leveraging LLM queries inside analytics systems is feasible at scale, opening new possibilities for future OLAP applications.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 12 of its 20 references that are in the map. First posted on arXiv 7 Jul 2025.

Builds on

12 of 20 references.

References · 12

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2023GPT-4 Technical Reportcited by 18,396
  3. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  4. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  5. 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,592
  6. 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,919
  7. 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,386
  8. 2023SparseGPT: Massive Language Models Can Be Accurately Pruned in One-Shotcited by 1,121
  9. 2023LLM-Pruner: On the Structural Pruning of Large Language Modelscited by 650
  10. 2022Can Foundation Models Wrangle Your Data?cited by 175
  11. 2024Exploiting LLM Quantizationcited by 65
  12. 2023Data Extraction via Semantic Regular Expression Synthesiscited by 8

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025CoddLLM: Empowering Large Language Models for Data Analytics
  2. 2024Optimizing LLM Queries in Relational Data Analytics Workloads
  3. 2026Large Databases Need Small, Open-Weight Language Models
  4. 2025Querying Databases with Function Calling
  5. 2024ScaleLLM: A Resource-Frugal LLM Serving Framework by Optimizing End-to-End Efficiency
  6. 2026BatchDAG: LLM-Planned Execution Graphs for Scalable Ad-Hoc Analysis Over Enterprise Data
  7. 2025A Survey of LLM × DATA
  8. 2025AlayaDB: The Data Foundation for Efficient and Effective Long-context LLM Inference