Introduction
In the field of Information Retrieval (IR), the challenge of finding relevant documents across diverse languages—from Finnish to Swahili—is significant. While Dense Passage Retrieval (DPR) has advanced the field by mapping queries and documents into a shared vector space using bi-encoders, its effectiveness is heavily dependent on the quality of negative samples used during training. Standard models often struggle with "hard negatives" that are confusingly similar to the truth and "false negatives"—relevant passages that are incorrectly labeled as irrelevant.
A recent framework, mHFN (multilingual Hard and False Negative), addresses these issues by efficiently recycling hard negative samples across languages and employing an adaptive filter to rescue false negatives, effectively "recovering gold from black sand."
The mHFN Framework
The mHFN framework introduces three primary innovations to improve multilingual dense retrieval:
- Multilingual Hard Negative Augmentation: This component uses a translator to create pseudo-parallel corpora, allowing the model to share the indices of hard negatives across languages. By transferring "knowledge of confusion" from high-resource to low-resource languages, the model learns more robustly.
- Multilingual Negative Sample Cache Queue: To overcome GPU memory limitations, negative samples from previous training batches are stored in system RAM (pinned memory). This significantly increases the variety of negatives the model encounters without requiring excessive GPU resources.
- Adaptive False Negative Filter: This filter identifies unlabeled passages that are likely relevant to the query. Using K-means clustering and Gumbel-Softmax, it assigns pseudo-labels; if a negative sample's label matches the positive sample's, it is treated as a positive instance.
Visualizing the Impact
The core strength of mHFN lies in its ability to correctly categorize passages that standard models misidentify. In traditional mDPR, false negatives are often pushed away from the query in the vector space, leading to suboptimal retrieval. mHFN's adaptive filter recognizes these "gold" passages and clusters them closer to the query alongside labeled positive samples.
Experimental Results
The framework was evaluated on the Mr. TyDi benchmark, which spans 11 typologically diverse languages including Arabic, Bengali, English, Finnish, Indonesian, Japanese, Korean, Russian, Swahili, Telugu, and Thai.
The mHFN framework achieved new state-of-the-art (SOTA) results across all 11 languages. Compared to a standard mDPR baseline, mHFN improved the Mean Reciprocal Rank (MRR@100) by an average of 7.9% and Recall@100 by 6.5%. Ablation studies further confirmed the importance of the false negative filter, as its removal led to a 3.0% performance drop, underscoring the value of rescuing relevant but unlabeled data.
Conclusion
By treating "bad" data as a source of hidden "good" data, the mHFN framework provides a blueprint for more efficient and accurate multilingual AI. Its ability to leverage cross-lingual confusion and rescue false negatives makes it particularly effective for under-represented languages, setting a new standard for multilingual dense passage retrieval.
Summary updated