Lune

EMNLP Findings2021

HAConvGNN: Hierarchical Attention Based Convolutional Graph Neural Network for Code Documentation Generation in Jupyter Notebooks

Xuye Liu, Dakuo Wang, April Yi Wang, Yufang Hou, Lingfei Wu

摘要

Jupyter notebook allows data scientists to write machine learning code together with its documentation in cells. In this paper, we propose a new task of code documentation generation (CDG) for computational notebooks. In contrast to the previous CDG tasks which focus on generating documentation for single code snippets, in a computational notebook, one documentation in a markdown cell often corresponds to multiple code cells, and these code cells have an inherent structure. We proposed a new model (HAConvGNN) that uses a hierarchical attention mechanism to consider the relevant code cells and the relevant code tokens information when generating the documentation. Tested on a new corpus constructed from well-documented Kaggle notebooks, we show that our model outperforms other baseline models.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Slide4N: Creating Presentation Slides from Computational Notebooks with Human-AI Collaboration 引用了 What's Wrong with Computational Notebooks? Pain Points, Needs, and Design Opportunities
  • Slide4N: Creating Presentation Slides from Computational Notebooks with Human-AI Collaboration 引用了 Telling Stories from Computational Notebooks: AI-Assisted Presentation Slides Creation for Presenting Data Science Work
  • Slide4N: Creating Presentation Slides from Computational Notebooks with Human-AI Collaboration 引用了 How do Data Science Workers Collaborate? Roles, Workflows, and Tools
  • Telling Stories from Computational Notebooks: AI-Assisted Presentation Slides Creation for Presenting Data Science Work 引用了 What's Wrong with Computational Notebooks? Pain Points, Needs, and Design Opportunities
  • Telling Stories from Computational Notebooks: AI-Assisted Presentation Slides Creation for Presenting Data Science Work 引用了 How do Data Science Workers Collaborate? Roles, Workflows, and Tools
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper5

  1. Telling Stories from Computational Notebooks: AI-Assisted Presentation Slides Creation for Presenting Data Science WorkChengbo Zheng, Dakuo Wang, April Yi Wang, Xiaojuan MaCHI 2022 · 53 次引用
  2. Slide4N: Creating Presentation Slides from Computational Notebooks with Human-AI CollaborationFengjie Wang, Xuye Liu, Oujing Liu, Ali Neshati 等CHI 2023 · 37 次引用
  3. Developer-Intent Driven Code Comment GenerationFangwen Mu, Xiao Chen, Lin Shi, Song Wang 等ICSE 2023 · 25 次引用
  4. Python Code Generation by Asking Clarification QuestionsHaau-Sing Li, Mohsen Mesgar, André F. T. Martins, Iryna GurevychACL 2023 · 3 次引用
  5. MACEDON : Supporting Programmers with Real-Time Multi-Dimensional Code Evaluation and OptimizationXuye Liu, Yuzhe You, Xinrong Qiu, Tengfei Ma 等UIST 2025

它引用的 Paper4

  1. Unsupervised Translation of Programming LanguagesBaptiste Rozière, Marie-Anne Lachaux, Lowik Chanussot, Guillaume LampleNeurIPS 2020 · 606 次引用
  2. How do Data Science Workers Collaborate? Roles, Workflows, and ToolsAmy X. Zhang, Michael J. Muller, Dakuo WangCSCW 2020 · 260 次引用
  3. Reinforcement Learning Based Graph-to-Sequence Model for Natural Question GenerationYu Chen, Lingfei Wu, Mohammed J. ZakiICLR 2020 · 167 次引用
  4. What's Wrong with Computational Notebooks? Pain Points, Needs, and Design OpportunitiesSouti Chattopadhyay, Ishita Prasad, Austin Z. Henley, Anita Sarma 等CHI 2020 · 162 次引用

相关 Paper

  1. Cell2Doc: ML Pipeline for Generating Documentation in Computational NotebooksTamal Mondal, Scott Barnett, Akash Lal, Jyothi VeduradaASE 2023 · 4 次引用
  2. NB2P: Generating Data Science Pipelines from Computational NotebooksHaotian Gao, Quang Trung Ta, Tien Tuan Anh Dinh, Nhut-Minh Ho 等ICSE 2026
  3. Eliciting Best Practices for Collaboration with Computational NotebooksLuigi Quaranta, Fabio Calefato, Filippo LanubileCSCW 2022 · 29 次引用
  4. NBDESCRIB: A Dataset for Text Description Generation from Tables and Code in Jupyter Notebooks with GuidelinesXuye Liu, Tengfei Ma, Yimu Wang, Fengjie Wang 等ACL Findings 2025
  5. Contextualized Data-Wrangling Code Generation in Computational NotebooksJunjie Huang, Daya Guo, Chenglong Wang, Jiazhen Gu 等ASE 2024 · 5 次引用
黄昏的海面,两侧是细线勾勒的悬崖