Lune

USENIX Security2023Top-tier venue

PoliGraph: Automated Privacy Policy Analysis using Knowledge Graphs

Hao Cui, Rahmadi Trimananda, Athina Markopoulou, Scott Jordan

Abstract

Privacy policies disclose how an organization collects and handles personal information. Recent work has made progress in leveraging natural language processing (NLP) to automate privacy policy analysis and extract data collection statements from different sentences, considered in isolation from each other. In this paper, we view and analyze, for the first time, the entire text of a privacy policy in an integrated way. In terms of methodology: (1) we define PoliGraph, a type of knowledge graph that captures statements in a policy as relations between different parts of the text; and (2) we revisit the notion of ontologies, previously defined in heuristic ways, to capture subsumption relations between terms. We make a clear distinction between local and global ontologies to capture the context of individual policies, application domains, and privacy laws. We develop PoliGrapher, an NLP tool to automatically extract PoliGraph from the text using linguistic analysis. Using a public dataset for evaluation, we show that PoliGrapher identifies 40% more collection statements than prior state-of-the-art, with 97% precision. In terms of applications, PoliGraph enables automated analysis of a corpus of policies and allows us to: (1) reveal common patterns in the texts across different policies, and (2) assess the correctness of the terms as defined within a policy. We also apply PoliGraph to: (3) detect contradictions in a policy, where we show false alarms by prior work, and (4) analyze the consistency of policies and network traffic, where we identify significantly more clear disclosures than prior work. Finally, leveraging the capabilities of the emerging large language models (LLMs), we also present PoliGrapher-LM, a tool that uses LLM prompting instead of NLP linguistic analysis, to extract PoliGraph from the policy text, and we show that it further improves coverage.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

18 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • OVRseen: Auditing Network Traffic and Privacy Policies in Oculus VR cites Polisis: Automated Analysis and Presentation of Privacy Policies Using Deep Learning
  • VPVet: Vetting Privacy Policies of Virtual Reality Apps cites OVRseen: Auditing Network Traffic and Privacy Policies in Oculus VR
  • VPVet: Vetting Privacy Policies of Virtual Reality Apps cites Polisis: Automated Analysis and Presentation of Privacy Policies Using Deep Learning
  • Harmful Terms and Where to Find Them: Measuring and Modeling Unfavorable Financial Terms and Conditions in Shopping Websites at Scale cites Polisis: Automated Analysis and Presentation of Privacy Policies Using Deep Learning
  • Consistency Analysis of Data-Usage Purposes in Mobile Apps cites Polisis: Automated Analysis and Presentation of Privacy Policies Using Deep Learning
  • Is It a Trap? A Large-scale Empirical Study And Comprehensive Assessment of Online Automated Privacy Policy Generators for Mobile Apps cites Consistency Analysis of Data-Usage Purposes in Mobile Apps
  • A Scoping Review and Guidelines on Privacy Policy's Visualization from an HCI Perspective cites Polisis: Automated Analysis and Presentation of Privacy Policies Using Deep Learning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers18

  1. Is It a Trap? A Large-scale Empirical Study And Comprehensive Assessment of Online Automated Privacy Policy Generators for Mobile AppsShidong Pan, Dawen Zhang, Mark Staples, Zhenchang Xing et al.USENIX Security 2024 · 18 citations
  2. From Fragmentation to Integration: Exploring the Design Space of AI Agents for Human-as-the-Unit Privacy ManagementEryue Xu, Tianshi LiCHI 2026 · 3 citations
  3. Harmful Terms and Where to Find Them: Measuring and Modeling Unfavorable Financial Terms and Conditions in Shopping Websites at ScaleElisa Tsai, Neal Mangaokar, Boyuan Zheng, Haizhong Zheng et al.WWW 2025 · 3 citations
  4. VPVet: Vetting Privacy Policies of Virtual Reality AppsYuxia Zhan, Yan Meng, Lu Zhou, Yichang Xiong et al.CCS 2024 · 2 citations
  5. A Scoping Review and Guidelines on Privacy Policy's Visualization from an HCI PerspectiveShuning Zhang, Eve He, Sixing Tao, Yuting Yang et al.CHI 2026 · 2 citations

Builds on8

  1. Polisis: Automated Analysis and Presentation of Privacy Policies Using Deep LearningHamza Harkous, Kassem Fawaz, Rémi Lebret, Florian Schaub et al.USENIX Security 2018 · 400 citations
  2. HaluEval: A Large-Scale Hallucination Evaluation Benchmark for Large Language ModelsJunyi Li, Xiaoxue Cheng, Xin Zhao, Jian-Yun Nie et al.EMNLP 2023 · 224 citations
  3. Prompting Is Programming: A Query Language for Large Language ModelsLuca Beurer-Kellner, Marc Fischer, Martin T. VechevPLDI 2023 · 114 citations
  4. Consistency Analysis of Data-Usage Purposes in Mobile AppsDuc Bui, Yuan Yao, Kang G. Shin, Jong-Min Choi et al.CCS 2021 · 41 citations
  5. OVRseen: Auditing Network Traffic and Privacy Policies in Oculus VRRahmadi Trimananda, Hieu Le, Hao Cui, Janice Tran Ho et al.USENIX Security 2022

Related papers

  1. PoliCond: Condition-Aware Ontology-Driven LLMs for Privacy Policy Contradiction AnalysisYalin Feng, Yifei Lu, Minxue PanASE 2025
  2. PolicyLint: Investigating Internal Privacy Policy Contradictions on Google PlayBenjamin Andow, Samin Yaseer Mahmud, Wenyu Wang, Justin Whitaker et al.USENIX Security 2019 · 185 citations
  3. Privacy at Scale: Introducing the PrivaSeer Corpus of Web Privacy PoliciesMukund Srinath, Shomir Wilson, C. Lee GilesACL 2021
  4. PolicyPulse: Precision Semantic Role Extraction for Enhanced Privacy Policy ComprehensionAndrick Adhikari, Sanchari Das, Rinku DewriNDSS 2025
  5. Building a Long Text Privacy Policy Corpus with Multi-Class LabelsFlorencia Marotta-Wurgler, David SteinACL 2025 · 2 citations
Dusk over the sea between two cliffs drawn in fine vertical lines