Saved in:
Bibliographic Details
Main Authors: Lacroix, Nicolas, Blay-Fornarino, Mireille, Mosser, Sébastien, Precioso, Frederic
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2601.03988
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912807987970048
author Lacroix, Nicolas
Blay-Fornarino, Mireille
Mosser, Sébastien
Precioso, Frederic
author_facet Lacroix, Nicolas
Blay-Fornarino, Mireille
Mosser, Sébastien
Precioso, Frederic
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2601_03988
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Using Small Language Models to Reverse-Engineer Machine Learning Pipelines Structures
Lacroix, Nicolas
Blay-Fornarino, Mireille
Mosser, Sébastien
Precioso, Frederic
Software Engineering
Machine Learning
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.
title Using Small Language Models to Reverse-Engineer Machine Learning Pipelines Structures
topic Software Engineering
Machine Learning
url https://arxiv.org/abs/2601.03988