[Paper Review] An Empirical Study on Post-processing Methods for Word Embeddings
This paper proposes a novel post-processing method for word embeddings that frames vector smoothing as shrinkage estimation of the word embedding Gram matrix toward a scaled identity matrix using Centralised Kernel Alignment (CKA) on a semi-Riemannian manifold. By optimizing a lower-bound objective derived from log-CKA, the method automatically determines the optimal shrinkage parameter, leading to improved performance on word and sentence similarity tasks without manual tuning of principal components, outperforming existing methods especially under data scarcity.
Word embeddings learnt from large corpora have been adopted in various applications in natural language processing and served as the general input representations to learning systems. Recently, a series of post-processing methods have been proposed to boost the performance of word embeddings on similarity comparison and analogy retrieval tasks, and some have been adapted to compose sentence representations. The general hypothesis behind these methods is that by enforcing the embedding space to be more isotropic, the similarity between words can be better expressed. We view these methods as an approach to shrink the covariance/gram matrix, which is estimated by learning word vectors, towards a scaled identity matrix. By optimising an objective in the semi-Riemannian manifold with Centralised Kernel Alignment (CKA), we are able to search for the optimal shrinkage parameter, and provide a post-processing method to smooth the spectrum of learnt word vectors which yields improved performance on downstream tasks.
Motivation & Objective
- To address the lack of principled, automatic methods for post-processing word embeddings to enhance similarity and analogy performance.
- To reframe existing post-processing techniques as shrinkage estimation of the underlying Gram matrix toward isotropic structure.
- To develop a data-driven, optimization-based approach that determines the optimal shrinkage parameter without relying on empirical heuristics like removing top principal components.
- To improve robustness and performance under low-data regimes by leveraging semi-Riemannian geometry and CKA-based similarity metrics.
- To provide a generalizable framework applicable beyond word embeddings, especially where Euclidean assumptions fail.
Proposed method
- Models post-processing as shrinkage estimation: combining the estimated Gram matrix from pretrained word vectors with a scaled identity matrix (target) via a mixing parameter β.
- Uses Centralised Kernel Alignment (CKA) as a similarity measure between the combined matrix and the oracle Gram matrix, invariant to isotropic scaling and rotation.
- Derives a lower bound on the logarithm of CKA (Eq. 2), which serves as the objective function for optimization.
- Optimizes the second-order derivative of the lower bound to find the optimal shrinkage parameter β⋆, ensuring spectrum smoothing.
- Performs optimization on the semi-Riemannian manifold of positive semi-definite matrices to respect the geometric structure of Gram matrices.
- Applies the method to skip-gram, CBOW, and GloVe word vectors, evaluating on word and sentence similarity benchmarks.
Experimental results
Research questions
- RQ1Can post-processing of word embeddings be systematically framed as shrinkage estimation of the Gram matrix toward isotropic structure?
- RQ2Does optimizing the shrinkage parameter via CKA-based similarity on a semi-Riemannian manifold yield better performance than heuristic methods like top-PC removal?
- RQ3How does the proposed method perform under data scarcity compared to existing shrinkage and post-processing baselines?
- RQ4Is the derived lower bound on log-CKA a reliable proxy for identifying optimal shrinkage parameters in practice?
- RQ5Can the method generalize across different pretraining algorithms (e.g., skip-gram, CBOW, GloVe) and embedding dimensions?
Key findings
- The proposed method achieves consistent and stable performance improvements across skip-gram and CBOW word embeddings, outperforming both top-PC removal and Ledoit-Wolf shrinkage on these models.
- On GloVe embeddings, the method performs slightly worse than top-PC removal but still provides meaningful gains, especially given its automatic parameter selection.
- Under limited training data, the method significantly outperforms both comparison methods in word similarity tasks, demonstrating robustness to data scarcity.
- The method’s performance is stable across varying embedding dimensions (200–600), showing scalability and generalization.
- The second-order derivative of the lower-bound objective effectively identifies the optimal shrinkage parameter β⋆, validating the theoretical derivation.
- The approach avoids manual selection of principal components, offering a principled alternative to heuristic post-processing techniques.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.