Xylolabs

OmniEVIE-4B MLX 4-bit

tencent/OmniEVIE-4B converted to MLX for text, image and document retrieval, with video input left out.

How to run

pip install mlx-vlm "git+https://github.com/XylolabsInc/omnievie-mlx@v0.1.2"
from PIL import Image
from omnievie_mlx import OmniEVIEMLX, maxsim

model = OmniEVIEMLX.load("Xylolabs/OmniEVIE-4B-MLX-4bit")
q = model.encode_query(["Which model ranks first on the MMEB leaderboard?"])[0]
d = model.encode_document([Image.open("page.png")])[0]
print(maxsim(q, d).item())

truncate_dim=64 (or 128 ... 1024) gives the shorter Matryoshka vectors; QueryGate.load("Xylolabs/OmniEVIE-4B-MLX-4bit") loads the gate (XylolabsInc/omnievie-mlx).

Accuracy

Retrieval on ViDoRe V3 computer science (1,360 pages, 1,290 queries) and MMEB's MSCOCO_t2i and Wiki-SS-NQ (1,000 queries each), full 2048-dim MaxSim.

Format Size ViDoRe V3 CS nDCG@10 MSCOCO t2i hit@1 Wiki-SS-NQ hit@1 Query-token cosine to Tencent fp32 Page-token cosine to Tencent fp32
Tencent BF16 (sentence-transformers) 9.09 GB 80.03 79.5 86.1 0.9976 0.9604
MLX 8-bit 5.15 GB 80.10 80.2 85.6 0.9948 0.9526
MLX 4-bit 3.36 GB 79.89 80.6 85.4 0.9356 0.8860

The other size: Xylolabs/OmniEVIE-4B-MLX-8bit.

Which file for your hardware

Fits any Mac with 16 GB of unified memory at an 8K-token context (3.36 GB).

License and notices

Apache License 2.0 (LICENSE.txt) with Tencent's NOTICE, both copied from the source model. We converted the weights to MLX and quantized them.

Updates

  • 2026-11-28: Card text trimmed.
  • 2026-11-28: Card corrections.
  • 2026-11-28: First release.

Original model card

OmniEVIE-4B — Evidence-Vector-Informed Embedding for Multi-modal Retrieval

Hugging Face GitHub arXiv MMEB-Leaderboard Top 1 (Non-Audio)
Papers with Code: MMEB-v3 Papers with Code: ViDoRe V3

Evidence lives in the details — a single cell in a dense table, a fleeting gesture in a two-minute clip, a buried clause across pages.
One model. Every modality. Milliseconds at million scale.


OmniEVIE-4B is a 4.5B-parameter unified multi-modal, multi-vector retrieval model by Tencent IMA Product Center and Tencent Youtu Lab, ranking #1 on the MMEB-Leaderboard (excluding audio) across 190 tasks (also #1 overall in Visual Doc 84.70, Text 52.97, and Agent 54.14). Built on Qwen3.5 with bidirectional full-attention layers, Prefix-MRL projection, spatio-temporal Ward clustering (ST-HAC), and a learned query saliency gate (query_gate.safetensors), a single checkpoint serves two retrieval modes: Full retains every token at uncompressed 2048D precision (60.68), while Compressed distills each document into at most 128 × 64D int8 vectors (≤ 9,472 bytes/record, 8.82 GiB per 1M records) — holding 60.06 while sweeping a million records in 54.2 ms on one CPU thread and tracing every hit straight back to its page region or video second.

MMEB-Leaderboard Top 1 (Excluding Audio)

MMEB-Leaderboard Top 1 (Excluding Audio) — OmniEVIE-4B
Official TIGER-Lab/MMEB-Leaderboard snapshot (2026-11-24, sorted by Audio-Overall = 0). From the same 4.54B checkpoint, OmniEVIE-4B (Full — uncompressed 2048D sequence) and OmniEVIE-4B (Compressed — ≤128 × 64D int8, 8.82 GiB / 1M) rank #1 and #2 among all non-audio models (#2 and #4 overall across all 190 tasks), surpassing 9.4B baselines while leading the Visual Doc (84.70), Text (52.97), and Agent (54.14) tracks.


Seeing Where the Answer Lives

Fine-Grained Page & Long-Video Localization

Every retrieval hit carries its own spatial or temporal coordinates—highlighting the matched table row, cross-lingual answer sentence, chart bar, or timestamp span without external OCR or video-captioning models.

Page Region and Long-Video Timestamp Localization Cases
Real retrieval hits on ViDoRe V3 pages and a 150-second QVHighlights clip (QVHighlights val, 1,083 queries: 78.0% peak-in-segment hit, 94.3% span intersection, 18% average span).

Native Video Moment Localization

Direct Video Moment Localization Cases
Returned intervals and peak timestamps across three 150-second QVHighlights videos directly from the compressed multi-vector index.

Token-Level Alignment & Query Saliency Gate

Token-Level Alignment and Query Saliency Gate
Per-token cluster matches, learned saliency gate weights (τ = 0.6), and noise-floor margin (θ = 0.38) on a 966-patch page compressed to 128 int8 clusters.


A Compact Memory for Every Modality

Feature Specification
Parameters 4.54B (BF16, model.safetensors) + query_gate.safetensors
Modalities Text · Natural Image · Visual Document · Native Video · Agent / Tool / GUI / Memory
Elastic Dimensions Prefix-MRL single head: {64, 128, 256, 512, 1024, 2048} at runtime
Index Footprint 8.82 GiB / 1M records (K128×d64 int8), or 2.15 GiB / 1M (K32×d64 int8)
Search Latency 54.2 ms (1M) / 120.2 ms (5M) on a single CPU thread
Evidence Localization Direct page bounding box & video timestamp interval from retrieval argmax
License Apache-2.0 (LICENSE.txt)

Unified ST-HAC Compression Pipeline
Unified ST-HAC clustering, sphere-renormalized centroids, fixed-scale int8 quantization, and exact per-record byte layout.

Three-Stage Retrieval Funnel and Latency
Three-stage retrieval funnel on 1M records (14.6 ms coarse + 19.7 ms Hamming + 19.9 ms int8 = 54.2 ms single-thread CPU).


Evaluations & Benchmarks

OmniEVIE-4B Multi-Modal Accuracy and Retrieval Latency Overview
(a) MMEB-V3 overall accuracy (190 tasks) across model scales; (b) single-thread CPU retrieval latency from 100K to 5M records.

MMEB-V3 (190 Tasks)

Model All (190) Text (53) T-RR T-IF T-LC T-MC T-GR Agent (47) Tool GUI Memory MCMR
Qwen3-VL-Embedding-2B 50.90 39.20 16.60 40.60 53.10 61.20 58.00 39.30 42.60 30.40 28.40 42.00
Qwen3-VL-Embedding-8B 53.50 42.50 18.20 44.80 58.00 61.20 61.20 38.40 41.30 33.50 22.80 38.00
WeMM-Embedding-2B 55.77 45.34 26.29 49.30 61.90 59.72 58.74 44.05 46.23 38.87 35.38 42.51
WeMM-Embedding-4B 57.97 47.88 30.01 52.02 62.43 60.14 61.09 48.06 50.58 41.44 39.19 41.91
WeMM-Embedding-9B 59.33 48.76 31.82 52.78 64.48 58.28 61.12 50.10 52.95 43.33 38.65 49.34
OmniEVIE-4B (Compressed · K128×d64 int8, 8-fr) 59.76 51.77 26.36 69.65 70.71 67.75 63.58 54.03 58.84 41.34 37.35 47.39
OmniEVIE-4B (Compressed · K128×d64 int8, 32-fr) 60.06 51.77 26.36 69.65 70.71 67.75 63.58 54.03 58.84 41.34 37.35 47.39
OmniEVIE-4B (Full · full-sequence d=2048) 60.68 52.97 27.46 70.81 73.04 68.55 64.60 54.14 58.81 42.00 37.60 49.74

MMEB-V2 (78 Tasks)

Model All (78) Image (36) Video (18) VisDoc (24)
Qwen3-VL-Embedding-2B 73.25 74.96 61.87 79.22
Qwen3-VL-Embedding-8B 77.82 80.12 67.15 82.36
WeMM-Embedding-2B 77.94 79.63 70.82 80.75
WeMM-Embedding-4B 79.19 80.84 72.11 82.04
WeMM-Embedding-9B 80.58 81.87 74.31 83.34
OmniEVIE-4B (Compressed · K128×d64 int8, 8-fr) 77.24 78.09 66.49 84.02
OmniEVIE-4B (Compressed · K128×d64 int8, 32-fr) 77.96 78.09 69.62 84.02
OmniEVIE-4B (Full · full-sequence d=2048) 78.56 78.70 70.08 84.70

ViDoRe V3 Visual Document Retrieval (8 Domains × 6 Languages, graded nDCG@10)

Model Index Representation Mean CS Energy Fin (EN) Fin (FR) HR Industrial Pharma Physics
Nemotron-ColEmbed-V2-8B Full multi-vector 63.76 79.35 70.05 67.72 51.50 66.92 56.81 67.39 50.31
Qwen3-VL-Embedding-8B Single-vector 59.00 75.86 64.47 60.88 44.70 58.88 47.78 66.05 48.31
OmniEVIE-4B (Full · full-sequence d=2048) Prefix-MRL upper bound 64.34 79.89 71.25 67.76 53.45 66.33 57.03 68.11 50.87
OmniEVIE-4B (Compressed · K128×d64 int8) 7.87 GiB / 1M pages 62.96 78.73 69.94 66.01 52.52 64.68 55.08 66.47 50.28
OmniEVIE-4B (Compressed · K32×d64 int8) 2.15 GiB / 1M pages 61.16 78.13 68.61 64.52 49.43 60.90 51.73 65.73 50.22

Single-Thread CPU Retrieval Latency (ms)

Method 100K 1M 5M Speedup vs. Full int8 (1M)
Full int8 MaxSim 1,657 12,781 63,892 1.0×
Exact Single-Vector (d=4096) 60.9 604.0 3,039 21.2×
Exact Single-Vector (d=2048) 34.6 331.0 1,666 38.6×
OmniEVIE-4B Three-Stage (N1=5000, N2=1000) 41.9 54.2 120.2 236×

Citation

@article{wang2026omnievie,
  title         = {OmniEVIE: Evidence-Vector-Informed Embedding for Multi-modal Retrieval},
  author        = {Wang, Zifei and Wen, Wei and Ji, Qiang and Zhang, Qian-Wen and Qiao, Ruizhi and Liu, He and Sun, Xing and Lin, Qiang},
  journal       = {arXiv preprint arXiv:2611.32203},
  year          = {2026},
  eprint        = {2611.32203},
  archivePrefix = {arXiv},
  url           = {https://arxiv.org/abs/2611.32203}
}

License

The code and models released under OmniEVIE, including OmniEVIE, OmniEVIE-2B, and OmniEVIE-4B, are licensed under the Apache License 2.0. See LICENSE.txt and NOTICE for full terms and third-party attributions.

Downloads last month
60
Safetensors
Model size
5B params
Tensor type
BF16
·
U32
·
MLX
Hardware compatibility
Log In to add your hardware

Quantized

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Xylolabs/OmniEVIE-4B-MLX-4bit

Finetuned
Qwen/Qwen3.5-4B
Quantized
(3)
this model

Collections including Xylolabs/OmniEVIE-4B-MLX-4bit

Paper for Xylolabs/OmniEVIE-4B-MLX-4bit