Anonymity at Risk? Assessing Re-Identification Capabilities of Large Language Models in Court Decisions

Alex Nyffenegger, Matthias Stürmer, Joel Niklaus


Abstract
Anonymity in court rulings is a critical aspect of privacy protection in the European Union and Switzerland but with the advent of LLMs, concerns about large-scale re-identification of anonymized persons are growing. In accordance with the Federal Supreme Court of Switzerland (FSCS), we study re-identification risks using actual legal data. Following the initial experiment, we constructed an anonymized Wikipedia dataset as a more rigorous testing ground to further investigate the findings. In addition to the datasets, we also introduce new metrics to measure performance. We systematically analyze the factors that influence successful re-identifications, identifying model size, input length, and instruction tuning among the most critical determinants. Despite high re-identification rates on Wikipedia, even the best LLMs struggled with court decisions. We demonstrate that for now, the risk of re-identifications using LLMs is minimal in the vast majority of cases. We hope that our system can help enhance the confidence in the security of anonymized decisions, thus leading the courts to publish more decisions.
Anthology ID:
2024.findings-naacl.157
Volume:
Findings of the Association for Computational Linguistics: NAACL 2024
Month:
June
Year:
2024
Address:
Mexico City, Mexico
Editors:
Kevin Duh, Helena Gomez, Steven Bethard
Venue:
Findings
SIG:
Publisher:
Association for Computational Linguistics
Note:
Pages:
2433–2462
Language:
URL:
https://aclanthology.org/2024.findings-naacl.157
DOI:
Bibkey:
Cite (ACL):
Alex Nyffenegger, Matthias Stürmer, and Joel Niklaus. 2024. Anonymity at Risk? Assessing Re-Identification Capabilities of Large Language Models in Court Decisions. In Findings of the Association for Computational Linguistics: NAACL 2024, pages 2433–2462, Mexico City, Mexico. Association for Computational Linguistics.
Cite (Informal):
Anonymity at Risk? Assessing Re-Identification Capabilities of Large Language Models in Court Decisions (Nyffenegger et al., Findings 2024)
Copy Citation:
PDF:
https://aclanthology.org/2024.findings-naacl.157.pdf
Copyright:
 2024.findings-naacl.157.copyright.pdf