Safety alignment does not fully prevent large language models (LLMs) from producing harmful content under adversarial attacks. We observe that existing attack methods typically move harmful embeddings toward regions of harmless embeddings. This motivates us to explore whether increasing the distance between harmful and harmless embeddings can improve the safety of LLMs, since greater separation requires attacks to make larger embedding shifts, which can destroy semantics. We propose Embedding Space Separation (ES2), a fine-tuning method that increases the distance between harmful and harmless embeddings. However, maximizing this distance alone can damage LLMs' capabilities. Thus, we use two regularization losses: an embedding anchor loss keeps harmless embeddings close in direction to those of a frozen base model and a KL-divergence loss keeps output distributions on harmless prompts close to those of the base model. Our experimental results demonstrate that ES2 has excellent defensive performance against various attack methods. LLMs fine-tuned with ES2 retain general capabilities comparable to those of the baseline models, though some performance degradation is observed on certain tasks. Our results indicate that ES2 is an effective way to enhance the safety of large language models, while maintaining comparable performance on general capabilities.
ARREST: Adversarial Resilient Regulation Enhancing Safety and Truth in Large Language Models
Electronics and Communication Sciences Unit (ECSU), Indian Statistical Institute Kolkata, University of Surrey, and Indian Institute Of Technology Delhi(电子与通信科学单元(ECSU)、印度统计研究所科钦分校、萨里大学和印度理工学院德里)
Aligned but Fragile: Enhancing LLM Safety Robustness via Zeroth-Order Optimization
The State Key Laboratory of Blockchain and Data Security(区块链与数据安全国家重点实验室);Hangzhou High-Tech Zone (Binjiang) Institute of Blockchain and Data Security(杭州高科技园区(滨江)区块链与数据安全研究院);Sun Yat-sen University(中山大学);KAUST(卡塔尔大学)
ToolSafe: Enhancing Tool Invocation Safety of LLM-based agents via Proactive Step-level Guardrail and Feedback
National Engineering Research Center for Software Engineering, Peking University(软件工程国家工程研究中心,北京大学);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室)
Enhancing Multiple Dimensions of Trustworthiness in LLMs via Sparse Activation Control
State Key Lab of CAD&CG, Zhejiang University(浙江大学CAD&CG国家重点实验室);Alibaba Cloud(阿里云);Hong Kong Baptist University(香港浸会大学);School of Software Technology, Zhejiang University(浙江大学软件学院);Zhiyuan Research Institute(智源研究院);Fabu Inc.(fabu公司)
TRIDENT: Enhancing Large Language Model Safety with Tri-Dimensional Diversified Red-Teaming Data Synthesis
Key Laboratory of Aerospace Information Security and Trusted Computing, Ministry of Education, School of Cyber Science and Engineering, Wuhan University(航空信息安全与可信计算重点实验室,教育部,网络安全工程学院,武汉大学);Ant Group(蚂蚁集团);Ant International(蚂蚁国际);School of Computing Technologies, Royal Melbourne Institute of Technology(计算技术学院,皇家墨尔本理工学院)
University of California, Irvine(加利福尼亚大学欧文分校);University of Southern California(南加州大学);Carnegie Mellon University(卡内基梅隆大学);Stevens Institute of Technology(史蒂文斯理工学院);TensorOpera Inc.(TensorOpera公司)
本文提出复合 AI 系统 TorchOpera,通过向量数据库、规则包装器及不安全内容检测调整机制,在保证响应效率的同时提升 LLM 提示与响应的安全、可靠和实用性。
Reasoning over Boundaries: Enhancing Specification Alignment via Test-time Deliberation
School of Artificial Intelligence, Shanghai Jiao Tong University, Shanghai, China(上海交通大学人工智能学院);Shanghai Artificial Intelligence Laboratory, Shanghai, China(上海人工智能实验室);University of Science and Technology of China, Hefei, Anhui, China(中国科学技术大学);The Chinese University of Hong Kong, Hong Kong, China(香港中文大学);University of Illinois Urbana-Champaign, Urbana, IL, USA(伊利诺伊大学厄巴纳-香槟分校)
Enhancing Autonomous Vehicle Training with Language Model Integration and Critical Scenario Generation
Imperial College London(帝国理工学院);Centre for Transport Engineering and Modelling(交通工程与建模中心);Department of Civil and Environmental Engineering(土木与环境工程系);Personal Robotics Laboratory(个人机器人实验室)
Counterfactual Neighborhood Risk Fields: Evidence-Grounded Selective Safety for Vision-Language Models
Tongji University(同济大学);Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学);University of Electronic Science and Technology of China(电子科技大学);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室)