Kringgående av stora språkmodellers säkerhet : en jämförande studie

Large Language Models (LLMs) are commonly finetuned with safety mechanisms to prevent the generation of harmful content. However, various jailbreak methods exist that aim to bypass these safeguards, often by altering prompts, model activations, or sampling methods. Existing safety evaluations focus mainly on Attack Success Rate, measured by refusal rates, and typically ignore both the quality of harmful responses and the broader impact on model capabilities and computational cost. This work proposes a comprehensive framework1 for evaluating jailbreak methods that consider harmfulness quality, effects on general model capabilities, and computational costs. A key methodological contribution is the use of an LLM-based classifier to assess response quality and harmfulness, revealing significant limitations in traditional refusal and substring-based evaluation methods. The evaluation demonstrates that current safety alignment mechanisms are more robust than previously characterized. Contrary to “catastrophic” claims in prior work, sampling-based exploits like Output-Aware Temperature Sampling show minimal effectiveness when properly evaluated, with much of their apparent danger stemming from inaccurate substring-based classifiers. While model manipulation methods such as Single Refusal Direction Ablation achieve higher safety bypass, they require substantial computational resources and often compromise general model capabilities. Importantly, refusal bypass rates consistently overestimate actual harmful damage, as simple refusal evasion does not necessarily translate to practical safety compromise. Our findings challenge prevailing narratives about jailbreak effectiveness and we emphasize the critical importance of comprehensive evaluation methodologies for accurate safety assessment.

Publication Details

Journal
KTH Publication Database DiVA (KTH Royal Institute of Technology)
Published
2025-01-01
Primary Topic
Geochemistry and Geologic Mapping
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Kringgående av stora språkmodellers säkerhet : en jämförande studie

KTH Publication Database DiVA (KTH Royal Institute of Technology)
Geochemistry and Geologic Mapping
article

Kringgående av stora språkmodellers säkerhet : en jämförande studie

article en

Abstract

Large Language Models (LLMs) are commonly finetuned with safety mechanisms to prevent the generation of harmful content. However, various jailbreak methods exist that aim to bypass these safeguards, often by altering prompts, model activations, or sampling methods. Existing safety evaluations focus mainly on Attack Success Rate, measured by refusal rates, and typically ignore both the quality of harmful responses and the broader impact on model capabilities and computational cost. This work proposes a comprehensive framework1 for evaluating jailbreak methods that consider harmfulness quality, effects on general model capabilities, and computational costs. A key methodological contribution is the use of an LLM-based classifier to assess response quality and harmfulness, revealing significant limitations in traditional refusal and substring-based evaluation methods. The evaluation demonstrates that current safety alignment mechanisms are more robust than previously characterized. Contrary to “catastrophic” claims in prior work, sampling-based exploits like Output-Aware Temperature Sampling show minimal effectiveness when properly evaluated, with much of their apparent danger stemming from inaccurate substring-based classifiers. While model manipulation methods such as Single Refusal Direction Ablation achieve higher safety bypass, they require substantial computational resources and often compromise general model capabilities. Importantly, refusal bypass rates consistently overestimate actual harmful damage, as simple refusal evasion does not necessarily translate to practical safety compromise. Our findings challenge prevailing narratives about jailbreak effectiveness and we emphasize the critical importance of comprehensive evaluation methodologies for accurate safety assessment.

KTH Publication Database DiVA (KTH Royal Institute of Technology)
Peace, Justice and strong institutions
Openalex Percentile: Top 71%
Geochemistry and Geologic Mapping
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.

Kringgående av stora språkmodellers säkerhet : en jämförande studie · KTH Publication Database DiVA (KTH Royal Institute of Technology) (2025) | TGRS Research Map | TGRS