The Safety Gap Toolkit: Evaluating Hidden Dangers of Open-Source Models

Ann-Kathrin Dombrowski, Dillon Bowen, Adam Gleave, Chris Cundy
7/8/2025
cs.CYcs.LG

Official code: AlignmentResearch/safety-gap (11 stars, last commit 2025-05-30).

Abstract

Open-weight large language models (LLMs) unlock huge benefits in innovation, personalization, privacy, and democratization. However, their core advantage - modifiability - opens the door to systemic risks: bad actors can trivially subvert current safeguards, turning beneficial models into tools for harm. This leads to a 'safety gap': the difference in dangerous capabilities between a model with intact safeguards and one that has been stripped of those safeguards. We open-source a toolkit to estimate the safety gap for state-of-the-art open-weight models. As a case study, we evaluate biochemical and cyber capabilities, refusal rates, and generation quality of models from two families (Llama-3 and Qwen-2.5) across a range of parameter scales (0.5B to 405B) using different safeguard removal techniques. Our experiments reveal that the safety gap widens as model scale increases and effective dangerous capabilities grow substantially when safeguards are removed. We hope that the Safety Gap Toolkit (https://github.com/AlignmentResearch/safety-gap) will serve as an evaluation framework for common open-source models and as a motivation for developing and testing tamper-resistant safeguards. We welcome contributions to the toolkit from the community.

View on arXivView PDF

Code Implementations(1)

113Jinja, PythonMay 23, 20251 years ago

Similar Papers

Cite this paper

@article{dombrowski2025safety,
  title  = {The Safety Gap Toolkit: Evaluating Hidden Dangers of Open-Source Models},
  author = {Ann-Kathrin Dombrowski and Dillon Bowen and Adam Gleave and Chris Cundy},
  year   = {2025},
  eprint = {2507.11544},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.11544v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.11544.svg)](https://codeofpaper.com/paper/2507.11544)

Discussion