arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.09447cs.CLcs.AI
收藏

开源大语言模型有多可信?恶意示例下的评估揭示其脆弱性

How Trustworthy are Open-Source LLMs? An Assessment under Malicious Demonstrations Shows their Vulnerabilities

The Ohio State University(俄亥俄州立大学);University of California, Davis(加利福尼亚大学戴维斯分校)

Lingbo Mo, Boshi Wang, Muhao Chen, Huan Sun

AI总结:

本文通过提出advCoU恶意示例攻击策略,从八个维度评估开源LLMs的可信度,发现性能更强或经指令微调的模型可能更易受攻击,而安全对齐微调可有效缓解此类风险。

摘要:

开源大语言模型(LLMs)的快速进展正在显著推动人工智能的发展。然而,对其可信度的理解仍然有限。在可信度不足的情况下大规模部署这些模型可能带来重大风险,这凸显了及时揭示这些问题的必要性。在本工作中,我们对开源LLMs的可信度进行了对抗性评估,从八个不同方面进行审视,包括毒性、刻板印象、伦理、幻觉、公平性、谄媚、隐私以及对对抗性示例的鲁棒性。我们提出了advCoU,这是一种扩展的基于话语链(Chain of Utterances, CoU)的提示策略,通过融入精心设计的恶意示例来进行可信度攻击。我们的大量实验涵盖了近期具有代表性的开源LLMs系列,包括Vicuna、MPT、Falcon、Mistral和Llama 2。实证结果强调了我们的攻击策略在不同方面的有效性。更有趣的是,我们的结果分析揭示,在通用NLP任务中表现更优的模型并不总是具有更高的可信度;事实上,更大的模型可能更容易受到攻击。此外,经过指令微调、专注于指令遵循的模型往往更容易受到影响,尽管针对安全对齐对LLMs进行微调被证明能有效缓解对抗性可信度攻击。

英文摘要:

The rapid progress in open-source Large Language Models (LLMs) is significantly driving AI development forward. However, there is still a limited understanding of their trustworthiness. Deploying these models at scale without sufficient trustworthiness can pose significant risks, highlighting the need to uncover these issues promptly. In this work, we conduct an adversarial assessment of open-source LLMs on trustworthiness, scrutinizing them across eight different aspects including toxicity, stereotypes, ethics, hallucination, fairness, sycophancy, privacy, and robustness against adversarial demonstrations. We propose advCoU, an extended Chain of Utterances-based (CoU) prompting strategy by incorporating carefully crafted malicious demonstrations for trustworthiness attack. Our extensive experiments encompass recent and representative series of open-source LLMs, including Vicuna, MPT, Falcon, Mistral, and Llama 2. The empirical outcomes underscore the efficacy of our attack strategy across diverse aspects. More interestingly, our result analysis reveals that models with superior performance in general NLP tasks do not always have greater trustworthiness; in fact, larger models can be more vulnerable to attacks. Additionally, models that have undergone instruction tuning, focusing on instruction following, tend to be more susceptible, although fine-tuning LLMs for safety alignment proves effective in mitigating adversarial trustworthiness attacks.

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

↑