A universal LLM Framework for General Query Refinements

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Hacohen, Eldar, Moskovitch, Yuval, Somech, Amit
Format: Preprint
Veröffentlicht: 2026
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866914335008227328
author Hacohen, Eldar
Moskovitch, Yuval
Somech, Amit
author_facet Hacohen, Eldar
Moskovitch, Yuval
Somech, Amit
contents Numerous studies have explored the SQL query refinement problem, where the objective is to minimally modify an input query so that it 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.
format Preprint
id arxiv_https___arxiv_org_abs_2602_15681
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle A universal LLM Framework for General Query Refinements
Hacohen, Eldar
Moskovitch, Yuval
Somech, Amit
Databases
Numerous studies have explored the SQL query refinement problem, where the objective is to minimally modify an input query so that it 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.
title A universal LLM Framework for General Query Refinements
topic Databases
url https://arxiv.org/abs/2602.15681