A Simple Word Embedding Model for Lexical Substitution
Paper · 2015 · Oren Melamud, Omer Levy and Ido Dagan
Summary
A word can have several plausible replacements, yet only some preserve what it means in a particular sentence. Replacing acquire with learn may make sense when knowledge is involved; replacing it with buy is more appropriate when a company is involved. Lexical substitution asks a system to make this distinction: given a target word and its sentence, identify alternatives that retain the intended meaning. The task tests more than broad semantic similarity. A candidate must resemble the target in meaning while also fitting the situation expressed around it.
Oren Melamud, Omer Levy and Ido Dagan approach this problem by reusing a component of word embeddings that is frequently discarded. Their starting point is skip-gram, which learns representations for words and separate representations for the contexts in which those words occur. The usual output retains the word representations. The authors retain the context representations as well. This allows them to assess a proposed substitute through two kinds of evidence: its similarity to the original word, and its compatibility with the original word’s surroundings. Their contribution is a simple scoring procedure over these existing representations, instead of a separate mechanism for assigning a contextual representation to every occurrence.
The surroundings are represented through syntax. A candidate verb can be assessed against a context indicating that its direct object is company, rather than merely against the presence of company somewhere nearby. This choice follows the task’s demand for functional similarity: suitable replacements should perform a comparable linguistic role, rather than merely belong to the same subject area. The authors combine word similarity and contextual compatibility using arithmetic or geometric averaging. They also compare versions in which each context element contributes separately with versions that reserve equal overall influence for the target word and its complete context. These alternatives require no weighting parameter fitted to the substitution benchmarks.
The experiments cover two datasets and two substantially different decisions. In candidate ranking, the system orders a supplied collection of possible substitutes. In unrestricted prediction, it searches its vocabulary for suitable replacements. On the LS-SE candidate-ranking benchmark, the strongest proposed setting obtains a Generalized Average Precision score of 53.6, compared with 44.9 for a baseline that ignores the sentence. On LS-CIC, the best reported score among the proposed settings is 48.3, against 46.2 for that baseline. The authors report competitive results against earlier unsupervised approaches. A supervised comparison reaches 55.0 on LS-SE, but its use of annotated substitution data makes it a different experimental condition.
The most instructive result concerns the balance between meaning and context. Giving additional influence to contextual compatibility helps when candidates have already been selected as possible substitutes. Searching the full vocabulary changes that requirement: the balanced variants become stronger, because a word that fits the surrounding sentence can still fail to preserve the target’s meaning. Improvements are also clearer when evaluating a collection of proposed substitutes than when evaluating the leading prediction. The paper therefore supports a specific conclusion: retaining learned context representations provides a practical way to improve contextual substitution, while the best combination of evidence depends on how candidates enter the task. It does not establish that sentence context resolves every ambiguity, or that a strong ranking result guarantees equally strong unrestricted prediction.
Interesting ideas
Preserve useful intermediate representations. Training can produce information that remains valuable after the original learning objective has been satisfied. Here, representations of contexts provide a compatibility signal that the ordinary word vectors do not provide by themselves. The reusable idea is to inspect what a learning process already computes before constructing an additional component. In retrieval, classification or structured prediction, an internal representation might support a second comparison that complements the representation normally exposed to applications. Its usefulness must still be checked on the intended task; being available does not make it automatically appropriate.
Separate resemblance from admissibility. A candidate can resemble the item being replaced without fitting its particular use. It can also fit the surroundings while changing the meaning. The paper makes these requirements independently visible through target-to-target similarity and target-to-context compatibility. This separation applies wherever a proposal must both retain an original intention and satisfy local constraints: rewriting, search expansion and candidate selection are examples of possible transfers. Keeping the signals distinct makes it easier to diagnose whether an error comes from losing the original meaning or overlooking the environment.
Use relationships to define context. Nearby words are not equally informative, and their grammatical connection to the target can change what they imply. Representing company as the object of a verb provides a more specific condition than representing it as a nearby word. This principle is useful beyond substitution whenever the relevant evidence depends on who modifies, governs or participates with whom. A structural context can preserve the relation that makes an observation informative. The paper’s own implementation uses dependency relations, including their direction, to construct that evidence.
Control how evidence grows with context size. Adding more observed features can silently change the relative importance of a whole evidence source. In the unbalanced measures, a target with more syntactic contexts receives more total contextual influence. The balanced measures prevent that change by giving the target and the aggregate context equal standing. This is a reusable design question for systems that combine a fixed signal with a variable collection of observations. The right choice depends on whether additional observations should increase confidence, increase influence, or simply refine the same contribution.
Match score aggregation to the decision. Arithmetic and geometric averaging express different attitudes towards uneven evidence. Arithmetic averaging permits strength in some components to compensate for weakness elsewhere. Geometric averaging puts more pressure on a candidate to receive support across the components being combined. The authors test both instead of treating either as universally preferable. Similar choices arise when combining relevance, validity and compatibility scores. Their effects should be assessed under the final candidate conditions, because a combination that works after strong filtering may behave differently in an open search.
Evaluate candidate selection and candidate ranking separately. A supplied candidate set already contains information about the task. In these experiments, candidates come from human substitution annotations pooled across occurrences of a target. That makes ranking an informative but restricted test. The unrestricted task asks whether the system can find appropriate words without that assistance. This distinction applies to any pipeline where a later stage benefits from candidates selected elsewhere. Evaluating both stages reveals whether progress concerns discrimination among plausible answers or the harder problem of discovering those answers.
Inspect the whole output objective. A system can improve the coverage of its proposed alternatives while barely improving its leading answer. The paper’s prediction results show this distinction through its best and out-of-ten evaluations. The lesson is to connect metrics to the intended use: an application that presents several alternatives values different behavior from one that automatically commits to a replacement. A single headline score cannot establish both capabilities. Reporting complementary views helps identify what has actually improved and what remains unresolved.
Deep dive: A Simple Word Embedding Model for Lexical Substitution
How syntax-based word embeddings rank replacements in context, why balancing meaning and context matters, and what the experiments show. · about 37 minutes to read
How Mova uses it
Mova is a small, transparent language system implemented in Rust. The applications below are proposals, not reports of completed integration. Its use of this paper’s scoring rules, representations or evaluation procedures is unknown, and there are no Mova measurements here establishing their effects. The authors’ findings concern their lexical-substitution experiments. Each transfer remains a hypothesis until Mova implements it and evaluates the resulting behavior.
Idea: Retain useful representations from learning. Where: Introduction and Skip-gram Word Embeddings. Area: representation design. Mova could preserve separate representations for lexical items and the environments associated with them, if its learning procedure produces such representations. This might make additional compatibility judgments possible without training a separate contextual component. The proposal depends on what Mova actually computes; the paper does not establish that its existing representations have this structure.
Idea: Separate semantic resemblance from contextual fit. Where: Lexical Substitution Model. Area: lexical semantics. Mova could record an independent score for how closely a candidate resembles the original word and another for how well it fits the observed use. This would make proposed replacements easier to inspect. A reviewer could see whether a candidate succeeds through meaning preservation, environmental fit, or compensation between the two. Whether this improves selection in Mova is unknown.
Idea: Construct contexts from grammatical relationships. Where: Skip-gram Word Embeddings. Area: syntax. Mova could describe a target’s environment through its grammatical connections instead of treating every nearby word as equivalent evidence. A noun connected as an object would then impose a different condition from the same noun appearing in another role. This could help preserve the relation that makes a context informative, provided Mova can identify those relations reliably.
Idea: Preserve relation direction. Where: Skip-gram Word Embeddings, the description of modifier and head contexts. Area: syntax. The paper distinguishes a modifier’s relation to its head from the corresponding inverse relation. Mova could retain that distinction when storing grammatical evidence. This might prevent contexts with the same words but different structural roles from becoming indistinguishable. Its benefit would depend on the tasks and the quality of Mova’s structural analysis.
Idea: Retain prepositions within informative relations. Where: Evaluation, Compared methods. Area: data representation. The authors collapse dependencies involving prepositions during preprocessing. Mova could investigate whether representing the prepositional connection together with its associated word makes contextual constraints more useful. This would be a concrete representation experiment, instead of an assumption that every grammatical detail deserves separate storage. The paper reports its chosen processing procedure without isolating this decision’s contribution.
Idea: Prefer functional compatibility when suggesting replacements. Where: Skip-gram Word Embeddings and Lexical Substitution Model. Area: lexical semantics. Mova could distinguish words that can perform similar linguistic work from words that are merely associated with the same subject matter. This may help prevent a related noun from being proposed where a comparable verb is needed. The paper motivates syntax-based representations through this distinction, but Mova would need its own evidence that the distinction is captured.
Idea: Make the effect of context size explicit. Where: Lexical Substitution Model, the comparison of balanced and unbalanced measures. Area: mathematics. Mova could inspect whether adding grammatical observations unintentionally increases context’s authority over the original lexical meaning. An explicit balance would make that behavior reviewable. This is useful wherever a fixed lexical signal is combined with a variable amount of surrounding evidence; the appropriate balance remains task dependent.
Idea: Compare compensatory and jointly demanding aggregation. Where: Lexical Substitution Model, the discussion of arithmetic and geometric means. Area: mathematics. Mova could compare a score that allows strong evidence to offset weak evidence with a score that penalizes uneven support more strongly. This might clarify whether a proposed analysis needs broad compatibility or merely sufficient overall support. The paper supplies alternative combinations, but it does not establish which would suit Mova’s decisions.
Idea: Transform scores before multiplicative combination. Where: Lexical Substitution Model, the definition of pcos in Table 1. Area: mathematics. The authors shift and rescale cosine values before taking products so that negative values do not interfere with the intended aggregation. If Mova combines signed similarity measures multiplicatively, it could make this transformation explicit and inspect its consequences. The proposal is conditional on using such scores and does not imply that transformed scores are probabilities.
Idea: Keep an uncomplicated reference implementation. Where: Lexical Substitution Model, the decision to avoid tunable weights. Area: experimental design. Mova could begin with fixed, inspectable combinations before introducing fitted weighting rules. This would provide a clear reference for judging whether added complexity helps. The authors’ results show that simple combinations can be competitive in their setting; they do not imply that fixed weighting is always sufficient.
Idea: Evaluate with supplied candidates and unrestricted candidates. Where: Evaluation, Candidate ranking task and Substitute prediction task. Area: evaluation. Mova could test a replacement component both when plausible alternatives are supplied and when it must discover them itself. This would reveal whether a successful score depends on an earlier stage already excluding unsuitable words. The distinction could also help localize errors between candidate discovery and final ordering.
Idea: Treat human-derived candidate pools as experimental assistance. Where: Evaluation, Candidate ranking task. Area: evaluation design. The paper constructs candidate sets by pooling annotated substitutes across occurrences of a target type. Mova could document equivalent assistance whenever an assessment supplies candidates from accepted answers. This would make the test easier to interpret and prevent a ranking result from being mistaken for evidence about unrestricted discovery.
Idea: Use a context-insensitive baseline. Where: Evaluation, Compared methods. Area: evaluation. Mova could compare every contextual replacement procedure against a version that uses only the original word. This would establish whether the surrounding sentence adds practical value beyond lexical resemblance. The paper’s Base comparison is especially useful because it shares the underlying word representations with the contextual approaches, making the role of context more visible.
Idea: Include a random ranking reference. Where: Evaluation, Table 3. Area: statistics and evaluation. A random ordering provides a basic reference for interpreting candidate-ranking scores. Mova could use the same principle where a metric’s absolute value is otherwise difficult to understand. Such a reference would not replace a strong baseline, but it could show whether an apparently non-zero score reflects useful discrimination or merely properties of the candidate pool.
Idea: Evaluate more than the leading answer. Where: Evaluation, Substitute prediction task and Table 4. Area: evaluation. Mova could measure the quality of its preferred replacement separately from the coverage of a collection of suggestions. This would help connect evaluation to actual use: automatic editing requires confidence in the selected word, while a suggestion interface may benefit from several acceptable alternatives. Improvement on either objective would not establish improvement on the other.
Idea: Preserve graded human support. Where: Evaluation, Lexical substitutions datasets. Area: annotation and evaluation. The paper’s references assign weights to lemmatized substitutes instead of treating all accepted alternatives as equally supported. Mova could retain comparable distinctions if its evaluation data contains them. This might distinguish a broadly agreed replacement from a more marginal acceptable choice. The suitability of any weighting scheme would depend on how the annotations were collected.
Idea: Evaluate ambiguity-focused and naturally distributed material. Where: Evaluation, Lexical substitutions datasets. Area: dataset design. Mova could distinguish tests that deliberately concentrate on ambiguous words from tests that cover content words as they occur in continuous material. The paper reports different gains across these conditions. Using both could reveal whether a contextual mechanism mainly helps difficult lexical ambiguities or also benefits more ordinary distributions of usage.
Idea: State output exclusions explicitly. Where: Evaluation, Candidate ranking task and Substitute prediction task. Area: evaluation coverage. Mova could document whether its replacement system supports multiword expressions and how unsupported answers affect evaluation. The paper removes such answers in one task setting but cannot generate them in the other. Making this boundary explicit would prevent a single-word implementation from appearing to cover the full space of meaning-preserving rewrites.
Idea: Audit inflection and lexical identity separately. Where: Lexical Substitution Model, Table 2. Area: morphology and data processing. The examples for employ contain inflected forms alongside other lexical alternatives. Mova could inspect whether its candidates represent a different lexical choice or merely another form of the original word. This might improve the clarity of suggestions and error analysis. The paper illustrates the issue but does not provide a controlled study of a remedy.
Idea: Check preprocessing for representation coverage. Where: Evaluation, Compared methods. Area: data processing. Lowercasing and frequency filtering shape the words and contexts for which the authors have vectors. Mova could track which assessment items lose usable evidence under its own normalization and filtering decisions. This could separate failures of scoring from failures of representation coverage. The paper gives its thresholds but does not quantify every resulting coverage limitation.
Idea: Inspect interpretable intermediate scores. Where: Lexical Substitution Model, Figure 2 and Table 1. Area: interpretability. Mova could expose the candidate’s similarity to the target alongside its compatibility with individual grammatical contexts. Such a display would help explain why a word was preferred without reducing the explanation to a single unexplained value. Whether those component scores correspond to useful human judgments would still require evaluation.
Idea: Use contextual contrasts for qualitative inspection. Where: Lexical Substitution Model, Table 2. Area: analysis. Mova could hold a target word fixed while changing one informative context and examining the resulting alternatives. The paper’s jaguar, cool and employ examples make this kind of inspection concrete. It could reveal whether a mechanism responds to relevant relationships, although illustrative successes would remain insufficient evidence of general accuracy.
Idea: Adapt weighting to the candidate source. Where: Conclusions. Area: task design. Mova could investigate whether candidate sets assembled by a trusted lexical process require a different balance from a search over its full vocabulary. The authors propose task-specific weighting because their ranking and prediction results favor different choices. Any adapted weight in Mova would need separate development and evaluation rather than being justified solely by this paper.
Idea: Explore other compatible representation families cautiously. Where: Introduction, the note on alternative embeddings, and Conclusions. Area: representation design. The authors suggest extending the approach to methods that also provide word and context representations. Mova could investigate that abstraction if it uses a suitable representation family. The transferable requirement is an interpretable comparison between items and environments; successful transfer beyond the tested skip-gram setting remains unestablished.
The problem and its context
Replacement requires more than association
Lexical substitution is a demanding form of lexical semantics because the system must preserve a word’s meaning within an actual use. A general similarity judgment can be forgiving: related words may receive credit even when they cannot replace each other. Substitution imposes a more specific requirement. A candidate needs to occupy the target’s place without introducing an inappropriate interpretation.
The paper uses the difference between functional similarity and topical relatedness to explain its choice of representations. Manage and supervise illustrate a relationship relevant to replacement. Manage and manager illustrate relatedness that does not by itself support interchangeability. The words can concern a shared activity while playing different linguistic roles. A useful substitution procedure therefore needs a notion of similarity aligned with the intended operation.
Ambiguity makes the requirement more difficult. A representation learned for a word type summarizes evidence across its occurrences. It does not automatically distinguish what the word means in the current sentence. The target acquire can be close to learn in a general embedding space, but an occurrence connected to company calls for a different judgment. The sentence does not merely supply additional related words; it selects which aspect of the target matters.
This is why lexical substitution became an evaluation setting for context-sensitive lexical inference. The SemEval lexical-substitution task asked systems to produce alternatives grounded in a particular sentence. According to the paper, subsequent work largely approached the problem without supervised substitution training. The challenge was to recover context-sensitive behavior from corpus evidence and a scoring procedure.
Earlier approaches changed the representation of the occurrence
The authors describe earlier systems that first constructed a representation of the target occurrence adjusted toward its context. Candidate substitutes were then compared with this adjusted representation. They identify several families of approaches: sparse syntax-based vectors, probabilistic graphical approaches and approaches using latent topics. The common theme was to build some account of the word as used in its sentence before deciding which replacements were appropriate.
Word embeddings offered another starting point. They represented word types with compact vectors and had become useful across semantic tasks. The paper focuses on skip-gram, associated with Efficient Estimation of Word Representations in Vector Space. Its attraction for the authors is not merely that it provides word vectors. The learning procedure also provides context vectors that can participate directly in a contextual decision.
Other cited work pursued contextual distinctions through multiple representations for a word. Improving Word Representations via Global Context and Multiple Word Prototypes and Efficient Non-parametric Estimation of Multiple Embeddings per Word are discussed as approaches that induce distinctions by grouping contexts and learning separate representations. Selecting relevant induced senses can then support a contextual comparison.
The authors distinguish their task from the evaluations reported for those approaches. As they describe it, those studies had addressed more permissive similarity judgments that could include topical relationships. The present paper instead tests whether an alternative word preserves meaning well enough to serve as a substitute. It does not introduce a clustering procedure or require an explicit inventory of induced senses.
Earlier evaluations often supplied the candidates
The history of the task also matters for interpreting results. The original participating systems used manually assembled thesauri to propose candidates and then ranked them according to the sentence. Later evaluations frequently concentrated on the ranking stage. The candidate pool could be supplied as part of the experimental setup, leaving the contextual procedure to choose among possibilities already associated with the target.
That restriction is useful for studying contextual discrimination. If the same target appears with different meanings, the system must move the appropriate candidates upward for each occurrence. Yet the candidate collection has already excluded much of the vocabulary. A system can succeed at this restricted decision without demonstrating that it can locate suitable replacements among all available words.
The paper addresses both conditions. Its ranking experiment follows established benchmark practice, while its prediction experiment removes the supplied candidate pool. This is not a minor change in presentation. It changes how much responsibility the target-similarity component must carry, and it ultimately explains why the preferred balance between target and context differs across tasks.
The method, step by step
Start with two kinds of learned representation
Skip-gram learns from the relationship between a target word and its observed contexts. The authors describe a shared vector space in which words and contexts that occur together are drawn toward one another. A word representation and a context representation therefore support a direct compatibility comparison. A candidate verb can be compared with a context describing a particular object, for example.
The same training process also produces a different kind of relationship among word representations. Words that appear in similar contexts tend to receive similar vectors. Comparing two word vectors can therefore indicate similarity based on their distributions of usage. This is indirect evidence: the words resemble one another because their relationships to contexts resemble one another.
The paper calls the direct word–context relationship first-order and the word–word relationship second-order. These terms describe how the evidence is obtained. Direct compatibility asks whether a word belongs with a particular observed environment. Distributional similarity asks whether words have comparable patterns of environments. The substitution score needs both because neither requirement subsumes the other.
This distinction is central to distributional semantics, but the contribution here is operational. The authors do not need to infer contextual compatibility from word vectors alone. They retain the context vectors learned alongside them and compare candidates directly with those vectors.
Encode grammatical contexts
The implementation uses word2vecf, which extends the word2vec skip-gram implementation to accept arbitrary context definitions. Rather than restricting the learning data to nearby words in a fixed window, it can learn from contexts assembled through syntax. That makes it possible to connect the representation to grammatical relationships relevant to substitution.
A target’s contexts include its modifiers and its head. Each context contains a word together with the dependency relation linking it to the target. When the target is the dependent instead of the head, the relation is marked as inverse. The direction distinguishes different roles that would otherwise share the same relation label.
The paper’s construction can be written as follows:
C = {(m₁, r₁), …, (mₖ, rₖ), (h, rₕ⁻¹)}
C is the collection of context elements for the target. Each mᵢ is one of its modifiers, and rᵢ identifies the corresponding dependency relation. The index i selects a modifier from the sequence ending at k. The symbol h denotes the target’s head. The expression rₕ⁻¹ marks the relation viewed in the inverse direction, from the target towards that head.
This is a representation of grammatical evidence, not an instruction to treat a sentence as an unordered bag of words. The context dobj company contains both the noun and its role as a direct object. The candidate is assessed for compatibility with that combined condition. The word company alone would provide less information about what kind of replacement is required.
The authors connect this choice with earlier syntax-based semantic spaces, including Dependency-Based Construction of Semantic Space Models. Their motivation is that dependency contexts tend to favor functional resemblance. That is the resemblance a replacement task needs.
From corpus evidence to contextual substitutes
The steps in order.
Compare every candidate with both evidence sources
Let s be a candidate substitute, t the target word and C the target’s contextual elements in the current sentence. The method computes similarity between s and t using their word vectors. It also computes similarity between s and every context element c in C, using the candidate’s word vector and the context’s learned vector.
All these comparisons use cosine. In this setting, cosine expresses the alignment between representations. The important point is what is being compared: two word representations for semantic resemblance, or a word representation and a context representation for compatibility. Applying the same mathematical comparison does not make those interpretations identical.
The example involving acquire illustrates why both are useful. Learn may be especially close to the target’s word representation. Buy need not win that isolated comparison to become the better substitution once the direct-object context involving company is considered. The method prefers a compromise between preserving the target’s meaning and fitting its actual use.
No explicit sense label is assigned in this process. The sentence’s grammatical contexts influence the candidate score directly. This keeps the inference procedure simple, although it also means the approach’s account of the occurrence is limited to the evidence represented by those contexts.
Combine the scores with an arithmetic mean
The Add variant gives the target comparison and every context comparison equal individual standing:
Add(s, t, C) = [cos(s, t) + Σc∈C cos(s, c)] / (|C| + 1)
Add is the resulting substitution score for candidate s, target t and context collection C. The function cos compares their vector representations. The summation symbol Σ adds the candidate’s similarity to every element c belonging to C. The expression |C| is the number of context elements. Adding 1 includes the target comparison in the count used for averaging.
This means that the target contributes one component while each context contributes another. A target with several available contexts gives the contextual evidence several opportunities to influence the result. That may be desirable if the candidates are already plausible replacements and the principal remaining job is to determine which meaning the sentence requires.
The balanced arithmetic variant changes the allocation of influence:
BalAdd(s, t, C) = [|C| · cos(s, t) + Σc∈C cos(s, c)] / [2 · |C|]
BalAdd names the balanced additive score. The symbols s, t, C, c, cos and Σ have the same roles as above. The multiplication sign · scales the target comparison by the context count |C|. The denominator contains 2 because the score gives equal aggregate standing to the target component and the contextual component.
The conceptual difference is straightforward. Add lets the amount of context affect how much total contextual influence there is. BalAdd treats the available contexts as a collection whose overall influence should remain balanced against the target. Neither choice says that context is unimportant. They differ over whether having more contextual elements should increase its relative authority.
Prepare cosine values for multiplication
The multiplicative variants use a transformed version of cosine:
pcos(v, v′) = [cos(v, v′) + 1] / 2
The vectors v and v′ are the representations being compared. The prime distinguishes the second vector from the first. The function cos is cosine similarity, and pcos is the shifted and rescaled value used in the products. The constants 1 and 2 move the similarity values away from the negative range that ordinary cosine can occupy.
This transformation supports the intended geometric averaging. It does not turn the quantities into estimated probabilities. The paper uses them as non-negative similarity components, allowing products to express a stronger requirement for support across the target and context comparisons.
Combine the scores with a geometric mean
The unbalanced multiplicative variant is:
Mult(s, t, C) = [pcos(s, t) · Πc∈C pcos(s, c)]^(1 / (|C| + 1))
Mult is the multiplicative substitution score. The function pcos is the transformed cosine just defined. The product symbol Π multiplies the candidate’s compatibility values across every context element c in C. The exponent 1 / (|C| + 1) takes the geometric mean over the target comparison and the context comparisons.
Compared with arithmetic averaging, this combination is less forgiving of a candidate that receives uneven support. A strong target match does not as readily compensate for a poor contextual match. The authors describe this as a more conjunctive decision: a candidate should be supported by the target and by the context elements instead of prospering through strength in only part of the evidence.
The balanced geometric variant is:
BalMult(s, t, C) = [pcos(s, t)^|C| · Πc∈C pcos(s, c)]^(1 / (2 · |C|))
BalMult names the balanced multiplicative score. Raising the target comparison pcos(s, t) to |C| gives it the same aggregate standing as the collection of context terms. The exponent 1 / (2 · |C|) supplies the corresponding geometric averaging. The remaining symbols retain their earlier meanings.
The arithmetic-versus-geometric choice and the balanced-versus-unbalanced choice are independent design decisions. The former controls how readily strength can compensate for weakness. The latter controls how target similarity compares with the aggregate contextual evidence. Testing both dimensions makes the consequences of each visible without fitting an interpolation parameter.
Learn the representations from a parsed corpus
The learning corpus is ukWaC, described as containing two billion words drawn from the web. The authors parse it with the Stanford dependency parser described in A Fast and Accurate Dependency Parser using Neural Networks. They also parse the sentences in the substitution datasets so that training and assessment provide the same kind of grammatical context.
Training uses word2vecf with 600 dimensions and a negative-sampling setting of 15. Tokens are lower-cased. Words and syntactic contexts occurring less than 100 times are excluded, and dependencies containing prepositions are collapsed. The resulting inventories contain about 200K word representations and 1M context representations. The paper also states that the learned embeddings are made available.
These settings define the evidence accessible to the scoring procedure. Lowercasing determines which surface distinctions are preserved, frequency filtering determines which items receive representations, and dependency processing determines the identity of a context. The paper holds this representation pipeline fixed while comparing the substitution measures.
At evaluation time, the procedure extracts the grammatical contexts of the target occurrence, computes the relevant word and context similarities, and applies the chosen combination. It can then order a supplied set of candidates or score vocabulary words for unrestricted prediction. The simplicity lies in this inference procedure and the reuse of trained representations; preparing the corpus still requires parsing and embedding training.
Experiments and results
Two datasets with different distributions of targets
The experiments use LS-SE and LS-CIC. Both provide target words in sentences and human substitutes for their contextual meanings. Their construction differs in a way that matters for interpreting how much context should help.
LS-SE comes from the SemEval lexical-substitution task. For each of 201 targets, it contains 10 sentences drawn from a web corpus. The targets include nouns, verbs, adjectives and adverbs. Of the 2,010 contextual occurrences in total, 300 are trial sentences and 1,710 are test sentences. Each occurrence has a human-annotated reference containing lemmatized substitutes with weights.
A lemma groups the lexical identity represented by related inflected forms. In this evaluation, the reference is therefore not simply an unweighted list of surface strings. The weighting also retains information about human support for alternatives. The paper relies on the task’s evaluation procedures instead of treating every proposed word as an equally endorsed answer.
LS-CIC comes from the Concepts in Context dataset. Rather than selecting particular words with an emphasis on ambiguity, it annotates content words across documents from news and fiction. It contains over 15K target occurrences. The paper describes this as a more natural distribution of targets than LS-SE’s deliberately selected set.
These differences prevent a simple reading in which every score measures exactly the same challenge. A contextual system has more opportunity to outperform a context-insensitive system when the dataset emphasizes words that require disambiguation. The authors use the contrast between the datasets to interpret the different gains they observe.
Ranking candidates supplied by the benchmark
For the ranking task, the candidate pool for a target type is built by collecting the annotated substitutes across its occurrences. The type is defined by a word’s lemma together with its part of speech. A candidate can therefore be appropriate for another occurrence of that target while being wrong for the present sentence.
The evaluation removes multiword substitutes and excludes occurrences left without an accepted substitute after that removal. This follows the comparison setting used in earlier ranking work. It narrows the assessment to single-word alternatives and ensures that every remaining occurrence has a reference against which an ordering can be judged.
Rankings are assessed with Generalized Average Precision, abbreviated GAP. It evaluates the ordering against the weighted reference. The paper names the metric and reports its scores but does not reproduce its full mathematical definition. Higher scores indicate a better ranking under that procedure.
Base is the central controlled comparison. It uses cosine between the target and candidate word representations while ignoring the sentence. Because it shares the learned word representations with the contextual variants, it provides a direct reference for whether retaining context information helps. Random ordering supplies an additional basic reference.
Candidate ranking on LS-SE, measured by GAP
Mult leads the proposed settings and the unsupervised comparisons shown, while the supervised result is higher.
The numbers
| System or setting | GAP |
|---|---|
| Random | 30.0 |
| Base | 44.9 |
| Moon | 47.1 |
| Ó Séaghdha | 49.5 |
| Kremer | 52.5 |
| Add | 52.9 |
| Mult (this paper) | 53.6 |
| Szarvas, supervised | 55.0 |
The omitted balanced settings obtain LS-SE GAP scores of 51.5 for BalMult and 50.3 for BalAdd. All the proposed variants outperform Base, and the authors characterize those gains as significant. Among their variants, the unbalanced settings are stronger on this dataset, while multiplication has an advantage over addition within the corresponding balance condition.
The earlier comparisons require attention to their resources. The Kremer result is a reimplementation of Thater’s approach and uses Gigaword. The Ó Séaghdha comparison uses Wikipedia and the British National Corpus. Moon’s result uses ukWaC, the British National Corpus and WordNet. These are not identical training conditions, even though the benchmark metric makes the reported outcomes comparable as task results.
The LS-SE table also includes a Szarvas result of 46.7 using Gigaword and WordNet, alongside the supervised result displayed in the chart. The supervised setting uses LLC and WordNet and is evaluated with 10-fold cross validation over the annotated LS-SE material. The authors explicitly separate it from their unsupervised approach. Its stronger score therefore does not contradict their claim about competitiveness under unsupervised conditions.
Candidate ranking on LS-CIC, measured by GAP
Contextual scoring improves on Base, while the proposed combinations remain close to one another.
The numbers
| System or setting | GAP |
|---|---|
| Random | 33.8 |
| Base | 46.2 |
| Kremer | 47.8 |
| BalAdd | 48.0 |
| Mult | 48.1 |
| BalMult | 48.3 |
| Add (this paper) | 48.3 |
On LS-CIC, the contextual variants remain closely grouped. Add shares the strongest reported score with BalMult. The gains over Base are less pronounced than on LS-SE. The authors connect this pattern to the different target selection: LS-SE concentrates more heavily on ambiguity, whereas LS-CIC covers content words more naturally.
This interpretation concerns the relationship between dataset construction and observed usefulness. It does not show that every selected ambiguous word benefits from context, or that context is unnecessary for naturally occurring targets. The reported results are aggregate outcomes for these datasets.
Predicting substitutes from the vocabulary
The second task removes the candidate list. The system must find suitable alternatives within its word vocabulary. This expands the responsibility of the scoring rule: it can no longer assume that an external process has already limited the decision to words with a plausible connection to the target.
The paper reports the original task’s best and best-mode evaluations, which focus on the preferred predictions. It also reports oot and oot-mode, where oot means out of ten and concerns coverage by the leading ten suggestions. These complementary evaluations distinguish the quality of the leading choice from the usefulness of a collection of alternatives.
The reported values are recall scores. The authors explain that recall and precision coincide for the participating procedures under their condition of producing substitutions for every assessed occurrence. They do not give the complete definitions of the task variants, so the results should retain their official metric names instead of being relabeled as generic accuracy.
The principal external comparison is BR-2013, from Text: now in 2D!. That approach learns a syntax-based distributional thesaurus from corpus data, generates candidates through it, and then orders them using context. Its learning data combines Gigaword with LLC, which the authors describe as similar in size to their own corpus. The paper identifies it as the prior corpus-only comparison reporting this prediction evaluation on LS-SE.
Unrestricted prediction on the LS-SE test-set, measured by oot
Balanced scoring produces stronger coverage than the unbalanced variants and remains comparable with BR-2013.
The numbers
| System or setting | oot recall |
|---|---|
| Mult | 23.16 |
| Base | 23.38 |
| Add | 25.52 |
| BalAdd | 27.42 |
| BR-2013 | 27.48 |
| BalMult (this paper) | 27.65 |
The LS-SE best results are 6.64 for Mult, 8.09 for BalMult, 7.37 for Add and 8.14 for BalAdd. Base obtains 7.81. These values show why the paper distinguishes leading-answer performance from broader coverage: the balanced variants provide only limited improvement over the context-insensitive reference on this view.
For LS-SE best-mode, Mult scores 10.89 and Add scores 12.11. BalMult, BalAdd and Base each obtain 13.41. Under oot-mode, Mult reaches 33.58, Add reaches 36.59, BalMult reaches 39.19 and BalAdd reaches 39.11. Base scores 33.98, while BR-2013 scores 37.19. The authors characterize their overall prediction performance as comparable with BR-2013.
LS-CIC shows the same broad preference for balancing. Its best scores are 4.08 for Mult, 5.51 for BalMult, 4.82 for Add and 5.62 for BalAdd, with Base at 5.17. For best-mode, the corresponding proposed scores are 8.36, 11.72, 9.97 and 11.89; Base reaches 10.93. The ordering favors balanced combinations, but the leading-answer improvement remains limited.
For LS-CIC oot, Mult scores 15.07 and Add scores 17.11, whereas BalMult obtains 19.59 and BalAdd obtains 20.03. Base scores 18.01. The oot-mode values are 26.02 for Mult, 29.48 for Add, 33.32 for BalMult and 33.75 for BalAdd, compared with 30.29 for Base. The paper reports no earlier LS-CIC result for this unrestricted prediction setting.
The authors describe the balanced variants as significantly stronger than the unbalanced variants in prediction. They also report a significant advantage over Base on the oot evaluations, while emphasizing the small gains on the best evaluations. This is a qualified result: context improves the useful coverage of suggestions more convincingly than it improves the preferred individual answer.
Both this approach and BR-2013 fail to generate multiword substitutes. Unlike the ranking preparation, which removes such reference answers, the prediction discussion explicitly acknowledges that these answers remain outside the procedures’ capabilities. The system’s single-word vocabulary therefore sets a substantive boundary on what it can recover.
What the ablations show
The comparisons isolate scoring choices
The paper does not present a broad ablation suite covering every representation and preprocessing decision. Its main controlled analysis compares the same learned representations under different substitution scores and against a context-insensitive baseline. That design answers a narrower but important question: what changes when the learned context vectors are actually used at decision time?
Base retains word similarity and removes sentence-specific compatibility. Its weaker ranking performance supports the usefulness of adding contextual evidence within this shared setup. Because the word vectors remain fixed, the gain cannot simply be attributed to training an completely different lexical representation for the contextual conditions.
The interpretation should remain local to the comparison. The experiments do not establish that these context vectors are the only way to obtain the gain, or that a different contextual procedure could not perform better. They establish that information already learned for contexts can improve the decision when combined with word similarity.
Balance depends on how the candidates were obtained
The clearest controlled contrast concerns balanced and unbalanced measures. On LS-SE ranking, the unbalanced variants have the advantage. Under that setup, the candidate pool has been assembled from human substitutes for occurrences of the same target. Candidates already possess a reason to be associated with the target, even if they belong to a different use.
Giving stronger influence to the current sentence can therefore be helpful. The target-similarity requirement has partly been enforced by candidate construction. The remaining task places particular value on contextual discrimination: among alternatives linked to the target, which fit this occurrence?
In unrestricted prediction, that implicit filter disappears. Vocabulary words may fit the environment while failing to preserve the target’s meaning. The balanced measures perform better because they maintain the target’s overall contribution against the contextual collection. This provides an empirical reason to treat candidate provenance as part of score design.
The paper’s interpretation is not that target resemblance should always outweigh context. Rather, equal aggregate influence is a robust choice across its prediction conditions, whereas added contextual emphasis can help after candidate restriction. The conclusions suggest a tunable interpolation as future work precisely because the favorable balance changes with the task.
Multiplication imposes a different requirement
The additive and multiplicative comparisons examine whether candidates benefit from strong overall support or need more even support across components. Arithmetic averaging can tolerate a poor contribution if other contributions compensate. Geometric averaging makes such unevenness more consequential.
On LS-SE ranking, the multiplicative versions perform somewhat better than their additive counterparts. That is consistent with a benefit from requiring contextual compatibility together with target similarity. Yet the remaining results do not support a universal preference for multiplication.
LS-CIC ranking places the proposed settings close together, and its strongest score is shared by an additive and a multiplicative variant. In prediction, the balanced additive and balanced multiplicative approaches behave similarly overall. The empirical lesson is therefore conditional: aggregation matters, but balancing the evidence is a more consistent distinction in the unrestricted setting.
Dataset construction changes the apparent value of context
The contextual gain over Base is larger on LS-SE than on LS-CIC. The authors attribute this to the deliberate ambiguity of LS-SE’s target selection. If a dataset emphasizes words with substantially different uses, a representation that merges those uses has more opportunity to make the wrong local choice.
LS-CIC includes naturally occurring content words instead of selecting targets on the same ambiguity-focused basis. A context-insensitive similarity score can consequently be competitive on more occurrences. That does not make the dataset easier in every respect; it changes the kind of improvement a contextual mechanism can demonstrate.
This comparison is valuable for evaluation design. The same method may appear much more transformative on a collection designed to expose ambiguity than on material reflecting a broader distribution of lexical uses. Both results can be correct, provided the reader keeps the target population in view.
Qualitative examples show response, not general reliability
The example substitutions offer a more concrete view of the mechanism. With jaguar, a context involving an engine favors vehicle-related alternatives, while a context involving paws favors animals. The target is held fixed, and the grammatical environment changes which region of its possible uses receives support.
The examples for cool similarly distinguish an outfit-related use from a weather-related use. With employ, the alternatives change between a context involving a technique and one involving a specialist. These examples show how a single informative grammatical relationship can influence the candidate ordering.
They also reveal output complications. The employ lists include inflected forms such as employs, employing and employed. A list can therefore respond to context while still containing forms that are not useful lexical alternatives in the intended sense. This is visible evidence about the output, though the paper does not turn it into a separate quantitative analysis.
The geometric illustrations provide another kind of explanation. The paper visualizes word and context relationships using t-SNE, and its acquire example depicts how a context can favor buy over a closer target-only neighbor. Such figures explain the scoring intuition. They do not replace the benchmark evidence or establish how reliably the illustrated behavior occurs across the vocabulary.
Limitations
Limits the authors identify
The authors explicitly acknowledge that their procedure does not produce multiword substitutes. This matters because meaning-preserving replacement is not inherently restricted to single words. A system can be competent within its vocabulary while still failing on acceptable phrases present in the human reference.
They also report that improvement depends on the evaluation objective. The balanced approaches show useful gains on the oot measures, but improvement on the best measures is small. Their results therefore support a stronger claim about the coverage of suggested alternatives than about reliably selecting the preferred replacement.
The conclusions leave task-specific weighting open. The fixed balanced measures behave robustly, yet other weightings implied by the unbalanced measures work better in candidate ranking. A learned or tuned interpolation is proposed as a possible extension. It is not part of the demonstrated method, and no result establishes that it would improve held-out performance.
The authors also leave transfer to other embedding methods unresolved. They note that GloVe and approaches discussed in Improving Distributional Similarity with Lessons Learned from Word Embeddings can offer relevant word and context representations. Those observations motivate further investigation; they do not constitute experimental validation of the substitution rule with those representations.
Limits visible in the experimental design
A careful reader should distinguish an unsupervised substitution rule from a procedure requiring no substantial preparation. The approach does not fit its combination weights to substitution labels, but it relies on a large corpus, dependency analysis and trained embeddings. Its compact scoring procedure sits on top of that infrastructure.
The dependency parser is a potential source of error. The scoring rule uses the relationships extracted from the sentence, so an incorrect relationship can supply inappropriate context. The paper does not report a controlled comparison between automatically parsed contexts and corrected contexts. It therefore does not quantify how much performance is limited by syntactic analysis.
Frequency filtering also defines a coverage boundary. Words and contexts below the stated corpus threshold do not enter the learned inventories. The paper reports the resulting vocabulary sizes but does not separately analyze every type of missing or weakly represented evidence. The benchmark scores should not be read as a guarantee for rare lexical items or unfamiliar grammatical combinations.
Lowercasing and the chosen dependency processing are held fixed. This keeps the scoring comparison clear, but it leaves their individual effects unknown. The experiments do not establish whether alternative normalization, different filtering or a different representation of prepositions would improve substitution.
Nor is the advantage of syntax isolated against an otherwise matched window-context system in the reported evaluation. The paper motivates dependency contexts through their tendency to capture functional similarity, then uses them throughout. Its results establish the behavior of that selected representation pipeline, instead of measuring the independent contribution of every reason behind the choice.
Ranking scores answer a restricted question
The supplied candidates in the ranking experiment are derived from human annotations. This is an important source of task information, even though the contextual scoring procedure does not train on those annotations. The resulting evaluation asks whether the system can order plausible target-related alternatives, not whether it can find them without help.
Removing multiword answers and dropping occurrences left without reference substitutes further changes the assessed material. This procedure follows the comparison convention, but it narrows the coverage of the claim. Ranking performance should therefore be described with its candidate and reference conditions attached.
The supervised comparison has a different limitation for interpretation. It uses annotated substitution material through cross validation, unlike the paper’s unsupervised procedure. Its stronger LS-SE result establishes a reported outcome under that condition, but it does not provide a controlled measurement of the same learning regime. Training resources also vary among the earlier unsupervised comparisons.
The paper reports significance judgments but does not describe a statistical-testing procedure in its experimental account. A reader can accurately report the authors’ characterization while recognizing that the exact basis for those judgments is not specified there. The numerical scores remain useful; stronger claims about uncertainty would require further methodological detail.
Local compatibility is not a complete theory of meaning
The approach represents an occurrence through the target and its extracted grammatical contexts. It does not report a separate account of wider discourse, communicative intention or the consequences of choosing a replacement in a longer interaction. Success on these sentence-based substitution tasks cannot establish competence over those broader conditions.
Its context elements also enter the scoring rules as individual comparisons. The formulas do not contain a separate term for how several contexts interact with each other. A candidate can thus be assessed through its compatibility with each observed relation without an explicit joint representation of the complete sentence meaning.
The fixed arithmetic and geometric combinations make this behavior transparent, but they do not make every component equally reliable in linguistic terms. Some extracted contexts may be highly informative, while others may contribute little or reflect an analysis error. The experiments do not include a learned context-selection mechanism that decides which relationships deserve trust for a particular occurrence.
Finally, the results concern lexical substitution rather than complete rewriting. A useful replacement system may also need to handle morphology, grammatical agreement and phrasing changes. The paper’s single-word scores do not by themselves establish that a proposed alternative can be inserted unchanged into every sentence. The qualitative inflection examples are a reminder that a strong lexical association and a usable edit are related but distinct outcomes.
What came after
Context representation became an explicit research target
context2vec is listed as a later citing work from 2016. Its title identifies generic context embeddings as its subject and a bidirectional LSTM as the architecture. This makes it a relevant continuation to place beside the earlier paper’s emphasis on context representations.
The supported connection should remain precise. The earlier study shows that contexts can participate directly in a lexical decision through learned vectors. The later title places the learning of context representations at the center of its own contribution. The available citation information does not establish which substitution formulas it retains, which experiments it shares, or how its results compare.
That boundary matters because a citation can indicate several kinds of relationship. It may acknowledge a task, an embedding practice, a motivation or a particular technical component. Without a description of the later method, it would be unwarranted to claim that context2vec simply extends the balanced scoring rules or validates their behavior under a new architecture.
The citation trail also reaches program representations
A General Path-Based Representation for Predicting Program Properties appears as a citing work from 2018. Its title concerns representations for predicting properties of programs, placing the citation in the area of code and programming languages.
The earlier paper provides a useful point of comparison because its contexts are defined through structure rather than proximity alone. Nonetheless, the citation listing does not specify how the later program-representation work uses that precedent. It does not establish that the later method adopts word–context cosine comparisons, geometric averaging or balanced target weighting.
The documented later connections therefore support a restrained account of influence. Context representation and structural representation both appear in the titles of citing work, but the exact technical inheritance is unspecified. The earlier paper’s demonstrated contribution remains clear on its own terms: it makes learned context vectors available to a practical substitution decision, and shows why the relationship between candidate construction and score balance deserves explicit evaluation.
Cite
Cite as Oren Melamud, Omer Levy and Ido Dagan. 2015. A Simple Word Embedding Model for Lexical Substitution. Proceedings of the 1st Workshop on Vector Space Modeling for Natural Language Processing.
@inproceedings{melamud2015simple,
title = {{A Simple Word Embedding Model for Lexical Substitution}},
author = {Oren Melamud, Omer Levy and Ido Dagan},
booktitle = {Proceedings of the 1st Workshop on Vector Space Modeling for Natural Language Processing},
year = {2015},
doi = {10.3115/v1/w15-1501},
url = {https://doi.org/10.3115/v1/w15-1501}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/melamud-2015-simple-word-embedding-model-lexical/