Static Word Embeddings for Sentence Semantic Representation
Takashi Wada, Yuki Hirakawa, Ryotaro Shimizu, Takahiro Kawashima, Yuki Saito
TL;DR
This work addresses the need for cost-efficient, fixed-length sentence representations by introducing static word embeddings (SWEs) optimized for sentence semantics. The method extracts SWEs from a pre-trained Sentence Transformer, refines them with sentence-level PCA using ABTT, and further improves quality via knowledge distillation or contrastive learning. Across monolingual and cross-lingual tasks, the proposed SWEs substantially outperform existing static models and even rival basic Sentence Transformer baselines on English benchmarks, while achieving strong cross-lingual translation retrieval performance. Analyses reveal that ABTT removes language-identity components and that the learned norms weight words by their semantic influence, offering practical benefits for CPU-friendly, scalable sentence representation.
Abstract
We propose new static word embeddings optimised for sentence semantic representation. We first extract word embeddings from a pre-trained Sentence Transformer, and improve them with sentence-level principal component analysis, followed by either knowledge distillation or contrastive learning. During inference, we represent sentences by simply averaging word embeddings, which requires little computational cost. We evaluate models on both monolingual and cross-lingual tasks and show that our model substantially outperforms existing static models on sentence semantic tasks, and even surpasses a basic Sentence Transformer model (SimCSE) on a text embedding benchmark. Lastly, we perform a variety of analyses and show that our method successfully removes word embedding components that are not highly relevant to sentence semantics, and adjusts the vector norms based on the influence of words on sentence semantics.
