paper-with-me

홈 › Papers

On the Importance of Building High-quality Training Datasets for Neural Code Search

2022-02-14 · Zhensu Sun, Yan Liu, Xiaoning Du, Li Li

The performance of neural code search is significantly influenced by the quality of the training data from which the neural models are derived. A large corpus of high-quality query and code pairs is demanded to establish a precise mapping from the natural language to the programming language. Due to the limited availability, most widely-used code search datasets are established with compromise, such as using code comments as a replacement of queries. Our empirical study on a famous code search dataset reveals that over one-third of its queries contain noises that make them deviate from natural user queries. Models trained through noisy data are faced with severe performance degradation when applied in real-world scenarios. To improve the dataset quality and make the queries of its samples semantically identical to real user queries is critical for the practical usability of neural code search. In this paper, we propose a data cleaning framework consisting of two subsequent filters: a rule-based syntactic filter and a model-based semantic filter. This is the first framework that applies semantic query cleaning to code search datasets. Experimentally, we evaluated the effectiveness of our framework on two widely-used code search models and three manually-annotated code retrieval benchmarks. Training the popular DeepCS model with the filtered dataset from our framework improves its performance by 19.2% MRR and 21.3% Answer@1, on average with the three validation benchmarks.

📄 PDF Abstract BibTeX arXiv:2202.06649

Code (1)

v587su/nlqf 공식 구현 pytorch

Tasks

Code SearchRetrieval

Similar Papers 제목 키워드 기반

Starting with data: advancing spatial data science by building and sharing high-quality datasets

2020-07-16 · Yingjie Hu

Spatial data science has emerged in recent years as an interdisciplinary field. This position paper discusses the importance of building and sharing high-quality datasets for spatial data science.

Position

Building High-Quality Datasets for Portuguese LLMs: From Common Crawl Snapshots to Industrial-Grade Corpora

2025-09-10 · Thales Sales Almeida, Rodrigo Nogueira, Helio Pedrini arxiv

The performance of large language models (LLMs) is deeply influenced by the quality and composition of their training data. While much of the existing work has centered on English, there remains a gap in understanding ho…

Continual Pretraining

Align and Shine: Building High-Quality Sentence-Aligned Corpora for Multilingual Text Simplification

2026-05-10 · Kenji Hilasaca, Nouran Khallaf, Serge Sharoff arxiv

Text simplification plays a crucial role in improving the accessibility and comprehensibility of written information for diverse audiences, including language learners and readers with limited literacy. Despite its impor…

Text Simplification

A Unified Framework for Collecting Text-to-Speech Synthesis Datasets for 22 Indian Languages

2024-10-18 · Sujitha Sathiyamoorthy, N Mohana, Anusha Prakash, Hema A Murthy

The performance of a text-to-speech (TTS) synthesis model depends on various factors, of which the quality of the training data is of utmost importance. Millions of data are collected around the globe for various languag…

Speech Synthesistext-to-speechText to SpeechText-To-Speech Synthesis

Differentially Private Language Models for Secure Data Sharing

2022-10-25 · Justus Mattern, Zhijing Jin, Benjamin Weggenmann, Bernhard Schoelkopf 외

To protect the privacy of individuals whose data is being shared, it is of high importance to develop methods allowing researchers and companies to release textual data while providing formal privacy guarantees to its or…

Language Modelling