Towards Robust Few-Shot Text Classification Using Transformer Architectures and Dual Loss Strategies
Xu Han, Yumeng Sun, Weiqiang Huang, Hongye Zheng, Junliang Du

TL;DR
This paper enhances few-shot text classification by combining adaptive fine-tuning, contrastive learning, and regularization in Transformer models, leading to improved accuracy and generalization in low-resource scenarios.
Contribution
It introduces a dual loss strategy with contrastive and regularization techniques to boost Transformer-based models' performance in few-shot text classification.
Findings
Transformer models perform well in 5-shot tasks.
Contrastive and regularization losses improve generalization.
Different relationship categories vary in classification difficulty.
Abstract
Few-shot text classification has important application value in low-resource environments. This paper proposes a strategy that combines adaptive fine-tuning, contrastive learning, and regularization optimization to improve the classification performance of Transformer-based models. Experiments on the FewRel 2.0 dataset show that T5-small, DeBERTa-v3, and RoBERTa-base perform well in few-shot tasks, especially in the 5-shot setting, which can more effectively capture text features and improve classification accuracy. The experiment also found that there are significant differences in the classification difficulty of different relationship categories. Some categories have fuzzy semantic boundaries or complex feature distributions, making it difficult for the standard cross entropy loss to learn the discriminative information required to distinguish categories. By introducing contrastive…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsDomain Adaptation and Few-Shot Learning · Text and Document Classification Technologies · Topic Modeling
MethodsAttention Is All You Need · Linear Layer · Multi-Head Attention · Dense Connections · Dropout · Layer Normalization · Position-Wise Feed-Forward Layer · Byte Pair Encoding · Softmax · Absolute Position Encodings
