paper-with-me

홈 › Papers

Safety Arithmetic: A Framework for Test-time Safety Alignment of Language Models by Steering Parameters and Activations

2024-06-17 · Rima Hazra, Sayan Layek, Somnath Banerjee, Soujanya Poria

Ensuring the safe alignment of large language models (LLMs) with human values is critical as they become integral to applications like translation and question answering. Current alignment methods struggle with dynamic user intentions and complex objectives, making models vulnerable to generating harmful content. We propose Safety Arithmetic, a training-free framework enhancing LLM safety across different scenarios: Base models, Supervised fine-tuned models (SFT), and Edited models. Safety Arithmetic involves Harm Direction Removal to avoid harmful content and Safety Alignment to promote safe responses. Additionally, we present NoIntentEdit, a dataset highlighting edit instances that could compromise model safety if used unintentionally. Our experiments show that Safety Arithmetic significantly improves safety measures, reduces over-safety, and maintains model utility, outperforming existing methods in ensuring safe content generation.

📄 PDF Abstract BibTeX arXiv:2406.11801

Code (1)

declare-lab/safety-arithmetic 공식 구현 pytorch

Tasks

AI and SafetyQuestion AnsweringSafety Alignment

Methods 이 논문이 사용한 방법론

BASE 설명 없음

Similar Papers 제목 키워드 기반

Language Models are Homer Simpson! Safety Re-Alignment of Fine-tuned Language Models through Task Arithmetic

2024-02-19 · Rishabh Bhardwaj, Do Duc Anh, Soujanya Poria

Aligned language models face a significant limitation as their fine-tuning often results in compromised safety. To tackle this, we propose a simple method RESTA that performs LLM safety realignment. RESTA stands for REst…

Instruction FollowingMathTask Arithmetic

Expert Evaluation and the Limits of Human Feedback in Mental Health AI Safety Testing

2026-01-26 · Kiana Jafari, Paul Ulrich Nikolaus Rust, Duncan Eddy, Robbie Fraser 외 arxiv

Learning from human feedback~(LHF) assumes that expert judgments, appropriately aggregated, yield valid ground truth for training and evaluating AI systems. We tested this assumption in mental health, where high safety s…

SafetyNets: Verifiable Execution of Deep Neural Networks on an Untrusted Cloud

2017-06-30 · NeurIPS 2017 12 · Zahra Ghodsi, Tianyu Gu, Siddharth Garg

Inference using deep neural networks is often outsourced to the cloud since it is a computationally demanding task. However, this raises a fundamental issue of trust. How can a client be sure that the cloud has performed…

speech-recognitionSpeech Recognition

LSSF: Safety Alignment for Large Language Models through Low-Rank Safety Subspace Fusion

2026-01-19 · Guanghao Zhou, Panjia Qiu, Cen Chen, Hongyu Li 외 arxiv

The safety mechanisms of large language models (LLMs) exhibit notable fragility, as even fine-tuning on datasets without harmful content may still undermine their safety capabilities. Meanwhile, existing safety alignment…

Revocable Learned State via Process Sidecars

2026-06-29 · John Sweeney arxiv

Language models are often adapted in stages: a public skill phase, a private memory phase, and a later safety phase that learns to refuse outputs tied to the remembered entities. Revoking the memory after the safety phas…