SafeRoute: Adaptive Model Selection for Efficient and Accurate Safety Guardrails in Large Language Models

Deploying large language models (LLMs) in real-world applications requires robust safety guard models to detect and block harmful user prompts.While large safety guard models achieve strong performance, their computational cost is substantial.To mitigate this, smaller distilled models are used, but they often underperform on "hard" examples where the larger model provides accurate predictions.We observe that many inputs can be reliably handled by the smaller model, while only a small fraction require the larger model's capacity.Motivated by this, we propose SafeRoute, a binary router that distinguishes hard examples from easy ones.Our method selectively applies the larger safety guard model to the data that the router considers hard, improving efficiency while maintaining accuracy compared to solely using the larger safety guard model.Experimental results on multiple benchmark datasets demonstrate that our adaptive model selection significantly enhances the trade-off between computational cost and safety performance, outperforming relevant baselines.Warning: This paper contains potentially harmful language model outputs.

Authors

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.18653/v1/2025.findings-acl.105
Citations
1
Primary Topic
Traffic Prediction and Management Techniques
Type
article
Field-Weighted Citation Impact
1.01

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

SafeRoute: Adaptive Model Selection for Efficient and Accurate Safety Guardrails in Large Language Models

Seanie Lee, Myoung-Ah Kang, Dong Bok Lee, Haebin Seong et al.
1 citations
Traffic Prediction and Management Techniques
1.01
article

SafeRoute: Adaptive Model Selection for Efficient and Accurate Safety Guardrails in Large Language Models

Seanie Lee, Myoung-Ah Kang, Dong Bok Lee, Haebin Seong, Tobias Bocklet, Ju Ho Lee, Sung Ju Hwang, David Wagner
article en
1 citations

Abstract

Deploying large language models (LLMs) in real-world applications requires robust safety guard models to detect and block harmful user prompts.While large safety guard models achieve strong performance, their computational cost is substantial.To mitigate this, smaller distilled models are used, but they often underperform on "hard" examples where the larger model provides accurate predictions.We observe that many inputs can be reliably handled by the smaller model, while only a small fraction require the larger model's capacity.Motivated by this, we propose SafeRoute, a binary router that distinguishes hard examples from easy ones.Our method selectively applies the larger safety guard model to the data that the router considers hard, improving efficiency while maintaining accuracy compared to solely using the larger safety guard model.Experimental results on multiple benchmark datasets demonstrate that our adaptive model selection significantly enhances the trade-off between computational cost and safety performance, outperforming relevant baselines.Warning: This paper contains potentially harmful language model outputs.

National Research Foundation, National Research Foundation of Korea, Korea Advanced Institute of Science and Technology, Ministry of Science and ICT, South Korea, Samsung, Institute for Information and Communications Technology Promotion
Openalex Percentile: Top 22%
Traffic Prediction and Management Techniques
1.01
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

SafeRoute: Adaptive Model Selection for Efficient and Accurate Safety Guardrails in Large Language Models — Seanie Lee, Myoung-Ah Kang, et al. · (2025) | TGRS Research Map | TGRS