A Parameter-Independent Fewshot Text Categorization In-corporating Semantic Information
Abstract
Deep learning is currently widely used in text classification due to its high accuracy. However, deep learning tends to require a large amount of training resources, while deep learning also tends to suffer from overfitting with fewer labeled samples. Jiang et proposed an alternative scheme without training parameters that is simple, lightweight, and versatile in text catego-rization: a simple text compressor (e.g., gzip) combined with a k-nearest-neighbor classifier is used for text categorization. However, npc-gzip only considers the presence of identical words, ignoring semantic similarity. Therefore, we propose a method based on that paper to integrate semantic information, which outperforms the non-pretrained baseline method, npc-gzip, in the few-shot setting.
References
- Jiang, Z., Yang, M., Tsirlin, M., Tang, R., Dai, Y., & Lin, J. (2023). "LowResource" text classification: A parameter-free classification method with in findings of the Association for Computational Linguistics: ACL 2023, pages 6810-6828, Toronto, Canada. Association for Computational Linguistics.
- Li, Q., Peng, H., Li, J., Xia, C., Yang, R., Sun, L., Yu, P. S., & He, L. (2022). A survey on text classification: From traditional toACM Transactions on Intelligent Systems and Technology (TIST), 13(2), 1-41.
- Shen, D., Wang, G., Wang, W., Min, M. R., Su, Q., Zhang, Y., Li, C., Henao, R., & Carin, L. Baseline needs more love: On simple wordembedding-based models and associated pooling mechanisms. more love: On simple wordembedding-based models and associated pooling mechanisms. InProceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume I), New York, USA. Computational Linguistics (Volume 1: Long Papers), pages 440-450.
- Hochreiter, S., & Schmidhuber, J. (1997). Long short-term memory.Neural Computation, 9(8), 1735-1780.
- Joulin, A., Grave, E., Bojanowski, P., & Mikolov, T. (2017). Bag of tricks for efficient text classification.EACL 2017, 427.
- Wang, Y., Huang, M., Zhu, X., & Zhao, L. (2016). Attention-based LSTM for aspect-level sentiment classification. InProceedings of the 2016 Conference on Empirical Methods in Natural Language Processing, 606-615.
- Mikolov, T., Chen, K., Corrado, G., & Dean, J. (2013). Efficient estimation of word representations in vector space.arXiv preprint arXiv, 1301.3781.