Categorical Metadata Representation for Customized Text Classification
Preprint
Abstract
The performance of text classification has improved tremendously using intelligently engineered neural-based models, especially those injecting categorical metadata as additional information, e.g., using user/product information for sentiment classification. These information have been used to modify parts of the model (e.g., word embeddings, attention mechanisms) such that results can be customized according to the metadata. We observe that current representation methods for categorical metadata, which are devised for human consumption, are not as effective as claimed in popular classification methods, outperformed even by simple concatenation of categorical features in the final layer of the sentence encoder. We conjecture that categorical features are harder to represent for machine use, as available context only indirectly describes the category, and even such context is often scarce (for tail category). To this end, we propose to use basis vectors to effectively incorporate categorical metadata on various parts of a neural-based model. This additionally decreases the number of parameters dramatically, especially when the number of categorical features is large. Extensive experiments on various datasets with different properties are performed and show that through our method, we can represent categorical metadata more effectively to customize parts of the model, including unexplored ones, and increase the performance of the model greatly.Keywords
All Related Versions
This publication has 20 references indexed in Scilit:
- Translations as Additional Contexts for Sentence Classification2018
- Deep Contextualized Word Representations2018
- Capturing User and Product Information for Document Level Sentiment Analysis with Deep Memory Network2017
- Context-aware sentiment propagation using LDA topic modeling on Chinese ConceptNetSoft Computing, 2016
- Neural Sentiment Classification with User and Product Attention2016
- Hierarchical Recurrent Neural Network for Document Modeling2015
- Glove: Global Vectors for Word Representation2014
- Addressing cold-start problem in recommendation systems2008
- The Presentation of Self in Virtual Life: Characteristics of Personal Home PagesJournalism & Mass Communication Quarterly, 2002
- Machine learning in automated text categorizationACM Computing Surveys, 2002