Disentangling Ambiguity from Instability in Large Language Models: A Clinical Text-to-SQL Case Study
Bayer AG(勃林格殷曼集团)
Angelo Ziletti, Leonardo D'Ambrosi
发表信息:
In Proceedings of the 8th Workshop on Clinical Natural Language Processing (Clinical NLP) @ LREC 2026 (pp. 369-380). European Language Resources Association (ELRA)
在临床文本到SQL中部署大型语言模型需要区分输出多样性的两种不同原因:(i)输入歧义,应触发澄清,和(ii)模型不稳定性,应触发人工审查。我们提出CLUES,将文本到SQL建模为两个阶段的过程(解释-->答案),并将语义不确定性分解为歧义分数和不稳定性分数。不稳定性分数通过二元语义图矩阵的Schur补计算。在AmbigQA/SituatedQA(黄金解释)和临床文本到SQL基准测试(已知解释)上,CLUES在状态-of-the-art Kernel Language Entropy之上提高了故障预测。在部署设置中,它保持竞争力,同时提供单个分数不可用的诊断分解。所得到的不确定性区域映射到目标干预 - 对歧义进行查询细化,对不稳定性进行模型改进。高歧义/高不稳定性区域包含51%的错误,覆盖25%的查询,从而实现高效的优先级排序。
英文摘要:
Deploying large language models for clinical Text-to-SQL requires distinguishing two qualitatively different causes of output diversity: (i) input ambiguity that should trigger clarification, and (ii) model instability that should trigger human review. We propose CLUES, a framework that models Text-to-SQL as a two-stage process (interpretations --> answers) and decomposes semantic uncertainty into an ambiguity score and an instability score. The instability score is computed via the Schur complement of a bipartite semantic graph matrix. Across AmbigQA/SituatedQA (gold interpretations) and a clinical Text-to-SQL benchmark (known interpretations), CLUES improves failure prediction over state-of-the-art Kernel Language Entropy. In deployment settings, it remains competitive while providing a diagnostic decomposition unavailable from a single score. The resulting uncertainty regimes map to targeted interventions - query refinement for ambiguity, model improvement for instability. The high-ambiguity/high-instability regime contains 51% of errors while covering 25% of queries, enabling efficient triage.
Evaluating LLMs on Conversational Text-to-SQL under Chain Ambiguity and Intent Drift
The Hong Kong Polytechnic University(香港理工大学);City University of Macau(澳门城市大学);Jilin University(吉林大学);Beihang University(北京航空航天大学);Jinan University(暨南大学)
Query Carefully: Detecting the Unanswerables in Text-to-SQL Tasks
Institute of Computer Science, Zurich University of Applied Sciences(计算机科学研究所,应用科学大学苏黎世);Institute of Medical Virology, University of Zurich(医学病毒学研究所,苏黎世大学);Department of Gastroenterology and Hepatology, University Hospital Zurich, University of Zurich(消化内科与肝病科,苏黎世大学医院,苏黎世大学)
LinkAlign: Scalable Schema Linking for Real-World Large-Scale Multi-Database Text-to-SQL
China Academy of Information and Communications Technology(中国信息通信技术研究院);Renmin University of China(中国人民大学);University of International Business and Economics(国际经济贸易大学)
What Is a Clarification? Estimating Model-Dependent Input Ambiguity
School of Computation, Information & Technology, Technical University of Munich(慕尼黑工业大学计算、信息与技术学院);Munich Data Science Institute(慕尼黑数据科学研究所);Munich Center for Machine Learning(慕尼黑机器学习中心)