HyperAIHyperAI

Command Palette

Search for a command to run...

Maße der distributionellen Ähnlichkeit

Lillian Lee

Zusammenfassung

Wir untersuchen Maße der distributionellen Ähnlichkeit mit dem Ziel, die Wahrscheinlichkeitsschätzung für unbekannte Kookkurrenzen zu verbessern. Unsere Beiträge sind dreifacher Natur: ein empirischer Vergleich eines breiten Spektrums von Ähnlichkeitsmaßen; eine Klassifikation von Ähnlichkeitsfunktionen basierend auf den von ihnen berücksichtigten Informationen; sowie die Einführung einer neuartigen Funktion, die sich zur Bewertung potenzieller Proxy-Verteilungen als überlegen erweist.

One-sentence Summary

This work presents an empirical comparison of distributional similarity measures, a classification of these functions based on the information they incorporate, and a novel function that better evaluates potential proxy distributions for improving probability estimation of unseen cooccurrences.

Key Contributions

  • The paper compares a broad range of distributional similarity measures for estimating probabilities of unseen cooccurrences through distance-weighted averaging, using a parameter-free evaluation methodology that factors out inessential degrees of freedom.

  • The paper classifies similarity functions according to the information they incorporate, showing that performance groups correspond to how strongly the functions emphasize the intersection of the supports of the compared distributions.

  • The paper introduces the skew divergence, an asymmetric information-theoretic metric that incorporates support-intersection data; it achieved the best overall performance, reducing the average error rate by 4 percent relative to the Jensen-Shannon divergence at the .01 significance level.

Introduction

Statistical natural language processing often relies on finite corpora, so plausible but unseen word pairs can be assigned zero probability, which matters for language modeling and smoothing. Existing methods such as Katz backoff and Jelinek and Mercer interpolation often estimate unseen conditional probabilities from marginal counts and effectively ignore the identity of the conditioning context. The authors build on distance-weighted averaging, which borrows estimates from distributionally similar words, and address uncertainty about whether the choice of similarity metric really matters. Their main contributions are an empirical comparison of similarity measures, a proposed way to classify them by their treatment of support intersection, and a new metric, the skew divergence, which incorporates this insight and improves prediction of unseen cooccurrences.

Dataset

  • The authors use a lexical semantic dataset built from verb-object cooccurrence pairs extracted from the 1988 Associated Press newswire.

  • The pairs are restricted to the 1,000 most frequent nouns and were extracted using Church’s and Yarowsky’s processing tools.

  • The dataset is split into an 80% training set and a 20% held-out test set.

  • The training set contains 587,833 pairs and is used to calculate base cooccurrence probabilities.

  • The remaining 20% forms the evaluation data. Before testing, the authors discard any pairs that also appear in the training set, ensuring that test items are unseen pairs.

  • The held-out pairs are then split into five partitions.

  • For evaluation, each test pair is converted into a noun-verb-verb triple. A noun-verb pair (n, v1) is expanded to (n, v1, v2), where v2 is chosen so that its unigram probability approximates that of v1.

  • The original cooccurrence is always treated as the correct alternative, while the added distractor verb is balanced to avoid simple frequency-based shortcuts.

  • The schema is therefore centered on noun-verb cooccurrences, with test examples represented as triples of the form (noun, original verb, distractor verb).

  • The data is used to evaluate similarity functions on a binary choice task: decide which of the two verb alternatives was the original cooccurrence.

  • There is no mention of cropping, metadata construction, or multi-modal processing; the main processing is pair extraction, frequency-based filtering, train/test splitting, duplicate removal from the test set, and construction of balanced distractor triples.

Method

The authors leverage a distributional similarity framework in which candidate word pairs are scored by comparing their empirical context distributions. For concreteness, they instantiate the approach over pairs of nouns and transitive verbs. A cooccurrence event is recorded when a noun appears as the head noun of the direct object of a verb. Given a base language model with probability function PPP, they define the conditional distribution of verb contexts for a noun as q(v)=P(v∣n)q(v)=P(v|n)q(v)=P(v∣n). For another noun mmm, the corresponding distribution is r(v)=P(v∣m)r(v)=P(v|m)r(v)=P(v∣m). In their implementation, PPP is derived from unsmoothed relative frequencies computed from corpus counts. The resulting vectors qqq and rrr represent the verb-context profiles of the two nouns, and the task becomes measuring how similar or mutually substitutable these profiles are.

The initial similarity module evaluates several established distributional association functions. The Euclidean and L1L_1L1​ distance functions compare probability values directly:

L2(q,r)=∑v(q(v)−r(v))2L_2(q,r)=\sqrt{\sum_v \left(q(v)-r(v)\right)^2}L2​(q,r)=v∑​(q(v)−r(v))2​ L1(q,r)=∑v∣q(v)−r(v)∣L_1(q,r)=\sum_v |q(v)-r(v)|L1​(q,r)=v∑​∣q(v)−r(v)∣

The cosine similarity measures directional agreement between the two distributions:

cos⁡(q,r)=∑vq(v)r(v)∑vq(v)2∑vr(v)2\cos(q,r)=\frac{\sum_v q(v)r(v)} {\sqrt{\sum_v q(v)^2}\sqrt{\sum_v r(v)^2}}cos(q,r)=∑v​q(v)2​∑v​r(v)2​∑v​q(v)r(v)​

Jaccard’s coefficient is more combinatorial. It depends only on the supports of qqq, rrr, and their intersection:

Jac(q,r)=∣{v:q(v)>0 and r(v)>0}∣∣{v:q(v)>0 or r(v)>0}∣\mathrm{Jac}(q,r)= \frac{|\{v:q(v)>0 \text{ and } r(v)>0\}|} {|\{v:q(v)>0 \text{ or } r(v)>0\}|}Jac(q,r)=∣{v:q(v)>0 or r(v)>0}∣∣{v:q(v)>0 and r(v)>0}∣​

The Jensen-Shannon divergence is defined through an averaged distribution:

avgq,r(v)=q(v)+r(v)2\mathrm{avg}_{q,r}(v)=\frac{q(v)+r(v)}{2}avgq,r​(v)=2q(v)+r(v)​ JS(q,r)=12[D(q ∥ avgq,r)+D(r ∥ avgq,r)]\mathrm{JS}(q,r)=\frac{1}{2} \left[ D\left(q \,\middle\|\, \mathrm{avg}_{q,r}\right) + D\left(r \,\middle\|\, \mathrm{avg}_{q,r}\right) \right]JS(q,r)=21​[D(q​avgq,r​)+D(r​avgq,r​)]

where the KL divergence is

D(p1 ∥ p2)=∑vp1(v)log⁡p1(v)p2(v).D(p_1 \,\|\, p_2)= \sum_v p_1(v)\log\frac{p_1(v)}{p_2(v)}.D(p1​∥p2​)=v∑​p1​(v)logp2​(v)p1​(v)​.

The use of the averaged distribution ensures that the Jensen-Shannon divergence remains well defined even when the support of one distribution is not contained in the support of the other.

The framework also includes the confusion probability, which incorporates unigram context probabilities in addition to the two conditional distributions. It measures the extent to which one noun can be substituted into the contexts associated with another:

conf(q,r,P(m))=∑vq(v)r(v)P(m)P(v).\mathrm{conf}(q,r,P(m))= \sum_v q(v)r(v)\frac{P(m)}{P(v)}.conf(q,r,P(m))=v∑​q(v)r(v)P(v)P(m)​.

Another candidate is Kendall’s τ\tauτ, a nonparametric measure that evaluates the correlation between the orderings induced by qqq and rrr over verbs. Using the simplest variant,

τ(q,r)=∑v1,v2sign[(q(v1)−q(v2))(r(v1)−r(v2))]2(∣V∣2).\tau(q,r)= \sum_{v_1,v_2} \frac{ \mathrm{sign}\left[ \left(q(v_1)-q(v_2)\right) \left(r(v_1)-r(v_2)\right) \right] } {2\binom{|V|}{2}}.τ(q,r)=v1​,v2​∑​2(2∣V∣​)sign[(q(v1​)−q(v2​))(r(v1​)−r(v2​))]​.

A value near 111 indicates that the two nouns induce similar verb-orderings, while a value near −1-1−1 indicates strongly opposing orderings. The method treats a value of −1-1−1 as evidence of strong dissimilarity.

A key methodological insight is that lexical substitutability is often asymmetric. For example, one word may provide a strong approximation for another, while the reverse substitution may be poor. Most candidate functions compared in the framework are symmetric, meaning that f(q,r)=f(r,q)f(q,r)=f(r,q)f(q,r)=f(r,q). To capture directional substitutability, the authors introduce an asymmetric divergence called the α\alphaα-skew divergence:

sα(q,r)=D(r ∥ α⋅q+(1−α)⋅r),s_{\alpha}(q,r)= D\left(r \,\middle\|\, \alpha \cdot q + (1-\alpha)\cdot r\right),sα​(q,r)=D(r∥α⋅q+(1−α)⋅r),

where 0≤α≤10 \leq \alpha \leq 10≤α≤1. This formulation generalizes the KL divergence. When α=1\alpha=1α=1, the skew divergence becomes exactly the KL divergence D(r∣∣q)D(r||q)D(r∣∣q). The parameter α\alphaα can be interpreted as a confidence level in the distribution qqq. Equivalently, 1−α1-\alpha1−α controls how much smoothing is applied by mixing qqq with rrr. This design is useful in sparse settings where direct KL computation may be unstable or undefined because the support conditions are not satisfied.

At α=1/2\alpha=1/2α=1/2, the skew divergence is related to one of the two terms in the Jensen-Shannon divergence, but it remains asymmetric. Thus, the method preserves the directional nature of substitutability while avoiding some of the instability of raw KL divergence.

As shown in the figure below:

The plotted performance curves compare the α=0.99\alpha=0.99α=0.99 skew divergence against other similarity functions as the parameter kkk varies. The average error rate is lower for the skew divergence across many settings, indicating that the asymmetric formulation provides stronger ranking behavior for noun substitution. The comparison illustrates the central design choice of the method: rather than relying only on symmetric proximity measures, the final scoring component uses a smoothed asymmetric divergence that emphasizes the direction in which one word distribution can approximate another.

Experiment

The experiments compare distributional similarity measures in a binary selection task over unseen noun-verb cooccurrences, then assess a proposed asymmetric skew divergence within the same framework. The empirical comparison shows that measures emphasizing shared cooccurrence evidence tend to rank nearest neighbors more effectively than those sensitive to non-shared or out-of-support verbs, while all compared measures outperform a simple backoff baseline. The skew divergence validation suggests that asymmetry and selective smoothing improve predictive ranking, supporting the conclusion that similarity for sparse linguistic data benefits from focusing on the intersection of distribution supports.

In the empirical evaluation on unseen verb-object evidence, the skew divergence with near-one weighting performs better than the other compared similarity functions on the binary selection task. The strongest functions appear to be those that emphasize shared verb supports, while negative evidence from verbs appearing with only one noun seems less important. Skew divergence outperforms the other listed similarity measures on the noun-verb-verb prediction task. Better performance is associated with a focus on the intersection of supports rather than non-shared verb evidence.

The experiments compare similarity functions on unseen verb-object evidence using binary selection and noun-verb-verb prediction tasks. Skew divergence with near-one weighting achieves the strongest results, indicating that measuring shared verb supports is more effective than weighing non-shared or negative evidence. Overall, methods that emphasize the intersection of supports outperform those that rely more heavily on verbs unique to a single noun.


KI mit KI entwickeln

Von der Idee bis zum Launch – beschleunigen Sie Ihre KI-Entwicklung mit kostenlosem KI-Co-Coding, sofort einsatzbereiter Umgebung und bestem GPU-Preis.

KI-gestütztes kollaboratives Programmieren
Sofort einsatzbereite GPUs
Die besten Preise

HyperAI Newsletters

Abonnieren Sie unsere neuesten Updates
Wir werden die neuesten Updates der Woche in Ihren Posteingang liefern um neun Uhr jeden Montagmorgen
Unterstützt von MailChimp