TAG : Type Auxiliary Guiding for Code Comment Generation
Not on the map. Why?
Abstract (arXiv)
Existing leading code comment generation approaches with the structure-to-sequence framework ignores the type information of the interpretation of the code, e.g., operator, string, etc. However, introducing the type information into the existing framework is non-trivial due to the hierarchical dependence among the type information. In order to address the issues above, we propose a Type Auxiliary Guiding encoder-decoder framework for the code comment generation task which considers the source code as an N-ary tree with type information associated with each node. Specifically, our framework is featured with a Type-associated Encoder and a Type-restricted Decoder which enables adaptive summarization of the source code. We further propose a hierarchical reinforcement learning method to resolve the training difficulties of our proposed framework. Extensive evaluations demonstrate the state-of-the-art performance of our framework with both the auto-evaluated metrics and case studies.
Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). First posted on arXiv 6 May 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 4; 2022: 1; 2023: 2; 2024: 1.
8 papers.
- 2021On the Evaluation of Neural Code Summarizationcited by 47
- 2022Recent Advances in Neural Text Generation: A Task-Agnostic Surveycited by 14
- 2021Impact of Evaluation Methodologies on Code Summarizationcited by 11
- 2023Reinforcement Learning for Generative AI: A Surveycited by 11
- 2021Learning to Generate Code Comments from Class Hierarchiescited by 5
- 2021Jointly Learning to Repair Code and Generate Commit Messagecited by 2
- 2023Implant Global and Local Hierarchy Information to Sequence based Code Representation Modelscited by 1
- 2024Selective Shot Learning for Code Explanationcited by 1
- 2024Selective Shot Learning for Code Explanation17 Dec 2024
- 2023Reinforcement Learning for Generative AI: A Survey28 Aug 2023
- 2023Implant Global and Local Hierarchy Information to Sequence based Code Representation Models14 Mar 2023
- 2022Recent Advances in Neural Text Generation: A Task-Agnostic Survey6 Mar 2022
- 2021Jointly Learning to Repair Code and Generate Commit Message25 Sep 2021
- 2021Impact of Evaluation Methodologies on Code Summarization22 Aug 2021
- 2021On the Evaluation of Neural Code Summarization15 Jul 2021
- 2021Learning to Generate Code Comments from Class Hierarchies24 Mar 2021