TranS^3: A Transformer-based Framework for Unifying Code Summarization and Code Search
Not on the map. Why?
Abstract (arXiv)
Code summarization and code search have been widely adopted in sofwaredevelopmentandmaintenance. However, fewstudieshave explored the efcacy of unifying them. In this paper, we propose TranS^3 , a transformer-based framework to integrate code summarization with code search. Specifcally, for code summarization,TranS^3 enables an actor-critic network, where in the actor network, we encode the collected code snippets via transformer- and tree-transformer-based encoder and decode the given code snippet to generate its comment. Meanwhile, we iteratively tune the actor network via the feedback from the critic network for enhancing the quality of the generated comments. Furthermore, we import the generated comments to code search for enhancing its accuracy. To evaluatetheefectivenessof TranS^3 , we conduct a set of experimental studies and case studies where the experimental results suggest that TranS^3 can signifcantly outperform multiple state-of-the-art approaches in both code summarization and code search and the study results further strengthen the efcacy of TranS^3 from the developers' points of view.
Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). First posted on arXiv 6 Mar 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 3; 2022: 2; 2023: 2; 2024: 4.
11 papers.
- 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 732
- 2023Unifying the Perspectives of NLP and Software Engineering: A Survey on Language Models for Codecited by 62
- 2022On the Importance of Building High-quality Training Datasets for Neural Code Searchcited by 30
- 2023Exploring Continual Learning for Code Generation Modelscited by 22
- 2022An Exploratory Study on Code Attention in BERTcited by 12
- 2024CoSQA+: Pioneering the Multi-Choice Code Search Benchmark with Test-Driven Agentscited by 11
- 2021API2Com: On the Improvement of Automatically Generated Code Comments Using API Documentationscited by 10
- 2024RACONTEUR: A Knowledgeable, Insightful, and Portable LLM-Powered Shell Command Explainercited by 9
- 2024Can Developers Prompt? A Controlled Experiment for Code Documentation Generationcited by 7
- 2024On the Compression of Language Models for Code: An Empirical Study on CodeBERTcited by 3
- 2021FACOS: Finding API Relevant Contents on Stack Overflow with Semantic and Syntactic Analysiscited by 1
- 2024On the Compression of Language Models for Code: An Empirical Study on CodeBERT18 Dec 2024
- 2024RACONTEUR: A Knowledgeable, Insightful, and Portable LLM-Powered Shell Command Explainer3 Sep 2024
- 2024Can Developers Prompt? A Controlled Experiment for Code Documentation Generation1 Aug 2024
- 2024CoSQA+: Pioneering the Multi-Choice Code Search Benchmark with Test-Driven Agents17 Jun 2024
- 2023Unifying the Perspectives of NLP and Software Engineering: A Survey on Language Models for Code14 Nov 2023
- 2023Exploring Continual Learning for Code Generation Models5 Jul 2023
- 2022An Exploratory Study on Code Attention in BERT5 Apr 2022
- 2022On the Importance of Building High-quality Training Datasets for Neural Code Search14 Feb 2022
- 2021FACOS: Finding API Relevant Contents on Stack Overflow with Semantic and Syntactic Analysis14 Nov 2021
- 2021API2Com: On the Improvement of Automatically Generated Code Comments Using API Documentations19 Mar 2021
- 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generation9 Feb 2021