Abstract
This work provides the first in-depth analysis of genre in Universal Dependencies (UD). In contrast to prior work on genre identification which uses small sets of well-defined labels in mono-/bilingual setups, UD contains 18 genres with varying degrees of specificity spread across 114 languages. As most treebanks are labeled with multiple genres while lacking annotations about which instances belong to which genre, we propose four methods for predicting instance-level genre using weak supervision from treebank metadata. The proposed methods recover instance-level genre better than competitive baselines as measured on a subset of UD with labeled instances and adhere better to the global expected distribution. Our analysis sheds light on prior work using UD genre metadata for treebank selection, finding that metadata alone are a noisy signal and must be disentangled within treebanks before it can be universally applied.
Introduction
In Natural Language Processing (NLP), Universal Dependencies (UD) serves as the standard for consistent syntactic annotation across languages. However, while grammatical structures are well-defined, the handling of "genre" (e.g., news, legal, social media) remains inconsistent. Currently, UD provides genre metadata primarily at the treebank level. For treebanks containing multiple genres, instance-level labels are missing, which hinders research into domain shift—where models trained on one text type (like Wikipedia) underperform on others (like Twitter). This paper addresses the need to "disentangle" these labels and assign them to individual sentences.
Methodology
The study investigates four primary methods to move from aggregate treebank labels to instance-level predictions:
- BOOT (Bootstrapping): An mBERT-based classifier trained on "pure" single-genre treebanks that iteratively labels mixed-genre data.
- CLASS (Approximate Classification): A weakly supervised approach fine-tuning mBERT by treating every sentence in a multi-genre treebank as belonging to all its listed genres.
- Clustering (GMM & LDA): Grouping sentences using either deep embeddings (Gaussian Mixture Models on mBERT) or traditional lexical features (Latent Dirichlet Allocation on character n-grams).
- Hybrid Clustering (GMM+L & LDA+L): The paper's most effective contribution, which clusters sentences within each treebank first, then uses a global representational space to assign the most likely UD genre label to those local clusters.
Key Results
The hybrid clustering methods significantly outperformed standard baselines. As shown in the quantitative evaluation, GMM+L achieved the highest Micro-F1 score of 54.2, representing a massive leap over the Zero-shot (ZERO) baseline of 12.0.
A critical advantage of the proposed methods is the reduction of "news-bias." While simpler models tend to label most instances as "news" (the most frequent category), the hybrid models are significantly better at identifying minority genres such as wiki and social.
Discussion and Insights
- Language Dominance: In multilingual embedding spaces like mBERT, "language-ness" is a stronger signal than "genre-ness." A French news sentence often appears more similar to a French tweet than to an English news sentence, explaining why global clustering often fails.
- Inconsistency in Metadata: Genre definitions vary wildly between contributors; what is labeled "non-fiction" in one treebank might be "academic" in another. This makes the metadata a noisy signal.
- Lexical Robustness: Simple character n-grams (LDA) performed nearly as well as deep learning embeddings (GMM) in the hybrid framework, suggesting that genre is often signaled by surface-level vocabulary and punctuation patterns.
Conclusion
Classifying single sentences in isolation remains difficult due to short contexts and the inherent subjectivity of genre labels. Future work should focus on creating a more rigorous, hierarchical taxonomy and incorporating document-level context. This research provides the necessary tools to disentangle genre in UD, allowing the community to better control for domain and genre in multilingual experiments.
Summary updated