Research map / Architectures and efficiency / Attention and transformers
KV-Embedding: Training-free Text Embedding via Internal KV Re-routing in Decoder-only LLMs
Yixuan Tang, Yi Yang
Hong Kong University of Science and Technology
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add KV re-routing of the final token's KV states as a prefix (ablation) | KV-Embedding (Mistral-7B) · MTEB average | score: 0.4502 -> 0.5341 | Improved |
| add KV re-routing (ablation) | KV-Embedding (Qwen3-4B) · MTEB average | score: 0.4096 -> 0.4937 | Improved |
| add KV re-routing (ablation) | KV-Embedding (Llama-3.1-8B) · MTEB average | score: 0.4513 -> 0.5270 | Improved |
| use KV-Embedding instead of Echo | Mistral-7B · MTEB average | score: 0.5008 -> 0.5341 | Improved |
| use KV-Embedding instead of Echo on long inputs | Mistral-7B · LoCoV1 (1024 tokens) | NDCG@10: 0.0627 -> 0.2165 | Improved |
| remove causal mask (bidirectional attention) instead of KV re-routing (ablation) | Qwen3-4B last-token embedding · MTEB average | score: 0.2721 -> 0.2228 | Hurt |
| remove causal mask (bidirectional attention) (ablation) | Mistral-7B last-token embedding · MTEB average | score: 0.3245 -> 0.2552 | Hurt |
| KV re-routing at early layers instead of ID-selected layers (ablation) | KV-Embedding (Qwen3-4B) · MTEB average | score: 0.494 -> 0.409 | Hurt |
| intrinsic-dimensionality layer selection instead of uniform thirds (ablation) | KV-Embedding (Mistral-7B) · MTEB average | score: 0.534 (7 layers) beats 10-layer middle third | Improved |
| attention bias b=1.0 instead of 0 (ablation) | KV-Embedding (Mistral-7B) · MTEB average | score: curve peaks at b=1.0 (figure) | Improved |
| hybrid (mean + last token) pooling instead of mean pooling (ablation) | KV-Embedding · MTEB | score: no numbers in text | Improved |
| vary prompt template (five variants) (ablation) | KV-Embedding · MTEB average | score: 0.529--0.540 | No clear effect |
Earlier methods this paper compares with
Named baselines from earlier accepted papers in this paper's results tables: better than 1 of 1 on most shared results.
- Echo — ECHO: Elastic Speculative Decoding with Sparse Gating for High-Concurrency Scenarios (ICML 2026) · better on 11 of 11 shared results
Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.
Open problems in KV cache eviction and compression
Does KV cache compression keep accuracy at tight budgets, larger scale and long context in real serving?
- Tested on models of about 8B parameters or fewer. · 26 papers state it
- Budgets and thresholds are set by hand or tuned per task or model. · 21 papers state it
- Implementations are unoptimized, so end-to-end speedups are unproven. · 18 papers state it
Closest papers by meaning
- Hierarchical Token Prepending: Enhancing Information Flow in Decoder-based LLM Embeddings (ACL 2026 · similarity 0.89)
- NV-Embed: Improved Techniques for Training LLMs as Generalist Embedding Models (ICLR 2025 · similarity 0.89)
- Training LLMs to be Better Text Embedders through Bidirectional Reconstruction (EMNLP 2025 · similarity 0.89)
- Causal2Vec: Improving Decoder-only LLMs as Embedding Models through a Contextual Token (ACL 2026 · similarity 0.89)
- Rep2Text: Decoding Full Text from a Single LLM Token Representation (NeurIPS 2026 · similarity 0.89)
- SqueezeAttention: 2D Management of KV-Cache in LLM Inference via Layer-wise Optimal Budget (ICLR 2025 · similarity 0.88)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.