arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.29907cs.CL
收藏

用于检测讽刺性代码混合句子的大型语言模型基准测试

Benchmarking Large Language Models for Detecting Satirical Code-Mixed Sentences

National University of Science and Technology POLITEHNICA Bucharest(布加勒斯特理工国立科技大学);Academy of Romanian Scientists(罗马尼亚科学院);Center for Data Science in Humanities, Chosun University(朝鲜大学人文数据科学中心);National Institute for Research & Development in Informatics - ICI Bucharest(布加勒斯特国家信息学研究与发展研究所);University of Bucharest(布加勒斯特大学);Paris 1 Panthéon-Sorbonne University(巴黎第一大学先贤祠-索邦大学)

Răzvan-Alexandru Smădu, Ioana Buhnila, Daniela Tanase, Dumitru-Clementin Cercel, Florin Pop, Mihaela-Claudia Cercel

AI总结:

该研究构建了代码混合讽刺检测数据集CS-SeLeRoSa,评估了多语言大模型在该数据集上的表现,发现Gemma 4 31B经微调后性能优于前沿零样本基线。

摘要:

代码切换是一种自然的语言现象,但其对罗马尼亚等资源匮乏语言的高级推理任务的影响仍在很大程度上未被探索。自然语言处理任务(如讽刺检测)高度依赖大型语言模型难以捕捉的细微文化和句法线索。在本文中,我们研究了四种生成合成代码混合罗马尼亚语句子的方法,这些方法混合了英语、德语、法语和意大利语,四种方法分别为随机替换、短语翻译、依存句法分析和大型语言模型。我们从一个现有的讽刺检测数据集开始,该数据集由罗马尼亚新闻文章汇编而成,并由人类在句子层面进行标注,我们将其扩充了超过60万个样本,即CS-SeLeRoSa。我们对数据集生成过程进行了深入分析。然后,我们在合成语料库和经人类裁决的黄金基准CS-SeLeRoSa-Gold上,对几种多语言大型语言模型在零样本、思维链和微调三种场景下进行了评估。虽然较旧的开源模型出现大幅性能下降(宏观F1值降至37%-55%),但像Gemma 4 31B这样的较新模型在零样本场景下达到68.1%,可与GPT-5 mini等前沿模型(69.5%)相媲美。此外,微调显著减少了格式错误并提升了结果,使Gemma 4 31B在CS-SeLeRoSa上的性能提升至77.5%,在黄金标准上提升至72.6%,优于前沿零样本基线。

英文摘要:

Code-switching is a natural linguistic phenomenon, yet its impact on high-level reasoning tasks remains largely unexplored in under-resourced languages like Romanian. Natural language processing tasks, such as satire detection, rely heavily on nuanced cultural and syntactic cues that large language models struggle to capture. In this paper, we investigate four methods (i.e., random replacement, phrase translation, dependency parsing, and large language models) for generating synthetic code-mixed Romanian sentences with English, German, French, and Italian. We start with an existing dataset for satire detection, compiled from Romanian news articles and annotated at the sentence level by humans, and augment it with over 600k samples, namely CS-SeLeRoSa. We provide an in-depth analysis of the dataset generation process. Then, we evaluate several multilingual large language models across zero-shot, chain-of-thought, and fine-tuning regimes on both the synthetic corpus and a human-adjudicated gold benchmark, namely CS-SeLeRoSa-Gold. While older open models suffer substantial degradation (dropping to 37%-55% macro-F1), newer models like Gemma 4 31B achieve 68.1% zero-shot, rivaling frontier models like GPT-5 mini (69.5%). Furthermore, fine-tuning significantly reduces formatting errors and improves the results, increasing Gemma 4 31B to 77.5% on CS-SeLeRoSa and 72.6% on the gold standard, outperforming frontier zero-shot baselines.

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

↑