Word2Vec is static (one vector per token, always the same); SBERT is contextual (one vector per sentence, sensitive to surrounding words).
Picture an old dictionary versus a smart reader. The dictionary lists one definition per word, so the word bank has one entry no matter what sentence it's in. The smart reader, by contrast, reads the entire sentence before deciding what bank means right here. If the sentence mentions a fishing trip, the reader pictures a river. If it mentions interest rates, the reader pictures a building. Word2Vec is the dictionary; SBERT is the smart reader. The two blanks are the labels for these two regimes.
Concept explanation~2 min read
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Concept explanation~2 min read
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
The two-blank fill captures one of the most consequential vocabulary distinctions in modern NLP. 'Static' and 'contextual' are the standard labels for an architectural split that separates pre-BERT embedding methodology from everything since.
This deep dive unpacks both terms precisely, explains why the distinction is architectural rather than merely chronological, and walks through the consequences for retrieval, polysemy, and production deployment.
Static: one token, one vector, forever
A static embedding is the simplest possible mapping from text to vectors: a lookup table. The training procedure produces a matrix where each row corresponds to a vocabulary token and the row's values are the token's vector. Inference is a hash lookup.
Word2Vec, GloVe, and FastText are the canonical examples. The training objectives differ: skip-gram, CBOW, matrix factorization, subword n-gram composition, but the artifact is the same: a token to vector table. The vector for 'bank' is one specific row of the matrix, and that row never changes at inference. Every appearance of the word, in every sentence, looks up the same row.
The term 'static' is the term of art for this property in the embedding literature. Synonymous phrasings: 'context-free', 'non-contextual', 'fixed', 'type-level' (as opposed to 'token-level'). All of these describe the same architectural commitment.
The regime has a clean operational profile. Inference is essentially free: a hash lookup is microseconds, not milliseconds. The storage cost is the table size, typically a few hundred MB for a 1M-token vocabulary at 300 dimensions. There's no GPU requirement, no batching considerations. For workloads where these properties dominate, static embeddings are the right tool.
Situations where this technique stops working.
2–4 min · Everything important, quickly.
Real products, models, and research that use this idea.
- Word2Vec on Google News (2013): the original static-embedding release that established the regime.
- FastText with character n-grams (Bojanowski et al., 2017): still static per-token but with subword composition for OOV.
What an interviewer would ask next. Try answering before peeking at the approach.
QAre there contextual representations that are NOT one vector per sentence?
Yes: ColBERT and other late-interaction models keep one contextual vector per token and compare them at retrieval time via MaxSim. This sits between the single-vector contextual pattern and the static per-token pattern, and it captures finer-grained matches at the cost of larger storage.
Red flags & common mistakes
The phrases that signal junior thinking. Click to expand.
Red flags & common mistakes
The phrases that signal junior thinking. Click to expand.
Filling the second blank with 'transformer-based' or 'sentence-level': both true but not the contrasting term. The clean opposite of 'static' in embedding terminology is 'contextual'.
60 second bullets to scan on the way to the call.
Term 'static' for context-free embeddings
Term 'contextual' for context-dependent embeddings
Primary sources. Browse if you want the original framing.
Same topic, related formats. Practice these next.