Data-Aware Socratic Query Refinement in Database Systems

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Zhang, Ruiyuan, Kosyfaki, Chrysanthi, Zhou, Xiaofang
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866909727038898176
author Zhang, Ruiyuan
Kosyfaki, Chrysanthi
Zhou, Xiaofang
author_facet Zhang, Ruiyuan
Kosyfaki, Chrysanthi
Zhou, Xiaofang
contents In this paper, we propose Data-Aware Socratic Guidance (DASG), a dialogue-based query enhancement framework that embeds \linebreak interactive clarification as a first-class operator within database systems to resolve ambiguity in natural language queries. DASG treats dialogue as an optimization decision, asking clarifying questions only when the expected execution cost reduction exceeds the interaction overhead. The system quantifies ambiguity through linguistic fuzziness, schema grounding confidence, and projected costs across relational and vector backends. Our algorithm selects the optimal clarifications by combining semantic relevance, catalog-based information gain, and potential cost reduction. We evaluate our proposed framework on three datasets. The results show that DASG demonstrates improved query precision while maintaining efficiency, establishing a cooperative analytics paradigm where systems actively participate in query formulation rather than passively translating user requests.
format Preprint
id arxiv_https___arxiv_org_abs_2508_05061
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Data-Aware Socratic Query Refinement in Database Systems
Zhang, Ruiyuan
Kosyfaki, Chrysanthi
Zhou, Xiaofang
Databases
Information Retrieval
In this paper, we propose Data-Aware Socratic Guidance (DASG), a dialogue-based query enhancement framework that embeds \linebreak interactive clarification as a first-class operator within database systems to resolve ambiguity in natural language queries. DASG treats dialogue as an optimization decision, asking clarifying questions only when the expected execution cost reduction exceeds the interaction overhead. The system quantifies ambiguity through linguistic fuzziness, schema grounding confidence, and projected costs across relational and vector backends. Our algorithm selects the optimal clarifications by combining semantic relevance, catalog-based information gain, and potential cost reduction. We evaluate our proposed framework on three datasets. The results show that DASG demonstrates improved query precision while maintaining efficiency, establishing a cooperative analytics paradigm where systems actively participate in query formulation rather than passively translating user requests.
title Data-Aware Socratic Query Refinement in Database Systems
topic Databases
Information Retrieval
url https://arxiv.org/abs/2508.05061