mlsanityData to 14 Oct 2026

AUTOLAW: Enhancing Legal Compliance in Large Language Models via Case Law Generation and Jury-Inspired Deliberation

arXiv 2505.14015 ↗First posted 20 May 2025cs.CLcited by 1

Not on the map. Why?

Abstract (arXiv)

The rapid advancement of domain-specific large language models (LLMs) in fields like law necessitates frameworks that account for nuanced regional legal distinctions, which are critical for ensuring compliance and trustworthiness. Existing legal evaluation benchmarks often lack adaptability and fail to address diverse local contexts, limiting their utility in dynamically evolving regulatory landscapes. To address these gaps, we propose AutoLaw, a novel violation detection framework that combines adversarial data generation with a jury-inspired deliberation process to enhance legal compliance of LLMs. Unlike static approaches, AutoLaw dynamically synthesizes case law to reflect local regulations and employs a pool of LLM-based "jurors" to simulate judicial decision-making. Jurors are ranked and selected based on synthesized legal expertise, enabling a deliberation process that minimizes bias and improves detection accuracy. Evaluations across three benchmarks: Law-SG, Case-SG (legality), and Unfair-TOS (policy), demonstrate AutoLaw's effectiveness: adversarial data generation improves LLM discrimination, while the jury-based voting strategy significantly boosts violation detection rates. Our results highlight the framework's ability to adaptively probe legal misalignments and deliver reliable, context-aware judgments, offering a scalable solution for evaluating and enhancing LLMs in legally sensitive applications.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 53 of its 59 references that are in the map. First posted on arXiv 20 May 2025.

Builds on

53 of 59 references.

References · 53

  1. 2022Training language models to follow instructions with human feedbackcited by 15,971
  2. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
  3. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
  4. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
  5. 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
  6. 2022Locating and Editing Factual Associations in GPTcited by 2,691
  7. 2023AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversationcited by 1,988
  8. 2023Improving Factuality and Reasoning in Language Models through Multiagent Debatecited by 1,784
  9. 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,565
  10. 2023A Survey on Evaluation of Large Language Modelscited by 1,242
  11. 2022Measuring and Narrowing the Compositionality Gap in Language Modelscited by 1,075
  12. 2022Red Teaming Language Models with Language Modelscited by 1,026
38 more
  1. 2022Mass-Editing Memory in a Transformercited by 1,001
  2. 2019DROP: A Reading Comprehension Benchmark Requiring Discrete Reasoning Over Paragraphscited by 903
  3. 2022Automatic Chain of Thought Prompting in Large Language Modelscited by 688
  4. 2023Tree of Attacks: Jailbreaking Black-Box LLMs Automaticallycited by 672
  5. 2024ORPO: Monolithic Preference Optimization without Reference Modelcited by 562
  6. 2023GPTFUZZER: Red Teaming Large Language Models with Auto-Generated Jailbreak Promptscited by 560
  7. 2022Memory-Based Model Editing at Scalecited by 447
  8. 2018AI safety via debatecited by 400
  9. 2024Contrastive Preference Optimization: Pushing the Boundaries of LLM Performance in Machine Translationcited by 394
  10. 2023LegalBench: A Collaboratively Built Benchmark for Measuring Legal Reasoning in Large Language Modelscited by 336
  11. 2023Principle-Driven Self-Alignment of Language Models from Scratch with Minimal Human Supervisioncited by 318
  12. 2021LexGLUE: A Benchmark Dataset for Legal Language Understanding in Englishcited by 310
  13. 2022Aging with GRACE: Lifelong Model Editing with Discrete Key-Value Adaptorscited by 271
  14. 2024Debating with More Persuasive LLMs Leads to More Truthful Answerscited by 266
  15. 2022Selective Annotation Makes Language Models Better Few-Shot Learnerscited by 243
  16. 2019Neural Legal Judgment Prediction in Englishcited by 209
  17. 2021What Will it Take to Fix Benchmarking in Natural Language Understanding?cited by 203
  18. 2023Universal Self-Consistency for Large Language Model Generationcited by 203
  19. 2021When Does Pretraining Help? Assessing Self-Supervised Learning for Law and the CaseHOLD Datasetcited by 201
  20. 2023PMET: Precise Model Editing in a Transformercited by 173
  21. 2025A Comprehensive Survey in LLM(-Agent) Full Stack Safety: Data, Training and Deploymentcited by 116
  22. 2024Model Editing Harms General Abilities of Large Language Models: Regularization to the Rescuecited by 103
  23. 2023EasyEdit: An Easy-to-use Knowledge Editing Framework for Large Language Modelscited by 98
  24. 2024Model Editing at Scale leads to Gradual and Catastrophic Forgettingcited by 93
  25. 2024WISE: Rethinking the Knowledge Memory for Lifelong Model Editing of Large Language Modelscited by 92
  26. 2023MELO: Enhancing Model Editing with Neuron-Indexed Dynamic LoRAcited by 80
  27. 2021Paragraph-level Rationale Extraction through Regularization: A case study on European Court of Human Rights Casescited by 77
  28. 2023Boosting Language Models Reasoning with Chain-of-Knowledge Promptingcited by 77
  29. 2022Self-Generated In-Context Learning: Leveraging Auto-regressive Language Models as a Demonstration Generatorcited by 68
  30. 2023Cue-CoT: Chain-of-thought Prompting for Responding to In-depth Dialogue Questions with LLMscited by 62
  31. 2024A Unified Framework for Model Editingcited by 57
  32. 2024ALI-Agent: Assessing LLMs' Alignment with Human Values via Agent-based Evaluationcited by 47
  33. 2023Debate Helps Supervise Unreliable Expertscited by 43
  34. 2024Soft Self-Consistency Improves Language Model Agentscited by 25
  35. 2024COMPL-AI Framework: A Technical Interpretation and LLM Benchmarking Suite for the EU Artificial Intelligence Actcited by 24
  36. 2024Should We Really Edit Language Models? On the Evaluation of Edited Language Modelscited by 18
  37. 2023Chain-of-Dictionary Prompting Elicits Translation in Large Language Modelscited by 16
  38. 2024LEMoE: Advanced Mixture of Experts Adaptor for Lifelong Model Editing of Large Language Modelscited by 14

50 most cited of 53 All 53 (JSON)

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.