paper-with-me

홈 › Papers

Automated Modernization of Machine Learning Engineering Notebooks for Reproducibility

2026-02-06 · Bihui Jin, Kaiyuan Wang, Pengyu Nie arxiv

Interactive computational notebooks (e.g., Jupyter notebooks) are widely used in machine learning engineering (MLE) to program and share end-to-end pipelines, from data preparation to model training and evaluation. However, environment erosion-the rapid evolution of hardware and software ecosystems for machine learning-has rendered many published MLE notebooks non-reproducible in contemporary environments, hindering code reuse and scientific progress. To quantify this gap, we study 12,720 notebooks mined from 79 popular Kaggle competitions: only 35.4% remain reproducible today. Crucially, we find that environment backporting, i.e., downgrading dependencies to match the submission time, does not improve reproducibility but rather introduces additional failure modes. To address environment erosion, we design and implement MLEModernizer, an LLM-driven agentic framework that treats the contemporary environment as a fixed constraint and modernizes notebook code to restore reproducibility. MLEModernizer iteratively executes notebooks, collects execution feedback, and applies targeted fixes in three types: error-repair, runtime-reduction, and score-calibration. Evaluated on 7,402 notebooks that are non-reproducible under the baseline environment, MLEModernizer makes 5,492 (74.2%) reproducible. MLEModernizer enables practitioners to validate, reuse, and maintain MLE artifacts as the hardware and software ecosystems continue to evolve.

📄 PDF Abstract BibTeX arXiv:2602.07195

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Suggesting Code Edits in Interactive Machine Learning Notebooks Using Large Language Models

2025-01-16 · Bihui Jin, Jiayue Wang, Pengyu Nie

Machine learning developers frequently use interactive computational notebooks, such as Jupyter notebooks, to host code for data processing and model training. Jupyter notebooks provide a convenient tool for writing mach…

Machine Learning Pipelines: Provenance, Reproducibility and FAIR Data Principles

2020-06-22 · Sheeba Samuel, Frank Löffler, Birgitta König-Ries

Machine learning (ML) is an increasingly important scientific tool supporting decision making and knowledge generation in numerous fields. With this, it also becomes more and more important that the results of ML experim…

BIG-bench Machine LearningDecision Making

Untangling Knots: Leveraging LLM for Error Resolution in Computational Notebooks

2024-03-26 · Konstantin Grotov, Sergey Titov, Yaroslav Zharov, Timofey Bryksin

Computational notebooks became indispensable tools for research-related development, offering unprecedented interactivity and flexibility in the development process. However, these benefits come at the cost of reproducib…

Bug fixing

Analysing Python Machine Learning Notebooks with Moose

2025-09-15 · Marius Mignard, Steven Costiou, Nicolas Anquetil, Anne Etien arxiv

Machine Learning (ML) code, particularly within notebooks, often exhibits lower quality compared to traditional software. Bad practices arise at three distinct levels: general Python coding conventions, the organizationa…

On the reproducibility of enzyme reactions and kinetic modelling

2021-10-20 · Gudrun Gygli

Enzyme reactions are highly dependent on reaction conditions. To ensure reproducibility of enzyme reaction parameters, experiments need to be carefully designed and kinetic modelling meticulously executed. Furthermore, t…