Skip to main content
QUICK REVIEW

[Paper Review] Word Vector Enrichment of Low Frequency Words in the Bag-of-Words Model for Short Text Multi-class Classification Problems

Bradford Heap, Michael Bain|arXiv (Cornell University)|Sep 18, 2017
Topic ModelingComputer Science20 references18 citations
TL;DR

This paper proposes a method to enhance the bag-of-words model for short text multi-class classification by enriching low-frequency and out-of-vocabulary words using semantic neighbors from pre-trained word vector models. By incorporating semantically related terms from general or domain-specific Word2Vec models, the approach improves linear classifier performance without retraining, achieving statistically significant gains in recall across three diverse domains, especially with domain-specific vectors.

ABSTRACT

The bag-of-words model is a standard representation of text for many linear classifier learners. In many problem domains, linear classifiers are preferred over more complex models due to their efficiency, robustness and interpretability, and the bag-of-words text representation can capture sufficient information for linear classifiers to make highly accurate predictions. However in settings where there is a large vocabulary, large variance in the frequency of terms in the training corpus, many classes and very short text (e.g., single sentences or document titles) the bag-of-words representation becomes extremely sparse, and this can reduce the accuracy of classifiers. A particular issue in such settings is that short texts tend to contain infrequently occurring or rare terms which lack class-conditional evidence. In this work we introduce a method for enriching the bag-of-words model by complementing such rare term information with related terms from both general and domain-specific Word Vector models. By reducing sparseness in the bag-of-words models, our enrichment approach achieves improved classification over several baseline classifiers in a variety of text classification problems. Our approach is also efficient because it requires no change to the linear classifier before or during training, since bag-of-words enrichment applies only to text being classified.

Motivation & Objective

  • To address the poor performance of linear classifiers on short text with rare or unseen words due to extreme sparsity in bag-of-words representations.
  • To improve classification accuracy in multi-class problems with large vocabularies, high class counts, and very short texts (e.g., titles, snippets).
  • To develop an efficient, non-invasive method that enriches test-time text representations using word vector semantics, without modifying trained classifiers.
  • To evaluate the effectiveness of general versus domain-specific word vector models in enriching bag-of-words features for low-frequency terms.
  • To demonstrate that semantic enrichment can significantly improve recall, especially in challenging real-world classification tasks like conflict analysis and medical ontology classification.

Proposed method

  • Train a domain-specific Word2Vec model on unlabelled text from the target domain (e.g., ICG reports, medical articles) to capture semantic relationships.
  • For each rare or out-of-vocabulary word in a test text, identify its nearest neighbors in the word vector space using cosine similarity.
  • Enrich the bag-of-words representation by adding these semantically related neighbor words to the feature vector of the test instance.
  • Apply the enriched bag-of-words vector directly to existing linear classifiers (e.g., Multinomial Naive Bayes, SVM) without retraining.
  • Use both general (e.g., Google News) and domain-specific word vectors to compare enrichment effectiveness.
  • Apply the enrichment process only at inference time, preserving the original classifier’s training and parameters.

Experimental results

Research questions

  • RQ1Can enriching bag-of-words representations with semantically related words from pre-trained word vectors improve classification performance on short text with rare terms?
  • RQ2Does using domain-specific word vectors for enrichment yield better results than general-purpose word vectors in low-resource, high-variability classification tasks?
  • RQ3To what extent does the enrichment method improve recall, particularly for under-represented classes in imbalanced datasets?
  • RQ4Is the performance gain statistically significant across multiple diverse domains and classifier types?
  • RQ5Can this method be applied efficiently without retraining existing classifiers, making it practical for real-world deployment?

Key findings

  • The proposed enrichment method significantly improves micro and macro F1 and recall scores across all three evaluated datasets, with gains exceeding 10% in some cases.
  • On the ICG DRC conflict driver dataset, the method achieved a statistically significant improvement in macro F1 (p < 0.00005) and micro recall, despite the dataset’s inherent difficulty.
  • Using a small domain-specific Word2Vec model for enrichment yielded better results than a much larger general-purpose model, indicating domain relevance is critical.
  • The method improved recall for low-frequency and out-of-vocabulary words by leveraging semantic neighbors, enhancing the classifier’s ability to detect relevant features.
  • The approach is computationally efficient and fully compatible with existing linear classifiers, as it requires no retraining during inference.
  • When configured to output top-3 predictions, the enriched model showed strong performance, suggesting utility in human-in-the-loop coding systems.

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.