CoddLLM:赋能大型语言模型以进行数据分析
CoddLLM: Empowering Large Language Models for Data Analytics
AI总结:
本文提出CoddLLM,通过新数据配方和合成数据生成方法后训练Mistral-NeMo-12B基础模型,引入连接表格与文本的新任务,并贡献AnalyticsMMLU等基准,在数据分析任务中性能超越GPT-3.5-Turbo和GPT-4o。
摘要:
大型语言模型(LLMs)有潜力通过自然语言交互简化数据发现和SQL查询合成等任务,从而彻底改变数据分析。这项工作是迈向开发明确专为数据分析应用设计的基础模型的关键第一步。为推进这一愿景,我们提出了一种用于后训练LLMs的新数据配方,增强了它们对数据管理的理解,并使其能够应对复杂的现实世界分析任务。具体而言,我们的创新方法包括一种可扩展的合成数据生成方法,能够创建以数据表示和操作为中心的广泛主题。此外,我们引入了两个无缝连接表格和文本的新任务。我们表明,此类任务可以增强模型对模式创建的理解,以及自然语言与表格数据之间的细微翻译。利用这一数据配方,我们基于Mistral-NeMo-12B后训练了一个名为CoddLLM的新基础模型。为了评估LLMs在数据分析领域的语言理解和推理能力,我们贡献了AnalyticsMMLU,这是一个包含数千道关于数据库、数据分析和机器学习多项选择题的基准。我们对数据发现的关注,促成了三个综合基准的贡献,涵盖数据库和数据湖场景。CoddLLM不仅性能卓越,还树立了新标准,在八个数据集上实现了最高平均准确率。它在AnalyticsMMLU上优于GPT-3.5-Turbo,在表选择上超过GPT-4o 12.1%,并在Text-to-SQL上较基础模型平均提升24.9%。
英文摘要:
Large Language Models (LLMs) have the potential to revolutionize data analytics by simplifying tasks such as data discovery and SQL query synthesis through natural language interactions. This work serves as a pivotal first step toward the development of foundation models explicitly designed for data analytics applications. To propel this vision forward, we unveil a new data recipe for post-training LLMs, enhancing their comprehension of data management and empowering them to tackle complex real-world analytics tasks. Specifically, our innovative approach includes a scalable synthetic data generation method that enables the creation of a broad spectrum of topics centered on data representation and manipulation. Furthermore, we introduce two new tasks that seamlessly bridge tables and text. We show that such tasks can enhance models' understanding of schema creation and the nuanced translation between natural language and tabular data. Leveraging this data recipe, we post-train a new foundation model, named CoddLLM, based on Mistral-NeMo-12B. To assess the language understanding and reasoning capabilities of LLMs in the realm of data analytics, we contribute AnalyticsMMLU, a benchmark containing thousands of multiple-choice questions on databases, data analysis, and machine learning. Our focus on data discovery, has resulted in the contribution of three comprehensive benchmarks that address both database and data lake scenarios. CoddLLM not only excels in performance but also sets a new standard, achieving the highest average accuracy across eight datasets. It outperforms GPT-3.5-Turbo on AnalyticsMMLU, exceeding GPT-4o by 12.1% in table selection and showing an average improvement of 24.9% in Text-to-SQL compared to the base model.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。