One Word Is Not Enough: Simple Prompts Improve Word Embeddings
Summary
A study demonstrates that prepending simple semantic prompts to isolated words substantially improves the performance of text embedding models on word similarity tasks. Evaluating 7 models, including text-embedding-3-large (OpenAI), embed-english-v3.0 (Cohere), and voyage-3 (Voyage AI), on benchmarks like SimLex-999, WordSim-353, and MEN-3000, researchers found prompts such as "meaning: word" increased Spearman correlations by up to +0.28 on SimLex-999. Some models initially failing (ρ ≈ 0) recovered significantly (+0.73 improvement). The best results achieved ρ=0.692 on SimLex-999 with embed-english-v3.0 and ρ=0.855 on MEN-3000 with text-embedding-3-large, surpassing classic static embeddings like Word2Vec (ρ=0.40) and LexVec (ρ=0.48) on SimLex-999. This zero-shot technique requires no training and is compatible with any text embedding model.
Key takeaway
For NLP Engineers or ML Scientists evaluating or deploying text embedding models for word-level semantic tasks, you should integrate simple semantic prompts. This zero-shot technique significantly boosts word similarity correlations, enabling models like text-embedding-3-large to achieve new benchmarks without retraining. Consider prepending phrases such as "meaning:" or "Represent the semantic concept:" to words to unlock superior performance for applications requiring precise lexical understanding.
Key insights
Simple semantic prompts significantly enhance word embedding performance on similarity tasks, even for models designed for sentences.
Principles
- Text embedding models often underperform on isolated words without context.
- Prompting can activate latent word-level semantic capabilities within sentence encoders.
- Zero-shot prompting can establish new benchmarks for pure embedding methods.
Method
Prepend semantic prompts like "meaning: word" or "Represent the semantic concept: word" to isolated words before generating their embeddings.
In practice
- Apply prompts to improve word similarity in retrieval or lexical analysis systems.
- Use prompted word embeddings for more accurate evaluation of model semantic understanding.
Topics
- Word Embeddings
- Text Embedding Models
- Semantic Similarity
- Prompt Engineering
- Zero-shot Learning
- Benchmarking
Best for: AI Engineer, Research Scientist, AI Scientist, Machine Learning Engineer, NLP Engineer
Related on AIssential
Editorial summary, takeaway, and curation by AIssential. Original article published by Paper Index on ACL Anthology.