SafeLawBench: Towards Safe Alignment of Large Language Models

With the growing prevalence of large language models (LLMs), the safety of LLMs has raised significant concerns.However, there is still a lack of definitive standards for evaluating their safety due to the subjective nature of current safety benchmarks.To address this gap, we conducted the first exploration of LLMs' safety evaluation from a legal perspective by proposing the SafeLawBench benchmark.SafeLawBench categorizes safety risks into three levels based on legal standards, providing a systematic and comprehensive framework for evaluation.It comprises 24,860 multi-choice questions and 1,106 open-domain question-answering (QA) tasks.Our evaluation included 2 closed-source LLMs and 18 open-source LLMs using zero-shot and fewshot prompting, highlighting the safety features of each model.We also evaluated the LLMs' safety-related reasoning stability and refusal behavior.Additionally, we found that a majority voting mechanism can enhance model performance.Notably, even leading SOTA models like Claude-3.5-Sonnetand GPT-4o have not exceeded 80.5% accuracy in multi-choice tasks on SafeLawBench, while the average accuracy of 20 LLMs remains at 68.8%.We urge the community to prioritize research on the safety of LLMs.Our dataset and code are available.

Authors

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.18653/v1/2025.findings-acl.721
Citations
2
Primary Topic
Topic Modeling
Type
article
Field-Weighted Citation Impact
4.96

Funders

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

SafeLawBench: Towards Safe Alignment of Large Language Models

Jiaming Ji, Zhu Han, Yike Guo, Sirui Han et al.
2 citations
Topic Modeling
4.96
article

SafeLawBench: Towards Safe Alignment of Large Language Models

Jiaming Ji, Zhu Han, Yike Guo, Sirui Han, Zining Zhu, Yaodong Yang, Josef Dai, Quan Sun, Cewen Cao, Wu Yinyu
article en
2 citations

Abstract

With the growing prevalence of large language models (LLMs), the safety of LLMs has raised significant concerns.However, there is still a lack of definitive standards for evaluating their safety due to the subjective nature of current safety benchmarks.To address this gap, we conducted the first exploration of LLMs' safety evaluation from a legal perspective by proposing the SafeLawBench benchmark.SafeLawBench categorizes safety risks into three levels based on legal standards, providing a systematic and comprehensive framework for evaluation.It comprises 24,860 multi-choice questions and 1,106 open-domain question-answering (QA) tasks.Our evaluation included 2 closed-source LLMs and 18 open-source LLMs using zero-shot and fewshot prompting, highlighting the safety features of each model.We also evaluated the LLMs' safety-related reasoning stability and refusal behavior.Additionally, we found that a majority voting mechanism can enhance model performance.Notably, even leading SOTA models like Claude-3.5-Sonnetand GPT-4o have not exceeded 80.5% accuracy in multi-choice tasks on SafeLawBench, while the average accuracy of 20 LLMs remains at 68.8%.We urge the community to prioritize research on the safety of LLMs.Our dataset and code are available.

Hong Kong University of Science and Technology
Reduced inequalities
Openalex Percentile: Top 5%
Topic Modeling
4.96
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.

SafeLawBench: Towards Safe Alignment of Large Language Models — Jiaming Ji, Zhu Han, et al. · (2025) | TGRS Research Map | TGRS