arrow
返回

Enhancing Semantic Code Search With Deep Graph Matching

delete2023-01-01
delete3
delete
OA
AI
N
Nazia Bibi
A
Ayesha Maqbool
T
Tauseef Rana
F
Farkhanda Afzal
A
Ali Akgül *
E
Eldin, Sayed M.
DOI:10.1109/ACCESS.2023.3263878delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
The job of discovering appropriate code snippets against a natural language query is an important task for software developers. Appropriate code retrieval increases software productivity and quality as well. In contrast to traditional information retrieval techniques, code search necessitates bridging the semantic breach between programming languages and natural language to search code fragments. Deep neural networks for search codes have recently been a hot topic in research. The standard neural code quest approaches present source code and query in the form of text as independent embedding, then calculate the semantic similarity between them using vector distance (e.g., using cosine similarity). Although recent research utilized query and code snippets during code search, it overlooked the contained rich semantic information and deep structural features between them. In this study, we are also dealing with the problem of code search by providing a deep neural solution that facilitates software developers during software development. Our proposed model effectively used neural graph matching and a searching approach for semantic code retrieval. It first converts both query and code fragments in graph format and then the semantic matching module is used to facilitate the process of matching that will retrieve the best-matched code snippets. It not only exploits the enriched semantic meanings and features, but it also uses the cross-attention mechanism to learn the fine-grained similarity that exists between query and code. The proposed model's evaluation is done using the Codesearchnet dataset with six representative programming languages. It provides comparatively good results as compared to existing baselines. It enables users to find required code snippets, and ranking is used to retrieve top 10 results. The accuracy of the proposed system is approximately 97%.
Keyword:
Codes
Source coding
Semantics
Software
Task analysis
Graph neural networks
STEM
Codesearchnet
natural language
deep neural networks
semantic matching
GNN
source code selection
source code reuse
recommendation system

期刊

IEEE Access 封面图
IEEE Access
IF:
3.6
论文数:
9.8W
被引数:
29.4W

机构

N
national university of sciences & technology - pakistan
学者数:
7.8K
论文数: 6.6K
被引数: 6
E
egyptian knowledge bank (ekb)
学者数:
11.6W
论文数: 9.3W
被引数: 84
L
Lebanese American University
学者数:
3.0K
论文数: 3.0K
被引数: 6.9K
学者 查看更多机构
引用论文

引用论文

No Perisaccadic Mislocalization with Abruptly Cancelled Saccades
err2014-04-16
err0
errOAAI
errJeroen Atsma; Femke Maij; Brian D. Corneil; W. Pieter Medendorp
err分享
err收藏
Antimycin A‐like molecules inhibit cyclic electron transport around photosystem I in ruptured chloroplasts
err2013-09-30
err0
errOAAI
errYoshichika Taira; Yuki Okegawa; Kazuhiko Sugimoto; Masato Abe; Hideto Miyoshi; Toshiharu Shikanai
err分享
err收藏
Incorporating convolutional neural networks and sequence graph transform for identifying multilabel protein Lysine PTM sites
err2020-11-01
err40
PREAI
errSua, Jo Nie; Lim, Si Yi; Yulius, Mulyadi Halim; Su, Xingtong; Yapp, Edward Kien Yee; Le, Nguyen Quoc Khanh; Yeh, Hui-Yuan; Chua, Matthew Chin Heng
err分享
err收藏
Unusual Photoisomerization Pathway in a Near-Infrared Light Absorbing Enzymerhodopsin
err2022-10-06
err0
PREAI
errMasahiro Sugiura; Kazuki Ishikawa; Kota Katayama; Yuji Sumii; Rei Abe-Yoshizumi; Satoshi P. Tsunoda; Yuji Furutani; Norio Shibata; Leonid S. Brown; Hideki Kandori
err分享
err收藏
err
IF0
err
err0
PREAI
err
err分享
err收藏
RANK/RANKL/OPG Signaling in the Brain: A Systematic Review of the Literature
err2020-11-19
err0
errOAAI
errAnton Glasnović; Niall O'Mara; Nataša Kovačić; Danka Grčević; Srećko Gajović
err分享
err收藏
Engineered repressors are potent inhibitors of androgen receptor activity工程阻遏物是雄激素受体活性的有效抑制剂
err2014-01-21
err0
errOAAI
errGreg N. Brooke; Sue M. Powell; Derek N. Lavery; Jonathan Waxman; Laki Buluwela; Simak Ali; Charlotte L. Bevan
err分享
err收藏
Triple‐negative breast cancer—Role of immunology: A systemic review
err2019-12-04
err0
errOAAI
errGizem Oner; Sevilay Altintas; Zafer Canturk; Wiebren Tjalma; Yannick Verhoeven; Christophe Van Berckelaer; Zwi Berneman; Marc Peeters; Patrick Pauwels; Peter A. Dam
err分享
err收藏
Toward the Nonstationary Theory of a Telecommunication Channel Through a Plasma Sheath
err2020-06-01
err0
PREAI
errAnna V. Bogatskaya; Ekaterina A. Volkova; Nikolay V. Klenov; Maxim V. Tereshonok; Alexander M. Popov
err分享
err收藏
学者 查看更多内容