paper-with-me

홈 › Papers

MoGU: A Framework for Enhancing Safety of Open-Sourced LLMs While Preserving Their Usability

2024-05-23 · Yanrui Du, Sendong Zhao, Danyang Zhao, Ming Ma, Yuhan Chen, Liangyu Huo, Qing Yang, Dongliang Xu, Bing Qin

Large Language Models (LLMs) are increasingly deployed in various applications. As their usage grows, concerns regarding their safety are rising, especially in maintaining harmless responses when faced with malicious instructions. Many defense strategies have been developed to enhance the safety of LLMs. However, our research finds that existing defense strategies lead LLMs to predominantly adopt a rejection-oriented stance, thereby diminishing the usability of their responses to benign instructions. To solve this problem, we introduce the MoGU framework, designed to enhance LLMs' safety while preserving their usability. Our MoGU framework transforms the base LLM into two variants: the usable LLM and the safe LLM, and further employs dynamic routing to balance their contribution. When encountering malicious instructions, the router will assign a higher weight to the safe LLM to ensure that responses are harmless. Conversely, for benign instructions, the router prioritizes the usable LLM, facilitating usable and helpful responses. On various open-sourced LLMs, we compare multiple defense strategies to verify the superiority of our MoGU framework. Besides, our analysis provides key insights into the effectiveness of MoGU and verifies that our designed routing mechanism can effectively balance the contribution of each variant by assigning weights. Our work released the safer Llama2, Vicuna, Falcon, Dolphin, and Baichuan2.

📄 PDF Abstract BibTeX arXiv:2405.14488

Code (1)

dyr1/mogu 공식 구현 pytorch

Methods 이 논문이 사용한 방법론

BASE 설명 없음

Similar Papers 제목 키워드 기반

MemoGuard: An Adaptive Runtime for Guarding Against Memory Traps in Communication-Limited Robot Navigation

2026-07-17 · Rajat Bhattacharjya, Hyeonjong Ju, Sing-Yao Wu, Eli Bozorgzadeh 외 arxiv

Communication-limited robots in mission-critical scenarios such as disaster inspection and search-and-rescue must make reliable onboard decisions without access to remote operators or high-capacity reasoning services. Ep…

Robot Navigation

MoGU V2: Toward a Higher Pareto Frontier Between Model Usability and Security

2025-09-08 · Yanrui Du, Fenglei Fan, Sendong Zhao, Jiawei Cao 외 arxiv

As Large Language Models (LLMs) increasingly permeate human life, their security has emerged as a critical concern, particularly their ability to maintain harmless responses to malicious instructions. Although extensive …

MoGU: Mixture-of-Gaussians with Uncertainty-based Gating for Time Series Forecasting

2025-10-08 · Gilad Aviv, Jacob Goldberger, Yoli Shavit arxiv

We introduce Mixture-of-Gaussians with Uncertainty-based Gating (MoGU), a novel Mixture-of-Experts (MoE) framework designed for regression tasks. MoGU replaces standard learned gating with an intrinsic routing paradigm w…

Time Series Forecasting

EmoAgent: Assessing and Safeguarding Human-AI Interaction for Mental Health Safety

2025-04-13 · Jiahao Qiu, Yinghui He, Xinzhe Juan, Yimin Wang 외

The rise of LLM-driven AI characters raises safety concerns, particularly for vulnerable human users with psychological disorders. To address these risks, we propose EmoAgent, a multi-agent AI framework designed to evalu…

Enhancing Reliability in LLM-Integrated Robotic Systems: A Unified Approach to Security and Safety

2025-09-02 · Wenxiao Zhang, Xiangrui Kong, Conan Dewitt, Thomas Bräunl 외 arxiv

Integrating large language models (LLMs) into robotic systems has revolutionised embodied artificial intelligence, enabling advanced decision-making and adaptability. However, ensuring reliability, encompassing both secu…