Skip to main content
QUICK REVIEW

[Paper Review] Improving zero-shot learning by mitigating the hubness problem

Georgiana Dinu, Angeliki Lazaridou|arXiv (Cornell University)|Dec 20, 2014
Text and Document Classification TechnologiesComputer Science4 citations
TL;DR

This paper proposes a post-processing method to mitigate hubness in zero-shot learning by re-ranking nearest neighbors using global rank statistics, significantly improving accuracy across vision, language, and cross-lingual tasks. The method corrects similarity scores based on target vector frequency across pivots, reducing overrepresentation of high-degree hubs and boosting performance from 0.6–1.5% to 2.2% in image and language retrieval tasks.

ABSTRACT

The zero-shot paradigm exploits vector-based word representations extracted from text corpora with unsupervised methods to learn general mapping functions from other feature spaces onto word space, where the words associated to the nearest neighbours of the mapped vectors are used as their linguistic labels. We show that the neighbourhoods of the mapped elements are strongly polluted by hubs, vectors that tend to be near a high proportion of items, pushing their correct labels down the neighbour list. After illustrating the problem empirically, we propose a simple method to correct it by taking the proximity distribution of potential neighbours across many mapped vectors into account. We show that this correction leads to consistent improvements in realistic zero-shot experiments in the cross-lingual, image labeling and image retrieval domains.

Motivation & Objective

  • To identify and address the negative impact of hubness—where certain vectors dominate neighbor lists—in zero-shot learning setups.
  • To improve zero-shot performance in cross-lingual, image labeling, and image retrieval tasks where standard nearest neighbor search fails due to hubness.
  • To develop a simple, post-processing correction that does not require modifying the underlying mapping function or learning objective.
  • To demonstrate consistent performance gains across diverse zero-shot domains using a minimal, generalizable method.
  • To provide empirical evidence that hubness increases after mapping and that it can be effectively reduced via rank-based reweighting.

Proposed method

  • After mapping source-domain vectors (e.g., images, fMRI, or translation pairs) to word vector space via regularized least-squares regression, the method analyzes the global distribution of target vectors across all mapped pivots.
  • It computes the rank of each target vector across all pivots based on similarity scores, rather than relying on raw similarity values.
  • Nearest neighbors are then retrieved using these global ranks instead of original similarity scores, which down-weights targets that are hubs (i.e., frequent neighbors of many pivots).
  • The correction is applied at inference time, requiring only unlabeled source-space data beyond the test set, making it compatible with any pre-trained mapping function.
  • The method is formalized as a rank inversion: for each pivot, the similarity scores of all targets are converted to their global rank across all pivots, and neighbors are selected based on these ranks.
  • This approach is named Global Correction (GC), and it effectively reduces the influence of high-degree hubs while preserving semantically relevant neighbors.

Experimental results

Research questions

  • RQ1To what extent does hubness degrade zero-shot performance in cross-lingual, image labeling, and image retrieval tasks?
  • RQ2Can hubness be mitigated without modifying the underlying mapping function or learning objective?
  • RQ3Does re-ranking neighbors based on global rank distribution lead to consistent performance improvements across different zero-shot domains?
  • RQ4How does the proposed correction compare to alternative normalization techniques like cosine score normalization?
  • RQ5Is the hubness problem exacerbated after mapping source vectors into word space, and can it be reversed with minimal computational cost?

Key findings

  • Hubness significantly degrades zero-shot performance: in the Vision → Language task, the maximum hubness (N20) of target vectors increases from 35 in original word space to 190 in mapped space.
  • The proposed Global Correction (GC) method reduces hubness in mapped vectors to a maximum of 20, which is below the original word space level.
  • In the Vision → Language task, GC improves top-1 accuracy from 1.0% (standard NN) to 1.5%, and in Language → Vision from 0.6% to 2.2%, showing consistent gains across domains.
  • Cosine score normalization (NN_nrm) performs worse than standard nearest neighbor search in both directions, indicating that simple normalization is insufficient to address hubness.
  • The GC method consistently outperforms standard nearest neighbor and normalized similarity baselines across all evaluated tasks, including cross-lingual translation and image retrieval.
  • The method is effective even when the mapping function is simple and general (e.g., regularized least-squares), showing that hubness correction can be decoupled from model design.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.