English

Situating Sentence Embedders with Nearest Neighbor Overlap

Computation and Language 2019-09-25 v1

Abstract

As distributed approaches to natural language semantics have developed and diversified, embedders for linguistic units larger than words have come to play an increasingly important role. To date, such embedders have been evaluated using benchmark tasks (e.g., GLUE) and linguistic probes. We propose a comparative approach, nearest neighbor overlap (N2O), that quantifies similarity between embedders in a task-agnostic manner. N2O requires only a collection of examples and is simple to understand: two embedders are more similar if, for the same set of inputs, there is greater overlap between the inputs' nearest neighbors. Though applicable to embedders of texts of any size, we focus on sentence embedders and use N2O to show the effects of different design choices and architectures.

Keywords

Cite

@article{arxiv.1909.10724,
  title  = {Situating Sentence Embedders with Nearest Neighbor Overlap},
  author = {Lucy H. Lin and Noah A. Smith},
  journal= {arXiv preprint arXiv:1909.10724},
  year   = {2019}
}

Comments

17 pages, 7 figures

R2 v1 2026-06-23T11:23:55.308Z