paper-with-me

홈 › Papers

Fast Nearest-Neighbor Classification using RNN in Domains with Large Number of Classes

2017-12-11 · Singh Gautam, Dasgupta Gargi, Deng Yu

In scenarios involving text classification where the number of classes is large (in multiples of 10000s) and training samples for each class are few and often verbose, nearest neighbor methods are effective but very slow in computing a similarity score with training samples of every class. On the other hand, machine learning models are fast at runtime but training them adequately is not feasible using few available training samples per class. In this paper, we propose a hybrid approach that cascades 1) a fast but less-accurate recurrent neural network (RNN) model and 2) a slow but more-accurate nearest-neighbor model using bag of syntactic features. Using the cascaded approach, our experiments, performed on data set from IT support services where customer complaint text needs to be classified to return top-$N$ possible error codes, show that the query-time of the slow system is reduced to $1/6^{th}$ while its accuracy is being improved. Our approach outperforms an LSH-based baseline for query-time reduction. We also derive a lower bound on the accuracy of the cascaded model in terms of the accuracies of the individual models. In any two-stage approach, choosing the right number of candidates to pass on to the second stage is crucial. We prove a result that aids in choosing this cutoff number for the cascaded system.

📄 PDF Abstract BibTeX arXiv:1712.03941

Code (0)

등록된 구현이 없습니다.

Tasks

General Classificationtext-classificationText Classification

Similar Papers 제목 키워드 기반

Learning Representations for Faster Similarity Search

2018-01-01 · ICLR 2018 1 · Ludwig Schmidt, Kunal Talwar

In high dimensions, the performance of nearest neighbor algorithms depends crucially on structure in the data. While traditional nearest neighbor datasets consisted mostly of hand-crafted feature vectors, an increasing n…

General Classification

A Two-Stage Active Learning Algorithm for $k$-Nearest Neighbors

2022-11-19 · Nick Rittler, Kamalika Chaudhuri

$k$-nearest neighbor classification is a popular non-parametric method because of desirable properties like automatic adaption to distributional scale changes. Unfortunately, it has thus far proved difficult to design ac…

Active LearningVocal Bursts Valence Prediction

Rotationally Invariant Image Representation for Viewing Direction Classification in Cryo-EM

2013-09-29 · Zhizhen Zhao, Amit Singer

We introduce a new rotationally invariant viewing angle classification method for identifying, among a large number of Cryo-EM projection images, similar views without prior knowledge of the molecule. Our rotationally in…

ClassificationClusteringGeneral Classification

Simply Trainable Nearest Neighbour Machine Translation with GPU Inference

2024-07-29 · Hossam Amer, Abdelrahman Abouelenin, Mohamed Maher, Evram Narouz 외

Nearest neighbor machine translation is a successful approach for fast domain adaption, which interpolates the pre-trained transformers with domain-specific token-level k-nearest-neighbor (kNN) retrieval without retraini…

Domain AdaptationGPUMachine TranslationSentence+1

Local Distribution in Neighborhood for Classification

2018-12-07 · Chengsheng Mao, Bin Hu, Lei Chen, Philip Moore 외

The k-nearest-neighbor method performs classification tasks for a query sample based on the information contained in its neighborhood. Previous studies into the k-nearest-neighbor algorithm usually achieved the decision …

ClassificationGeneral Classification