GISTEmbed: Guided In-sample Selection of Training Negatives for Text Embedding Fine-tuning
About
Embedding models are integral to AI applications like semantic search, personalized recommendations, and retrieval augmented generation for LLMs, necessitating high-quality training data. However, the limited scalability of manual data curation prompts the need for automated methods to ensure data integrity. Traditional unsupervised triplet mining automates training data generation, crucial for embedding model training, yet inadvertently injects biases and noise, thereby degrading model performance. Addressing this, we introduce GISTEmbed, a novel strategy that enhances in-batch negative selection during contrastive training through a guide model. This approach departs from reliance on random sampling and equal utility assumption of batch negatives, significantly reducing noise from data quality issues and improving model fine-tuning. Benchmarked against the Massive Text Embedding Benchmark (MTEB), GISTEmbed showcases consistent performance improvements across various model sizes and achieves state-of-the-art results in select categories. This framework enables significant enhancements for smaller models by leveraging the capabilities of powerful yet resource-intensive large models. GISTEmbed can potentially revolutionize the creation of highly efficient, smaller models, democratizing access to advanced AI technologies. Making these technologies more accessible and cost-effective, especially for applications constrained by resources, significantly expands the impact and accessibility of state-of-the-art AI solutions across diverse sectors.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Disease prediction | Haodf Lung | Hit Rate @ 156.71 | 16 | |
| Disease prediction | Haodf Depression | Hit Rate @ 10.425 | 16 | |
| Disease prediction | Haodf Coronary Heart Disease | Hit Rate @ 125.88 | 16 | |
| Disease prediction | Haodf Pneumonia | Hit@119.61 | 16 | |
| Disease prediction | Haodf Diabetes | Hit Rate @ 142.28 | 16 | |
| Disease prediction | Haodf Common Cold | Hit@13.24 | 16 | |
| Reranking | MTEB Reranking (test) | -- | 11 | |
| Clustering | MTEB English Clustering | Average Score44.77 | 10 | |
| Semantic Textual Similarity | MTEB English STS subsets | Average STS Score75.61 | 10 | |
| Classification | MTEB English Classification subsets | Average Classification Score64.75 | 10 |