Kernkonzepte
This paper introduces R2PS, a novel Retriever-Ranker framework with Ranking-based Hard Negative Sampling, to significantly improve the efficiency and accuracy of code search using pre-trained language models.
Dong, H., Lin, J., Wang, Y., Leng, Y., Chen, J., & Xie, Y. (2024). Improving Code Search with Hard Negative Sampling Based on Fine-tuning. arXiv preprint arXiv:2305.04508v2.
This paper aims to address the limitations of traditional dual-encoder architectures in code search by introducing a novel Retriever-Ranker framework (R2PS) that leverages a cross-encoder architecture and ranking-based hard negative sampling to improve both the accuracy and efficiency of code retrieval.