NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Classifying Factored Genres with Part-of-Speech Histograms

Sergey Feldman, Marius A. Marin, Julie Medero, Mari Ostendorf

Abstract

Traditional genre classification systems struggle with the evolving nature of web content, often forcing new genres into rigid, pre-defined categories. This paper proposes a "factored" approach to genre, decomposing it into underlying linguistic attributes like formality and intent. By utilizing higher-order statistics (skewness and kurtosis) of part-of-speech (POS) distributions, the authors develop a model capable of identifying unseen genres and characterizing them more accurately than traditional single-label classifiers.

Introduction

In natural language processing, identifying the "genre" of a document—whether it's a formal news report, a casual blog, or a spontaneous transcript—is vital for improving downstream tasks like machine translation and speech recognition. However, the "menu" of genres is constantly expanding. When traditional models encounter novel content like Wikipedia talk pages or political speeches, they often fail by forcing these documents into incorrect categories. This research aims to move toward a granular, factored representation that can describe the characteristics of any text, even those not present in the training set.

Methodology

The authors introduce two primary innovations to address the limitations of static genre labels:

  1. Higher-Order POS Histogram Statistics: Beyond standard mean and variance, this approach incorporates skewness (3rd moment) and kurtosis (4th moment) of POS tag frequencies calculated over a sliding window ($w=5$). These higher-order statistics capture nuanced structural patterns and "rhythms" in language.
  2. Factored Genre Modeling: Instead of a single classifier, four separate Quadratic Discriminant Analysis (QDA) classifiers are trained on specific linguistic attributes:
  3. Number of speakers/authors (1, 2, or 3+)
  4. Level of formality (Low, Medium, High)
  5. Intended audience (Personal, Broadcast)
  6. Intent (Inform, Persuade)

This allows a document to be characterized as a vector of factors (e.g., "High Formality, Single Author, Informative") rather than a single, potentially ill-fitting label.

Results and Discussion

Detecting the Unknown

A key finding is the model's ability to recognize when a document does not fit any known category. Models using only the first two statistical moments (mean and variance) often confidently misclassify new genres. By adding skewness and kurtosis, the model becomes significantly better at identifying documents as "undetermined."

Impact of higher-order moments on detecting unknown genres. The 'undetermined' category (white) grows significantly with the inclusion of 4 moments.

As shown in Figure 1, the inclusion of higher-order moments allowed the model to correctly identify 35-40% of unseen genres as "undetermined," compared to 0% when using only 2 moments. Furthermore, on a hand-labeled set of 100 web documents, adding these moments improved classification accuracy from 23% to 55%.

Factor Performance: Formality

The factored approach proved particularly successful in identifying formality levels. The model correctly identified Wikipedia entries as "high formality" and general web data as "medium formality."

Classification of the formality factor across various unseen test sets.

Figure 3 illustrates the distribution of formality across different test sets. While Wikipedia is dominated by "high" formality, the "web" and "wiki talk" sets show a more diverse mix, reflecting the hybrid nature of online communication. Importantly, adding these new features did not degrade performance on the original training genres.

Conclusion and Limitations

While the formality factor performed well, others like "number of speakers" proved more challenging, likely requiring specific vocabulary cues rather than just POS distributions. Additionally, the "intended audience" factor showed bias toward "broadcast" due to training data limitations. Future work will explore more complex models like Gaussian Mixtures and "noisy label learning" to better handle the subjectivity of linguistic factors. Despite these challenges, the factored approach provides a robust framework for classifying the ever-changing landscape of digital text.

Summary updated

BibTeX
@inproceedings{feldman2009classifying,
  author = {Sergey Feldman and Marius A. Marin and Julie Medero and Mari Ostendorf},
  title = {{Classifying Factored Genres with Part-of-Speech Histograms}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2009},
}
Figure