Skip to main content
QUICK REVIEW

[Paper Review] C-Pack: Packed Resources For General Chinese Embeddings

Shitao Xiao, Zheng Liu|arXiv (Cornell University)|Sep 14, 2023
Topic ModelingComputer Science70 citations
TL;DR

C-Pack introduces C-MTEB, C-MTP, and C-TEM to advance general Chinese text embeddings, achieving state-of-the-art results on the Chinese embedding benchmark and providing large-scale training data and models.

ABSTRACT

We introduce C-Pack, a package of resources that significantly advance the field of general Chinese embeddings. C-Pack includes three critical resources. 1) C-MTEB is a comprehensive benchmark for Chinese text embeddings covering 6 tasks and 35 datasets. 2) C-MTP is a massive text embedding dataset curated from labeled and unlabeled Chinese corpora for training embedding models. 3) C-TEM is a family of embedding models covering multiple sizes. Our models outperform all prior Chinese text embeddings on C-MTEB by up to +10% upon the time of the release. We also integrate and optimize the entire suite of training methods for C-TEM. Along with our resources on general Chinese embedding, we release our data and models for English text embeddings. The English models achieve state-of-the-art performance on MTEB benchmark; meanwhile, our released English data is 2 times larger than the Chinese data. All these resources are made publicly available at https://github.com/FlagOpen/FlagEmbedding.

Motivation & Objective

  • Motivate the need for general-purpose Chinese text embeddings across retrieval, ranking, classification, and clustering settings.
  • Introduce a large-scale Chinese embedding ecosystem (benchmark, training data, and models) to enable robust evaluation and development.
  • Demonstrate that the proposed resources enable superior generality and practical performance across multiple tasks.

Proposed method

  • Define C-MTEB as a Chinese extension of MTEB with 35 datasets across 6 task types.
  • Create C-MTP by aggregating 100M text pairs from unlabeled sources and 838K paired items from labeled data.
  • Provide C-TEM as a family of embedding models in small, base, and large sizes trained with a three-stage recipe (pre-training, contrastive learning, task-specific fine-tuning).
  • Use a large in-batch negative sampling strategy (up to 19,200 batch size) for contrastive learning.
  • Incorporate instruction-based fine-tuning and hard-negative mining for task-specific adjustments.
  • Release the full training recipe to facilitate reproducibility and further research.

Experimental results

Research questions

  • RQ1How well do Chinese embeddings generalize across diverse tasks when evaluated with C-MTEB?
  • RQ2What impact do large-scale unlabeled data, high-quality labeled data, and training recipes have on embedding quality?
  • RQ3Can C-TEM provide scalable options that balance efficiency and performance for real-world applications?
  • RQ4Does the combination of pre-training, contrastive learning, and multi-task fine-tuning yield state-of-the-art results on Chinese general-text embedding benchmarks?

Key findings

  • C-TEM models outperform all prior Chinese text embeddings on C-MTEB by large margins across multiple tasks.
  • Scaling up model size and embedding dimension yields consistent performance gains, with large models achieving the highest average results.
  • C-MTP (unlabeled) substantially improves general retrieval capabilities, while C-MTP (labeled) provides notable gains on retrieval, re-ranking, STS, and pair classification after task-specific fine-tuning.
  • A large in-batch negative sampling strategy (up to 19,200) and instruction-based task tuning contribute to measurable performance boosts, especially in retrieval-related tasks.
  • The released resources enable high generality and practical applicability for Chinese embedding tasks, with a flexible trade-off between efficiency and quality.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.