Anonymity at Risk? Assessing Re-Identification Capabilities of Large Language Models
Not on the map. Why?
Abstract (arXiv)
Anonymity of both natural and legal persons in court rulings is a critical aspect of privacy protection in the European Union and Switzerland. 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, we explore the potential of LLMs to re-identify individuals in court rulings by constructing a proof-of-concept using actual legal data from the Swiss federal supreme court. Following the initial experiment, we constructed an anonymized Wikipedia dataset as a more rigorous testing ground to further investigate the findings. With the introduction and application of the new task of re-identifying people in texts, 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. The complexity is attributed to the lack of test datasets, the necessity for substantial training resources, and data sparsity in the information used for re-identification. In conclusion, this study demonstrates that re-identification using LLMs may not be feasible for now, but as the proof-of-concept on Wikipedia showed, it might become possible in the future. We hope that our system can help enhance the confidence in the security of anonymized decisions, thus leading to the courts being more confident to publish decisions.
Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 43 of its 65 references that are in the map. First posted on arXiv 22 Aug 2023.
Builds on
43 of 65 references.
References · 43
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2023GPT-4 Technical Reportcited by 18,396
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,182
31 more
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
- 2022Scaling Instruction-Finetuned Language Modelscited by 3,024
- 2020Extracting Training Data from Large Language Modelscited by 2,189
- 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,984
- 2019Language Models as Knowledge Bases?cited by 1,936
- 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,786
- 2021Multitask Prompted Training Enables Zero-Shot Task Generalizationcited by 1,470
- 2021Improving language models by retrieving from trillions of tokenscited by 1,293
- 2019PEGASUS: Pre-training with Extracted Gap-sentences for Abstractive Summarizationcited by 1,102
- 2022LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scalecited by 906
- 2017Reading Wikipedia to Answer Open-Domain Questionscited by 777
- 2022Quantifying Memorization Across Neural Language Modelscited by 763
- 2023The Flan Collection: Designing Data and Methods for Effective Instruction Tuningcited by 739
- 2020How Much Knowledge Can You Pack Into the Parameters of a Language Model?cited by 719
- 2022GPT-NeoX-20B: An Open-Source Autoregressive Language Modelcited by 713
- 2021Retrieval Augmentation Reduces Hallucination in Conversationcited by 692
- 2021P-Tuning v2: Prompt Tuning Can Be Comparable to Fine-tuning Universally Across Scales and Taskscited by 689
- 2022A Review on Language Models as Knowledge Basescited by 157
- 2020Question and Answer Test-Train Overlap in Open-Domain Question Answering Datasetscited by 138
- 2021Multilingual LAMA: Investigating Knowledge in Multilingual Pretrained Language Modelscited by 132
- 2020X-FACTR: Multilingual Factual Knowledge Retrieval from Pretrained Language Modelscited by 117
- 2017Natural Language Processing: State of The Art, Current Trends and Challengescited by 114
- 2023Cerebras-GPT: Open Compute-Optimal Language Models Trained on the Cerebras Wafer-Scale Clustercited by 109
- 2019E-BERT: Efficient-Yet-Effective Entity Embeddings for BERTcited by 96
- 2021Can Generative Pre-trained Language Models Serve as Knowledge Bases for Closed-book QA?cited by 62
- 2023MultiLegalPile: A 689GB Multilingual Legal Corpuscited by 60
- 2023Natural Language Processing in the Legal Domaincited by 38
- 2021On the Ethical Limits of Natural Language Processing on Legal Textcited by 26
- 2023One Law, Many Languages: Benchmarking Multilingual Legal Reasoning for Judicial Supportcited by 16
- 2023SwissBERT: The Multilingual Language Model for Switzerlandcited by 9
Built on by
Citing papers per year: 2023: 1; 2024: 2; 2025: 2; 2026: 2.
7 papers.
- 2025Integrating LLMs with ITS: Recent Advances, Potentials, Challenges, and Future Directionscited by 23
- 2026Large-scale online deanonymization with LLMscited by 14
- 2024Robust Utility-Preserving Text Anonymization Based on Large Language Modelscited by 10
- 2025A Survey on Current Trends and Recent Advances in Text Anonymizationcited by 5
- 2024AIDBench: A benchmark for evaluating the authorship identification capability of large language modelscited by 4
- 2023Automatic Anonymization of Swiss Federal Supreme Court Rulingscited by 3
- 2026The Conundrum of Trustworthy Research on Attacking Personally Identifiable Information Removal Techniquescited by 0
- 2026The Conundrum of Trustworthy Research on Attacking Personally Identifiable Information Removal Techniques9 Mar 2026
- 2026Large-scale online deanonymization with LLMs18 Feb 2026
- 2025A Survey on Current Trends and Recent Advances in Text Anonymization29 Aug 2025
- 2025Integrating LLMs with ITS: Recent Advances, Potentials, Challenges, and Future Directions8 Jan 2025
- 2024AIDBench: A benchmark for evaluating the authorship identification capability of large language models20 Nov 2024
- 2024Robust Utility-Preserving Text Anonymization Based on Large Language Models16 Jul 2024
- 2023Automatic Anonymization of Swiss Federal Supreme Court Rulings7 Oct 2023