Reproduce “Whitening Sentence Representations for Better Semantics and Faster Retrieval” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Jianlin Su, Jiarun Cao, Weijie Liu, Yangyiwen Ou
Researchers from Shenzhen Zhuiyi Technology and Tencent Research developed a post-processing method utilizing whitening transformation to enhance BERT-based sentence embeddings for semantic similarity tasks. This approach effectively mitigates embedding anisotropy and integrates dimensionality reduction, achieving competitive performance while significantly reducing storage and accelerating retrieval.
Key insights
- For cosine similarity to accurately reflect semantic relationships, sentence embeddings should ideally reside in an isotropic space, which is not inherently achieved by raw PLM outputs.
- A classical statistical technique like whitening can effectively resolve the complex anisotropy problem in deep learning embeddings with substantially less computational and implementation complexity than neural network-based transformations.
- Dimensionality reduction through whitening not only reduces storage and accelerates retrieval but can also improve semantic performance by focusing on salient features and mitigating noise.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.