Situating Sentence Embedders with Nearest Neighbor Overlap

09/24/2019
by   Lucy H. Lin, et al.
0

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.

READ FULL TEXT

page 6

page 16

research
08/24/2010

A Simple CW-SSIM Kernel-based Nearest Neighbor Method for Handwritten Digit Classification

We propose a simple kernel based nearest neighbor approach for handwritt...
research
06/28/2019

PUFFINN: Parameterless and Universally Fast FInding of Nearest Neighbors

We present PUFFINN, a parameterless LSH-based index for solving the k-ne...
research
11/01/2019

Generalization through Memorization: Nearest Neighbor Language Models

We introduce kNN-LMs, which extend a pre-trained neural language model (...
research
10/18/2020

Explaining and Improving Model Behavior with k Nearest Neighbor Representations

Interpretability techniques in NLP have mainly focused on understanding ...
research
02/14/2019

Finding Nearest Neighbors in graphs locally

Many distributed learning techniques have been motivated by the increasi...
research
12/27/2017

Improving Text Normalization by Optimizing Nearest Neighbor Matching

Text normalization is an essential task in the processing and analysis o...
research
08/19/2021

Partitioned K-nearest neighbor local depth for scalable comparison-based learning

A triplet comparison oracle on a set S takes an object x ∈ S and for any...

Please sign up or login with your details

Forgot password? Click here to reset