Deep Active Learning for Text Classification with Diverse Interpretations

Qiang Liu, Yanqiao Zhu, Zhaocheng Liu, Yufeng Zhang, Shu Wu · DOI

Abstract

Recently, Deep Neural Networks (DNNs) have made remarkable progress for text classification, which, however, still require a large number of labeled data. To train high-performing models with the minimal annotation cost, active learning is proposed to select and label the most informative samples, yet it is still challenging to measure informativeness of samples used in DNNs. In this paper, inspired by piece-wise linear interpretability of DNNs, we propose a novel Active Learning with DivErse iNterpretations (ALDEN) approach. With local interpretations in DNNs, ALDEN identifies linearly separable regions of samples. Then, it selects samples according to their diversity of local interpretations and queries their labels. To tackle the text classification problem, we choose the word with the most diverse interpretations to represent the whole sentence. Extensive experiments demonstrate that ALDEN consistently outperforms several state-of-the-art deep active learning methods.

Introduction

Training deep learning models for text classification usually requires massive amounts of labeled data. This paper introduces ALDEN (Active Learning with DivErse iNterpretations), a method that identifies which unlabeled samples to prioritize for labeling by looking at how the model "interprets" them. By selecting samples that trigger diverse internal "local linear classifiers," ALDEN achieves higher accuracy with significantly fewer labeled examples than current state-of-the-art methods.

The Challenge of Informativeness

Deep Neural Networks (DNNs) are powerful but data-hungry. Active Learning (AL) aims to reduce the labeling burden by having the model "ask" for labels on only the most informative samples. The challenge lies in defining "informative." Traditional methods usually look for uncertainty (samples the model is confused about) or diversity (samples that look different from what the model has already seen in the feature space). However, these methods often ignore the internal logic of the DNN. The authors argue that because modern DNNs (using ReLU or Maxout activations) act as a collection of many "local linear classifiers," we should ensure we are picking samples that help train all of these internal sub-models, rather than just focusing on the overall decision boundary.

Methodology: ALDEN and Local Interpretations

The authors propose ALDEN, which stands for Active Learning with DivErse iNterpretations. The core technical steps involve:

  1. Local Interpretations: For every word in a sentence, the model calculates a "local interpretation" by computing the gradient of the prediction with respect to that word's embedding. This measures how much that specific word contributes to the final classification.
  2. Identifying Linear Regions: Theoretically, samples with similar local interpretations belong to the same "linearly separable region" of the DNN. To train a robust model, you want to sample from as many different regions as possible.
  3. Diversity Metric: For an unlabeled sentence, ALDEN looks at its words and compares their interpretations to the interpretations of words already in the labeled set using a distance-based calculation (similar to the k-Center algorithm).
  4. Pooling for Text: ALDEN represents an entire sentence by its "most diverse" word—the one that represents the most novel interpretation compared to the existing training data.
Comparison of clustering methods: (a) shows the true data distribution. (b) CORESET and (c) BADGE fail to capture the underlying linear regions, whereas (d) local interpretations correctly identify them.

Experimental Results

The approach was evaluated on two classic binary text classification benchmarks: Subj (Subjectivity Dataset) and MR (Movie Review Dataset), using CNN and BiLSTM architectures. ALDEN consistently outperformed several high-profile baselines, including BALD (Bayesian uncertainty), CORESET (feature diversity), and BADGE (a hybrid of the two).

Learning curves for BiLSTM and CNN architectures on Subj and MR datasets. ALDEN (solid line) consistently achieves higher accuracy at lower labeling percentages compared to baselines like CORESET and BADGE.

On the Subj dataset using a BiLSTM, ALDEN reached a "Normalized Area Under Curve" (NAUC) score of 0.803, compared to the next best baseline (BALD) at 0.757. The learning curves show that ALDEN reaches higher accuracy levels much earlier in the labeling process. The performance gap was most noticeable in the "middle" of the learning process (between 10% and 40% labeling), which is exactly where active learning is most valuable in real-world applications.

Discussion and Future Work

The most elegant insight of ALDEN is treating a complex DNN as a mosaic of simple linear classifiers. By focusing on interpretations rather than just features, the method captures the nuance of language where a single, uniquely used word can make an entire sentence highly informative for the model.

However, some limitations remain. Calculating gradients for every word across a large unlabeled pool in every iteration introduces computational overhead. Additionally, while tested on CNNs and BiLSTMs, the effectiveness of this "piece-wise linear" assumption on Transformer-based models (like BERT) is a promising area for future research. Scaling to multi-class problems or more complex NLP tasks like Named Entity Recognition (NER) also remains to be explored.

Summary updated

BibTeX
@inproceedings{liu2021deep,
  author = {Qiang Liu and Yanqiao Zhu and Zhaocheng Liu and Yufeng Zhang and Shu Wu},
  title = {{Deep Active Learning for Text Classification with Diverse Interpretations}},
  booktitle = {ACM International Conference on Information and Knowledge Management},
  year = {2021},
  doi = {10.1145/3459637.3482080},
}
Figure