2024-12-02 · 专家 · 自然语言处理

LLM Teacher-Student Framework for Text Classification With No Manually Annotated Data: A Case Study in IPTC News Topic Classification

本文提出了一种基于大型语言模型(LLMs)的教师-学生框架,用于开发无需手动数据标注的多语言新闻分类模型,并通过实验验证了其有效性。

更新于 2024-12-02。作者:Taja Kuzman、Nikola Ljubešić。

中文摘要

随着在线新闻故事数量的不断增长,无论这些新闻是用哪种语言编写的,按主题对其进行分类都已成为提高读者获取相关内容的关键。为了应对这一挑战,我们提出了一种基于大型语言模型(LLMs)的教师-学生框架,用于开发合理规模的多语言新闻分类模型,无需手动数据标注。该框架使用生成预训练的Transformer(GPT)模型作为教师模型,通过自动标注斯洛文尼亚语、克罗地亚语、希腊语和加泰罗尼亚语的新闻文章,开发了一个IPTC媒体主题训练数据集。教师模型在所有四种语言上表现出较高的零样本性能。它与人工标注者的协议与人工标注者之间的协议相当。为了减轻与每天处理数百万文本要求相关的计算限制,较小的BERT-like学生模型在GPT标注的数据集上进行微调。这些学生模型实现了与教师模型相当的高性能。此外,我们探讨了训练数据量对学生模型性能的影响,并调查了它们的单语、多语和零样本跨语言能力。研究结果指出,学生模型可以在相对较少的训练实例下实现高性能,并展现出强大的零样本跨语言能力。最后,我们发布了性能最佳的新闻主题分类器,使得可以使用IPTC媒体主题方案的高级类别进行多语言分类。

英文摘要

With the ever-increasing number of news stories available online, classifying them by topic, regardless of the language they are written in, has become crucial for enhancing readers' access to relevant content. To address this challenge, we propose a teacher-student framework based on large language models (LLMs) for developing multilingual news classification models of reasonable size with no need for manual data annotation. The framework employs a Generative Pretrained Transformer (GPT) model as the teacher model to develop an IPTC Media Topic training dataset through automatic annotation of news articles in Slovenian, Croatian, Greek, and Catalan. The teacher model exhibits a high zero-shot performance on all four languages. Its agreement with human annotators is comparable to that between the human annotators themselves. To mitigate the computational limitations associated with the requirement of processing millions of texts daily, smaller BERT-like student models are fine-tuned on the GPT-annotated dataset. These student models achieve high performance comparable to the teacher model. Furthermore, we explore the impact of the training data size on the performance of the student models and investigate their monolingual, multilingual and zero-shot cross-lingual capabilities. The findings indicate that student models can achieve high performance with a relatively small number of training instances, and demonstrate strong zero-shot cross-lingual abilities. Finally, we publish the best-performing news topic classifier, enabling multilingual classification with the top-level categories of the IPTC Media Topic schema.

解读

一句话总结

本文提出了一种基于大型语言模型(LLMs)的教师-学生框架,用于开发无需手动数据标注的多语言新闻分类模型,并通过实验验证了其有效性。

问题1:这篇论文想要解决什么具体问题?

• 问题背景:随着在线新闻数量的激增,无论语言如何,对新闻进行主题分类对于增强读者获取相关内容的能力至关重要。 • 现有方案不足:目前缺乏手动标注数据,尤其是非英语语言的数据,手动标注过程昂贵且费时。 • 研究目标:开发无需手动数据标注的多语言新闻分类模型。

问题2:论文的核心创新点是什么?

• 技术创新:利用GPT模型作为教师模型来自动标注新闻文章,并使用XLM-RoBERTa模型作为学生模型进行微调。 • 方法改进:通过自动标注和微调方法,减少了数据标注的时间和成本。 • 优势:与现有方法相比,该框架能够以更低的成本和更高的效率实现多语言新闻分类。

问题3:实验结果如何验证了方法的有效性?

• 关键实验:在四门语言(斯洛文尼亚语、克罗地亚语、希腊语和加泰罗尼亚语)的测试集上评估了模型性能。 • 性能提升:学生模型在所有语言上实现了与教师模型相当的性能。 • 对比结果:与基线方法相比,学生模型在微-F1和宏-F1分数上均有所提升。

问题4:这个研究的实际应用价值是什么?

• 应用场景:该框架可以应用于新闻媒体行业,以自动分类新闻文章。 • 实施建议:使用该框架开发的多语言新闻分类模型可以应用于任何支持XLM-RoBERTa模型的100种语言。 • 局限与展望:未来研究可以扩展到更细粒度的分类,并探索该框架在更多文本分类任务中的应用。

来源

机器可读索引:llms.txt