arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.17657stat.APcs.AI
收藏

StatLLM:用于评估大型语言模型在统计分析中性能的数据集

StatLLM: A Dataset for Evaluating the Performance of Large Language Models in Statistical Analysis

Virginia Tech(弗吉尼亚理工大学)

Xinyi Song, Lina Lee, Kexin Xie, Xueying Liu, Xinwei Deng, Yili Hong

AI总结:

本文提出StatLLM数据集,用于评估LLM在统计分析中的性能,包含任务、生成代码和专家评分,并展示其在NLP指标、统计编码和统计软件方面的潜力。

摘要:

大型语言模型(LLMs)的编码能力为机器学习和数据科学中的自动统计分析开辟了新的机遇。然而,在其广泛采用之前,评估LLMs生成的代码的准确性至关重要。这一评估中的一个主要挑战在于缺乏统计代码(如SAS和R)的基准数据集。为了填补这一空白,本文介绍了StatLLM,一个用于评估LLMs在统计分析中性能的开源数据集。StatLLM数据集包含三个关键组成部分:统计分析任务、LLM生成的SAS代码和人工评估分数。第一部分包括涵盖多种分析和数据集的统计分析任务,提供问题描述、数据集细节和人工验证的SAS代码。第二部分包含由ChatGPT 3.5、ChatGPT 4.0和Llama 3.1为这些任务生成的SAS代码。第三部分包含人类专家在评估LLM生成代码的正确性、有效性、可读性、可执行性和输出准确性方面的评估分数。我们还展示了所建立基准数据集的独特潜力,用于(1)评估和增强自然语言处理指标,(2)评估和改进LLM在统计编码中的性能,以及(3)开发和测试下一代统计软件——这些进展对数据科学和机器学习研究至关重要。

英文摘要:

The coding capabilities of large language models (LLMs) have opened up new opportunities for automatic statistical analysis in machine learning and data science. However, before their widespread adoption, it is crucial to assess the accuracy of code generated by LLMs. A major challenge in this evaluation lies in the absence of a benchmark dataset for statistical code (e.g., SAS and R). To fill in this gap, this paper introduces StatLLM, an open-source dataset for evaluating the performance of LLMs in statistical analysis. The StatLLM dataset comprises three key components: statistical analysis tasks, LLM-generated SAS code, and human evaluation scores. The first component includes statistical analysis tasks spanning a variety of analyses and datasets, providing problem descriptions, dataset details, and human-verified SAS code. The second component features SAS code generated by ChatGPT 3.5, ChatGPT 4.0, and Llama 3.1 for those tasks. The third component contains evaluation scores from human experts in assessing the correctness, effectiveness, readability, executability, and output accuracy of the LLM-generated code. We also illustrate the unique potential of the established benchmark dataset for (1) evaluating and enhancing natural language processing metrics, (2) assessing and improving LLM performance in statistical coding, and (3) developing and testing of next-generation statistical software - advancements that are crucial for data science and machine learning research.

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

↑