[Paper Review] An empirical study on large scale text classification with skip-gram embeddings
This paper proposes a hybrid approach for large-scale text classification by fusing skip-gram word embeddings with traditional tf-idf or one-hot-encoded features. It evaluates simple composition functions (average, max, min) to derive document-level representations and demonstrates that concatenating these with tf-idf features significantly improves F1 scores—by up to 3.5 points—especially in high-cardinality, multi-class settings with up to 10,000 classes.
We investigate the integration of word embeddings as classification features in the setting of large scale text classification. Such representations have been used in a plethora of tasks, however their application in classification scenarios with thousands of classes has not been extensively researched, partially due to hardware limitations. In this work, we examine efficient composition functions to obtain document-level from word-level embeddings and we subsequently investigate their combination with the traditional one-hot-encoding representations. By presenting empirical evidence on large, multi-class, multi-label classification problems, we demonstrate the efficiency and the performance benefits of this combination.
Motivation & Objective
- To investigate the effectiveness of skip-gram word embeddings as features in large-scale text classification with thousands of classes.
- To evaluate simple composition functions (average, max, min) for transforming word-level embeddings into document-level representations.
- To assess the performance gain from fusing distributed embeddings with traditional one-hot or tf-idf representations in high-dimensional, multi-label classification tasks.
- To address hardware limitations in training deep neural networks on large-vocabulary, high-cardinality text classification problems by using pre-trained embeddings.
- To demonstrate that the fusion of embeddings with tf-idf features yields statistically significant and scalable performance improvements across multiple datasets.
Proposed method
- Uses pre-trained skip-gram word embeddings (D=100, 200, 400) as input for document representation composition.
- Applies three composition functions—average, max, and min—element-wise across word vectors to generate document-level embeddings.
- Constructs document representations as concatenations: z_conc(doc) = [z_avg(doc), z_min(doc), z_max(doc)].
- Combines the resulting document-level embeddings with tf-idf or hash-encoded one-hot features via concatenation for final classification input.
- Employs standard classifiers (e.g., SVMs) on the fused feature space, with dimensionality reduction via hashing (70,000 features) to manage scale.
- Evaluates performance using F1 scores and conducts two-sided t-tests (p < 0.01) to validate statistical significance of improvements.
Experimental results
Research questions
- RQ1How effective are simple composition functions (average, max, min) in transforming word-level skip-gram embeddings into document-level representations for large-scale text classification?
- RQ2Does combining pre-trained skip-gram embeddings with traditional tf-idf or one-hot features improve classification performance on datasets with up to 10,000 classes?
- RQ3How does the performance of the fused representation vary with increasing label space cardinality and embedding dimensionality?
- RQ4Are the performance gains from fusion statistically significant across multiple large-scale text classification benchmarks?
- RQ5To what extent does the choice of feature representation (tf-idf vs. hash vs. embeddings) impact scalability and accuracy in high-dimensional settings?
Key findings
- The fusion of tf-idf features with concatenated skip-gram embeddings (D=400) improved F1 scores by 3.5 points on the PubMed 10,000 dataset compared to tf-idf alone.
- The improvement from combining embeddings with tf-idf was statistically significant (p < 0.01) across all evaluated datasets, including PubMed 10,000.
- For PubMed 1,000, the performance of the fused model was comparable to tf-idf alone, but gains became more pronounced as the number of classes increased.
- The optimal embedding dimensionality (D) decreased in influence when fused with tf-idf, suggesting that lower-dimensional embeddings (D < 400) could suffice in practice.
- The hash-based one-hot encoding representation performed worse than tf-idf, but still benefited significantly from fusion with embeddings—improving by up to 3.5 F1 points.
- The composition of word embeddings via average, min, and max functions was computationally efficient and naturally parallelizable, enabling scalability to large datasets with 10,000 classes.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.