paper-with-me

홈 › Papers

Conan-Embedding-v2: Training an LLM from Scratch for Text Embeddings

2025-09-16 · Shiyu Li, Yang Tang, Ruijie Liu, Shi-Zhe Chen, Xi Chen arxiv

Large language models (LLMs) have recently demonstrated excellent performance in text embedding tasks. Previous work usually use LoRA to fine-tune existing LLMs, which are limited by the data and training gap between LLMs and embedding models. In this work, we introduce Conan-embedding-v2, a new 1.4B-parameter LLM trained from scratch and fine-tuned as a text embedder. First, we add news data and multilingual pairs for LLM pretraining to bridge the data gap. Based on this, we propose a cross-lingual retrieval dataset that enables the LLM to better integrate embeddings across different languages. Second, whereas LLMs use a causal mask with token-level loss, embedding models use a bidirectional mask with sentence-level loss. This training gap makes full fine-tuning less effective than LoRA. We introduce a soft-masking mechanism to gradually transition between these two types of masks, enabling the model to learn more comprehensive representations. Based on this, we propose a dynamic hard negative mining method that exposes the model to more difficult negative examples throughout the training process. Being intuitive and effective, with only approximately 1.4B parameters, Conan-embedding-v2 achieves SOTA performance on both the Massive Text Embedding Benchmark (MTEB) and Chinese MTEB (May 19, 2025).

📄 PDF Abstract BibTeX arXiv:2509.12892

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Conan-embedding-v3: Fusing Modality-Specific Models for Omni-Modal Embedding

2026-06-08 · Shiyu Li, Zhiyuan Hu, Yifan Wang, Peiming Li 외 arxiv

Omni-modal retrieval promises a single embedding space for text, image, video, document, and audio inputs, but building such a unified retriever is difficult since these modalities differ in data distribution, architectu…

CONAN: Complementary Pattern Augmentation for Rare Disease Detection

2019-11-26 · Limeng Cui, Siddharth Biswal, Lucas M. Glass, Greg Lever 외

Rare diseases affect hundreds of millions of people worldwide but are hard to detect since they have extremely low prevalence rates (varying from 1/1,000 to 1/200,000 patients) and are massively underdiagnosed. How do we…

Conan-embedding: General Text Embedding with More and Better Negative Samples

2024-08-28 · Shiyu Li, Yang Tang, ShiZhe Chen, Xi Chen

With the growing popularity of RAG, the capabilities of embedding models are gaining increasing attention. Embedding models are primarily trained through contrastive loss learning, with negative examples being a key comp…

Contrastive LearningGPURAG

Three Towers: Flexible Contrastive Learning with Pretrained Image Models

2023-05-26 · NeurIPS 2023 11 · Jannik Kossen, Mark Collier, Basil Mustafa, Xiao Wang 외

We introduce Three Towers (3T), a flexible method to improve the contrastive learning of vision-language models by incorporating pretrained image classifiers. While contrastive models are usually trained from scratch, Li…

Contrastive LearningRetrieval

Prior Art Search and Reranking for Generated Patent Text

2020-09-19 · Jieh-Sheng Lee, Jieh Hsiang

Generative models, such as GPT-2, have demonstrated impressive results recently. A fundamental question we'd like to address is: where did the generated text come from? This work is our initial effort toward answering th…

Reranking