Abstract
Text categorization often faces challenges due to high dimensionality and the sparse nature of word occurrences. Traditional regularization techniques like Lasso and Ridge treat words as independent features, ignoring the inherent semantic relationships between them. This paper proposes "structured regularizers" that leverage word clusters—derived from semantic embeddings (word2vec), graphical communities, and latent topics—to group related words. By applying Group Lasso penalties to these clusters, the authors demonstrate significant improvements in classification accuracy and computational efficiency across multiple datasets.
Introduction
In tasks such as sentiment analysis or topic classification, models must navigate thousands of unique words, many of which appear infrequently. This high dimensionality often leads to overfitting, where a model memorizes specific training instances rather than learning generalizable linguistic patterns.
Standard regularization methods, such as $L_1$ (Lasso) and $L_2$ (Ridge), penalize model complexity but fail to account for the fact that words are not independent. For instance, "doctor" and "hospital" are semantically linked; a model that identifies one as a strong indicator for a category should logically consider the other as well. The authors address this by incorporating "prior knowledge" of word relationships into the training process through structured regularization.
Methodology: Structured Regularization
The core of the proposed approach is the Group Lasso. Unlike standard Lasso, which penalizes individual weights, Group Lasso penalizes groups of weights together. If a group is determined to be irrelevant, all words within that group are pushed toward zero simultaneously.
The authors propose three primary methods for defining these word groups:
- Semantic Clusters (word2vec): Words are mapped into a continuous vector space using pre-trained word2vec embeddings. K-Means clustering is then applied to group semantically similar words.
- Graphical Communities (Graph-of-Words): A document collection is represented as a graph where nodes are words and edges represent co-occurrence. Community detection algorithms, such as the Louvain method, are used to identify neighborhoods of related words.
- Latent Topics (LSI/LDA): Latent Semantic Indexing (LSI) and Latent Dirichlet Allocation (LDA) are used to identify underlying topics, with the most representative words of each topic forming a group.
To handle the optimization of overlapping groups—where a single word might belong to multiple clusters—the authors utilize the Alternating Direction Method of Multipliers (ADMM).
Experimental Evaluation
The researchers evaluated their approach on ten binary classification tasks spanning two major domains:
- 20 Newsgroups: Subsets including Science, Sports, Religion, and Computers.
- Sentiment Analysis: Datasets covering Congressional speeches ("vote"), movie reviews, and Amazon product reviews (Books, DVD, Electronics, Kitchen).
Results and Discussion
The structured regularizers (LSI, GoW, and word2vec) consistently outperformed standard Lasso and Ridge regression.
Efficiency and Convergence
One of the most significant findings was the gain in computational efficiency. Previous state-of-the-art "sentence-based" regularizers were computationally expensive due to the sheer number of overlapping groups. By utilizing a fixed number of clusters (e.g., 2,000 word2vec clusters), the authors achieved speedups ranging from 4x to 60x compared to sentence-based methods.
Model Compactness
The proposed methods achieve a "sweet spot" in terms of model sparsity. While Lasso produces extremely sparse models that may lose important features, and Ridge produces dense models that are computationally heavy, structured regularizers retain a balanced number of features.
Conclusion
By treating clusters of words as functional units, structured regularization provides a powerful inductive bias that helps models ignore noise and focus on meaningful linguistic structures. While the approach requires careful hyperparameter tuning and depends on the quality of the initial clustering, it offers a robust and efficient alternative to traditional text classification techniques. Future work will explore soft-membership clustering and broader applications across different loss functions.
Summary updated