[Paper Review] Improving Multilingual Sentence Embedding using Bi-directional Dual Encoder with Additive Margin Softmax
This paper proposes a bi-directional dual-encoder model with additive margin softmax to improve multilingual sentence embeddings for bitext retrieval. By enforcing a margin between positive and negative sentence pairs in the embedding space, it achieves state-of-the-art performance on the UN parallel corpus (P@1 > 86%) and a new SOTA on the BUCC mining task (F1 up to 97.24%) when combined with BERT re-ranking.
In this paper, we present an approach to learn multilingual sentence embeddings using a bi-directional dual-encoder with additive margin softmax. The embeddings are able to achieve state-of-the-art results on the United Nations (UN) parallel corpus retrieval task. In all the languages tested, the system achieves P@1 of 86% or higher. We use pairs retrieved by our approach to train NMT models that achieve similar performance to models trained on gold pairs. We explore simple document-level embeddings constructed by averaging our sentence embeddings. On the UN document-level retrieval task, document embeddings achieve around 97% on P@1 for all experimented language pairs. Lastly, we evaluate the proposed model on the BUCC mining task. The learned embeddings with raw cosine similarity scores achieve competitive results compared to current state-of-the-art models, and with a second-stage scorer we achieve a new state-of-the-art level on this task.
Motivation & Objective
- To improve multilingual sentence embedding quality for bitext retrieval using a novel training objective.
- To reduce noisy matches in unsupervised bitext mining by stabilizing the embedding space through margin constraints.
- To enable high-quality parallel data mining from monolingual web data for training NMT models.
- To extend sentence-level embeddings to document-level representations via simple averaging.
- To improve bitext mining performance on the BUCC benchmark using a two-stage approach with BERT re-ranking.
Proposed method
- Uses a bi-directional dual-encoder architecture to map source and target sentences into a shared multilingual embedding space.
- Applies additive margin softmax to enforce a minimum angular margin between positive (translated) and negative (non-translated) sentence pairs.
- The margin is applied in both directions (source-to-target and target-to-source) to improve symmetry and generalization.
- Employs a simplified one-directional margin formulation (Eq. 10) to reduce computation while maintaining performance.
- Constructs document embeddings by averaging sentence-level embeddings from the model.
- Uses a fine-tuned multilingual BERT model as a second-stage scorer to re-rank candidate pairs based on contextual similarity.
Experimental results
Research questions
- RQ1Can a bi-directional dual-encoder with additive margin softmax improve multilingual sentence embedding quality for bitext retrieval?
- RQ2Does the margin-based training objective lead to more compact and separable clusters of true translation pairs in the embedding space?
- RQ3Can the resulting sentence embeddings achieve state-of-the-art performance on the UN parallel corpus retrieval task?
- RQ4Can document-level embeddings derived from sentence embeddings match or exceed SOTA on document-level bitext mining?
- RQ5Can the combination of raw embeddings and BERT re-ranking achieve new SOTA on the BUCC bitext mining benchmark?
Key findings
- The model achieves P@1 of 86% or higher on the UN parallel corpus across all tested languages, demonstrating state-of-the-art performance.
- NMT models trained on mined parallel data using the proposed method match or exceed performance of models trained on gold-standard bitext.
- Document-level embeddings formed by averaging sentence embeddings achieve ~97% P@1 on the UN document-level retrieval task.
- Raw cosine similarity scores from the model achieve competitive results on the BUCC task, with F1 scores ranging from 84.6 to 89.2.
- With BERT re-ranking, the model achieves a new SOTA on BUCC, with F1 scores ranging from 93.38 (ru-en) to 97.24 (de-en).
- Failure analysis reveals that the model struggles with semantically similar sentences differing in numbers or entities, which are effectively corrected by the BERT scorer.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.