mlsanityData to 14 Oct 2026

LaPuda: LLM-Enabled Policy-Based Query Optimizer for Multi-modal Data

arXiv 2403.13597 ↗First posted 20 Mar 2024cs.DB cs.AI cs.IRcited by 1

Not on the map. Why?

Abstract (arXiv)

Large language model (LLM) has marked a pivotal moment in the field of machine learning and deep learning. Recently its capability for query planning has been investigated, including both single-modal and multi-modal queries. However, there is no work on the query optimization capability of LLM. As a critical (or could even be the most important) step that significantly impacts the execution performance of the query plan, such analysis and attempts should not be missed. From another aspect, existing query optimizers are usually rule-based or rule-based + cost-based, i.e., they are dependent on manually created rules to complete the query plan rewrite/transformation. Given the fact that modern optimizers include hundreds to thousands of rules, designing a multi-modal query optimizer following a similar way is significantly time-consuming since we will have to enumerate as many multi-modal optimization rules as possible, which has not been well addressed today. In this paper, we investigate the query optimization ability of LLM and use LLM to design LaPuda, a novel LLM and Policy based multi-modal query optimizer. Instead of enumerating specific and detailed rules, LaPuda only needs a few abstract policies to guide LLM in the optimization, by which much time and human effort are saved. Furthermore, to prevent LLM from making mistakes or negative optimization, we borrow the idea of gradient descent and propose a guided cost descent (GCD) algorithm to perform the optimization, such that the optimization can be kept in the correct direction. In our evaluation, our methods consistently outperform the baselines in most cases. For example, the optimized plans generated by our methods result in 1~3x higher execution speed than those by the baselines.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 17 of its 33 references that are in the map. First posted on arXiv 20 Mar 2024.

Builds on

17 of 33 references.

References · 17

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
  4. 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
  5. 2022BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generationcited by 4,322
  6. 2022Solving Quantitative Reasoning Problems with Language Modelscited by 1,392
  7. 2022Inner Monologue: Embodied Reasoning through Planning with Language Modelscited by 1,081
  8. 2023Shikra: Unleashing Multimodal LLM's Referential Dialogue Magiccited by 906
  9. 2023Reasoning with Language Model is Planning with World Modelcited by 861
  10. 2023LLM+P: Empowering Large Language Models with Optimal Planning Proficiencycited by 501
  11. 2022Generating Sequences by Learning to Self-Correctcited by 277
  12. 2023REFINER: Reasoning Feedback on Intermediate Representationscited by 205
5 more
  1. 2020Injecting Numerical Reasoning Skills into Language Modelscited by 133
  2. 2018Task Planning in Robotics: an Empirical Comparison of PDDL-based and ASP-based Systemscited by 40
  3. 2023CAESURA: Language Models as Multi-Modal Query Plannerscited by 20
  4. 2023GPT is becoming a Turing machine: Here are some ways to program itcited by 16
  5. 2023Reimagining Retrieval Augmented Language Models for Answering Queriescited by 2

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.