Large Language Models (LLMs) have showcased remarkable capabilities across various domains. Accompanying the evolving capabilities and expanding deployment scenarios of LLMs, their deployment challenges escalate due to their sheer scale and the advanced yet complex activation designs prevalent in notable model series, such as Llama, Gemma, Mistral. These challenges have become particularly pronounced in resource-constrained deployment scenarios, where mitigating inference bottlenecks is imperative. Among various recent efforts, activation approximation has emerged as a promising avenue for pursuing inference efficiency, sometimes considered indispensable in applications such as private inference. Despite achieving substantial speedups with minimal impact on utility, even appearing sound and practical for real-world deployment, the safety implications of activation approximations remain unclear. In this work, we fill this critical gap in LLM safety by conducting the first systematic safety evaluation of activation approximations. Our safety vetting spans seven state-of-the-art techniques across three popular categories (activation polynomialization, activation sparsification, and activation quantization), revealing consistent safety degradation across ten safety-aligned LLMs. To overcome the hurdle of devising a unified defense accounting for diverse activation approximation methods, we perform an in-depth analysis of their shared error patterns and uncover three key findings. We propose QuadA, a novel safety enhancement method tailored to mitigate the safety compromises introduced by activation approximations. Extensive experiments and ablation studies corroborate QuadA's effectiveness in enhancing the safety capabilities of LLMs after activation approximations.
Recent Advances in Attack and Defense Approaches of Large Language Models
University of Chinese Academy of Sciences(中国科学院大学);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);Xidian University(西安电子科技大学);StepFun(阶跃星辰);Megvii Technology(旷视科技)
Jailbreaking and Mitigation of Vulnerabilities in Large Language Models
Hunan University Changsha, PRC;Georgia Institute of Technology Atlanta, USA;Kyoto University Kyoto, Japan;Purdue University West Lafayette, USA;National Taiwan Normal University Taipei, ROC;University of Liverpool Suzhou, PRC;Hong Kong University of Science;University of Hawaii Honolulu, USA;The University of Texas at Dallas Dallas, USA;University of Wisconsin-Madison Madison, USA;Emory University Atlanta, USA;College of William \& Mary Williamsburg, USA
Data Poisoning Vulnerabilities Across Healthcare AI Architectures: A Security Threat Analysis
Karolinska Institutet(卡罗林斯卡学院);KTH Royal Institute of Technology(KTH皇家理工学院);Karolinska University Hospital(卡罗林斯卡大学医院);University of Borås(布罗斯大学);Universidad Politécnica de Madrid(马德里理工大学)
AI Security Beyond Core Domains: Resume Screening as a Case Study of Adversarial Vulnerabilities in Specialized LLM Applications
Research Center for Social Computing and Interactive Robotics(社会计算与交互机器人研究中心);Harbin Institute of Technology(哈尔滨工业大学);Natural Language Processing Research Department(自然语言处理研究部);MBZUAI;Paul G. Allen School of Computer Science and Engineering(保罗·G·阿伦计算机科学与工程学院);University of Washington(华盛顿大学);School of Computing and Information Systems(计算与信息系统学院);The University of Melbourne(墨尔本大学)
Jailbreaking Large Language Models through Iterative Tool-Disguised Attacks via Reinforcement Learning
School of Cyberspace Science and Technology, Beijing Institute of Technology(信息科学与技术学院,北京理工大学);School of Computer Science and Technology, Beijing Institute of Technology(计算机科学与技术学院,北京理工大学);School of Computer Science, University of Auckland(计算机科学学院,奥克兰大学);QAX Security Center, Qi-AnXin Technology Group Inc.(QAX安全中心,启安新科技集团);Qi-AnXin Technology Group Inc.(启安新科技集团);Zhongguancun Laboratory(中关村实验室)
MalURLBench: A Benchmark Evaluating Agents' Vulnerabilities When Processing Web URLs
Zhejiang University(浙江大学);National University of Malaysia (Universiti Kebangsaan Malaysia)(马来西亚国立大学);Hangzhou City University(杭州市大学);Yangzhou University(扬州大学);Chongqing University(重庆大学);Binjiang Institute of Zhejiang University(浙江大学滨江研究院)
Attack and defense techniques in large language models: A survey and new perspectives
School of Computer Engineering, Jimei University, Xiamen, China(集美大学计算机工程学院);College of Science, Mathematics and Technology, Wenzhou-Kean University, Wenzhou, China(温州市凯恩大学科学、数学与技术学院);School of Smart Education, Jiangsu Normal University, Xuzhou, China(江苏师范大学智能教育学院)
Exploiting Layer-Specific Vulnerabilities to Backdoor Attack in Federated Learning
School of Electrical and Computer Engineering, University of Tehran, Tehran, Iran(塔里斯坦大学电气与计算机工程学院);School of Electrical and Computer Engineering, Shiraz University, Shiraz, Iran(谢尔兹大学电气与计算机工程学院);Okinawa Institute of Science and Technology, Okinawa, Japan(冲绳科学技术研究院);School of Computer Science, Institute for Research in Fundamental Sciences (IPM), Tehran, Iran(基础科学研究院(IPM)计算机科学学院)
Secure Tug-of-War (SecTOW): Iterative Defense-Attack Training with Reinforcement Learning for Multimodal Model Security
Institute of Artificial Intelligence (TeleAI), China Telecom, China(人工智能研究院(TeleAI),中国电信,中国);Northwestern Polytechnical University(西北工业大学);China Telecom, China(中国电信,中国)
Dataset Security for Machine Learning: Data Poisoning, Backdoor Attacks, and Defenses
University of Maryland(马里兰大学);Massachussetts Institute of Technology(麻省理工学院);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);University of California, Berkeley(加利福尼亚大学伯克利分校)
Towards Secure Retrieval-Augmented Generation: A Comprehensive Review of Threats, Defenses and Benchmarks
State Key Laboratory of Mathematical Engineering and Advanced Computing(数学工程与先进计算国家重点实验室);Information Engineering University(信息工程大学);Henan Key Laboratory of Information Security(河南省信息安全重点实验室);University of Chinese Academy of Sciences(中国科学院大学)