CRAIJun 3, 2024

Safeguarding Large Language Models: A Survey

arXiv:2406.02622v1118 citationsHas Code
Originality Synthesis-oriented
AI Analysis

This survey tackles the critical problem of ensuring ethical use of LLMs for developers and researchers, but it is incremental as it reviews existing work without introducing new methods.

The paper provides a systematic literature review on safeguarding mechanisms for Large Language Models, addressing ethical issues like hallucinations and fairness, and discusses current techniques, attacks, defenses, and future challenges.

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.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes