TL;DR
This paper introduces Polisis, a novel deep learning framework for automatically analyzing and understanding privacy policies at scale. By breaking down policies into segments and using a hierarchical classifier, Polisis can extract detailed privacy practices, enabling applications like automated privacy icon assignment and a free-form question-answering system (PriBot) that makes privacy information more accessible to users.
What Problem Does This Paper Address?
Privacy policies are notoriously long, complex, and difficult for the average user to comprehend. This opacity makes it challenging for individuals to understand how their data is collected and used, leading to potential privacy violations and a lack of informed consent. While efforts have been made to create shorter notices or visual aids, these often face scalability issues due to the sheer volume of policies and their frequent updates. Researchers and regulators also struggle to analyze these policies efficiently at scale. Polisis aims to bridge this gap by providing an automated, scalable, and detailed analysis of privacy policies, making them more accessible and actionable for various stakeholders.
Methods
Polisis employs a multi-layered approach:
- Data Layer: This layer scrapes privacy policy webpages and segments them into semantically coherent units using a combination of HTML parsing and an unsupervised algorithm called GraphSeg, which leverages word embeddings for sentence similarity.
- Machine Learning Layer: This is the core of Polisis.
- Privacy-Specific Word Embeddings: They train custom word embeddings (Policies Embeddings) on a large corpus of 130,000 privacy policies. This domain-specific approach, using fastText, allows for better handling of out-of-vocabulary words and improved classification accuracy.
- Hierarchical Multi-label Classification: Polisis uses a novel hierarchy of neural network classifiers. A top-level classifier predicts high-level privacy categories (e.g., "Data Retention"), and lower-level classifiers predict specific attribute-value pairs (e.g., "retention_period: stated period"). Convolutional Neural Networks (CNNs) are used for their ability to integrate pre-trained embeddings and recognize patterns invariant to token position.
- Application Layer: This layer utilizes the ML layer's output to build applications. Two key applications are:
- Structured Querying (Privacy Icons): Polisis translates Disconnect privacy icons into explicit logic queries, enabling automatic assignment of icons based on policy content.
- Free-form Question-Answering (PriBot): PriBot answers user questions by matching them against policy segments using a ranking algorithm that considers semantic similarity and a confidence indicator.
Datasets
- Policies Corpus: A custom dataset of over 130,000 privacy policies collected from Google Play Store apps, used for training domain-specific word embeddings.
- OPP-115 Dataset: A dataset of 115 privacy policies manually annotated by law students, containing 23,000 annotated data practices. This was used for training and evaluating the classifiers.
- Twitter QA Dataset: A newly created dataset of 260 question-reply tweet pairs related to privacy policies, collected from Twitter. This dataset was used to evaluate PriBot's performance on realistic, informal user queries.
Key Insights and Ideas
- Domain-Specific Embeddings Matter: Training word embeddings on a large corpus of privacy policies significantly improves classification accuracy compared to general-purpose embeddings.
- Hierarchical Classification for Granularity: A hierarchical approach to classification, moving from broad categories to specific attributes, effectively captures the multi-faceted nature of privacy practices.
- Scalability is Key: Polisis's automated approach addresses the critical scalability hurdle in analyzing the vast and ever-growing landscape of privacy policies.
- Bridging the Gap for Users: PriBot demonstrates that natural language question-answering can make complex privacy policies accessible to end-users, especially in conversational interfaces.
- Automated Auditing Potential: The ability to automatically assign privacy icons and audit compliance practices opens new avenues for regulators and researchers to monitor privacy practices at scale.
Key Results
- Privacy Icon Prediction: Polisis achieved an average accuracy of 88.4% in assigning privacy icons, comparable to expert agreement levels.
- PriBot Accuracy: PriBot correctly answers 82% of user questions within its top-3 results and 68% as the top answer.
- User-Perceived Utility: In a user study with 700 MTurk workers, 89% of users found at least one relevant answer in PriBot's top-3 suggestions.
- Classification Performance: The paper reports high precision, recall, and F1 scores for various privacy categories and attributes, often exceeding previous benchmarks. For example, the category classifier for user queries achieved a top-1 precision of 84% on average.
Limitations and Future Work
- Taxonomy Limitations: The OPP-115 taxonomy, while comprehensive, may not capture all privacy practices. The authors suggest amending the taxonomy or using Polisis as a first step for further application-specific processing.
- Adversarial Policies: Polisis, like any automated system, may be vulnerable to adversarial policies designed to mislead classifiers.
- Future Work: The authors envision extending Polisis to support comparative shopping applications, summarizing policies into simpler language, and adapting its architecture for other domains requiring similar analysis. They also highlight the potential for further research into handling discrepancies across policy segments and improving confidence indicators.
Summary updated