GPT vs human legal texts annotations: A comparative study with privacy policies

High-quality corpora of annotated privacy policies are scarce, yet essential for training, testing, and evaluating accurate machine learning and deep learning models. However, elaborating new privacy policy corpora remains an error-prone and resource-intensive task, heavily reliant on highly specialized and hard-to-find human annotators. Recent advancements in OpenAI’s Generative Pre-trained Transformers (GPTs) open the possibility of using them to annotate privacy policies with performance comparable to that of human annotators, thereby streamlining the process while reducing human resource demands. This paper presents a novel method for annotating privacy policies based on a codebook, a well-designed prompt, and analysis of logarithmic probabilities (logprobs) of GPT’s output tokens during the annotation process. We validated our method using the GPT-4o model and the well-known, open, multi-class, and multi-label OPP-115 corpus. GPT-4o achieved, without logprobs analysis, a performance comparable to eight out of the ten OPP-115 human annotators at the segment level of annotation, and to nine human annotators at the full-text level. Furthermore, incorporating logprobs analysis allowed GPT-4o to perform comparably to the ten OPP-115 human annotators at the full-text level of annotation, suggesting that context enhances the task. These findings demonstrate the potential of our proposed annotation method for creating privacy policy corpora with performance similar to that of human annotators while significantly reducing resource demands.

Authors

Institutions

Publication Details

Journal
Artificial Intelligence and Law
Published
2025-10-17
DOI
https://doi.org/10.1007/s10506-025-09488-0
Primary Topic
Artificial Intelligence in Law
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

GPT vs human legal texts annotations: A comparative study with privacy policies

Danny S. Guamán, David Cevallos-Salas, José M. Del Álamo, David Rodríguez et al.
Artificial Intelligence and Law
Artificial Intelligence in Law
article

GPT vs human legal texts annotations: A comparative study with privacy policies

Danny S. Guamán, David Cevallos-Salas, José M. Del Álamo, David Rodríguez, José Estrada-Jiménez
article en

Abstract

High-quality corpora of annotated privacy policies are scarce, yet essential for training, testing, and evaluating accurate machine learning and deep learning models. However, elaborating new privacy policy corpora remains an error-prone and resource-intensive task, heavily reliant on highly specialized and hard-to-find human annotators. Recent advancements in OpenAI’s Generative Pre-trained Transformers (GPTs) open the possibility of using them to annotate privacy policies with performance comparable to that of human annotators, thereby streamlining the process while reducing human resource demands. This paper presents a novel method for annotating privacy policies based on a codebook, a well-designed prompt, and analysis of logarithmic probabilities (logprobs) of GPT’s output tokens during the annotation process. We validated our method using the GPT-4o model and the well-known, open, multi-class, and multi-label OPP-115 corpus. GPT-4o achieved, without logprobs analysis, a performance comparable to eight out of the ten OPP-115 human annotators at the segment level of annotation, and to nine human annotators at the full-text level. Furthermore, incorporating logprobs analysis allowed GPT-4o to perform comparably to the ten OPP-115 human annotators at the full-text level of annotation, suggesting that context enhances the task. These findings demonstrate the potential of our proposed annotation method for creating privacy policy corpora with performance similar to that of human annotators while significantly reducing resource demands.

Artificial Intelligence and Law
National Polytechnic School (EC), European Telecommunications Standards Institute (FR), Universidad Politécnica de Madrid (ES)
Escuela Politécnica Nacional, HORIZON EUROPE Framework Programme, Agencia Estatal de Investigación, Spanish National Plan for Scientific and Technical Research and Innovation
Openalex Percentile: Top 66%
Artificial Intelligence in Law
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.