Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing 2023
DOI: 10.18653/v1/2023.emnlp-main.786
|View full text |Cite
|
Sign up to set email alerts
|

Rethinking Negative Pairs in Code Search

Haochen Li,
Xin Zhou,
Anh Luu
et al.

Abstract: Recently, contrastive learning has become a key component in fine-tuning code search models for software development efficiency and effectiveness. It pulls together positive code snippets while pushing negative samples away given search queries. Among contrastive learning, InfoNCE is the most widely used loss function due to its better performance. However, the following problems in negative samples of In-foNCE may deteriorate its representation learning: 1) The existence of false negative samples in large cod… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...

Citation Types

0
0
0

Year Published

2024
2024
2024
2024

Publication Types

Select...
1
1

Relationship

0
2

Authors

Journals

citations
Cited by 2 publications
references
References 20 publications
0
0
0
Order By: Relevance