The rise of Large Language Models (LLMs) offers transformative potential for interpreting complex legal frameworks, such as Title 18 Section 175 of the US Code, which governs biological weapons. These systems hold promise for advancing legal analysis and compliance monitoring in sensitive domains. However, this capability comes with a troubling contradiction: while LLMs can analyze and interpret laws, they also demonstrate alarming vulnerabilities in generating unsafe outputs, such as actionable steps for bioweapon creation, despite their safeguards. To address this challenge, we propose a methodology that integrates knowledge graph construction with Retrieval-Augmented Generation (RAG) to systematically evaluate LLMs' understanding of this law, their capacity to assess legal intent (mens rea), and their potential for unsafe applications. Through structured experiments, we assess their accuracy in identifying legal violations, generating prohibited instructions, and detecting unlawful intent in bioweapons-related scenarios. Our findings reveal significant limitations in LLMs' reasoning and safety mechanisms, but they also point the way forward. By combining enhanced safety protocols with more robust legal reasoning frameworks, this research lays the groundwork for developing LLMs that can ethically and securely assist in sensitive legal domains - ensuring they act as protectors of the law rather than inadvertent enablers of its violation.
Legal$Δ$: Enhancing Legal Reasoning in LLMs via Reinforcement Learning with Chain-of-Thought Guided Information Gain
School of Computer Science and Engineering, Northeastern University(东北大学计算机科学与工程学院);Department of Computer Science and Technology, Institute for AI, Tsinghua University(清华大学人工智能研究院计算机科学与技术系);Microsoft Research Asia(微软亚洲研究院)
ELLA: Empowering LLMs for Interpretable, Accurate and Informative Legal Advice
Wangxuan Institute of Computer Technology, Peking University(北京大学王选计算机研究所);School of Intelligence Science and Technology, Peking University(北京大学智能科学与技术学院);School of Electronics Engineering and Computer Science, Peking University(北京大学电子工程与计算机科学学院)
Evaluating Test-Time Scaling LLMs for Legal Reasoning: OpenAI o1, DeepSeek-R1, and Beyond
College of Computer Science and Technology, Zhejiang University(浙江大学计算机科学与技术学院);Guanghua Law School, Zhejiang University(浙江大学光华法学院);School of Software Technology, Zhejiang University(浙江大学软件学院);Law & AI Lab, Zhejiang University(浙江大学法律与人工智能实验室);Shanghai AI Laboratory(上海人工智能实验室)
How Do LLMs Understand Legal Philosophy? Diagnosing Legal-Philosophical Reasoning in LLMs
The University of Osaka(大阪大学);UC Davis(加州大学戴维斯分校);UC Berkeley(加州大学伯克利分校);Peking University(北京大学);University of Wisconsin–Madison(威斯康星大学麦迪逊分校);Shanghai Jiao Tong University(上海交通大学);NII(信息学研究所(日本));City University of Hong Kong(香港城市大学)
DLawBench: Evaluating LLMs Through Multi-Turn Legal Consultation
University of Pittsburgh(匹兹堡大学);Alibaba Group(阿里巴巴集团);University of Waterloo(滑铁卢大学);Shandong University(山东大学);Skylenage;China University of Political Science and Law(中国政法大学);Qwen Team, Alibaba Group(阿里巴巴集团Qwen团队);Fordham University(福特汉姆大学);Shanghai Jiao Tong University(上海交通大学);Carnegie Mellon University(卡内基梅隆大学);Tsinghua University(清华大学)
Legal Experts Disagree With Rationale Extraction Techniques for Explaining ECtHR Case Outcome Classification
Trustworthy Human Language Technologies, Research Center Trustworthy Data Science and Security of the University Alliance Ruhr, Ruhr University Bochum(鲁尔大学联盟可信数据科学与安全研究中心,可信人类语言技术,波鸿鲁尔大学);Center for Critical Computational Studies, Goethe University Frankfurt(法兰克福歌德大学关键计算研究中心)
DISC-LawLLM: Fine-tuning Large Language Models for Intelligent Legal Services
Fudan University(复旦大学);Huazhong University of Science and Technology(华中科技大学);New York University Shanghai(上海纽约大学);Northwest University of Political and Law(西北政法大学)
A Comprehensive Evaluation of Large Language Models on Legal Judgment Prediction
National University of Singapore(新加坡国立大学);Singapore Management University(新加坡管理大学);Institute of Dataspace, Hefei Comprehensive National Science Center(合肥综合性国家科学中心数据空间研究院);University of Science and Technology of China(中国科学技术大学)
Legal Syllogism Prompting: Teaching Large Language Models for Legal Judgment Prediction
Peking University Law School(北京大学法学院);Institute for Artificial Intelligence, Peking University(北京大学人工智能研究院);PKU-WUHAN Institute for Artificial Intelligence(北大-武汉人工智能研究院)
Automating Legal Interpretation with LLMs: Retrieval, Generation, and Evaluation
Wangxuan Institute of Computer Technology, Peking University(北京大学王轩计算机技术研究所);Institute for Artificial Intelligence, Peking University(北京大学人工智能研究所);Peking University Law School(北京大学法学院)
An Explicit Syllogistic Legal Reasoning Framework for Large Language Models
Gaoling School of Artificial Intelligence(人工智能学院);Renmin University of China(中国人民大学);School of Information Technology and Management(信息科技与管理学院);University of International Business and Economics(国际经济贸易大学)