mlsanityData to 7 Oct 2026

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

arXiv 2104.01002 ↗First posted 31 Mar 2021cs.SE cs.LGcited by 6

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

  1. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  2. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  3. 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,016
  4. 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 638
  5. 2020Unsupervised Translation of Programming Languagescited by 262
  6. 2018code2seq: Generating Sequences from Structured Representations of Codecited by 177
  7. 2016A Convolutional Attention Network for Extreme Summarization of Source Codecited by 90
  8. 2020Improved Code Summarization via a Graph Neural Networkcited by 79
  9. 2020How do Data Science Workers Collaborate? Roles, Workflows, and Toolscited by 64
  10. 2019Reinforcement Learning Based Graph-to-Sequence Model for Natural Question Generationcited by 57
  11. 2019JuICe: A Large Scale Distantly Supervised Dataset for Open Domain Context-based Code Generationcited by 49
  12. 2019Recommendations for Datasets for Source Code Summarizationcited by 46
4 more
  1. 2018Graph2Seq: Graph to Sequence Learning with Attention-based Neural Networkscited by 36
  2. 2020Improved Automatic Summarization of Subroutines via Attention to File Contextcited by 34
  3. 2021How Much Automation Does a Data Scientist Want?cited by 20
  4. 2021Action Word Prediction for Neural Source Code Summarizationcited by 11

Built on by

Cited by year

Citing papers per year: 2022: 4; 2023: 0; 2024: 2.

6 papers.