Lune

ICSE2026顶会

NB2P: Generating Data Science Pipelines from Computational Notebooks

Haotian Gao, Quang Trung Ta, Tien Tuan Anh Dinh, Nhut-Minh Ho, Zhiyong Huang, Beng Chin Ooi

2026年份

摘要

Computational notebooks empower data scientists to explore data, perform analytics, and share findings through data pipelines. Extracting these pipelines facilitates understanding and migrating them to production systems. However, notebook cells executed in arbitrary order complicate data flow between stages. Moreover, data operations may not be cleanly separated, hindering the extraction of cohesive pipeline components. In this paper, we propose NB2P, a novel system that automatically extracts data science pipelines from notebooks. Given a notebook, NB2P performs analysis at the syntax tree level to recover the execution order, then groups the data operations into pipeline stages based on semantics. It uses a tree-based, learned encoding-decoding algorithm that captures the data flow and fine-grained hierarchical information in the notebook. Finally, NB2P assembles the stages and constructs the final pipeline that can be deployed into production systems. We train NB2P on a large notebook corpus from Kaggle and compare it against baselines that use state-of-the-art large language models and other approaches. The experimental results show that NB2P consistently outperforms the baselines while incurring low overhead.

问问这篇 Paper

问问你的智能体。

Lune 读过与它相关的顶会 Paper,每个回答都会注明依据哪几篇。

可以从这些问题问起

智能体调用

Lunesearch_papers

在 Lune 里问

免费开始,无需绑卡

lune papers get 5837fcdf-c3f5-45e2-905a-200dec3729cd

相关 Paper

黄昏的海面,两侧是细线勾勒的悬崖