Papers › Your UnEmbedding Matrix is Secretly a Feature Lens for Text Embeddings

Your UnEmbedding Matrix is Secretly a Feature Lens for Text Embeddings

5 Jun 2026arXiv:2606.07502added by Syntology

Songhao Wu, Zhongxin Chen, Yuxuan Liu, Heng Cui, Cong Li, Rui Yan

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Large language models exhibit impressive zero-shot capabilities across a wide range of downstream tasks. However, they struggle to function as off-the-shelf embedding models, leading to suboptimal performance on massive text embedding benchmarks. In this paper, we identify a potential cause underlying this deficiency. Our motivation stems from an unexpected observation: text embeddings tend to align with frequent but uninformative tokens when projected onto the vocabulary space. We argue that this excessive expression of high-frequency tokens suppresses the model's ability to capture nuanced semantics. To address this, we introduce EmbedFilter, a simple linear transformation designed to refine text embeddings derived from LLMs directly. Specifically, we uncover that the unembedding matrix within LLMs encodes a latent space that is actively writing these frequent tokens into embedding space. By filtering out this subspace, EmbedFilter suppress the influence of high-frequency tokens, thereby enhancing semantic representations. As a compelling byproduct, this enables an inherent dimensionality reduction, lowering index storage and speedup retrieval while fully preserving the refined embedding quality. Our experiments across multiple LLM backbones demonstrate that LLMs equipped with EmbedFilter achieve superior zero-shot downstream performance even with significantly reduced embedding dimensions. We hope our findings provide deeper insights into the mechanisms of LLM-based representations and inspire more principled designs to improve text embeddings training. Our code is available at https://github.com/CentreChen/EmbFilter.

PaperPDFCode Syntology ran

In Syntology For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2606.07502")

Code

Syntology Ran 10 of 10 code samples harvested from 1 repository linked to this paper; 0 have no recorded run. Of those that ran: 4 ran · our draft was wrong; 2 ran · fixture could not drive it; 4 ran with no contract checked.

By repository: found in paper text by Syntology: 10 samples from 1 repository, 10 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

CentreChen/EmbFilter found in paper text by Syntology report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

10 samples harvested; 10 ran; 0 honoured the contract we drafted; 0 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

4ran · our draft was wrong
2ran · fixture could not drive it
4ran

Licence: 0 of the 10 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from CentreChen/EmbFilter. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

repeat_kv CentreChen/EmbFilter/models/modeling_llama_lr.py found in paper text by Syntology ran · fixture could not drive it fingerprinted MIT (permissive) · 30d7eec482ebf6b1 · report
repeat_kv CentreChen/EmbFilter/models/modeling_mistral_lr.py found in paper text by Syntology ran · fixture could not drive it fingerprinted MIT (permissive) · 3c76e52815c5401d · report
apply_rotary_pos_emb CentreChen/EmbFilter/models/modeling_llama_lr.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · bac65c3dafaec040 · report
apply_rotary_pos_emb CentreChen/EmbFilter/models/modeling_mistral_lr.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · 583539efd6fd01fb · report
get_task_def_by_task_name_and_type CentreChen/EmbFilter/utils/utils.py found in paper text by Syntology ran fingerprinted MIT (permissive) · 5d60a98d819c120d · report
move_to_cuda CentreChen/EmbFilter/utils/utils.py found in paper text by Syntology ran MIT (permissive) · 4e0d14c07c0802cb · report
rotate_half CentreChen/EmbFilter/models/modeling_llama_lr.py found in paper text by Syntology ran · our draft was wrong fingerprinted MIT (permissive) · b99eea6376d1e212 · report
rotate_half CentreChen/EmbFilter/models/modeling_mistral_lr.py found in paper text by Syntology ran · our draft was wrong fingerprinted MIT (permissive) · e03d53ba9d4f9ae5 · report
transform_func CentreChen/EmbFilter/run4llama_echo.py found in paper text by Syntology ran MIT (permissive) · f57bbd7c84eda2f6 · report
transform_func CentreChen/EmbFilter/run4llama_prompteol.py found in paper text by Syntology ran MIT (permissive) · e5cb9efc5c41632a · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2606.07502, was issued in June 2026, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections