Efficient fine-tuning methodology of text embedding models for information retrieval: contrastive learning penalty (clp)
Paper
•
2412.17364
•
Published
CLP is a novel loss function designed to address the limitations of existing contrastive learning methods for improved performance in information retrieval tasks. It incorporates a penalty term that encourages the model to learn more discriminative representations by considering the similarity between negative samples and their corresponding queries.
The CLP loss function is defined as follows:
where:
The difference between Contrastive Learning Loss and Contrastive Learning Penalty Loss:
| Model Name | Introduction |
|---|---|
| bge-m3-ko-CLPL-interMoE | This model applies CLPL and MoE, trained on the MIRACL Korean training dataset. MoE is applied to the intermediate layer, and only the MoE layers were trained during fine-tuning. |
| bge-m3-fa-CLPL-interMoE | This model applies CLPL and MoE, trained on the MIRACL Persian training dataset. MoE is applied to the intermediate layer, and only the MoE layers were trained during fine-tuning. |
| bge-m3-hi-CLPL-interMoE | This model applies CLPL and MoE, trained on the MIRACL Hindi training dataset. MoE is applied to the intermediate layer, and only the MoE layers were trained during fine-tuning. |
Performing negative sampling using the ANCE methodology and generating negative sample's positive queries through the Gemini 1.5 Pro model, which are required for CLPL.
| Dataset | Introduction |
|---|---|
| ko_CLPL_train_data | MIRACL Korean CLPL training dataset |
| fa_CLPL_train_data | MIRACL Persian CLPL training dataset |
| hi_CLPL_train_data | MIRACL Hindi CLPL training dataset |
@misc{yu2024efficientfinetuningmethodologytext,
title={Efficient fine-tuning methodology of text embedding models for information retrieval: contrastive learning penalty (clp)},
author={Jeongsu Yu},
year={2024},
eprint={2412.17364},
archivePrefix={arXiv},
primaryClass={cs.IR},
url={https://arxiv.org/abs/2412.17364},
}