Active Learning by Labeling Features

Gregory Druck, Burr Settles, Andrew McCallumEMNLP 2009

Abstract

Methods that learn from prior information about input features such as generalized expectation (GE) have been used to train accurate models with very little effort. In this paper, we propose an active learning approach in which the machine solicits "labels" on features rather than instances. In both simulated and real user experiments on two sequence labeling tasks we show that our active learning method outperforms passive learning with features as well as traditional active learning with instances. Preliminary experiments suggest that novel interfaces which intelligently solicit labels on multiple features facilitate more efficient annotation.

Introduction

The primary bottleneck in modern machine learning is the requirement for large volumes of labeled training data. This challenge is particularly acute in structured prediction tasks, such as information extraction from classified ads or research citations. In these domains, human annotators must typically label every token in a sequence, a process that is both tedious and time-consuming. Traditional active learning (AL) attempts to mitigate this by selecting the most informative instances for labeling. However, the authors of this paper argue that humans possess high-level intuitions—such as knowing that the word "phone" strongly indicates a "contact" field—that are far more efficient to communicate than labeling numerous individual sentences.

Methods: Generalized Expectation and Feature Labeling

The proposed approach leverages Generalized Expectation (GE) criteria to integrate feature-level "rules of thumb" into probabilistic models like Conditional Random Fields (CRFs). Unlike standard maximum likelihood estimation, which matches the model to specific labels, GE allows for the definition of score functions that express preferences over model expectations on unlabeled data.

When a user provides a label for a feature (e.g., the word "lease" corresponds to the "rent" category), the model is constrained to ensure its predictions on unlabeled data align with these human-provided insights. To make this computationally feasible for real-time interaction, the authors introduced a novel optimization that reduces the complexity of GE gradient computation from $O(n|Y|^3)$ to $O(nm|Y|^2)$.

Examples of feature-label pairs and their impact on model accuracy.

The system employs several query selection metrics to determine which features to ask the user about:

  • Total Uncertainty (TU): Targets features where the model's current predictions are most uncertain.
  • Weighted Uncertainty (WU): Balances uncertainty with feature frequency to ensure that labels have a broad impact.
  • Diverse Uncertainty (DU): Ensures a variety of features are queried to avoid redundancy.

Additionally, a novel "Grid" interface was developed to group related features together based on distributional similarity, allowing users to label batches of features at once.

Experimental Evaluation

The method was evaluated on two sequence labeling tasks:

  1. Apartments: Segmenting 300 apartment classified ads into 11 fields (e.g., rent, neighborhood, contact).
  2. Cora: Extracting 13 BibTeX fields (e.g., author, title, journal) from 500 research paper references.

Key Results

The experimental results demonstrate that feature-based active learning significantly outperforms traditional instance-based methods. In simulated experiments on the Apartments task, the method achieved 74.6% accuracy with only 10 minutes of simulated effort, surpassing previous state-of-the-art results that utilized significantly more data.

Performance comparison of various active learning methods on the Apartments and Cora datasets.

As shown in the table above, the GE-based methods—particularly GE Weighted Uncertainty (WU)—consistently achieved higher mean and final accuracy compared to Expected Redundancy (ER) and Maximum Marginal Likelihood (MML) baselines across both datasets. Real-user experiments corroborated these findings, showing that users could train more accurate models in less time using the feature-labeling interface. The "grid" interface was particularly effective, enabling some users to provide many labels very quickly.

Discussion and Future Work

A key insight from this work is the power of covariance: GE uses the relationships between features in unlabeled data to propagate knowledge from a labeled feature to related, unlabeled ones. Additionally, the authors found that allowing users to "skip" noisy features is crucial for maintaining signal quality, as many features in natural language are non-discriminative.

While promising, the GE objective function is non-convex, which can lead to local optima. Future work may explore hybrid approaches that combine feature and instance queries to leverage the strengths of both labeling paradigms, as well as determining the optimal point to switch between these modes.

Summary updated

BibTeX
@inproceedings{druck2009active,
  author = {Gregory Druck and Burr Settles and Andrew McCallum},
  title = {{Active Learning by Labeling Features}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2009},
  url = {https://openreview.net/forum?id=Hk4zGMMuZS},
}
Figure