Subspace Approximation for Approximate Nearest Neighbor Search in NLP

08/25/2017
by   Jing Wang, et al.
0

Most natural language processing tasks can be formulated as the approximated nearest neighbor search problem, such as word analogy, document similarity, machine translation. Take the question-answering task as an example, given a question as the query, the goal is to search its nearest neighbor in the training dataset as the answer. However, existing methods for approximate nearest neighbor search problem may not perform well owing to the following practical challenges: 1) there are noise in the data; 2) the large scale dataset yields a huge retrieval space and high search time complexity. In order to solve these problems, we propose a novel approximate nearest neighbor search framework which i) projects the data to a subspace based spectral analysis which eliminates the influence of noise; ii) partitions the training dataset to different groups in order to reduce the search space. Specifically, the retrieval space is reduced from O(n) to O( n) (where n is the number of data points in the training dataset). We prove that the retrieved nearest neighbor in the projected subspace is the same as the one in the original feature space. We demonstrate the outstanding performance of our framework on real-world natural language processing tasks.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
10/19/2020

LANNS: A Web-Scale Approximate Nearest Neighbor Lookup System

Nearest neighbor search (NNS) has a wide range of applications in inform...
research
05/16/2014

Optimized Cartesian K-Means

Product quantization-based approaches are effective to encode high-dimen...
research
03/20/2017

Fast Spectral Ranking for Similarity Search

Despite the success of deep learning on representing images for particul...
research
08/31/2015

Approximate Nearest Neighbor Fields in Video

We introduce RIANN (Ring Intersection Approximate Nearest Neighbor searc...
research
07/30/2021

Compression Network with Transformer for Approximate Nearest Neighbor Search

We propose a generic feature compression method for Approximate Nearest ...
research
07/25/2018

Local Orthogonal-Group Testing

This work addresses approximate nearest neighbor search applied in the d...
research
12/22/2015

Transformed Residual Quantization for Approximate Nearest Neighbor Search

The success of product quantization (PQ) for fast nearest neighbor searc...

Please sign up or login with your details

Forgot password? Click here to reset