Abstract
Since the General Data Protection Regulation (GDPR) came into force in May 2018, companies have struggled to align their data practices with this stringent privacy law. Privacy policies serve as the primary communication channel for users, yet they are often verbose, jargon-heavy, and vague, making compliance difficult to assess. This paper introduces a dataset of 1,080 privacy policies labeled with 18 GDPR requirements and presents a Convolutional Neural Network (CNN) based model capable of classifying these policies with 89.2% accuracy. Our large-scale measurement study reveals that 97% of websites still fail to comply with at least one GDPR requirement.
Introduction
The GDPR mandates that companies provide clear and comprehensive disclosures regarding personal data handling. However, the sheer volume and complexity of privacy policies make manual auditing at scale nearly impossible for regulators. To address this, we developed an automated pipeline to detect specific GDPR disclosure requirements, providing a tool for large-scale accountability.
Methodology
Our approach utilizes a multi-stage pipeline combining natural language processing and deep learning to automate the identification of legal requirements.
Pipeline Components
- Word Embeddings: We leveraged FastText to generate custom embeddings from a corpus of nearly 10,000 policies, capturing the semantic nuances of legal and privacy-related terminology.
- CNN Classification: A Convolutional Neural Network (CNN) was employed to identify key linguistic features associated with the 18 GDPR categories. CNNs are particularly effective for this task as they can recognize relevant phrases regardless of their position within long legal texts.
- Active Learning: To minimize the high cost of expert legal annotation, we implemented pool-based active learning with margin sampling. By focusing human effort on the most ambiguous segments—where the model's confidence was lowest—we improved accuracy by 10.8% with minimal additional labeling.
Data and Taxonomy
We curated a corpus of 9,761 privacy policies from top websites. From this, a subset of 1,080 policies (comprising 9,510 segments) was manually annotated by researchers trained by legal experts. The taxonomy consists of 18 categories derived from GDPR Articles 12–23, including Data Recipients, Storage Period, and Right to Portability.
Results and Analysis
The final model achieved an accuracy of 89.2% and an average F1-score of 0.88. Applying this model to our full corpus revealed a significant compliance gap across the industry.
The Compliance Gap
Our findings indicate that only 3% of analyzed websites were fully compliant with all 18 requirements. While categories like Data Categories and Processing Purpose are frequently disclosed, others are largely ignored. For instance, only 15.3% of companies addressed "Profiling" (automated decision-making), and only 15.5% mentioned the "Right to Portability." Most companies currently implement only 15-20% of the required disclosure categories.
Conclusion
This research demonstrates the feasibility of using deep active learning to automate the audit of privacy policies. While the technology provides a scalable solution for regulators, the results underscore a systemic failure in the industry to meet GDPR's transparency standards. Future work will focus on multi-lingual support and bridging the gap between written policies and actual backend data practices.
Summary updated