Ant Group: Dense retrieval's edge over BM25 in code search shrinks under fairer evaluation

CShorten30 · x · 2026-11-18

Ant Group's new paper Embeddings vs. Grep: Rethinking the Dense Advantage in Code Search finds that dense retrieval's lead over BM25 in code search shrinks considerably when evaluation is made fairer. Paper and code are publicly available, with implications for baseline selection and benchmark design in code retrieval.

Related event: Ant Group Research: Dense Retrieval's Code Search Edge Shrinks Under Fair Evaluation(2 posts)→

Original post →

More from coding & agent

coding & agent channel →