arrow
Return

CORES: COde REpresentation Summarization for Code Search

delete2024-08-01
delete0
PRE
AI
X
Xu Zhang
X
Xiaoyu Hu
周德宇 cover
周德宇 (Deyu Zhou) *
DOI:10.1109/TCE.2024.3445139delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

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.
Keywords:
Codes
Semantics
Feature extraction
Vectors
Redundancy
Training
Software development management
Code search
code representation
summarization

Journal

IEEE Transactions on Consumer Electronics cover
IEEE Transactions on Consumer Electronics
IF:
10.9
Papers:
5.3K
Citations:
6.8K

Organization

S
southeast university - china
Scholars:
5.3W
Papers: 4.9W
Citations: 57
Cited Papers

Cited Papers

No Perisaccadic Mislocalization with Abruptly Cancelled Saccades
err2014-04-16
err0
errOAAI
errJeroen Atsma; Femke Maij; Brian D. Corneil; W. Pieter Medendorp
errShare
errSave
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
errShare
errSave
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
errShare
errSave
A Rare Case of New-Onset Ulcerative Colitis following Initiation of Secukinumab
err2019-07-31
err0
errOAAI
errTed George Achufusi; Prateek S. Harnee; Sekou Rawlins
errShare
errSave
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
errShare
errSave
researcher View more