Toward the Cure of Privacy Policy Reading Phobia: Automated Generation of Privacy Nutrition Labels From Privacy Policies

Shidong Pan, Thong Hoang, Dawen Zhang, Zhenchang Xing, Xiwei Xu, Qinghua Lu, Mark StaplesarXiv 2023

Abstract

Software applications have become an omnipresent part of modern society. The consequent privacy policies of these applications play a significant role in informing customers how their personal information is collected, stored, and used. However, customers rarely read and often fail to understand privacy policies because of the "Privacy Policy Reading Phobia" (PPRP). To tackle this emerging challenge, we propose the first framework that can automatically generate privacy nutrition labels from privacy policies. Based on our ground truth applications about the Data Safety Report from the Google Play app store, our framework achieves a 0.75 F1-score on generating first-party data collection practices and an average of 0.93 F1-score on general security practices. We also analyse the inconsistencies between ground truth and curated privacy nutrition labels on the market, and our framework can detect 90.1% under-claim issues. Our framework demonstrates decent generalizability across different privacy nutrition label formats, such as Google's Data Safety Report and Apple's App Privacy Details.

The Challenge of "Privacy Policy Reading Phobia"

Most users suffer from what researchers call Privacy Policy Reading Phobia (PPRP). Privacy policies are notoriously long, filled with technical jargon, and often require a college-level education to comprehend. Consequently, while people care about privacy (the "Privacy Paradox"), they rarely read the terms they agree to.

To solve this, major platforms like Google and Apple introduced "Privacy Nutrition Labels"—standardized, visual summaries of data practices intended to make privacy information digestible at a glance. However, these labels are currently curated manually by developers, leading to two major issues: inconsistency due to human error and "under-claiming," where developers fail to disclose all the data they actually collect.

Examples of Privacy Nutrition Labels from Google Play (left) and the Apple App Store (right).

An Automated Pipeline for Privacy Transparency

This research introduces the first automated framework designed to bridge the gap between verbose policy text and structured nutrition labels. The system utilizes a three-stage pipeline that balances computational efficiency with the reasoning power of Large Language Models (LLMs).

The proposed three-stage framework for automated label generation.

1. Document Processing Module

The system first crawls the policy HTML, cleans the text, and segments it into small chunks (1–4 sentences). It uses word embeddings (fastText) and cosine similarity to group related sentences, ensuring the context is preserved for analysis.

2. Context Classification Module

To manage costs and improve accuracy, the system does not send the entire policy to an LLM. Instead, a CNN-based multi-label classifier maps segments to 12 high-level privacy categories (e.g., "First-Party Collection," "Data Retention"). This acts as a filter to identify the relevant "needle in the haystack" before more intensive processing.

3. Label Generation Module

The filtered segments are fed into GPT-3 along with specific prompts. The LLM performs a "closed-ended Q&A" task, answering "Yes/No" or selecting from predefined categories to fill out the specific attributes required by the platform (e.g., "Does this app collect your location?").

Key Insights and Results

The framework was tested against a ground truth dataset of 52 mobile apps randomly harvested from the Google Play Store, manually labeled by privacy experts.

  • High Accuracy: The framework achieved a 0.75 F1-score for first-party data collection and an impressive 0.93 F1-score for general security practices (such as encryption and data deletion rights).
  • The "Under-claiming" Epidemic: The study found that roughly 12.6% of first-party data practices are under-claimed on the Google Play Store. Developers often omit items like "User IDs" or "Approximate Location" in store disclosures, even when their policies explicitly mention them.
  • Automated Verification: The framework successfully detected 90.1% of these under-claim issues, suggesting it could serve as a powerful tool for app store moderators to flag inaccurate disclosures.
  • Generalizability: While tuned for Google’s format, the system maintained an average 0.70 F1-score when applied to Apple’s "App Privacy Details" format without significant retraining.

Conclusion and Future Directions

While the hybrid CNN-LLM approach is significantly more cost-effective than a pure LLM approach, the researchers acknowledge that scaling this to millions of apps remains a challenge. Future work involves refining the model's ability to handle legal nuances—such as different rules for different geographic regions—and developing a browser extension to generate these labels on the fly for any website. By automating the generation of these labels, this framework moves us closer to a world where privacy transparency is the default, not the exception.

Summary updated

BibTeX
@misc{pan2023toward,
  author = {Shidong Pan and Thong Hoang and Dawen Zhang and Zhenchang Xing and Xiwei Xu and Qinghua Lu and Mark Staples},
  title = {{Toward the Cure of Privacy Policy Reading Phobia: Automated Generation of Privacy Nutrition Labels From Privacy Policies}},
  year = {2023},
  eprint = {2306.10923},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2306.10923},
}
Figure