Strategic Hard-Negative Selection for Efficient Fine-Tuning of Dense Retrievers

Master Thesis (2026)
Author(s)

A. Abdul Wahab (TU Delft - Electrical Engineering, Mathematics and Computer Science)

Contributor(s)

A. Anand – Mentor (TU Delft - Electrical Engineering, Mathematics and Computer Science)

H.S. Hung – Graduation committee member (TU Delft - Electrical Engineering, Mathematics and Computer Science)

Faculty
Electrical Engineering, Mathematics and Computer Science
More Info
expand_more
Publication Year
2026
Language
English
Graduation Date
25-11-2026
Awarding Institution
Delft University of Technology
Programme
Computer Science, Data Science and Artificial Intelligence Technology
Faculty
Electrical Engineering, Mathematics and Computer Science
Page Views
20
Reuse Rights

Other than for strictly personal use, it is not permitted to download, forward or distribute the text or part of it, without the consent of the author(s) and/or copyright holder(s), unless the work is under an open content license such as Creative Commons.

Abstract

Dense retrievers are often trained using contrastive learning to differentiate a positive document from a negative one. The harder the negative, the better the training signal and thus the better the distinction. In-batch training takes its negatives from other queries in the same batch, while cross-batch increases the negative document size by using several batches of them. These documents, however, are most of the time easy to tell apart, and larger batches come at the cost of more GPU memory. ANCE finds harder negatives by periodically re-encoding the full corpus with a new checkpoint of the model, which is expensive to do on limited hardware. This thesis investigates whether hard negatives can be found without re-encoding the whole corpus. GRASS is then proposed, which mines documents from a small cache that periodically gets updated and refreshed, and uses the model’s uncertainty in the selection of hard negatives. After fine-tuning the pretrained retriever BGE-M3, GRASS scored on par with ANCE on the 12 BRIGHT domains and higher than cross-batch and in-batch, while each mining round took about a third of the time of an ANCE round.

Files

License info not available