From Legal Text to Tech Specs: Generative AI’s Interpretation of Consent in Privacy Law Conference: ; ; Conference: International Conference on Artificial Intelligence and Law; June 16-20; Chicago, IL CCS: Software and its engineering Software verification and validation CCS: Security and privacy Pr
Aniket Kesari, Travis Breaux, Tom Norton, Sarah Santos, Anmol Singhal · 2025
Read From Legal Text to Tech Specs: Generative AI’s Interpretation of Consent in Privacy Law Conference: ; ; Conference: International Conference on Artificial Intelligence and Law; June 16-20; Chicago, IL CCS: Software and its engineering Software verification and validation CCS: Security and privacy Pr by Aniket Kesari, Travis Breaux, Tom Norton, Sarah Santos, Anmol Singhal (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2507-04185.txt.
Introduction
Aniket Kesari, Travis Breaux, Tom Norton, Sarah Santos, and Anmol Singhal test whether language models can translate privacy law into software terms. Laws like California's consumer privacy act rest on consent for data collection. Turning that legal word into working code is murky, and development processes hide the translation. The team probes models as a bridge.
Their pipeline has three steps. A model first classifies software use cases for compliance. It then drafts fixes for the cases that fail. Humans check those drafts against the legal standard. Early findings show real promise for automating compliance chores. They also expose limits in the models' legal reasoning. Benchmarking against real use cases, the authors argue, shows where AI help is safe and where lawyers must stay in the loop.
Catalog record
| CREATOR | Aniket Kesari, Travis Breaux, Tom Norton, Sarah Santos, Anmol Singhal |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 48 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2507-04185
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
From Legal Text to Tech Specs: Generative AI’s Interpretation of Consent in Privacy Law Conference: ; ; Conference: International Conference on Artificial Intelligence and Law; June 16-20; Chicago, IL CCS: Software and its engineering Software verification and validation CCS: Security and privacy Privacy protections CCS: Computing methodologies Natural language processing Aniket Kesari, Travis Breaux, Tom Norton, Sarah Santos, Anmol Singhal Abstract . Privacy law and regulation have turned to “consent” as the legitimate basis for collecting and processing individuals’ data. As governments have rushed to enshrine consent requirements in their privacy laws, such as the California Consumer Privacy Act (CCPA), significant challenges remain in understanding how these legal mandates are operationalized in software. The opaque nature of software development processes further complicates this translation. To address this, we explore the use of Large Language Models (LLMs) in requirements engineering to bridge the gap between legal requirements and technical implementation. This study employs a three-step pipeline that involves using an LLM to classify software use cases for compliance, generating LLM modifications for non-compliant cases, and manually validating these changes against legal standards. Our preliminary findings highlight the potential of LLMs in automating compliance tasks, while also revealing limitations in their reasoning capabilities. By benchmarking LLMs against real-world use cases, this research provides insights into leveraging AI-driven solutions to enhance legal compliance of software. 1. Introduction Consent has long been the foundation of privacy rights in both the United States and the European Union. The traditional justification for consent-based frameworks is that consent preserves market mechanisms, consumer choice, and personal control over data. However, privacy scholars have increasingly critiqued these frameworks, arguing that their practical implementation often falls short. Behavioral economics research suggests that consumers, overwhelmed by excessive information, make irrational decisions about their privacy. Others contend that consent mechanisms fail to offer meaningful choice or safeguard against broader societal harms, such as risks to individual data subject’s social networks and society at large. These debates are important because the right answer will dictate the eventual interventions – do we just need better notices or more direct regulation of information flows? Missing from this debate is an empirical understanding of how consent is operationalized in real-world applications. The California Consumer Privacy Act (CCPA) requires that privacy notices be “clear and conspicuous,” but how do businesses actually interpret and implement this requirement? Legal scholars know that seemingly simple terms such as “freely given” and “informed” can actually be laden with thick substantive nuance. However, it is unclear whether these complexities are reflected in software. This lack of clarity is exacerbated by the lack of transparency in software development processes, which often occur “behind the scenes” and are inaccessible to regulators and the public. Conversations between engineers and legal teams are proprietary, making it difficult to discern how legal principles translate into software requirements. These challenges highlight the need for innovative tools to bridge the gap between legal requirements and their technical implementation. In this paper, we explore a novel application of generative Artificial Intelligence (AI), specifically Large Language Models (LLMs), to address this issue. LLMs have shown promise in automating complex tasks across various domains, including requirements engineering—a sub-discipline of computer science focused on defining the expectations and objectives of software systems. Our research investigates whether LLMs can assist in ensuring software compliance with legal frameworks for informed consent. More specifically, we analyze if LLMs can identify non-compliant use cases and suggest actionable modifications. Our method relies on an assumption about the future of software development: that it will increasingly rely on generative approaches. Developers are beginning to use use LLMs to generate and critique requirements ( Arora et al. 2024 ) , create user personas ( Zhang et al. 2023 ; Haemalaeinen et al. 2023 ) , design artifacts ( Eisenreich et al. 2024 ) , and generate code and test cases ( Schäfer et al. 2023 ) . However, the generative nature of these tools introduces challenges such as hallucinations, sycophancy, and inconsistencies, which pose challenges for conforming generated products to legal and societal expectations. Moreover, many emerging use cases lack established metrics for evaluating generated artifacts. For instance, in our case, determining if the LLM-generated modifications adequately address compliance requirements remains a challenge. To address these issues, we employ a structured, three-step pipeline using an LLM to enhance compliance processes. First, we classify software use cases to determine non-compliance to specific legal provisions. Second, for use cases identified as non-compliant, we generate modifications to bring them into compliance. Third, we manually validate the proposed changes against legal standards to ensure they address the intended requirements. Our preliminary findings reveal both the potential and limitations of LLMs in this context. While the models demonstrate an ability to automate compliance tasks, their reasoning capabilities often fall short in handling nuanced legal concepts, necessitating further refinement of their frameworks. This paper builds on prior research that explored using generative AI to evaluate software compliance with the GDPR (citation redacted). Here, we extend the focus to the CCPA, analyzing how LLMs can operationalize legal definitions of consent in a privacy context. By benchmarking LLM-generated modifications against real-world use cases, we aim to highlight the feasibility of AI-driven compliance solutions and their implications for both legal and engineering domains. Ultimately, this work contributes to bridging the gap between privacy law and software design, offering insights into the evolving role of AI in regulatory compliance. This paper proceeds as follows: Part 2 provides the legal background on the two CCPA provisions we analyze. Part 3 provides the engineering background. Part 4 describes our research design. Part 5 discusses the principal results. Part 6 discusses both legal and engineering implications. Part 7 concludes. 2. Legal Background The California Consumer Privacy Act (CCPA), enacted in 2018 and effective in 2020, introduced robust consumer privacy protections aimed at regulating the collection, sale, and sharing of personal information by entities doing business in the state of California. In 2020, voters approved the California Privacy Rights Act (CPRA), which amends and expands the CCPA. The CPRA took effect on January 1, 2023. The CCPA, as amended by the CPRA, establishes key privacy rights for California consumers, including the right to know about personal information collected, the right to delete personal information collected from them (with some exceptions), the right to opt-out of the sale or sharing of their personal information, and the right to non-discrimination for exercising these rights. The CCPA, as amended by CPRA, is implemented through a combination of statutory provisions and regulations issued by the California Attorney General and the California Privacy Protection Agency (CPPA), established to enforce the CCPA and CPRA. The law’s reach is broad, as it applies not just to businesses physically located in California but to any for-profit business that collects personal information from California residents, even if the business operates outside the state or internationally. If a business meets certain revenue or data collection thresholds and deals with California consumers’ data, it is subject to the law. The CCPA covers a wide range of data types, including identifiers such as names and email addresses, IP addresses, internet browsing history, geolocation, biometric data, and more. This broad definition of personal information means that a