AI-Powered Decision Support in Privacy Laws: Benchmarking LLMs on Legal Violation Detection

The integration of Large Language Models (LLMs) into legal practice creates a conflict between performance and data privacy. While proprietary models excel at legal analysis, their cloud-based nature risks breaching regulations, such as the GDPR, by transmitting sensitive data. This study addresses this tension by examining whether locally hosted, open-source LLMs can serve as a viable, privacy-preserving alternative for judicial support. We benchmark five models on classifying GDPR enforcement cases, using chain-of-thought prompting to evaluate accuracy, size, and speed trade-offs. Our findings reveal that while cloud-based models achieve the highest parent-article accuracy (58\%), open-source models offer competitive performance (45\%) while running entirely on-premises. This demonstrates that local models are a potent tool for legal analysis when confidentiality is paramount. \footnote{The code, data, and experimental results will be added to the authors' GitHub repository upon publication.} We conclude by proposing knowledge distillation as a path to creating specialized and secure models, thereby providing a benchmark for developing transparent and auditable AI tools for judicial decision-making.

Authors

Publication Details

Journal
ScholarSpace (University of Hawaii at Manoa)
Published
2025-12-23
Primary Topic
Artificial Intelligence in Law
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

AI-Powered Decision Support in Privacy Laws: Benchmarking LLMs on Legal Violation Detection

Gianluca Zanella, Ahmed Aleroud, Pouria Rad, Lin Z. Li
ScholarSpace (University of Hawaii at Manoa)
Artificial Intelligence in Law
article

AI-Powered Decision Support in Privacy Laws: Benchmarking LLMs on Legal Violation Detection

Gianluca Zanella, Ahmed Aleroud, Pouria Rad, Lin Z. Li
article en

Abstract

The integration of Large Language Models (LLMs) into legal practice creates a conflict between performance and data privacy. While proprietary models excel at legal analysis, their cloud-based nature risks breaching regulations, such as the GDPR, by transmitting sensitive data. This study addresses this tension by examining whether locally hosted, open-source LLMs can serve as a viable, privacy-preserving alternative for judicial support. We benchmark five models on classifying GDPR enforcement cases, using chain-of-thought prompting to evaluate accuracy, size, and speed trade-offs. Our findings reveal that while cloud-based models achieve the highest parent-article accuracy (58\%), open-source models offer competitive performance (45\%) while running entirely on-premises. This demonstrates that local models are a potent tool for legal analysis when confidentiality is paramount. \footnote{The code, data, and experimental results will be added to the authors' GitHub repository upon publication.} We conclude by proposing knowledge distillation as a path to creating specialized and secure models, thereby providing a benchmark for developing transparent and auditable AI tools for judicial decision-making.

ScholarSpace (University of Hawaii at Manoa)
Openalex Percentile: Top 21%
Artificial Intelligence in Law
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.