Document Classification Through Interactive Supervision of Document and Term Labels

Shantanu Godbole, Abhay Harpale, Sunita Sarawagi, Soumen Chakrabarti

TL;DR

HIClass is an interactive text classification framework that allows users to label both whole documents and individual "trigger" terms. By combining multi-label active learning with human-in-the-loop feature engineering, the system significantly reduces the "cognitive load" required to build high-performing classifiers from scratch.

Introduction: The Bottleneck of Manual Labeling

Standard machine learning for text classification typically follows a "batch-supervised" approach: you provide a large, pre-labeled dataset, and the algorithm learns a model. However, real-world applications often face three significant hurdles:

  1. The Cold Start Problem: There is often no labeled data to begin with.
  2. High Cognitive Load: Reading and labeling hundreds of long documents is exhausting and slow for humans.
  3. Wasted Expertise: Humans intuitively know that certain words are strong indicators for specific classes, but standard classifiers cannot "ask" for this knowledge; they must wait to see those words in labeled documents.

The authors aim to bridge this gap by creating a "tight interaction loop" where the system and the human collaborate to define features and labels simultaneously.

The HIClass Framework

The authors present HIClass (Hyper Interactive text Classification), which extends Support Vector Machines (SVMs) into an interactive workbench. The system facilitates three primary levels of interaction: document-level, word-level, and model/data exploration.

The HIClass system architecture and interaction levels.

Key technical innovations include:

  • Multi-label Active Learning: Most active learning focuses on binary choices. HIClass handles multi-label scenarios by calculating the "largest gap" between class scores for a document. If the gap is small, the classifier is uncertain, and that document is flagged for human review.
  • Bulk-Labeling: To speed up the process, the system clusters the most "uncertain" documents into groups of similar items. The user can then label the entire cluster at once, reducing the mental effort of switching contexts.
  • Term-Level Active Learning: This is the paper's most novel contribution. The system identifies influential terms that the model is currently unsure about and asks the user to associate them with specific classes.
  • Interactive Feature Engineering: Users can dynamically refine features—for example, grouping "Ecuador" and "Ecuadorean" if stemming was insufficient, or defining compound features like "blood bank."

Experimental Insights

The researchers evaluated HIClass using three distinct datasets: Reuters-21578, 20-Newsgroups, and a real-world "Outdoors" dataset. A key finding was the efficacy of treating terms as first-class entities. By treating a single word as a training instance, human domain knowledge can be injected directly into the SVM's weight vector.

Evolution of term weights (w) as the number of labeled documents increases.

As shown in the table above, the model's internal weights for terms evolve significantly as more data is provided. In the early stages (Num labeled=1), the model relies on a few high-weight terms. As labeling progresses (Num labeled=50), the weights become more refined and distributed, reflecting a more nuanced understanding of the class. This bootstrapping via terms allows a model to reach a baseline level of intelligence much faster than document labeling alone.

Key Results and Conclusion

The study demonstrated significant efficiency gains. Active learning reached peak F1 accuracy levels significantly faster than random document selection. Furthermore, bulk-labeling reduced the "inverse similarity" (a proxy for cognitive load) by a factor of 2, acknowledging that human efficiency is about maintaining a consistent mental state rather than just minimizing clicks.

While term labeling is excellent for bootstrapping, the authors note that gains diminish once the model matures, as terms lack the rich context of full documents. Future work will focus on more sophisticated "drill-down" error diagnostics to help users identify specific terms or classes hampering performance.

Summary updated

BibTeX
@inproceedings{godbole2004document,
  author = {Shantanu Godbole and Abhay Harpale and Sunita Sarawagi and Soumen Chakrabarti},
  title = {{Document Classification Through Interactive Supervision of Document and Term Labels}},
  booktitle = {PKDD},
  year = {2004},
  doi = {10.1007/978-3-540-30116-5\_19},
}
Figure