LLaVE: Large Language and Vision Embedding Models with Hardness-Weighted Contrastive Learning

Zhibin Lan, Liqiang Niu, Fandong Meng, Jie Zhou, Jinsong Su
3/4/2025
cs.CVcs.AIcs.CL

No official code found. Best implementation: XMUDeepLIT/LLaVE (78 stars, Apache-2.0, last commit 2025-05-23).

Abstract

Universal multimodal embedding models play a critical role in tasks such as interleaved image-text retrieval, multimodal RAG, and multimodal clustering. However, our empirical results indicate that existing LMM-based embedding models trained with the standard InfoNCE loss exhibit a high degree of overlap in similarity distribution between positive and negative pairs, making it challenging to distinguish hard negative pairs effectively. To deal with this issue, we propose a simple yet effective framework that dynamically improves the embedding model's representation learning for negative pairs based on their discriminative difficulty. Within this framework, we train a series of models, named LLaVE, and evaluate them on the MMEB benchmark, which covers 4 meta-tasks and 36 datasets. Experimental results show that LLaVE establishes stronger baselines that achieve state-of-the-art (SOTA) performance while demonstrating strong scalability and efficiency. Specifically, LLaVE-2B surpasses the previous SOTA 7B models, while LLaVE-7B achieves a further performance improvement of 6.2 points. Although LLaVE is trained on image-text data, it can generalize to text-video retrieval tasks in a zero-shot manner and achieve strong performance, demonstrating its remarkable potential for transfer to other embedding tasks.

View on arXivView PDF

Code Implementations(1)

XMUDeepLIT/LLaVECommunity73%
Apache-2.0

LLaVE: Large Language and Vision Embedding Models with Hardness-Weighted Contrastive Learning

783Shell, PythonFeb 16, 20251 years agoApache-2.0

Cite this paper

@article{lan2025llave,
  title  = {LLaVE: Large Language and Vision Embedding Models with Hardness-Weighted Contrastive Learning},
  author = {Zhibin Lan and Liqiang Niu and Fandong Meng and Jie Zhou and Jinsong Su},
  year   = {2025},
  eprint = {2503.04812},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.04812v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.04812.svg)](https://codeofpaper.com/paper/2503.04812)

Discussion