arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.00890cs.CLcs.AIstat.ML
收藏

重新审视规模:经过微调的开源大语言模型在大规模可复现社会科学研究中的效能

Rethinking Scale: The Efficacy of Fine-Tuned Open-Source LLMs in Large-Scale Reproducible Social Science Research

University of Catania(卡塔尼亚大学);Harvard University(哈佛大学);University of Insubria(因苏布里亚大学)

Marcello Carammia, Stefano Maria Iacus, Giuseppe Porro

AI总结:

本研究针对闭源大语言模型用于社会科学文本分类的风险与成本问题,验证了微调小型开源LLM性能可媲美甚至超过ChatGPT-4,探究了训练集规模与微调效果的关联,并提出兼顾性能、透明度与可复现性的混合工作流。

摘要:

大语言模型(LLM)的核心特征在于其架构,架构决定了模型的参数量级与性能上限。社会科学家越来越多地将LLM用于文本分类任务,这类任务若依靠人工编码很难实现规模化扩展。尽管体量极大的闭源模型往往能提供更优的性能,但其使用存在显著风险,包括透明度不足、敏感数据潜在泄露风险、可复现性挑战以及对专有系统的依赖。此外,这类模型的高昂成本使其在大规模研究项目中不具备实用性。\n相比之下,开源模型虽有多种体量可选,但如果不经过进一步微调直接使用,性能可能不及商业模型。不过开源模型具备独特优势:可在本地运行(保障数据隐私)、可针对特定任务进行微调、可在研究社区内共享,还能集成到可复现的工作流中。\n本研究证明,经过微调的小型开源LLM可以达到与ChatGPT-4等模型相当甚至更优的性能。我们进一步探究了训练集规模与开源模型微调效果之间的关系。最后,我们提出了一种混合工作流,能够同时利用开源与闭源模型的优势,在性能、透明度和可复现性之间实现平衡。

英文摘要:

Large Language Models (LLMs) are distinguished by their architecture, which dictates their parameter size and performance capabilities. Social scientists have increasingly adopted LLMs for text classification tasks, which are difficult to scale with human coders. While very large, closed-source models often deliver superior performance, their use presents significant risks. These include lack of transparency, potential exposure of sensitive data, challenges to replicability, and dependence on proprietary systems. Additionally, their high costs make them impractical for large-scale research projects. In contrast, open-source models, although available in various sizes, may underperform compared to commercial alternatives if used without further fine-tuning. However, open-source models offer distinct advantages: they can be run locally (ensuring data privacy), fine-tuned for specific tasks, shared within the research community, and integrated into reproducible workflows. This study demonstrates that small, fine-tuned open-source LLMs can achieve equal or superior performance to models such as ChatGPT-4. We further explore the relationship between training set size and fine-tuning efficacy in open-source models. Finally, we propose a hybrid workflow that leverages the strengths of both open and closed models, offering a balanced approach to performance, transparency, and reproducibility.

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

↑