arXiv:2511.07989cs.CLcs.AI2025-11被引 1

对比大模型与微调模型在南斯拉夫语系文本分类中的表现。

State of the Art in Text Classification for South Slavic Languages: Fine-Tuning or Prompting?

  • 用零样本提示测试开源与闭源大模型,对比微调BERT。
  • 大模型在零样本下性能接近甚至超越微调模型。
  • 适合资源少的语言任务,但推理慢且成本高。

以往微调的BERT类模型在文本分类中表现最佳。随着指令微调的解码器单向大语言模型(LLMs)兴起,零样本和少量样本提示逐渐成为主流。然而,大模型在文本分类,尤其是低资源语言上的表现仍缺乏研究。本文评估了当前语言模型在多个南斯拉夫语系文本分类任务中的表现,涵盖三个领域:议会演讲的情感分类、新闻与议会文本的主题分类,以及网络文本的体裁识别。我们比较了开放获取的微调BERT类模型与若干开源及闭源大模型。结果表明,大模型在零样本设置下表现出色,通常达到或超过微调模型的水平;且在南斯拉夫语系与英语上表现相当。但大模型存在输出不可预测、推理速度慢、计算开销高等问题。因此,微调的BERT类模型仍是大规模自动文本标注更实用的选择。

原文摘要 · Abstract (English)

Until recently, fine-tuned BERT-like models provided state-of-the-art performance on text classification tasks. With the rise of instruction-tuned decoder-only models, commonly known as large language models (LLMs), the field has increasingly moved toward zero-shot and few-shot prompting. However, the performance of LLMs on text classification, particularly on less-resourced languages, remains under-explored. In this paper, we evaluate the performance of current language models on text classification tasks across several South Slavic languages. We compare openly available fine-tuned BERT-like models with a selection of open-source and closed-source LLMs across three tasks in three domains: sentiment classification in parliamentary speeches, topic classification in news articles and parliamentary speeches, and genre identification in web texts. Our results show that LLMs demonstrate strong zero-shot performance, often matching or surpassing fine-tuned BERT-like models. Moreover, when used in a zero-shot setup, LLMs perform comparably in South Slavic languages and English. However, we also point out key drawbacks of LLMs, including less predictable outputs, significantly slower inference, and higher computational costs. Due to these limitations, fine-tuned BERT-like models remain a more practical choice for large-scale automatic text annotation.

文本分类大模型南斯拉夫语零样本

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