---
title: "Semantic-aware Decoding for Diverse Text-to-SQL under Schema Ambiguity"
source: "arXiv AI/CL/LG（论文）"
source_tier: "t2"
url: "https://arxiv.org/abs/2611.30873v1"
permalink: "https://feed.astralor.com/items/itm_84422836902a0207d7722c08"
published: "2026-11-23T15:43:16.000Z"
score: 54
channel: "tech"
tags: ["LLM","推理效率","RAG","Semantic-aware Decoding","Diverse Text-to-SQL","Schema Ambiguity Real-world","SQL","Real-world"]
---

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

## At a glance

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 interpretat…

## Key points

- 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.

## Full text

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.

---

Verify against the original before citing; curated by Astral Feed: https://feed.astralor.com/items/itm_84422836902a0207d7722c08
