arXiv:2603.02267cs.LGcs.AI2026-03

用标签语义指导距离缩放,提升少样本文本分类准确率

Boosting Meta-Learning for Few-Shot Text Classification via Label-guided Distance Scaling

  • 训练时注入标签语义信息,拉近样本与标签表示距离
  • 测试时通过标签引导缩放,使样本更贴近类别中心
  • 适用于标签稀缺场景,尤其适合小样本文本分类任务

少样本文本分类旨在用极少标注文本识别未见类别。现有方法多在训练阶段设计复杂算法提升元学习器性能,但测试阶段标签样本随机选取,可能无法提供有效监督信号,导致误分类。为此,我们提出标签引导距离缩放(LDS)策略。核心思想是在训练和测试阶段均利用标签语义作为监督信号。训练阶段设计标签引导损失,将样本表示与对应标签表示拉近;测试阶段引入标签引导缩放器,以标签语义对样本表示进行缩放,增强监督信号。即使标签样本表示远离类别中心,该方法仍可将其拉近,缓解误分类问题。结合两种常见元学习器验证了方法有效性,实验表明其显著优于现有先进模型。所有数据集与代码已公开于 https://anonymous.4open.science/r/Label-guided-Text-Classification。

原文摘要 · Abstract (English)

Few-shot text classification aims to recognize unseen classes with limited labeled text samples. Existing approaches focus on boosting meta-learners by developing complex algorithms in the training stage. However, the labeled samples are randomly selected during the testing stage, so they may not provide effective supervision signals, leading to misclassification. To address this issue, we propose a \textbf{L}abel-guided \textbf{D}istance \textbf{S}caling (LDS) strategy. The core of our method is exploiting label semantics as supervision signals in both the training and testing stages. Specifically, in the training stage, we design a label-guided loss to inject label semantic information, pulling closer the sample representations and corresponding label representations. In the testing stage, we propose a Label-guided Scaler which scales sample representations with label semantics to provide additional supervision signals. Thus, even if labeled sample representations are far from class centers, our Label-guided Scaler pulls them closer to their class centers, thereby mitigating the misclassification. We combine two common meta-learners to verify the effectiveness of the method. Extensive experimental results demonstrate that our approach significantly outperforms state-of-the-art models. All datasets and codes are available at https://anonymous.4open.science/r/Label-guided-Text-Classification.

少样本学习文本分类元学习标签语义

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。