paper-with-me

Papers

Hubness Reduction Improves Sentence-BERT Semantic Spaces

2023-11-30 · Beatrix M. G. Nielsen, Lars Kai Hansen

Semantic representations of text, i.e. representations of natural language which capture meaning by geometry, are essential for areas such as information retrieval and document grouping. High-dimensional trained dense vectors have received much attention in recent years as such representations. We investigate the structure of semantic spaces that arise from embeddings made with Sentence-BERT and find that the representations suffer from a well-known problem in high dimensions called hubness. Hubness results in asymmetric neighborhood relations, such that some texts (the hubs) are neighbours of many other texts while most texts (so-called anti-hubs), are neighbours of few or no other texts. We quantify the semantic quality of the embeddings using hubness scores and error rate of a neighbourhood based classifier. We find that when hubness is high, we can reduce error rate and hubness using hubness reduction methods. We identify a combination of two methods as resulting in the best reduction. For example, on one of the tested pretrained models, this combined method can reduce hubness by about 75% and error rate by about 9%. Thus, we argue that mitigating hubness in the embedding space provides better semantic representations of text.

📄 PDF Abstract BibTeX arXiv:2311.18364

Code (1)

bemigini/hubness-reduction-improves-sbert-semantic-spaces 공식 구현 pytorch

Tasks

Information RetrievalRetrievalSentence

Similar Papers 제목 키워드 기반

scikit-hubness: Hubness Reduction and Approximate Neighbor Search

2019-12-02 · Roman Feldbauer, Thomas Rattei, Arthur Flexer

This paper introduces scikit-hubness, a Python package for efficient nearest neighbor search in high-dimensional spaces. Hubness is an aspect of the curse of dimensionality, and is known to impair various learning tasks,…

ClusteringRetrieval

Hubs and Hyperspheres: Reducing Hubness and Improving Transductive Few-shot Learning with Hyperspherical Embeddings

2023-03-16 · CVPR 2023 1 · Daniel J. Trosten, Rwiddhi Chakraborty, Sigurd Løkse, Kristoffer Knutsen Wickstrøm 외

Distance-based classification is frequently used in transductive few-shot learning (FSL). However, due to the high-dimensionality of image representations, FSL classifiers are prone to suffer from the hubness problem, wh…

Few-Shot Learning

Evaluation of BERT and ALBERT Sentence Embedding Performance on Downstream NLP Tasks

2021-01-26 · Hyunjin Choi, Judong Kim, Seongho Joe, Youngjune Gwon

Contextualized representations from a pre-trained language model are central to achieve a high performance on downstream NLP task. The pre-trained BERT and A Lite BERT (ALBERT) models can be fine-tuned to give state-ofth…

Language ModellingNatural Language InferenceSemantic Textual SimilaritySentence+5

Symmetric Regularization based BERT for Pair-wise Semantic Reasoning

2019-09-08 · Weidi Xu, Xingyi Cheng, Kunlong Chen, Wei Wang 외

The ability of semantic reasoning over the sentence pair is essential for many natural language understanding tasks, e.g., natural language inference and machine reading comprehension. A recent significant improvement in…

Machine Reading ComprehensionNatural Language InferenceNatural Language UnderstandingReading Comprehension+1

Weighted Sampling for Masked Language Modeling

2023-02-28 · Linhan Zhang, Qian Chen, Wen Wang, Chong Deng 외

Masked Language Modeling (MLM) is widely used to pretrain language models. The standard random masking strategy in MLM causes the pre-trained language models (PLMs) to be biased toward high-frequency tokens. Representati…

Language ModelingLanguage ModellingMasked Language ModelingPrompt Learning+6