# Anonimizacja orzeczeń sądowych

EN: **Anonymisation of court decisions** · id `courtanonymization` · aliases: court decision anonymisation, judgment anonymization, pseudonymisation of rulings, de-identification of court rulings, re-identification risk, anonimizacja wyroków, pseudonimizacja orzeczeń

Path: [AI Atlas](https://aiatlasgraph.com/llms.txt) › [AI w prawie](https://aiatlasgraph.com/t/legalai.md) › [Przetwarzanie tekstów prawnych](https://aiatlasgraph.com/t/legalnlp.md) › Anonimizacja orzeczeń sądowych

## Description

- PL: Automatyczne wykrywanie identyfikatorów osób w orzeczeniach i ich maskowanie przed publikacją oraz ocena ryzyka ponownej identyfikacji.
- EN: Automatically detecting personal identifiers in court decisions and masking them before publication, and assessing re-identification risk.

## In one sentence

- PL: Przed publikacją wyroku program wyszukuje w nim nazwiska, adresy i inne dane osób i zastępuje je inicjałami lub znakami zastępczymi.
- EN: Before a ruling is published, software finds names, addresses and other personal details in it and replaces them with initials or placeholders.

## Problem it solves

- PL: Sądy chcą publikować wyroki, ale ręczne zakrywanie danych na tysiącach stron jest powolne, a jedno przeoczone nazwisko narusza czyjąś prywatność.
- EN: Courts want to publish rulings, but blacking out data on thousands of pages by hand is slow, and one missed name breaches someone's privacy.

## What it does

- PL: Jak korektor z czarnym markerem, który podsuwa urzędnikowi gotowe skreślenia; człowiek tylko zatwierdza albo poprawia.
- EN: Like a proofreader with a black marker who hands the clerk ready-made deletions; the person only approves or corrects them.

## Everyday example

- PL: Czytasz w internecie wyrok w sprawie rozwodowej z innego miasta; zamiast nazwisk widzisz same litery i kreski.
- EN: You read a divorce ruling from another city online; instead of names you see only letters and dashes.

## This concerns you if you…

- PL: twoja sprawa sądowa może zostać opublikowana
- PL: pracujesz w sądzie lub urzędzie publikującym decyzje
- PL: udostępniasz dokumenty z danymi osób
- EN: have a court case that may be published
- EN: work at a court or office that publishes decisions
- EN: share documents containing personal data

## Keywords

de-identification · pseudonymisation · re-identification attack · token classification · regex · GDPR · human-in-the-loop · Swiss Federal Supreme Court

## How it works

- PL: System łączy reguły (wyrażenia regularne) z klasyfikatorem tokenów, np. modelem typu BERT, najlepiej dotrenowanym na tekstach prawnych, i proponuje fragmenty do zamaskowania. Nazwiska zastępuje się symbolami zastępczymi, a anonimizator zatwierdza sugestie. Osobno bada się, czy model językowy z dostępem do prasy potrafi odgadnąć zakryte osoby.
- EN: The system combines rules (regular expressions) with a token classifier, such as a BERT-style model ideally further pretrained on legal text, and suggests spans to mask. Names are replaced with placeholders and a human anonymiser approves the suggestions. Separately, researchers test whether a language model with access to news can guess the masked people.

## Limits

- PL: Pełna kompletność jest trudna: przeoczony szczegół, np. zawód czy miejscowość, wystarcza do rozpoznania osoby. Zamaskowany wyrok można zestawić z artykułami prasowymi; w badaniu na szwajcarskich wyrokach duży model z wyszukiwaniem rozpoznał 5 z 7 osób. Zbyt agresywna anonimizacja usuwa informacje potrzebne do zrozumienia sprawy.
- EN: Full recall is hard: one missed detail, such as an occupation or town, can identify someone. Masked rulings can be matched with news; in a Swiss study a large model with retrieval identified 5 of 7 people. Over-aggressive masking removes information needed to understand the case.

## Key terms

- PL: **pseudonimizacja**: Zastąpienie danych osoby kodem lub symbolem zamiast ich usunięcia.
- PL: **reidentyfikacja**: Odgadnięcie, kto kryje się za zakrytymi danymi.
- PL: **recall**: Odsetek wszystkich danych osobowych, które system faktycznie znalazł.
- EN: **pseudonymisation**: Replacing a person's data with a code or symbol instead of deleting it.
- EN: **re-identification**: Working out who is behind the masked data.
- EN: **recall**: The share of all personal data the system actually found.

## Know first

- [Wykrywanie i anonimizacja danych osobowych (PII) (PII detection and anonymisation)](https://aiatlasgraph.com/t/piiredaction.md)
- [Wydobywanie informacji z tekstu (nazwy własne, relacje) (Information extraction (named entities and relations))](https://aiatlasgraph.com/t/infoextraction.md)

## Related topics

Untyped, symmetric "see also" links.

- [Rozpoznawanie nazw w tekstach prawnych (Legal named entity recognition)](https://aiatlasgraph.com/t/legalner.md)
- [Wykrywanie i anonimizacja danych osobowych (PII) (PII detection and anonymisation)](https://aiatlasgraph.com/t/piiredaction.md)

## Sources

- [Automatic Anonymization of Swiss Federal Supreme Court Rulings](<https://arxiv.org/abs/2310.04632>) `niklaus-swiss-anonymization-2023` · by Joel Niklaus, Robin Mamié, Matthias Stürmer, Daniel Brunner, Marcel Gygli
- [Anonymity at Risk? Assessing Re-Identification Capabilities of Large Language Models in Court Decisions](<https://arxiv.org/abs/2308.11103>) `nyffenegger-anonymity-at-risk-2023` · by Alex Nyffenegger, Matthias Stürmer, Joel Niklaus

---

AI Atlas revision 122 (2026-10-30) · HTML: https://aiatlasgraph.com/t/courtanonymization · index: https://aiatlasgraph.com/llms.txt · everything: https://aiatlasgraph.com/llms-full.txt · updated 2026-10-30
