Skip to main content
QUICK REVIEW

[Paper Review] NLP-based Automated Compliance Checking of Data Processing Agreements against GDPR

Orlando Amaral, Muhammad Ilyas Azeem|arXiv (Cornell University)|Sep 20, 2022
Digitalization, Law, and RegulationSocial Sciences7 citations
TL;DR

This paper proposes an NLP-based automated method to check compliance of Data Processing Agreements (DPAs) with the GDPR by modeling GDPR 'shall' requirements as semantic frames and comparing them against DPA text. The approach achieves 84.6% accuracy, 89.1% precision, and 82.4% recall on 30 real DPAs, outperforming off-the-shelf NLP baselines by ~20 percentage points in accuracy.

ABSTRACT

Processing personal data is regulated in Europe by the General Data Protection Regulation (GDPR) through data processing agreements (DPAs). Checking the compliance of DPAs contributes to the compliance verification of software systems as DPAs are an important source of requirements for software development involving the processing of personal data. However, manually checking whether a given DPA complies with GDPR is challenging as it requires significant time and effort for understanding and identifying DPA-relevant compliance requirements in GDPR and then verifying these requirements in the DPA. In this paper, we propose an automated solution to check the compliance of a given DPA against GDPR. In close interaction with legal experts, we first built two artifacts: (i) the "shall" requirements extracted from the GDPR provisions relevant to DPA compliance and (ii) a glossary table defining the legal concepts in the requirements. Then, we developed an automated solution that leverages natural language processing (NLP) technologies to check the compliance of a given DPA against these "shall" requirements. Specifically, our approach automatically generates phrasal-level representations for the textual content of the DPA and compares it against predefined representations of the "shall" requirements. Over a dataset of 30 actual DPAs, the approach correctly finds 618 out of 750 genuine violations while raising 76 false violations, and further correctly identifies 524 satisfied requirements. The approach has thus an average precision of 89.1%, a recall of 82.4%, and an accuracy of 84.6%. Compared to a baseline that relies on off-the-shelf NLP tools, our approach provides an average accuracy gain of ~20 percentage points. The accuracy of our approach can be improved to ~94% with limited manual verification effort.

Motivation & Objective

  • Address the challenge of manually verifying DPA compliance with GDPR, which is time-consuming and error-prone due to legal text complexity.
  • Reduce the burden on legal and software engineering teams by automating compliance checking for DPAs.
  • Provide actionable recommendations for missing compliance requirements in DPAs through automated analysis.
  • Establish a reusable methodology for regulatory compliance checking beyond GDPR and DPAs.
  • Bridge the gap between legal requirements and software requirements engineering by formalizing GDPR obligations in machine-processable form.

Proposed method

  • Extract 'shall' requirements from GDPR provisions relevant to DPA compliance through collaboration with legal experts.
  • Construct a glossary of legal concepts to disambiguate terminology in compliance requirements.
  • Define semantic frames (SFs) to represent the structure of each 'shall' requirement, capturing predicate-argument relationships.
  • Automatically generate SF-based representations from the textual content of DPAs using NLP techniques.
  • Compare DPA representations against predefined GDPR requirement representations using similarity thresholds.
  • Identify compliant and non-compliant clauses and provide recommendations for missing or insufficiently specified obligations.

Experimental results

Research questions

  • RQ1Can an NLP-based approach accurately detect compliance violations in real-world DPAs with respect to GDPR requirements?
  • RQ2How does the proposed method compare in performance to off-the-shelf NLP pipelines for compliance checking?
  • RQ3To what extent can the approach be generalized to other regulations and document types beyond GDPR and DPAs?
  • RQ4Can limited manual verification significantly improve the accuracy of the automated compliance checking system?
  • RQ5How effective is the use of semantic frames in modeling legal requirements for automated compliance assessment?

Key findings

  • The proposed approach achieved an average accuracy of 84.6% on a dataset of 30 real DPAs, with 618 out of 750 genuine violations correctly identified.
  • The method demonstrated a precision of 89.1% and a recall of 82.4%, indicating strong performance in minimizing false positives while capturing most actual violations.
  • The approach outperformed a baseline using off-the-shelf NLP tools by an average of approximately 20 percentage points in accuracy.
  • With limited manual verification on a small subset of DPA statements, the accuracy of the approach could be improved to approximately 94%.
  • The method successfully identified 524 satisfied requirements, demonstrating its ability to correctly flag compliant clauses.
  • The approach is generalizable to other regulations and document types, with a scalable methodology involving requirements elicitation, semantic frame definition, dataset curation, and automation development.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.