开源大语言模型(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.
MalURLBench: A Benchmark Evaluating Agents' Vulnerabilities When Processing Web URLs
Zhejiang University(浙江大学);National University of Malaysia (Universiti Kebangsaan Malaysia)(马来西亚国立大学);Hangzhou City University(杭州市大学);Yangzhou University(扬州大学);Chongqing University(重庆大学);Binjiang Institute of Zhejiang University(浙江大学滨江研究院)
"Do Not Mention This to the User": Detecting and Understanding Malicious Agent Skills in the Wild
Griffith University(格里菲斯大学);Nanyang Technological University(南洋理工大学);University of New South Wales(新南威尔士大学);Zhejiang Key Laboratory of Digital Fashion and Data Governance, Zhejiang Sci-Tech University(浙江数字时尚与数据治理重点实验室,浙江科技大学)
Your Agent is More Brittle Than You Think: Uncovering Indirect Injection Vulnerabilities in Agentic LLMs
Arizona State University(亚利桑那州立大学);Morgan Stanley(摩根士丹利);UC Davis(加州大学戴维斯分校);Washington University in St. Louis(圣路易斯华盛顿大学);Rice University(莱斯大学);Florida State University(佛罗里达州立大学);University of Oxford(牛津大学)
Trustworthy Agent Network: Trust in Agent Networks Must Be Baked In, Not Bolted On
University of Southern California(南加州大学);Carnegie Mellon University(卡内基梅隆大学);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Stanford University(斯坦福大学)
Trustworthy AI-Generative Content for Intelligent Network Service: Robustness, Security, and Fairness
School of Electronic Information and Electrical Engineering, Shanghai Jiao Tong University(上海交通大学电子信息与电气工程学院);College of Computer Science and Technology, Zhejiang University(浙江大学计算机科学与技术学院)
A Trustworthy Multi-LLM Network: Challenges,Solutions, and A Use Case
University of Electronic Science and Technology of China(电子科技大学);Nanyang Technological University(南洋理工大学);University of Oklahoma(俄克拉荷马大学);TU Wien(维也纳技术大学);Universitat Pompeu Fabra(庞培法布拉大学)
Pathway to Secure and Trustworthy ZSM for LLMs: Attacks, Defense, and Opportunities
School of Computing, Dublin City University(都柏林城市大学计算机学院);Institute of Business Administration, University of Sindh(信德大学工商管理学院);Munster Technological University(芒斯特理工大学);Centre Tecnològic de Telecomunicacions de Catalunya (CTTC)(加泰罗尼亚电信技术中心)