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

Yuxuan Jiang, Anna Mitsopoulou, Apostolos Koukouvinis, Yannis Velegrakis, Georgia Koutrika
11/23/2026
cs.CLcs.AI

No confident code implementation found for this paper.

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{jiang2026semanticaware,
  title  = {Semantic-aware Decoding for Diverse Text-to-SQL under Schema Ambiguity},
  author = {Yuxuan Jiang and Anna Mitsopoulou and Apostolos Koukouvinis and Yannis Velegrakis and Georgia Koutrika},
  year   = {2026},
  eprint = {2611.30873},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.30873v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.30873.svg)](https://codeofpaper.com/paper/2611.30873)

Discussion