arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2504.00048cs.CLcs.AI
收藏

Distill-C:通过基于 LLM 的蒸馏定制增强 NL2SQL

Distill-C: Enhanced NL2SQL via Distilled Customization with LLMs

Oracle Analytics Cloud (OAC)(甲骨文分析云(OAC));Oracle Health & AI (OHAI)(甲骨文健康与人工智能(OHAI));Oracle Labs(甲骨文实验室)
Cong Duy Vu Hoang, Gioacchino Tangari, Clemence Lanfranchi, Dalu Guo, Paul Cayet, Steve Siu, Don Dharmasiri, Yuan-Fang Li, Long Duong, Damien Hilloulin, Rhichee… 展开作者

Cong Duy Vu Hoang, Gioacchino Tangari, Clemence Lanfranchi, Dalu Guo, Paul Cayet, Steve Siu, Don Dharmasiri, Yuan-Fang Li, Long Duong, Damien Hilloulin, Rhicheek Patra, Sungpack Hong, Hassan Chafi

AI总结:

本文提出 Distill-C 蒸馏定制框架,利用大型教师 LLM 生成高质量合成数据来微调较小的开源模型,使其在多个基准上显著提升执行准确率并降低计算成本。

摘要:

大型语言模型(LLM)在商业应用中的广泛采用,加剧了人们对自然语言到 SQL(NL2SQL)解决方案的兴趣,该领域对高性能和高效率存在双重需求。领域和客户特定的要求使问题进一步复杂化。为了解决这一难题,我们引入了 Distill-C,这是一个专为 NL2SQL 任务定制的蒸馏定制框架。Distill-C 利用大型教师 LLM,通过稳健且可扩展的流程生成高质量的合成数据。在此合成数据上微调较小且开源的 LLM,使其能够匹敌或超越大一个数量级的教师模型。在多个具有挑战性的基准上进行评估,与来自三个不同 LLM 家族的基础模型相比,Distill-C 在执行准确率上平均提升了 36%。此外,在三个内部客户基准上,Distill-C 的性能比基础模型提高了 22.6%。我们的结果表明,Distill-C 是一种有效、高性能且可推广的方法,可用于部署轻量但强大的 NL2SQL 模型,在保持低计算成本的同时提供卓越的准确率。

英文摘要:

The growing adoption of large language models (LLMs) in business applications has amplified interest in Natural Language to SQL (NL2SQL) solutions, in which there is competing demand for high performance and efficiency. Domain- and customer-specific requirements further complicate the problem. To address this conundrum, we introduce Distill-C, a distilled customization framework tailored for NL2SQL tasks. Distill-C utilizes large teacher LLMs to produce high-quality synthetic data through a robust and scalable pipeline. Finetuning smaller and open-source LLMs on this synthesized data enables them to rival or outperform teacher models an order of magnitude larger. Evaluated on multiple challenging benchmarks, Distill-C achieves an average improvement of 36% in execution accuracy compared to the base models from three distinct LLM families. Additionally, on three internal customer benchmarks, Distill-C demonstrates a 22.6% performance improvement over the base models. Our results demonstrate that Distill-C is an effective, high-performing and generalizable approach for deploying lightweight yet powerful NL2SQL models, delivering exceptional accuracies while maintaining low computational cost.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑