PolicyLR: A Logic Representation For Privacy Policies
Not on the map. Why?
Abstract (arXiv)
Privacy policies are crucial in the online ecosystem, defining how services handle user data and adhere to regulations such as GDPR and CCPA. However, their complexity and frequent updates often make them difficult for stakeholders to understand and analyze. Current automated analysis methods, which utilize natural language processing, have limitations. They typically focus on individual tasks and fail to capture the full context of the policies. We propose PolicyLR, a new paradigm that offers a comprehensive machine-readable representation of privacy policies, serving as an all-in-one solution for multiple downstream tasks. PolicyLR converts privacy policies into a machine-readable format using valuations of atomic formulae, allowing for formal definitions of tasks like compliance and consistency. We have developed a compiler that transforms unstructured policy text into this format using off-the-shelf Large Language Models (LLMs). This compiler breaks down the transformation task into a two-stage translation and entailment procedure. This procedure considers the full context of the privacy policy to infer a complex formula, where each formula consists of simpler atomic formulae. The advantage of this model is that PolicyLR is interpretable by design and grounded in segments of the privacy policy. We evaluated the compiler using ToS;DR, a community-annotated privacy policy entailment dataset. Utilizing open-source LLMs, our compiler achieves precision and recall values of 0.91 and 0.88, respectively. Finally, we demonstrate the utility of PolicyLR in three privacy tasks: Policy Compliance, Inconsistency Detection, and Privacy Comparison Shopping.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 21 of its 57 references that are in the map. First posted on arXiv 27 Aug 2024.
Builds on
21 of 57 references.
References · 21
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2023Retrieval-Augmented Generation for Large Language Models: A Surveycited by 2,185
- 2024Long-context LLMs Struggle with Long In-context Learningcited by 285
- 2023Poisoning Retrieval Corpora by Injecting Adversarial Passagescited by 153
- 2021Entailment as Few-Shot Learnercited by 122
- 2023AnglE-optimized Text Embeddingscited by 98
- 2019Question Answering for Privacy Policies: Combining Computational and Legal Perspectivescited by 65
- 2018Polisis: Automated Analysis and Presentation of Privacy Policies Using Deep Learningcited by 50
- 2024PRP: Propagating Universal Perturbations to Attack Large Language Model Guard-Railscited by 49
- 2024Phantom: General Backdoor Attacks on Retrieval Augmented Language Generationcited by 46
9 more
- 2020Privacy Policies over Time: Curation and Analysis of a Million-Document Datasetcited by 28
- 2018The Privacy Policy Landscape After the GDPRcited by 18
- 2024Large Language Models: A New Approach for Privacy Policy Analysis at Scalecited by 14
- 2022PoliGraph: Automated Privacy Policy Analysis using Knowledge Graphs (Journal Version)cited by 10
- 2023ATLAS: Automatically Detecting Discrepancies Between Privacy Policies and Privacy Labelscited by 5
- 2018Analyzing Privacy Policies Using Contextual Integrity Annotationscited by 2
- 2022Privacy Policies Across the Ages: Content and Readability of Privacy Policies 1996--2021cited by 2
- 2022Compliance Checking with NLI: Privacy Policies vs. Regulationscited by 1
- 2023The Overview of Privacy Labels and their Compatibility with Privacy Policiescited by 1
Built on by
Citing papers per year: 2025: 1; 2026: 2.
3 papers.