CLApr 5, 2018

Few-Shot Text Classification with Pre-Trained Word Embeddings and a Human in the Loop

arXiv:1804.02063v121 citationsHas Code
Originality Incremental advance
AI Analysis

This addresses the challenge for businesses with poorly labeled or unlabeled document collections, though it is incremental as it builds on existing embedding methods.

The paper tackles the problem of classifying unlabeled text corpora with minimal human effort by introducing a few-shot learning approach that uses pre-trained word embeddings and human-labeled prototypes, achieving results tested on existing datasets like 20 Newsgroups.

Most of the literature around text classification treats it as a supervised learning problem: given a corpus of labeled documents, train a classifier such that it can accurately predict the classes of unseen documents. In industry, however, it is not uncommon for a business to have entire corpora of documents where few or none have been classified, or where existing classifications have become meaningless. With web content, for example, poor taxonomy management can result in labels being applied indiscriminately, making filtering by these labels unhelpful. Our work aims to make it possible to classify an entire corpus of unlabeled documents using a human-in-the-loop approach, where the content owner manually classifies just one or two documents per category and the rest can be automatically classified. This "few-shot" learning approach requires rich representations of the documents such that those that have been manually labeled can be treated as prototypes, and automatic classification of the rest is a simple case of measuring the distance to prototypes. This approach uses pre-trained word embeddings, where documents are represented using a simple weighted average of constituent word embeddings. We have tested the accuracy of the approach on existing labeled datasets and provide the results here. We have also made code available for reproducing the results we got on the 20 Newsgroups dataset.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes