FINCH:利用自然语言实现上下文感知SQL处理的金融智能
FINCH: Financial Intelligence using Natural language for Contextualized SQL Handling
AI总结:
针对金融领域Text-to-SQL缺乏专用大规模数据集的问题,本文推出含292张表、75725个样本对的FINCH数据集,开展多模型基准测试并提出FINCH Score评估指标,填补相关研究缺口。
摘要:
Text-to-SQL(将自然语言问题转换为SQL查询的任务)长期以来一直是自然语言处理领域的核心挑战。尽管该领域已取得显著进展,但由于复杂的模式、领域专属术语以及错误的高风险,将其应用于金融领域仍然格外困难。尽管如此,目前尚无专门的大规模金融数据集推动相关研究,形成了关键缺口。为解决这一问题,我们推出了经整理的金融数据集FINCH,包含292张表和75725个自然语言-SQL对,可同时用于微调与严格评估。基于该资源,我们对不同规模的推理模型和语言模型进行了基准测试,系统分析了它们在金融Text-to-SQL任务中的优势与局限。最后,我们提出了面向金融领域的评估指标FINCH Score,该指标能捕捉现有指标忽略的细微差异,更忠实地评估模型性能。
英文摘要:
Text-to-SQL, the task of translating natural language questions into SQL queries, has long been a central challenge in NLP. While progress has been significant, applying it to the financial domain remains especially difficult due to complex schema, domain-specific terminology, and high stakes of error. Despite this, there is no dedicated large-scale financial dataset to advance research, creating a critical gap. To address this, we introduce a curated financial dataset (FINCH) comprising 292 tables and 75,725 natural language-SQL pairs, enabling both fine-tuning and rigorous evaluation. Building on this resource, we benchmark reasoning models and language models of varying scales, providing a systematic analysis of their strengths and limitations in financial Text-to-SQL tasks. Finally, we propose a finance-oriented evaluation metric (FINCH Score) that captures nuances overlooked by existing measures, offering a more faithful assessment of model performance.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。