mlsanityData to 14 Oct 2026

Towards Robust Few-Shot Text Classification Using Transformer Architectures and Dual Loss Strategies

arXiv 2505.06145 ↗First posted 9 May 2025cs.CL cs.LGcited by 4

Not on the map. Why?

Abstract (arXiv)

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 loss and regularization loss, the generalization ability of the model is enhanced, effectively alleviating the overfitting problem in few-shot environments. In addition, the research results show that the use of Transformer models or generative architectures with stronger self-attention mechanisms can help improve the stability and accuracy of few-shot classification.

Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 5 of its 25 references that are in the map. First posted on arXiv 9 May 2025.

Builds on

5 of 25 references.

References · 5

  1. 2024Fine-Tuned 'Small' LLMs (Still) Significantly Outperform Zero-Shot Generative AI Models in Text Classificationcited by 70
  2. 2023Mask-guided BERT for Few Shot Text Classificationcited by 25
  3. 2025Social Network User Profiling for Anomaly Detection Based on Graph Neural Networkscited by 9
  4. 2025Addressing Class Imbalance with Probabilistic Graphical Models and Variational Inferencecited by 9
  5. 2025Contrastive and Variational Approaches in Self-Supervised Learning for Complex Data Miningcited by 6

Built on by

Cited by year

Citing papers per year: 2025: 4.

4 papers.