A General LLM Framework for Query Refinement

2026-10-21来源 arXiv cs.DBEnglish
arXiv:2602.15681v2 Announce Type: replace Abstract: Numerous studies have explored the SQL query refinement problem, where the objective is to minimally modify an input query so that its output satisfies a specified set of constraints. However, these works typically target restricted classes of queries or constraints. We present OmniTune, a general framework for refining arbitrary SQL queries using LLM-based optimization by prompting (OPRO). OmniTune employs a two-step OPRO scheme that explores promising refinement subspaces and samples candidates within them, supported by concise history and skyline summaries for effective feedback. Experiments on a comprehensive benchmark demonstrate that OmniTune handles both previously studied refinement tasks and more complex scenarios beyond the scope of existing solutions.

原文:https://www.a8q9.cn/en/article/a-general-llm-framework-for-query-refinement-6c370a.html

相关文章