Fine-grained Pseudo-code Generation Method via Code Feature Extraction and Transformer
Not on the map. Why?
Abstract (arXiv)
Pseudo-code written by natural language is helpful for novice developers' program comprehension. However, writing such pseudo-code is time-consuming and laborious. Motivated by the research advancements of sequence-to-sequence learning and code semantic learning, we propose a novel deep pseudo-code generation method DeepPseudo via code feature extraction and Transformer. In particular, DeepPseudo utilizes a Transformer encoder to perform encoding for source code and then use a code feature extractor to learn the knowledge of local features. Finally, it uses a pseudo-code generator to perform decoding, which can generate the corresponding pseudo-code. We choose two corpora (i.e., Django and SPoC) from real-world large-scale projects as our empirical subjects. We first compare DeepPseudo with seven state-of-the-art baselines from pseudo-code generation and neural machine translation domains in terms of four performance measures. Results show the competitiveness of DeepPseudo. Moreover, we also analyze the rationality of the component settings in DeepPseudo.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). First posted on arXiv 12 Feb 2021.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2022: 1; 2023: 2; 2024: 2; 2025: 1.
6 papers.
- 2025Towards an Understanding of Context Utilization in Code Intelligencecited by 10
- 2022BashExplainer: Retrieval-Augmented Bash Code Comment Generation based on Fine-tuned CodeBERTcited by 9
- 2023Knowledge Transfer for Pseudo-code Generation from Low Resource Programming Languagecited by 1
- 2023Converting Epics/Stories into Pseudocode using Transformerscited by 1
- 2024Enhancing Source Code Classification Effectiveness via Prompt Learning Incorporating Knowledge Featurescited by 1
- 2024Scaling Automatic Extraction of Pseudocodecited by 0
- 2025Towards an Understanding of Context Utilization in Code Intelligence11 Apr 2025
- 2024Scaling Automatic Extraction of Pseudocode7 Jun 2024
- 2024Enhancing Source Code Classification Effectiveness via Prompt Learning Incorporating Knowledge Features10 Jan 2024
- 2023Converting Epics/Stories into Pseudocode using Transformers8 Dec 2023
- 2023Knowledge Transfer for Pseudo-code Generation from Low Resource Programming Language16 Mar 2023
- 2022BashExplainer: Retrieval-Augmented Bash Code Comment Generation based on Fine-tuned CodeBERT27 Jun 2022