Skip to main content
QUICK REVIEW

[Paper Review] Interactive Semantic Featuring for Text Classification

Camille Jandot, Patrice Y. Simard|arXiv (Cornell University)|Jun 24, 2016
Topic ModelingComputer Science3 references6 citations
TL;DR

This paper introduces smoothed dictionary features, a method that improves semantic feature engineering in text classification by modeling the probability of a word belonging to a dictionary based on its contextual neighbors, using a logistic regression model over naive-Bayes context scores. The approach achieves competitive performance with Bag-of-Words features while maintaining high model interpretability and requiring far fewer features, as shown in experiments on health and music text classification tasks.

ABSTRACT

In text classification, dictionaries can be used to define human-comprehensible features. We propose an improvement to dictionary features called smoothed dictionary features. These features recognize document contexts instead of n-grams. We describe a principled methodology to solicit dictionary features from a teacher, and present results showing that models built using these human-comprehensible features are competitive with models trained with Bag of Words features.

Motivation & Objective

  • To address the limitations of Bag-of-Words (BoW) features in text classification, such as high dimensionality and poor interpretability.
  • To improve upon traditional dictionary features, which suffer from low recall if terms are omitted and lack contextual sensitivity.
  • To develop a method that preserves semantic meaning by incorporating contextual information into dictionary-based features.
  • To design an interactive teaching process that enables teachers to iteratively refine features using active learning and context modeling.
  • To evaluate whether context-aware features can match BoW performance while remaining interpretable and efficient.

Proposed method

  • Propose smoothed dictionary features that predict the probability a word belongs to a dictionary based on its surrounding context, rather than relying on exact n-gram matches.
  • Train a logistic regression model to estimate the probability that a given n-gram belongs to a dictionary using context windows of unigrams from surrounding text.
  • Use log-odds ratios from a naive-Bayes classifier as context features, computed over non-overlapping, increasing-size windows around each n-gram.
  • Integrate these context features into a logistic regression model to output a probability score for dictionary membership.
  • Implement an interactive teaching loop where teachers label uncertain examples and refine dictionaries based on context model suggestions.
  • Use active learning strategies—uncertainty and disagreement sampling—to prioritize labeling and improve feature quality iteratively.

Experimental results

Research questions

  • RQ1Can context-aware dictionary features improve model performance while maintaining interpretability compared to standard Bag-of-Words features?
  • RQ2Does modeling dictionary membership probabilistically using local context reduce reliance on exact n-gram matching and improve generalization?
  • RQ3Is the interactive teaching process effective in reducing labeling effort while producing high-quality semantic features?
  • RQ4How do smoothed dictionary features compare to BoW in terms of AUC and accuracy when feature count is constrained?
  • RQ5Can the model detect and correct 'feature blindness' by refining dictionaries based on context-aware predictions?

Key findings

  • The smoothed dictionary feature model achieved an AUC of 95.1% on the health classification task and 96.7% on the music task, outperforming the standard dictionary features (86.4% and 94.1%) and matching BoW performance (93.3% and 95.3%).
  • With only 24 and 27 semantic features respectively, the smoothed dictionary model achieved competitive results compared to BoW models using 6,932 and 6,999 features, demonstrating high efficiency and interpretability.
  • When constrained to use only 189 and 185 words (matching dictionary size), the BoW model performed significantly worse than the smoothed dictionary model, confirming the advantage of context-aware features.
  • The interactive teaching process produced 27 health dictionaries in 2.4 hours and 24 music dictionaries in 1.7 hours, with 56% and 31% of time spent on labeling, respectively, indicating reasonable labeling efficiency.
  • The context model successfully suggested relevant terms (e.g., 'bassoon', 'saxophone', 'cello') for music dictionaries, demonstrating effective generalization beyond exact matches.
  • The method reduced feature blindness by identifying and refining dictionaries based on context, improving model robustness and interpretability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.