Back to AI News
arxiv

Semantic-aware Decoding for Diverse Text-to-SQL under Schema Ambiguity

The paper introduces Semantic-aware Logit Adjustment (SLA), a training-free decoding method that improves diversity in text-to-SQL generation by adjusting token logits based on semantic similarity between schema elements. SLA addresses schema ambiguity by encouraging multiple plausible interpretations in top-k predictions without requiring fine-tuning or complex prompting. Experiments show SLA enhances interpretation coverage at lower inference cost compared to existing diversity-oriented methods.

AI Brief

Offers a practical, model-agnostic technique to improve SQL diversity from LLMs, valuable for real-world disambiguation tasks.

arXiv:2611.30873v1 Announce Type: cross Abstract: Real-world text-to-SQL systems often face schema ambiguity, where a question can map to multiple plausible schema elements. To support downstream disambiguation, SQL generation systems should include diverse interpretations among their top-k predictions. However, large language models (LLMs) typically favor a single interpretation, producing highly skewed outputs. We propose Semantic-aware Logit Adjustment (SLA), a training-free decoding method that promotes diverse SQL generation by adjusting token logits based on semantic similarity between schema elements. Unlike prior approaches that rely on reasoning-intensive prompting or task-specific fine-tuning, SLA is efficient, model-agnostic, and easy to deploy. Experiments show that SLA consistently improves interpretation coverage over standard decoding and remains competitive with existing diversity-oriented methods at substantially lower inference cost.
Be the first to rate this article.

Comments & Questions (0)

Captcha
Please be respectful — let's keep the conversation friendly.

No comments yet

Be the first to comment!