paper-with-me

Papers

Dialectical Alignment: Resolving the Tension of 3H and Security Threats of LLMs

2024-03-30 · Shu Yang, Jiayuan Su, Han Jiang, Mengdi Li, Keyuan Cheng, Muhammad Asif Ali, Lijie Hu, Di Wang

With the rise of large language models (LLMs), ensuring they embody the principles of being helpful, honest, and harmless (3H), known as Human Alignment, becomes crucial. While existing alignment methods like RLHF, DPO, etc., effectively fine-tune LLMs to match preferences in the preference dataset, they often lead LLMs to highly receptive human input and external evidence, even when this information is poisoned. This leads to a tendency for LLMs to be Adaptive Chameleons when external evidence conflicts with their parametric memory. This exacerbates the risk of LLM being attacked by external poisoned data, which poses a significant security risk to LLM system applications such as Retrieval-augmented generation (RAG). To address the challenge, we propose a novel framework: Dialectical Alignment (DA), which (1) utilizes AI feedback to identify optimal strategies for LLMs to navigate inter-context conflicts and context-memory conflicts with different external evidence in context window (i.e., different ratios of poisoned factual contexts); (2) constructs the SFT dataset as well as the preference dataset based on the AI feedback and strategies above; (3) uses the above datasets for LLM alignment to defense poisoned context attack while preserving the effectiveness of in-context knowledge editing. Our experiments show that the dialectical alignment model improves poisoned data attack defense by 20 and does not require any additional prompt engineering or prior declaration of `you may be attacked` to the LLMs' context window.

📄 PDF Abstract BibTeX arXiv:2404.00486

Code (0)

등록된 구현이 없습니다.

Tasks

knowledge editingNavigatePrompt EngineeringRAGRetrieval-augmented Generation

Methods 이 논문이 사용한 방법론

DPO 설명 없음
SFT Shrink and Fine-Tune, or SFT, is a type of distillation that avoids explicit distillation by copying parameters to a student student model and then fine-tuning.…

Similar Papers 제목 키워드 기반

An Encoding of Abstract Dialectical Frameworks into Higher-Order Logic

2023-12-08 · Antoine Martina, Alexander Steen

An approach for encoding abstract dialectical frameworks and their semantics into classical higher-order logic is presented. Important properties and semantic relationships are formally encoded and proven using the proof…

A Review of Machine Learning-based Security in Cloud Computing

2023-09-10 · Aptin Babaei, Parham M. Kebria, Mohsen Moradi Dalvand, Saeid Nahavandi

Cloud Computing (CC) is revolutionizing the way IT resources are delivered to users, allowing them to access and manage their systems with increased cost-effectiveness and simplified infrastructure. However, with the gro…

Cloud Computing

Use of LLMs for Illicit Purposes: Threats, Prevention Measures, and Vulnerabilities

2023-08-24 · Maximilian Mozes, Xuanli He, Bennett Kleinberg, Lewis D. Griffin

Spurred by the recent rapid increase in the development and distribution of large language models (LLMs) across industry and academia, much recent work has drawn attention to safety- and security-related threats and vuln…

Evaluating the Cybersecurity Risk of Real World, Machine Learning Production Systems

2021-07-05 · Ron Bitton, Nadav Maman, Inderjeet Singh, Satoru Momiyama 외

Although cyberattacks on machine learning (ML) production systems can be harmful, today, security practitioners are ill equipped, lacking methodologies and tactical tools that would allow them to analyze the security ris…

BIG-bench Machine LearningGraph Generation

SEA: Low-Resource Safety Alignment for Multimodal Large Language Models via Synthetic Embeddings

2025-02-18 · Weikai Lu, Hao Peng, Huiping Zhuang, Cen Chen 외

Multimodal Large Language Models (MLLMs) have serious security vulnerabilities.While safety alignment using multimodal datasets consisting of text and data of additional modalities can effectively enhance MLLM's security…

GPUSafety Alignment