Boosting Few-Shot Text Classification via Distribution Estimation

Authors

  • Han Liu Dalian University of Technology
  • Feng Zhang Peking University
  • Xiaotong Zhang Dalian University of Technology
  • Siyang Zhao Dalian University of Technology
  • Fenglong Ma The Pennsylvania State University
  • Xiao-Ming Wu The Hong Kong Polytechnic University
  • Hongyang Chen Zhejiang Lab
  • Hong Yu Dalian University of Technology
  • Xianchao Zhang Dalian University of Technology

DOI:

https://doi.org/10.1609/aaai.v37i11.26552

Keywords:

SNLP: Text Classification

Abstract

Distribution estimation has been demonstrated as one of the most effective approaches in dealing with few-shot image classification, as the low-level patterns and underlying representations can be easily transferred across different tasks in computer vision domain. However, directly applying this approach to few-shot text classification is challenging, since leveraging the statistics of known classes with sufficient samples to calibrate the distributions of novel classes may cause negative effects due to serious category difference in text domain. To alleviate this issue, we propose two simple yet effective strategies to estimate the distributions of the novel classes by utilizing unlabeled query samples, thus avoiding the potential negative transfer issue. Specifically, we first assume a class or sample follows the Gaussian distribution, and use the original support set and the nearest few query samples to estimate the corresponding mean and covariance. Then, we augment the labeled samples by sampling from the estimated distribution, which can provide sufficient supervision for training the classification model. Extensive experiments on eight few-shot text classification datasets show that the proposed method outperforms state-of-the-art baselines significantly.

Downloads

Published

2023-06-26

How to Cite

Liu, H., Zhang, F., Zhang, X., Zhao, S., Ma, F., Wu, X.-M., Chen, H., Yu, H., & Zhang, X. (2023). Boosting Few-Shot Text Classification via Distribution Estimation. Proceedings of the AAAI Conference on Artificial Intelligence, 37(11), 13219-13227. https://doi.org/10.1609/aaai.v37i11.26552

Issue

Section

AAAI Technical Track on Speech & Natural Language Processing