AIAny
Icon for item

WeMM-Embedding: WeChat Multi-Modal Embedding Technical Report

Generates unified embeddings for text, images, video, visual documents and interleaved multimodal inputs with configurable output dimensions and Matryoshka truncation to trade accuracy for cost. Model weights and code are released under Apache-2.0; the 9B variant scores 80.6 on MMEB-v2.

Introduction

Multimodal search and recommendation increasingly require a single embedding space that preserves fine-grained semantics across text, images, video and document-like visuals while remaining efficient at billion-scale indexing. The core insight: training a family of scalable encoders (2B/4B/9B) with a two‑stage curriculum yields embeddings that are both serviceable in production and competitive on open benchmarks.

Key Findings
  • Two-stage training: large-scale multimodal alignment followed by a refinement phase using curated data, fine-grained relevance supervision, and cross-scale knowledge transfer — this combination improves discrimination without sacrificing broad coverage. This means embeddings better match hard retrieval cases while retaining generality.
  • Matryoshka embeddings and configurable dimensions: models expose multiple output sizes (e.g., 64–4096) so teams can truncate to lower dims (e.g., 256) to cut storage/compute with modest accuracy loss. This enables practical deployment trade-offs for latency- and cost-sensitive systems.
  • Empirical results: across public benchmarks the family leads or matches state-of-the-art; the 9B variant achieves an overall MMEB-v2 score of 80.6 and produces 4096‑D L2‑normalized vectors. WeChat-internal evaluations and multiple online A/B tests show production gains in recommendation and search.
  • Engineering posture: weights and code are released under Apache-2.0, calling out support for common inference stacks (Transformers/SentenceTransformers, vLLM) and Hugging Face hosting, which lowers integration friction for practitioners.
Who it fits and trade-offs

Great fit if you need a unified, production-ready multimodal embedding backbone that supports cross-modal retrieval and can be dimension‑truncated to manage cost. Prefer it when you want an off-the-shelf family with released weights, benchmarked performance, and documented deployment recipes.

Look elsewhere if you require audio input support (audio is not supported) or if you need a custom task-specific embedding trained on proprietary domain data without fine-tuning; extremely constrained-device scenarios might still favor specialized lightweight encoders despite Matryoshka truncation.

Information

  • Websitearxiv.org
  • OrganizationsWeChat Vision (Tencent), Tencent Inc.
  • AuthorsJunjie Zhou, Ke Mei, Lei Li, Tianyi Wang, Fengyun Rao, Jing Lyu
  • Published date2026/08/25

More Items

Introduces Declarative Attention (DA), a zero-shot protocol that has LMs declare which parts of long context to attend to during chain-of-thought, letting the runtime build dynamic attention masks and skip most KV-cache reads. Produces large token savings (up to ~52% on Gemma-4-31B) with modest accuracy loss.

Generates compact keyword sets for both queries and items with LLMs and matches them directly via an inverted index. Uses supervised fine-tuning to align keyword spaces, then alternates GRPO-based reinforcement learning on query- and item-side generators to co-evolve representations and maximize retrieval F1 while staying compatible with keyword-based infrastructure.

Hugging Face
AI Model2022

A compact pretrained bidirectional Transformer distilled from BERT base for masked language modeling and downstream NLP fine-tuning. Trained via knowledge distillation on BookCorpus and English Wikipedia, it reduces size/latency (≈67M params) while preserving BERT-like representations.