AutoLaw: Enhancing the Legal Compliance of Large Language Models via Case Law Generation and Jury-Style DeliberationAUTOLAW: Enhancing Legal Compliance in Large Language Models via Case Law Generation and Jury-Inspired Deliberation
AI summary
AutoLaw is a violation detection framework that enhances the legal compliance of large language models through adversarial data generation and jury-style deliberation. The framework dynamically synthesizes case law reflecting local regulations, and multiple LLM-based "jurors" simulate judicial decision-making to reduce bias. On three benchmarks, Law-SG, Case-SG (legality) and Unfair-TOS (policy), adversarial data generation improved the models' discriminative ability, and the jury voting strategy significantly increased violation detection rates.