2025-06-10 · 专家 · 机器学习 · 自然语言处理

Evaluating LLMs Robustness in Less Resourced Languages with Proxy Models

本文提出了一种使用代理模型评估低资源语言中大型语言模型(LLMs)鲁棒性的方法,通过字符和词汇级别的扰动来测试LLMs的预测准确性,揭示了LLMs在低资源语言中的潜在脆弱性。

更新于 2025-06-10。作者:Maciej Chrabąszcz、Katarzyna Lorenc、Karolina Seweryn。

中文摘要

大型语言模型(LLMs)近年来在各种自然语言处理(NLP)任务中展现出令人印象深刻的性能。然而,它们容易受到破解和扰动的攻击,这需要额外的评估。许多LLMs支持多语言,但与安全相关的训练数据主要包含像英语这样的高资源语言。这可能导致它们在像波兰语这样的低资源语言中容易受到扰动。我们展示了通过仅更改几个字符并使用一个小型代理模型来计算词的重要性,可以以低廉的成本创造出惊人的攻击。我们发现,这些字符和词级别的攻击会极大地改变不同LLMs的预测结果,这表明了一种潜在的漏洞,可以利用它来绕过它们内部的安全机制。我们在波兰语(一种低资源语言)上验证了我们的攻击构建方法,并发现了LLMs在该语言中的潜在漏洞。此外,我们还展示了如何将其扩展到其他语言。我们发布了创建的语料库和代码,以供进一步研究。

英文摘要

Large language models (LLMs) have demonstrated impressive capabilities across various natural language processing (NLP) tasks in recent years. However, their susceptibility to jailbreaks and perturbations necessitates additional evaluations. Many LLMs are multilingual, but safety-related training data contains mainly high-resource languages like English. This can leave them vulnerable to perturbations in low-resource languages such as Polish. We show how surprisingly strong attacks can be cheaply created by altering just a few characters and using a small proxy model for word importance calculation. We find that these character and word-level attacks drastically alter the predictions of different LLMs, suggesting a potential vulnerability that can be used to circumvent their internal safety mechanisms. We validate our attack construction methodology on Polish, a low-resource language, and find potential vulnerabilities of LLMs in this language. Additionally, we show how it can be extended to other languages. We release the created datasets and code for further research.

解读

一句话总结

本文提出了一种使用代理模型评估低资源语言中大型语言模型(LLMs)鲁棒性的方法,通过字符和词汇级别的扰动来测试LLMs的预测准确性,揭示了LLMs在低资源语言中的潜在脆弱性。

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

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

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

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

来源