研究大语言模型(Large Language Models,LLMs)对不安全行为的鲁棒性是当今的重要研究课题。构建安全分类模型或称防护模型——即针对LLM的输入/输出安全分类进行微调的模型——被视为解决该问题的方案之一。尽管针对LLM自身的安全测试已有大量研究,但关于此类安全分类器的有效性评估、以及用于测试它们的评估数据集的研究仍较少,尤其是在多语言场景下。在这篇立场论文中,我们通过涵盖18种语言的数据集,展示了5个安全分类模型中存在的多语言差异问题。同时,我们指出了评估数据集存在的潜在问题,认为当前安全分类器的缺陷并非仅源于模型本身。我们期望这些发现能助力相关讨论,以开发更优方法来识别跨语言LLM输入中的有害内容。
英文摘要:
Studying the robustness of Large Language Models (LLMs) to unsafe behaviors is an important topic of research today. Building safety classification models or guard models, which are fine-tuned models for input/output safety classification for LLMs, is seen as one of the solutions to address the issue. Although there is a lot of research on the safety testing of LLMs themselves, there is little research on evaluating the effectiveness of such safety classifiers or the evaluation datasets used for testing them, especially in multilingual scenarios. In this position paper, we demonstrate how multilingual disparities exist in 5 safety classification models by considering datasets covering 18 languages. At the same time, we identify potential issues with the evaluation datasets, arguing that the shortcomings of current safety classifiers are not only because of the models themselves. We expect that these findings will contribute to the discussion on developing better methods to identify harmful content in LLM inputs across languages.
Safety Alignment Should Be Made More Than Just A Few Attention Heads
Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络安全学院)
The Scales of Justitia: A Comprehensive Survey on Safety Evaluation of LLMs
Beijing University of Posts and Telecommunications(北京邮电大学);Jinan University(暨南大学);Beihang University(北京航空航天大学);China Academy of Information and Communications Technology(中国信息通信研究院)
Scaling behavior of large language models in emotional safety classification across sizes and tasks
Leibniz Institute for Resilience Research(莱比锡韧性研究所);University Medical Center Halle(哈雷医学院);German Center for Mental Health (DZPG)(德国心理健康中心(DZPG));University Medical Center of the Johannes Gutenberg-University Mainz(美因茨约瑟夫·冯·拉贝大学医学院)
ConsisGuard: Aligning Safety Deliberation with Policy Enforcement in LLM Guardrails
Alibaba Group(阿里巴巴集团);Zhejiang University(浙江大学);Huzhou Normal University(湖州师范学院);Zhejiang Key Laboratory of Intelligent Education Technology and Application(浙江省智能教育技术与应用重点实验室)
SafetyAnalyst: Interpretable, Transparent, and Steerable Safety Moderation for AI Behavior
University of California, Berkeley(加州大学伯克利分校);University of Washington(华盛顿大学);Duke University(杜克大学);Carnegie Mellon University(卡内基梅隆大学);Stanford University(斯坦福大学)
Guangdong Provincial Key Laboratory of Brain-inspired Intelligent Computation, Department of Computer Science and Engineering, Southern University of Science and Technology(广东省脑启发智能计算重点实验室,计算机科学与工程系,南方科技大学)
Confident, Calibrated, or Complicit: Probing the Trade-offs between Safety Alignment and Ideological Bias in Language Models in Detecting Hate Speech
School of Physics, Mathematics and Computing(物理、数学与计算学系);Network Analysis and Social Influence Modelling (NASIM) Lab(网络分析与社会影响建模实验室);The University of Western Australia(西澳大学)