针对事实性、毒性、偏见及幻觉倾向对Llama2、Mistral、Gemma和GPT进行基准测试
Benchmarking Llama2, Mistral, Gemma and GPT for Factuality, Toxicity, Bias and Propensity for Hallucinations
AI总结:
该研究构建14个新数据集评估大模型企业任务安全性,对比多款开源模型与GPT的事实性、毒性等表现,发现多轮对话下开源模型安全性普遍下降,仅Mistral表现稳定。
摘要:
本文提出了14个新型数据集,用于评估大语言模型在企业任务场景下的安全性。研究设计了一种评估模型安全性的方法,安全性的判定依据为模型遵循指令以及输出事实性、无偏见、有依据且恰当内容的能力。本研究以OpenAI GPT作为参照基准,因其在各维度的安全性表现均十分出色。在开源模型方面,较小尺寸的模型中,Meta Llama2在事实性和毒性指标上表现良好,但幻觉倾向最高;Mistral的幻觉最少,但对毒性问题的处理能力不佳,它在一个混合了多项任务与安全维度的窄垂直领域数据集上表现良好。基于Google Gemini推出的新型开源模型Gemma整体表现均衡但稍显落后。研究发现,在进行多轮来回对话(多轮提示)时,开源模型的安全性会显著下降;除OpenAI的GPT外,Mistral是唯一在多轮测试中仍保持良好表现的模型。
英文摘要:
This paper introduces fourteen novel datasets for the evaluation of Large Language Models' safety in the context of enterprise tasks. A method was devised to evaluate a model's safety, as determined by its ability to follow instructions and output factual, unbiased, grounded, and appropriate content. In this research, we used OpenAI GPT as point of comparison since it excels at all levels of safety. On the open-source side, for smaller models, Meta Llama2 performs well at factuality and toxicity but has the highest propensity for hallucination. Mistral hallucinates the least but cannot handle toxicity well. It performs well in a dataset mixing several tasks and safety vectors in a narrow vertical domain. Gemma, the newly introduced open-source model based on Google Gemini, is generally balanced but trailing behind. When engaging in back-and-forth conversation (multi-turn prompts), we find that the safety of open-source models degrades significantly. Aside from OpenAI's GPT, Mistral is the only model that still performed well in multi-turn tests.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。