arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.15650cs.CLcs.AI
收藏

利用预训练语言模型的内在知识应对具有挑战性的文本分类场景

Harnessing the Intrinsic Knowledge of Pretrained Language Models for Challenging Text Classification Settings

Toyota Technological Institute at Chicago(芝加哥丰田技术研究所)

Lingyu Gao

AI总结:

本论文利用预训练语言模型的内在知识,通过上下文词表示、领域无关标签描述微调及优化上下文学习示例选择,解决了完形填空干扰项选择、未见标签泛化和提示敏感性三个文本分类挑战。

摘要:

文本分类对于情感分析和有毒文本过滤等应用至关重要,但由于自然语言的复杂性和歧义性,它仍面临挑战。深度学习的最新进展,特别是transformer架构和大规模预训练,在NLP领域取得了令人鼓舞的成功。基于这些进展,本论文利用预训练语言模型(PLMs)的内在知识,探讨了文本分类中的三个具有挑战性的场景。首先,为了解决为完形填空问题选择具有误导性但不正确的干扰项的挑战,我们开发了利用基于PLMs上下文词表示特征的模型,其性能媲美或超越了人类准确率。其次,为了增强模型对未见标签的泛化能力,我们创建了带有领域无关任务标签描述的小型微调数据集,提升了模型性能和鲁棒性。最后,为了解决大语言模型对上下文学习提示的敏感性问题,我们通过选择有效的示例来应对,重点关注被错误分类的示例,并解决模型对测试示例标签的歧义。

英文摘要:

Text classification is crucial for applications such as sentiment analysis and toxic text filtering, but it still faces challenges due to the complexity and ambiguity of natural language. Recent advancements in deep learning, particularly transformer architectures and large-scale pretraining, have achieved inspiring success in NLP fields. Building on these advancements, this thesis explores three challenging settings in text classification by leveraging the intrinsic knowledge of pretrained language models (PLMs). Firstly, to address the challenge of selecting misleading yet incorrect distractors for cloze questions, we develop models that utilize features based on contextualized word representations from PLMs, achieving performance that rivals or surpasses human accuracy. Secondly, to enhance model generalization to unseen labels, we create small finetuning datasets with domain-independent task label descriptions, improving model performance and robustness. Lastly, we tackle the sensitivity of large language models to in-context learning prompts by selecting effective demonstrations, focusing on misclassified examples and resolving model ambiguity regarding test example labels.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑