paper-with-me

홈 › Papers

Accelerating Code Search with Deep Hashing and Code Classification

2022-03-29 · ACL 2022 5 · Wenchao Gu, Yanlin Wang, Lun Du, Hongyu Zhang, Shi Han, Dongmei Zhang, Michael R. Lyu

Code search is to search reusable code snippets from source code corpus based on natural languages queries. Deep learning-based methods of code search have shown promising results. However, previous methods focus on retrieval accuracy but lacked attention to the efficiency of the retrieval process. We propose a novel method CoSHC to accelerate code search with deep hashing and code classification, aiming to perform an efficient code search without sacrificing too much accuracy. To evaluate the effectiveness of CoSHC, we apply our method to five code search models. Extensive experimental results indicate that compared with previous code search baselines, CoSHC can save more than 90% of retrieval time meanwhile preserving at least 99% of retrieval accuracy.

📄 PDF Abstract BibTeX arXiv:2203.15287

Code (0)

등록된 구현이 없습니다.

Tasks

ClassificationCode ClassificationCode SearchDeep HashingRetrieval

Similar Papers 제목 키워드 기반

Deep Supervised Discrete Hashing

2017-05-31 · NeurIPS 2017 12 · Qi Li, Zhenan Sun, Ran He, Tieniu Tan

With the rapid growth of image and video data on the web, hashing has been extensively studied for image or video search in recent years. Benefit from recent advances in deep learning, deep hashing methods have achieved …

Deep HashingGeneral ClassificationImage RetrievalRetrieval

Supervised Incremental Hashing

2016-04-25 · Bahadir Ozdemir, Mahyar Najibi, Larry S. Davis

We propose an incremental strategy for learning hash functions with kernels for large-scale image search. Our method is based on a two-stage classification framework that treats binary codes as intermediate variables bet…

General ClassificationImage Retrieval

Scalable Gaussian Processes for Supervised Hashing

2016-04-25 · Bahadir Ozdemir, Larry S. Davis

We propose a flexible procedure for large-scale image search by hash functions with kernels. Our method treats binary codes and pairwise semantic similarity as latent and observed variables, respectively, in a probabilis…

Binary ClassificationGaussian ProcessesGeneral ClassificationImage Retrieval+2

Deep Triplet Hashing Network for Case-based Medical Image Retrieval

2021-01-29 · Jiansheng Fang, Huazhu Fu, Jiang Liu

Deep hashing methods have been shown to be the most efficient approximate nearest neighbor search techniques for large-scale image retrieval. However, existing deep hashing methods have a poor small-sample ranking perfor…

ClassificationDeep HashingGeneral ClassificationImage Retrieval+3

Unsupervised Multi-Index Semantic Hashing

2021-03-26 · Christian Hansen, Casper Hansen, Jakob Grue Simonsen, Stephen Alstrup 외

Semantic hashing represents documents as compact binary vectors (hash codes) and allows both efficient and effective similarity search in large-scale information retrieval. The state of the art has primarily focused on l…

Information RetrievalRetrieval