Hostname: page-component-74656f9884-j7cmm Total loading time: 0 Render date: 2026-11-06T08:58:06.065Z Has data issue: false hasContentIssue false

Sparsity and normalization in word similarity systems

Published online by Cambridge University Press:  19 August 2015

JEAN MARK GAWRON
Affiliation:
Department of Linguistics, San Diego State University, San Diego, CA, USA e-mails: gawron@mail.sdsu.edu, KStephens@eplicaservices.com
KELLEN STEPHENS
Affiliation:
Department of Linguistics, San Diego State University, San Diego, CA, USA e-mails: gawron@mail.sdsu.edu, KStephens@eplicaservices.com
Rights & Permissions [Opens in a new window]

Abstract

We investigate the problem of improving performance in distributional word similarity systems trained on sparse data, focusing on a family of similarity functions we call Dice-family functions (Dice 1945Ecology26(3): 297–302), including the similarity function introduced in Lin (1998Proceedings of the 15th International Conference on Machine Learning, 296–304), and Curran (2004 PhD thesis, University of Edinburgh. College of Science and Engineering. School of Informatics), as well as a generalized version of Dice Coefficient used in data mining applications (Strehl 2000, 55). We propose a generalization of the Dice-family functions which uses a weight parameter α to make the similarity functions asymmetric. We show that this generalized family of functions (α systems) all belong to the class of asymmetric models first proposed in Tversky (1977Psychological Review84: 327–352), and in a multi-task evaluation of ten word similarity systems, we show that α systems have the best performance across word ranks. In particular, we show that α-parameterization substantially improves the correlations of all Dice-family functions with human judgements on three words sets, including the Miller–Charles/Rubenstein Goodenough word set (Miller and Charles 1991Language and Cognitive Processes6(1): 1–28; Rubenstein and Goodenough 1965Communications of the ACM8: 627–633).

Information

Type
Articles
Copyright
Copyright © Cambridge University Press 2015 
Figure 0

Table 1. Dependency feature counts extracted for man and liked based on the single sentence. The tall man liked the small man.

Figure 1

Fig. 1. Tversky model: simplified.

Figure 2

Table 2. Ratio models; the last column gives the abbreviation that will be used in figure legends.

Figure 3

Table 3. The four unnormalized functions of this study; the last column gives the abbreviation that will be used in Figure legends.

Figure 4

Table 4. The four weight functions studied here.

Figure 5

Fig. 2. Effect of high α in rank-biased system.

Figure 6

Table 5. Published system correlations with human judgments (RG/MC dataset). For the two systems used for evaluation here, we show the scores our re-implementations achieve.

Figure 7

Table 6. Similarity functions: Correlation with human similarity judgments for symmetric and asymmetric α systems.

Figure 8

Table 7. Ranks 1–500, core systems and α = 0.70 systems.

Figure 9

Table 8. Ranks 1–1,500 versus 1–3,500, core systems and α = 0.70 systems.

Figure 10

Fig. 3. Top panel: PPR scores for top normalized systems across ranks: dot$\sqrt{\text{{\sc prod}}}$ with Euclidean normalization (dpsq euc), dice† (dc_dag), and dice prod (dc_dp). Unnormalized dot prod (dp) and random baseline added for comparison; Bottom panel: the four unnormalized systems dot prod (dp), dot min (dm), dot avg (davg), and dot$\sqrt{\text{{\sc prod}}}$ (dpsq), with Dice-normalized dice prod (dc_dp) and a random performance line for comparison.

Figure 11

Fig. 4. Top panel: PPR scores for the three prod systems, cosine (cos, Euclidean normalized) dice prod (dc_dp, Dice-normalized), and dot prod (dp, unnormalized), with the unnormalized system dot prod winning out with infrequent words; Bottom panel, PPR scores for the three ${\sqrt{\sc prod}}$ systems, dot$\sqrt{\text{{\sc prod}}}$euc (dqsq euc, Euclidean normalized) dice$\sqrt{\text{{\sc prod}}}$ (dc_dpsq), and dot$\sqrt{\text{{\sc prod}}}$ (dpsq, unnormalized), with the same result: the unnormalized system wins out with infrequent words.

Figure 12

Fig. 5. ESA scores for same systems as in Figure 4. Top panel: the three prod systems, cosine (cos, Euclidean normalized), dice prod (dc_dp, Dice-normalized), and dot prod (dp, unnormalized), with the unnormalized system (dp) winning out with infrequent words. Bottom panel: the three ${\sqrt{\sc prod}}$ systems, dot$\sqrt{\text{{\sc prod}}}$euc (dpsq euc, Euclidean normalized), dice$\sqrt{\text{{\sc prod}}}$ (dc_dpsq, Dice-normalized), and dot$\sqrt{\text{{\sc prod}}}$ (dpsq, unnormalized), with the same result.

Figure 13

Fig. 6. Sample of α systems for dice prod and dice†. Top panel: dice prod with various values of α. The symmetric system (elsewhere shown as dice prod, dc_dp) is α = 0.50. The α = 0.70 system is the best for frequent words (rank < 500), and the α = 0.04 system is the best with infrequent words. All systems are at or below random performance by rank 10,000. Bottom panel: The same pattern for dice†.

Figure 14

Fig. 7. Symmetric (dashed lines) and α = 0.04 (solid lines) versions of T-score, showing an improvement for less common words for all four Dice-family functions.

Figure 15

Fig. 8. Symmetric (dashed lines) and α = 0.04 (solid lines) versions of Z-score. Note that both dice prod systems with Z-score are very bad, scoring 0 on the 500–1000 dataset and below.

Figure 16

Fig. 9. Symmetric and α = 0.04 versions of log SCP dice†, showing that for dice†, α = 0.04 is an improvement at ALL word ranks (no crossover). With the other functions, Log SCP’s performance is so bad, there are no results to report. dice prod on the upper right appears to be a case where the symmetric system crosses above the asymmetric system, but the random reference line shows this happens where performance is below random. The combination of Log SCP and Lin is so bad that performance is everywhere 0. This is worse than random because this system consistently chooses very rare nearest neighbors.

Figure 17

Fig. 10. Synonym selection. The α = 0.50 and α = 0.04 systems using dice prod, from word ranks 0 through 16,000. With rare words, the α = 0.04 system consistently outperforms the α = 0.50 system.

Figure 18

Fig. 11. Synonym selection focusing on word ranks 0 through 4,000. The α = 0.50 and α = 0.70 and α = 0.75 systems using dice prod. In the interval 0–1500, the two asymmetric systems outperform the α = 0.50 system.

Figure 19

Fig. 12. TOEFL results: Four accuracy score lines are shown, one for each Dice-family function, dice prod (dc_dp), dice† (dc_dag), Lin (lin), and dice$\sqrt{\text{{\sc prod}}}$ (dc_dpsqrt), with the x-axis representing different values of α, decreasing from left to right. In general, accuracy decreases as α decreases, with one exception at one point for the dice† system, and the best score is achieved by a skewed system in which α = 0.70.

Figure 20

Fig. 13. Distribution prediction: All systems shown are dice prod systems, with error rates shown for words ranked 0–500, 500–1,500,1,500–2,500, 2,500–3,500, and 3,500–4,500. Performance lines are shown for eight different values of α, with error bars bracketing best and worst cross-validation runs. The best error rates are achieved by the system with the lowest α-value, α = 0.

Figure 21

Fig. 14. Comparison with Lee’s α-skew function. The dice prod α = 0 system outperforms α-skew consistently, and for all except the highest word ranks, both outperform the symmetric α = 0.50 system.

Figure 22

Fig. 15. Correlations with human scores monotonically increase with α.

Figure 23

Table 9. Pairs contributing the most improvement in correlations with human judgments: α = 0.97, MC/RG word set.

Figure 24

Fig. 16. A function which returns an approximately appropriate α-value for a rank r. The function shown is specific to the BNC corpus used here.

Figure 25

Table 10. Average nn rank on the critical 3000–3500 test set.

Figure 26

Fig. 17. Avg nn rank plotted versus target word rank for four Dice system, the pseudonormalized Euclidean system, and four unnormalized systems. As slope declines, performance at low ranks improves. Systems in decreasing slope order: dice prod (dc_dp), dice$\sqrt{\text{{\sc prod}}}$ (dc_dpsqrt), dice† (dc_dag), Lin (lin), dot$\sqrt{\text{{\sc prod}}}$ with Euclidean normalization (dpsq euc), dot min (dm), dot$\sqrt{\text{{\sc prod}}}$ (dpsq), dot avg (davg), and dot prod (dp).

Figure 27

Fig. 18. Average nn rank for the dice prod α systems. The α = 0.50 system is labeled dc_dp in the legend. As α decreases, the slope of the system line decrease: The lowest sloping line belongs to the α = 0.07 system.

Figure 28

Fig. 19. Average feature value as a function of vector length for PMI and Z-score. Average value falls for both.

Figure 29

Fig. 20. Average feature value as a function of vector length for T-score and Log SCP. Average value remains roughly constant for T-score; and actually rises for Log SCP.