在蓬勃发展的 Large Language Models (LLMs) 领域,开发稳健的安全机制(俗称“safeguards”或“guardrails”)已成为确保 LLMs 在规定边界内被伦理使用的当务之急。本文对这一关键机制的现状进行了系统的文献综述。文章讨论了其主要挑战,以及如何将其增强为能够处理各种情境下伦理问题的综合机制。首先,本文阐明了主要 LLM 服务提供商和开源社区所采用的 safeguarding 机制的现状。随后介绍了评估、分析和增强 guardrail 可能希望强制执行的某些(不)期望属性的技术,如幻觉、公平性、隐私等。在此基础上,我们回顾了规避这些控制(即攻击)、防御攻击以及加固 guardrails 的技术。虽然上述技术代表了当前现状和活跃的研究趋势,但我们也讨论了几种难以用现有方法轻易应对的挑战,并提出了我们的愿景,即通过充分考虑多学科方法、神经符号方法和系统开发生命周期来实现全面的 guardrail。
英文摘要:
In the burgeoning field of Large Language Models (LLMs), developing a robust safety mechanism, colloquially known as "safeguards" or "guardrails", has become imperative to ensure the ethical use of LLMs within prescribed boundaries. This article provides a systematic literature review on the current status of this critical mechanism. It discusses its major challenges and how it can be enhanced into a comprehensive mechanism dealing with ethical issues in various contexts. First, the paper elucidates the current landscape of safeguarding mechanisms that major LLM service providers and the open-source community employ. This is followed by the techniques to evaluate, analyze, and enhance some (un)desirable properties that a guardrail might want to enforce, such as hallucinations, fairness, privacy, and so on. Based on them, we review techniques to circumvent these controls (i.e., attacks), to defend the attacks, and to reinforce the guardrails. While the techniques mentioned above represent the current status and the active research trends, we also discuss several challenges that cannot be easily dealt with by the methods and present our vision on how to implement a comprehensive guardrail through the full consideration of multi-disciplinary approach, neural-symbolic method, and systems development lifecycle.
AdaShield: Safeguarding Multimodal Large Language Models from Structure-based Attack via Adaptive Shield Prompting
Peking University(北京大学);University of Wisconsin–Madison(威斯康星大学麦迪逊分校);International Digital Economy Academy(国际数字经济学院);University of California Davis(加州大学戴维斯分校)
Multilingual Collaborative Defense for Large Language Models
Key Laboratory of Big Data & Artificial Intelligence in Transportation (Beijing Jiaotong University), Ministry of Education(大数据与人工智能交通运输 key laboratory(北京交通大学));School of Computer Science and Technology, Beijing Jiaotong University(计算机科学与技术学院(北京交通大学));University of Montreal(蒙特利尔大学)
CrossGuard: Safeguarding MLLMs against Joint-Modal Implicit Malicious Attacks
Department of Computer Science, City University of Hong Kong(香港城市大学计算机科学系);Department of Computer Science & Engineering, Washington University in St. Louis(华盛顿大学圣路易斯分校计算机科学与工程系)
Internal Activation Revision: Safeguarding Vision Language Models Without Parameter Update
Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学);Fraunhofer FOKUS(弗劳恩霍夫协会FOKUS研究所);The University of Tokyo(东京大学);University of Alberta(阿尔伯塔大学)
CoopGuard: Stateful Cooperative Agents Safeguarding LLMs Against Evolving Multi-Round Attacks
School of Computer Science, Shanghai Jiao Tong University(上海交通大学计算机科学与工程学院);Department of Computer Science, University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校计算机科学系);Big Data Institute, Central South University(中南大学大数据研究院)
CoreGuard: Safeguarding Foundational Capabilities of LLMs Against Model Stealing in Edge Deployment
School of Software Technology, Zhejiang University(浙江大学软件学院);Institute of Software, Chinese Academy of Sciences(中国科学院软件研究所);Ningbo Global Innovation Center, Zhejiang University(浙江大学宁波全球创新中心);Washington University in St. Louis(圣路易斯华盛顿大学);University of Science and Technology of China(中国科学技术大学);College of Computer Science and Technology, Zhejiang Normal University(浙江师范大学计算机科学与技术学院);China Electronics Technology Design and Research Institute(中国电子技术设计与研究院)
Safeguarding RAG Pipelines with GMTP: A Gradient-based Masked Token Probability Method for Poisoned Document Detection
Graduate School of Artificial Intelligence, POSTECH, Republic of Korea(人工智能研究生院,POSTECH,韩国);Department of Computer Science and Engineering, POSTECH, Republic of Korea(计算机科学与工程系,POSTECH,韩国)
Risks of AI Scientists: Prioritizing Safeguarding Over Autonomy
Yale University(耶鲁大学);National Library of Medicine, National Institutes of Health(国家医学图书馆,国立卫生研究院);Mila-Quebec AI Institute(魁北克AI研究所);Shanghai Jiao Tong University(上海交通大学);OPPO Research Institute(OPPO研究院);Reichman University(里奇曼大学)
Stop DDoS Attacking the Research Community with AI-Generated Survey Papers
Antai College of Economics and Management, Shanghai Jiao Tong University, China(上海交通大学安泰经济管理学院);School of Computer Science, Shanghai Jiao Tong University, China(上海交通大学计算机科学学院)
Opportunities and Challenges of Large Language Models for Low-Resource Languages in Humanities Research
School of Computing, The University of Georgia(佐治亚大学计算机学院);Department of Mathematical and Statistical Sciences, University of Alberta(阿尔伯塔大学数学与统计科学系);University of California, Los Angeles(加州大学洛杉矶分校);Department of Radiology, Massachusetts General Hospital and Harvard Medical School(麻省总医院放射科和哈佛医学院)
Recent Advances in Natural Language Processing via Large Pre-Trained Language Models: A Survey
Raytheon BBN Technologies(雷神BBN技术公司);Harvard University(哈佛大学);University of Pennsylvania(宾夕法尼亚大学);University of Oregon(俄勒冈大学);University of the Basque Country (UPV/EHU)(巴斯克大学 (UPV/EHU))
Unified Hallucination Detection for Multimodal Large Language Models
Ant Group(蚂蚁集团);College of Computer Science and Technology, Zhejiang University(浙江大学计算机科学与技术学院);School of Software Technology, Zhejiang University(浙江大学软件学院)