NBDESCRIB: A Dataset for Text Description Generation from Tables and Code in Jupyter Notebooks with Guidelines

Generating cell-level descriptions for Jupyter Notebooks, which is a major resource consisting of codes, tables, and descriptions, has been attracting increasing research attention.However, existing methods for Jupyter Notebooks mostly focus on generating descriptions from code snippets or table outputs independently.On the other side, descriptions should be personalized as users have different purposes in different scenarios while previous work ignored this situation during description generation.In this work, we formulate a new task, personalized description generation with code, tables, and user-written guidelines in Jupyter Notebooks.To evaluate this new task, we collect and propose a benchmark, namely NBDESCRIB, containing code, tables, and user-written guidelines as inputs and personalized descriptions as targets.Extensive experiments show that while existing models of text generation are able to generate fluent and readable descriptions, they still struggle to produce factually correct descriptions without user-written guidelines.CodeT5 achieved the highest scores in Orientation (1.27) and Correctness (-0.43) among foundation models in human evaluation, while the ground truth scored higher in Orientation (1.45) and Correctness (1.19).Common error patterns involve misalignment with guidelines, incorrect variable values, omission of important code information, and reasoning errors.Moreover, ablation studies show that adding guidelines significantly enhances performance.both qualitatively and quantitatively.Table passengerid pclass sex age fare cabin embarked y_pred y_scores 0 892 3 male 34.5 7.

Authors

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.18653/v1/2025.findings-acl.1364
Primary Topic
Natural Language Processing Techniques
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

NBDESCRIB: A Dataset for Text Description Generation from Tables and Code in Jupyter Notebooks with Guidelines

Yimu Wang, Xuye Liu, Fengjie Wang, Tengfei Ma et al.
Natural Language Processing Techniques
article

NBDESCRIB: A Dataset for Text Description Generation from Tables and Code in Jupyter Notebooks with Guidelines

Yimu Wang, Xuye Liu, Fengjie Wang, Tengfei Ma, Jian Zhao
article en

Abstract

Generating cell-level descriptions for Jupyter Notebooks, which is a major resource consisting of codes, tables, and descriptions, has been attracting increasing research attention.However, existing methods for Jupyter Notebooks mostly focus on generating descriptions from code snippets or table outputs independently.On the other side, descriptions should be personalized as users have different purposes in different scenarios while previous work ignored this situation during description generation.In this work, we formulate a new task, personalized description generation with code, tables, and user-written guidelines in Jupyter Notebooks.To evaluate this new task, we collect and propose a benchmark, namely NBDESCRIB, containing code, tables, and user-written guidelines as inputs and personalized descriptions as targets.Extensive experiments show that while existing models of text generation are able to generate fluent and readable descriptions, they still struggle to produce factually correct descriptions without user-written guidelines.CodeT5 achieved the highest scores in Orientation (1.27) and Correctness (-0.43) among foundation models in human evaluation, while the ground truth scored higher in Orientation (1.45) and Correctness (1.19).Common error patterns involve misalignment with guidelines, incorrect variable values, omission of important code information, and reasoning errors.Moreover, ablation studies show that adding guidelines significantly enhances performance.both qualitatively and quantitatively.Table passengerid pclass sex age fare cabin embarked y_pred y_scores 0 892 3 male 34.5 7.

Natural Sciences and Engineering Research Council of Canada
Openalex Percentile: Top 90%
Natural Language Processing Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

NBDESCRIB: A Dataset for Text Description Generation from Tables and Code in Jupyter Notebooks with Guidelines — Yimu Wang, Xuye Liu, et al. · (2025) | TGRS Research Map | TGRS