Improving Domain-Generalized Few-Shot Text Classification with Multi-Level Distributional Signatures
Source abstract
Abstract
Domain-generalized few-shot text classification (DG-FSTC) is a new setting for few-shot text classification (FSTC). In DG-FSTC, the model is meta-trained on a multi-domain dataset, and meta-tested on unseen datasets with different domains. However, previous methods mostly construct semantic representations by learning from words directly, which is limited in domain adaptability. In this study, we enhance the domain adaptability of the model by utilizing the distributional signatures of texts that indicate domain-related features in specific domains. We propose a Multi-level Distributional Signatures based model, namely MultiDS. Firstly, inspired by pretrained language models, we compute distributional signatures from an extra large news corpus, and we denote these as domain-agnostic features. Then we calculate the distributional signatures from texts in the same domain and texts from the same class, respectively. These two kinds of information are regarded as domain-specific and class-specific features, respectively. After that, we fuse and translate these three distributional signatures into word-level attention values, which enables the model to capture informative features as domain changes. In addition, we utilize domain-specific distributional signatures for the calibration of feature representations in specific domains. The calibration vectors produced by the domain-specific distributional signatures and word embeddings help the model adapt to various domains. Extensive experiments are performed on four benchmarks. The results demonstrate that our proposed method beats the state-of-the-art method with an average improvement of 1.41% on four datasets. Compared with five competitive baselines, our method achieves the best average performance. The ablation studies prove the effectiveness of each proposed module.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Topic Modeling · Domain Adaptation and Few-Shot Learning · Natural Language Processing Techniques
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
School of Computer and Software Engineering, Xihua University, Chengdu 610039, China
Funding
National Natural Science Foundation · Sichuan Regional Innovation Cooperation Project · Innovation Fund of Postgraduate, Xihua University
References (30)
Show source-provided references
1. Chakraborty, S., and Singh, A. (March, January 22). Active Sampling for Text Classification with Subinstance Level Queries. Proceedings of the 36th AAAI Conference on Artificial Intelligence, AAAI 2022, Online Event.10.1609/aaai.v36i6.20563 ↗
2. Choi, S., Jeong, M., Han, H., and Hwang, S. (March, January 22). C2L: Causally Contrastive Learning for Robust Text Classification. Proceedings of the 36th AAAI Conference on Artificial Intelligence, AAAI 2022, Online Event.10.1609/aaai.v36i10.21296 ↗
3. Finn, C., Abbeel, P., and Levine, S. (2017, January 6–11). Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networks. Proceedings of the 34th International Conference on Machine Learning, ICML 2017, Sydney, NSW, Australia.
4. Snell, J., Swersky, K., and Zemel, R.S. (2017, January 4–9). Prototypical Networks for Few-shot Learning. Proceedings of the Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems 2017, Long Beach, CA, USA.
5. Geng, R., Li, B., Li, Y., Zhu, X., Jian, P., and Sun, J. (2019, January 3–7). Induction Networks for Few-Shot Text Classification. Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing, EMNLP-IJCNLP 2019, Hong Kong, China.10.18653/v1/D19-1403 ↗
6. Ye, Z., and Ling, Z. (August, January 28). Multi-Level Matching and Aggregation Network for Few-Shot Relation Classification. Proceedings of the 57th Conference of the Association for Computational Linguistics, ACL 2019, Florence, Italy.10.18653/v1/P19-1277 ↗
7. Ohashi, S., Takayama, J., Kajiwara, T., and Arase, Y. (2021, January 1–6). Distinct Label Representations for Few-Shot Text Classification. Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing, ACL/IJCNLP 2021, Online Event.10.18653/v1/2021.acl-short.105 ↗
8. Sun, P., Ouyang, Y., Zhang, W., and Dai, X. (2021, January 19–26). MEDA: Meta-Learning with Data Augmentation for Few-Shot Text Classification. Proceedings of the 30th International Joint Conference on Artificial Intelligence, IJCAI 2021, Online Event.10.24963/ijcai.2021/541 ↗
9. Bao, Y., Wu, M., Chang, S., and Barzilay, R. (2020, January 26–30). Few-shot Text Classification with Distributional Signatures. Proceedings of the 8th International Conference on Learning Representations, ICLR 2020, Addis Ababa, Ethiopia.
10. Zhang, C., and Song, D. (2021, January 13–17). A Simple Baseline for Cross-Domain Few-Shot Text Classification. Proceedings of the Natural Language Processing and Chinese Computing—10th CCF International Conference, NLPCC 2021, Qingdao, China.10.1007/978-3-030-88480-2_56 ↗
11. Wang, X., Du, Y., Chen, D., Li, X., Chen, X., Fan, Y., Xie, C., Li Lee, Y., Liu, J., and Li, H. (2022). Dual Adversarial Network with Meta Learning for Domain-Generalized Few-Shot Text Classification. SSRN.10.2139/ssrn.4308710 ↗
12. Larson, S., Mahendran, A., Peper, J.J., Clarke, C., Lee, A., Hill, P., Kummerfeld, J.K., Leach, K., Laurenzano, M.A., and Tang, L. (2019, January 3–7). An Evaluation Dataset for Intent Classification and Out-of-Scope Prediction. Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing, EMNLP-IJCNLP 2019, Hong Kong, China.10.18653/v1/D19-1131 ↗
13. Arora, S., Liang, Y., and Ma, T. (2017, January 24–26). A Simple but Tough-to-Beat Baseline for Sentence Embeddings. Proceedings of the 5th International Conference on Learning Representations, ICLR 2017, Toulon, France.
14. Karimi Mahabadi, R., Zettlemoyer, L., Henderson, J., Mathias, L., Saeidi, M., Stoyanov, V., and Yazdani, M. (2022, January 22–27). Prompt-free and Efficient Few-shot Learning with Language Models. Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics: ACL 2022, Dublin, Ireland.10.18653/v1/2022.acl-long.254 ↗
15. Gu, Y., Han, X., Liu, Z., and Huang, M. (2022, January 22–27). PPT: Pre-trained Prompt Tuning for Few-shot Learning. Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics, ACL 2022, Dublin, Ireland.10.18653/v1/2022.acl-long.576 ↗
16. Mueller, A., Krone, J., Romeo, S., Mansour, S., Mansimov, E., Zhang, Y., and Roth, D. (2022, January 22–27). Label Semantic Aware Pre-training for Few-shot Text Classification. Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics, ACL 2022, Dublin, Ireland.10.18653/v1/2022.acl-long.570 ↗
17. Wang, C., Wang, J., Qiu, M., Huang, J., and Gao, M. (2021, January 7–11). TransPrompt: Towards an Automatic Transferable Prompting Framework for Few-shot Text Classification. Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, EMNLP 2021, Online Event.10.18653/v1/2021.emnlp-main.221 ↗
18. Zhang, J., Bui, T., Yoon, S., Chen, X., Liu, Z., Xia, C., Tran, Q.H., Chang, W., and Yu, P.S. (2021, January 7–11). Few-Shot Intent Detection via Contrastive Pre-Training and Fine-Tuning. Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, EMNLP 2021, Online Event.10.18653/v1/2021.emnlp-main.144 ↗
19. Zhang, H., Zhang, Y., Zhan, L., Chen, J., Shi, G., Wu, X., and Lam, A.Y.S. (2021, January 7–11). Effectiveness of Pre-training for Few-shot Intent Classification. Proceedings of the Findings of the Association for Computational Linguistics: EMNLP 2021, Online Event.10.18653/v1/2021.findings-emnlp.96 ↗
20. Chen, J., Zhang, R., Mao, Y., and Xu, J. (March, January 22). ContrastNet: A Contrastive Learning Framework for Few-Shot Text Classification. Proceedings of the 36th AAAI Conference on Artificial Intelligence, AAAI 2022, Online Event.10.1609/aaai.v36i10.21292 ↗
21. Luo, Q., Liu, L., Lin, Y., and Zhang, W. (2021, January 1–6). Don’t Miss the Labels: Label-semantic Augmented Meta-Learner for Few-Shot Text Classification. Proceedings of the Findings of the Association for Computational Linguistics: ACL/IJCNLP 2021, Online Event.10.18653/v1/2021.findings-acl.245 ↗
22. Devlin, J., Chang, M., Lee, K., and Toutanova, K. (2019, January 2–7). BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding. Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, NAACL-HLT 2019, Minneapolis, MN, USA.
23. Lang, K. (1995, January 9–12). NewsWeeder: Learning to Filter Netnews. Proceedings of the 12th International Conference on Machine Learning, Tahoe City, CA, USA.
24. Bertinetto, L., Henriques, J.F., Torr, P.H.S., and Vedaldi, A. (2019, January 6–9). Meta-learning with differentiable closed-form solvers. Proceedings of the 7th International Conference on Learning Representations, ICLR 2019, New Orleans, LA, USA.
25. Casanueva, I., Temčinas, T., Gerz, D., Henderson, M., and Vulić, I. (2020, January 9). Efficient Intent Detection with Dual Sentence Encoders. Proceedings of the 2nd Workshop on Natural Language Processing for Conversational AI, Online.10.18653/v1/2020.nlp4convai-1.5 ↗
26. Misra, R., and Grover, J. (2021). Sculpting Data for ML: The First Act of Machine Learning, University of California San Diego.
27. Liu, X., Eshghi, A., Swietojanski, P., and Rieser, V. (2019, January 24–26). Benchmarking Natural Language Understanding Services for Building Conversational Agents. Proceedings of the Increasing Naturalness and Flexibility in Spoken Dialogue Interaction—10th International Workshop on Spoken Dialogue Systems, IWSDS 2019, Syracuse, Sicily, Italy.
28. Gao, T., Han, X., Liu, Z., and Sun, M. (February, January 27). Hybrid Attention-Based Prototypical Networks for Noisy Few-Shot Relation Classification. Proceedings of the 33rd AAAI Conference on Artificial Intelligence, AAAI 2019, Honolulu, HI, USA.10.1609/aaai.v33i01.33016407 ↗
29. Han, C., Fan, Z., Zhang, D., Qiu, M., Gao, M., and Zhou, A. (2021, January 1–6). Meta-Learning Adversarial Domain Adaptation Network for Few-Shot Text Classification. Proceedings of the Findings of the Association for Computational Linguistics: ACL/IJCNLP 2021, Online Event.10.18653/v1/2021.findings-acl.145 ↗
30. Kingma, D.P., and Ba, J. (2015, January 7–9). Adam: A Method for Stochastic Optimization. Proceedings of the 3rd International Conference on Learning Representations, ICLR 2015, San Diego, CA, USA.