arrow
返回

CORES: COde REpresentation Summarization for Code Search

delete2024-08-01
delete0
PRE
AI
X
Xu Zhang
X
Xiaoyu Hu
周德宇 封面图
周德宇 (Deyu Zhou) *
DOI:10.1109/TCE.2024.3445139delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
With the growth of the consumer electronics market, the software development industry is facing new opportunities and an increased focus on code retrieval techniques to improve efficiency and reduce costs. Code search aims to retrieve and reuse code from extensive repositories based on a search query with specific requirements. Recently, pre-trained model-based approaches have become popular because of grasping semantic representations of code snippets and search queries accurately. However, such approaches ignore the inconsistency between code and query statements due to the redundant tokens, such as definitions and punctuation marks in the code snippets, which hinder the matching accuracy. To tackle such disadvantage, in this paper, two strategies are proposed based on explicit or implicit code representation summarization. By summarizing the code representation, the redundancy in the code is removed and the inconsistency between code and query statements is alleviated. For the explicit code representation summarization-based strategy, different views of contextual information are obtained and summarized based on different scales of pyramidal dilated convolution. As to the implicit code representation summarization-based strategy, covariance is directly applied to constrain the code representation to ensure de-redundancy. Experimental results on six benchmark datasets show both strategies outperform the current State-Of-The-Art model CORES by 1.2% on average MRR scores.
Keyword:
Codes
Semantics
Feature extraction
Vectors
Redundancy
Training
Software development management
Code search
code representation
summarization

期刊

IEEE Transactions on Consumer Electronics 封面图
IEEE Transactions on Consumer Electronics
IF:
10.9
论文数:
5.3K
被引数:
6.8K

机构

S
southeast university - china
学者数:
5.3W
论文数: 4.9W
被引数: 57
引用论文

引用论文

No Perisaccadic Mislocalization with Abruptly Cancelled Saccades
err2014-04-16
err0
errOAAI
errJeroen Atsma; Femke Maij; Brian D. Corneil; W. Pieter Medendorp
err分享
err收藏
Caveolin-1 and -2 regulate cell motility in castration-resistant prostate cancer
err2018-10-01
err0
errOAAI
errToyoharu Kamibeppu; Koji Yamasaki; Kozue Nakahara; Takahiro Nagai; Naoki Terada; Hiromasa Tsukino; Shoichiro Mukai; Toshiyuki Kamoto
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收藏
Ontogeny of Toll-Like Receptor Mediated Cytokine Responses of South African Infants throughout the First Year of Life
err2012-09-13
err0
errOAAI
errBrian A. Reikie; Rozanne C. M. Adams; Candice E. Ruck; Kevin Ho; Aleksandra Leligdowicz; Santoshan Pillay; Shalena Naidoo; Edgardo S. Fortuno; Corena de Beer; Wolfgang Preiser; Mark F. Cotton; David P. Speert; Monika Esser; Tobias R. Kollmann
err分享
err收藏
学者 查看更多内容