๐ข
Release Announcement
: All model weights, training pipelines, token compression algorithms (HAC), and evaluation suites have been fully open-sourced in this repository. Full technical details, architectural ablations, and the formal research paper will be updated in an upcoming release.
๐ Highlights
Top-Tier Benchmark Performance
:
66.75
on ViDoRe V3 for
EVIE-8B
and
66.02
for
EVIE-4.5B
with single-projection Prefix-MRL.
โก Prefix-MRL Elasticity
: Single 2048D linear projection. Freely truncate at runtime into ${64, 128, 256, 512, 1024, 2048}$ dimensions without separate models.
๐ฆ Ultra-Compact Index (HAC)
: Training-free Hierarchical Agglomerative Clustering compresses token counts from ~750 down to
32 vectors/page
, slashing index storage to
3.81 GiB per million pages
.
๐ 138 Multilingual Tasks Evaluated
: Thoroughly evaluated across ViDoRe V1, V2, V3, and JinaVDR across 4 metric families (nDCG, Recall, MAP, MRR @1/5/10).
๐ฌ ARD Distillation Recipe
: Anchor-preserving, capacity-aware relation distillation reproducing full student training from the 8B teacher.
Late-Interaction Multi-Vector Paradigm
: Unlike dense single-vector retrieval that collapses high-resolution document pages into a single point, EVIE preserves fine-grained visual details (complex tables, layout structures, charts, and small typography) through token-level representations, scoring relevance via late-interaction MaxSim:
S
(
Q
,
D
)
=
i
=
1
โ
โฃ
Q
โฃ
โ
j
=
1
max
โฃ
D
โฃ
โ
(
q
i
โ
โ
d
j
โ
)
Prefix-MRL (Single-Head Elastic Representation)
: EVIE-4.5B introduces single-projection Prefix-MRL. A single 2048D linear projection natively supports runtime truncation down to {64, 128, 256, 512, 1024, 2048} dimensions without maintaining multiple heads or separate checkpoints.
ARD (Anchor-preserving Relation Distillation)
: The 4.5B student is distilled from the 8B teacher using token-relation topological geometry, hard-negative margin calibration, and anchor-preserving alignment, maintaining peak retrieval accuracy even under low-dimensional prefixes.
HAC Token Compression (Hierarchical Agglomerative Clustering)
: A plug-and-play, training-free token reduction algorithm that aggregates visual patch tokens into 32 or 64 semantic centroids in joint feature-spatial space, reducing 1M-page index footprints to as little as
3.81 GiB
.
๐ Comprehensive ViDoRe Leaderboard Comparison
Performance comparison across modern multi-vector late-interaction visual document retrievers on ViDoRe:
EVIE-4.5B embeds document and query tokens with a single 2048D linear projection head trained via
ARD
. You can truncate the channel dimension on-the-fly without maintaining different models:
Raw late-interaction representations keep all visual patch vectors (~750 vectors/page), requiring substantial storage. EVIE integrates
Hierarchical Agglomerative Clustering (HAC)
in a joint semantic-position space to cluster page tokens at indexing time:
z
=
L2
[
(
1
โ
w
)
L2
(
v
)
+
wp
]
,
ฮผ
c
โ
=
L2
(
mean
i
โ
c
โ
v
i
โ
)
from sentence_transformers import MultiVectorEncoder
model = MultiVectorEncoder("tencent/EVIE-4.5B")
queries = [
"What is the variable represented on the y-axis of the graph?",
"Total outlay is maximum in which year?",
]
documents = [
"https://huggingface.co/datasets/sentence-transformers/example-documents/resolve/main/doc1.jpg",
"https://huggingface.co/datasets/sentence-transformers/example-documents/resolve/main/doc2.jpg",
"https://huggingface.co/datasets/sentence-transformers/example-documents/resolve/main/doc3.jpg",
"https://huggingface.co/datasets/sentence-transformers/example-documents/resolve/main/doc4.jpg",
]
query_embeddings = model.encode_query(queries)
document_embeddings = model.encode_document(documents)
print(query_embeddings[0].shape, document_embeddings[0].shape)
# torch.Size([23, 2048]) torch.Size([991, 2048])
scores = model.similarity(query_embeddings, document_embeddings)
print(scores)
# tensor([[17.2500, 7.6084, 6.7920, 4.8398],# [ 4.5312, 12.7812, 4.3530, 4.2368]])
Documents can be URLs, local image paths, or
PIL.Image
objects. The example returns the full 2048-dimensional token embeddings. Scores can vary slightly with dtype and attention backend. To use a smaller Prefix-MRL dimension, slice and renormalize:
from torch.nn.functional import normalize
dimension = 128
query_embeddings = [normalize(embedding[..., :dimension], dim=-1) for embedding in query_embeddings]
document_embeddings = [normalize(embedding[..., :dimension], dim=-1) for embedding in document_embeddings]
scores = model.similarity(query_embeddings, document_embeddings)
Student training executes Prefix-MRL plus ARD: capacity-aware relation distillation and margin distillation against frozen
EVIE-8B
, with a Preview-anchor term on the 128D prefix:
EVIE-4.5B huggingface.co is an AI model on huggingface.co that provides EVIE-4.5B's model effect (), which can be used instantly with this tencent EVIE-4.5B model. huggingface.co supports a free trial of the EVIE-4.5B model, and also provides paid use of the EVIE-4.5B. Support call EVIE-4.5B model through api, including Node.js, Python, http.
EVIE-4.5B huggingface.co is an online trial and call api platform, which integrates EVIE-4.5B's modeling effects, including api services, and provides a free online trial of EVIE-4.5B, you can try EVIE-4.5B online for free by clicking the link below.
tencent EVIE-4.5B online free url in huggingface.co:
EVIE-4.5B is an open source model from GitHub that offers a free installation service, and any user can find EVIE-4.5B on GitHub to install. At the same time, huggingface.co provides the effect of EVIE-4.5B install, users can directly use EVIE-4.5B installed effect in huggingface.co for debugging and trial. It also supports api for free installation.