Large language models (LLMs) have emerged as powerful tools but pose significant safety risks through harmful outputs and vulnerability to adversarial attacks. We propose SaP, short for Safety Polytope, a geometric approach to LLM safety that learns and enforces multiple safety constraints directly in the model's representation space. We develop a framework that identifies safe and unsafe regions via the polytope's facets, enabling both detection and correction of unsafe outputs through geometric steering. Unlike existing approaches that modify model weights, SaP operates post-hoc in the representation space, preserving model capabilities while enforcing safety constraints. Experiments across multiple LLMs demonstrate that our method can effectively detect unethical inputs, reduce adversarial attack success rates while maintaining performance on standard tasks, thus highlighting the importance of having an explicit geometric model for safety. Analysis of the learned polytope facets reveals emergence of specialization in detecting different semantic notions of safety, providing interpretable insights into how safety is captured in LLMs' representation space.
Q-resafe: Assessing Safety Risks and Quantization-aware Safety Patching for Quantized Large Language Models
The State Key Laboratory of Blockchain and Data Security, Zhejiang University(区块链与数据安全国家重点实验室,浙江大学);Sun Yat-sen University(中山大学);Hangzhou High-Tech Zone (Binjiang) Institute of Blockchain and Data Security(杭州高新技术区(滨江)区块链与数据安全研究院)
LLM Safety Alignment in Low-Resource Languages: A Systematic Literature Review
African Institute for Mathematical Sciences (AIMS)(非洲数学科学研究所);Bayero University Kano(卡诺贝罗大学);Brown University(布朗大学);Centrum Wiskunde & Informatica(数学与计算机科学中心);University of Pretoria(比勒陀利亚大学);University of Hamburg(汉堡大学);Imperial College London(伦敦帝国学院)
Multilingual Safety Signals Are Multi-Layered: Filtering Safety-Degrading Data for Safer LLMs
Beihang University(北京航空航天大学);Zhongguancun Laboratory(中关村实验室);Hangzhou Innovation Institute, Beihang University(北京航空航天大学杭州创新研究院);Qingdao Research Institute, Beihang University(北京航空航天大学青岛研究院)
Self-Aware Safety Augmentation: Leveraging Internal Semantic Understanding to Enhance Safety in Vision-Language Models
Shanghai Key Laboratory of Computer Software Testing and Evaluating(上海软件测试与评估 key laboratory);Shanghai Normal University(上海Normal University);TrustAI Pte. Ltd.;East China Normal University(东华师范大学)
In Vino Veritas and Vulnerabilities: Examining LLM Safety via Drunk Language Inducement
School of Computer Science and Engineering, UNSW Sydney(计算机科学与工程学院,新南威尔士大学悉尼分校);School of Computing and Information System, the University of Melbourne(计算与信息系统学院,墨尔本大学)
Preventing Safety Drift in Large Language Models via Coupled Weight and Activation Constraints
Hunan Normal University(湖南师范大学);The Key Laboratory of Cognition and Decision Intelligence for Complex Systems, Institute of Automation, Chinese Academy of Sciences(认知与决策智能复杂系统重点实验室,中国科学院自动化研究所);National University of Defense Technology(国防科技大学)
CodeAttack: Revealing Safety Generalization Challenges of Large Language Models via Code Completion
Shanghai Jiao Tong University(上海交通大学);East China Normal University(华东师范大学);The Chinese University of Hong Kong(香港中文大学);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室)
State-Dependent Safety Failures in Multi-Turn Language Model Interaction
School of Cyber Science and Technology, University of Science and Technology of China, China(中国科学技术大学信息科学与技术学院);Nanyang Technological University, Singapore(南洋理工大学);Tsinghua University, Beijing, China(清华大学);Beijing Electronic Science and Technology Institute, Beijing, China(北京电子科技研究所)
The Safety Reminder: A Soft Prompt to Reactivate Delayed Safety Awareness in Vision-Language Models
School of Computer Science and Technology, Xi’an Jiaotong University(西安交通大学计算机科学与技术学院);School of Computer Science and Technology, University of Science and Technology of China(中国科学技术大学计算机科学与技术学院);School of Computing and Information Systems, Singapore Management University(新加坡管理学院计算与信息系统学院)
CoSafe: Evaluating Large Language Model Safety in Multi-Turn Dialogue Coreference
The Hong Kong Polytechnic University(香港理工大学);Huawei Noah’s Ark Lab(华为诺亚方舟实验室);Research Centre for Data Science & Artificial Intelligence(数据科学与人工智能研究中心)
Beyond Visual Safety: Jailbreaking Multimodal Large Language Models for Harmful Image Generation via Semantic-Agnostic Inputs
State Key Laboratory of Networking and Switching Technology, Beijing University of Posts and Telecommunications(网络与交换技术国家重点实验室,北京邮电大学);School of Cyberspace Security, Beijing University of Posts and Telecommunications(网络安全学院,北京邮电大学)