arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.03988cs.SEcs.LG
收藏

利用小型语言模型反向工程机器学习流水线结构

Using Small Language Models to Reverse-Engineer Machine Learning Pipelines Structures

Université Côte d’Azur, Inria, CNRS, I3S(法国蔚蓝海岸大学、Inria、CNRS、I3S)

Nicolas Lacroix, Mireille Blay-Fornarino, Sébastien Mosser, Frederic Precioso

AI总结:

本文研究小型语言模型在反向工程机器学习流水线结构中的应用,评估其在提升数据科学实践理解方面的潜力。

摘要:

背景:从源代码中提取构成机器学习(ML)流水线的阶段对于深入了解数据科学实践至关重要。然而,由于机器学习生态系统(例如算法、库、数据集)的持续演变所带来的多样性,使这一任务变得具有挑战性。现有方法要么依赖于非可扩展的、手动标注,要么依赖于不恰当支持领域多样性的机器学习分类器。这些限制突显了需要更加灵活和可靠解决方案的必要性。\n目标:我们评估小型语言模型(SLMs)是否能够利用其代码理解和分类能力来解决这些限制,并随后探讨它们如何推进我们对数据科学实践的理解。\n方法:我们基于两个参考作品进行确认性研究,这些作品因其与当前最先进方法限制的相关性而被选择。首先,我们使用Cochran的Q检验比较几种SLMs。表现最佳的模型随后通过两种不同的McNemar检验与参考研究进行评估。我们进一步通过额外的Cochran的Q检验分析分类学定义变化对性能的影响。最后,使用Pearson的卡方检验进行拟合优度分析,以比较我们对数据科学实践的理解与先前研究的见解。\n

英文摘要:

Background: Extracting the stages that structure Machine Learning (ML) pipelines from source code is key for gaining a deeper understanding of data science practices. However, the diversity caused by the constant evolution of the ML ecosystem (e.g., algorithms, libraries, datasets) makes this task challenging. Existing approaches either depend on non-scalable, manual labeling, or on ML classifiers that do not properly support the diversity of the domain. These limitations highlight the need for more flexible and reliable solutions. Objective: We evaluate whether Small Language Models (SLMs) can leverage their code understanding and classification abilities to address these limitations, and subsequently how they can advance our understanding of data science practices. Method: We conduct a confirmatory study based on two reference works selected for their relevance regarding current state-of-the-art's limitations. First, we compare several SLMs using Cochran's Q test. The best-performing model is then evaluated against the reference studies using two distinct McNemar's tests. We further analyze how variations in taxonomy definitions affect performance through an additional Cochran's Q test. Finally, a goodness-of-fit analysis is conducted using Pearson's chi-squared tests to compare our insights on data science practices with those from prior studies.

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

↑