HAConvGNN: Hierarchical Attention Based Convolutional Graph Neural Network for Code Documentation Generation in Jupyter Notebooks
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 16 of its 35 references that are in the map. First posted on arXiv 31 Mar 2021.
Builds on
16 of 35 references.
References · 16
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,016
- 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 638
- 2020Unsupervised Translation of Programming Languagescited by 262
- 2018code2seq: Generating Sequences from Structured Representations of Codecited by 177
- 2016A Convolutional Attention Network for Extreme Summarization of Source Codecited by 90
- 2020Improved Code Summarization via a Graph Neural Networkcited by 79
- 2020How do Data Science Workers Collaborate? Roles, Workflows, and Toolscited by 64
- 2019Reinforcement Learning Based Graph-to-Sequence Model for Natural Question Generationcited by 57
- 2019JuICe: A Large Scale Distantly Supervised Dataset for Open Domain Context-based Code Generationcited by 49
- 2019Recommendations for Datasets for Source Code Summarizationcited by 46
4 more
- 2018Graph2Seq: Graph to Sequence Learning with Attention-based Neural Networkscited by 36
- 2020Improved Automatic Summarization of Subroutines via Attention to File Contextcited by 34
- 2021How Much Automation Does a Data Scientist Want?cited by 20
- 2021Action Word Prediction for Neural Source Code Summarizationcited by 11
Built on by
Citing papers per year: 2022: 4; 2023: 0; 2024: 2.
6 papers.
- 2022Execution-based Evaluation for Data Science Code Generation Modelscited by 31
- 2022Python Code Generation by Asking Clarification Questionscited by 16
- 2022Telling Stories from Computational Notebooks: AI-Assisted Presentation Slides Creation for Presenting Data Science Workcited by 15
- 2022A Survey of Deep Learning Models for Structural Code Understandingcited by 4
- 2024Do Current Language Models Support Code Intelligence for R Programming Language?cited by 4
- 2024Predicting the Understandability of Computational Notebooks through Code Metrics Analysiscited by 0
- 2024Do Current Language Models Support Code Intelligence for R Programming Language?10 Oct 2024
- 2024Predicting the Understandability of Computational Notebooks through Code Metrics Analysis16 Jun 2024
- 2022Python Code Generation by Asking Clarification Questions19 Dec 2022
- 2022Execution-based Evaluation for Data Science Code Generation Models17 Nov 2022
- 2022A Survey of Deep Learning Models for Structural Code Understanding3 May 2022
- 2022Telling Stories from Computational Notebooks: AI-Assisted Presentation Slides Creation for Presenting Data Science Work21 Mar 2022