# Przewidywanie wyroków

EN: **Legal judgment prediction** · id `judgmentprediction` · aliases: legal judgment prediction, LJP, court decision prediction, outcome forecasting, judicial decision prediction, predykcja wyroków, przewidywanie orzeczeń

Path: [AI Atlas](https://aiatlasgraph.com/llms.txt) › [AI w prawie](https://aiatlasgraph.com/t/legalai.md) › [Rozumowanie prawne i przewidywanie](https://aiatlasgraph.com/t/legalreasoning.md) › Przewidywanie wyroków

## Description

- PL: Klasyfikacja rozstrzygnięcia (np. naruszenie artykułu, wygrana strony) na podstawie tekstu sprawy; odróżnia się identyfikację wyniku od rzeczywistego prognozowania.
- EN: Classifying the outcome (e.g. violation of an article, which party wins) from case text; outcome identification is distinguished from genuine forecasting.

## In one sentence

- PL: Model czyta opis sprawy sądowej i zgaduje, jak zakończy się wyrok, np. czy sąd uzna, że doszło do naruszenia praw.
- EN: A model reads the description of a court case and guesses how the judgment will end, e.g. whether the court will find a rights violation.

## Problem it solves

- PL: Strony sporu i ich prawnicy chcą z góry wiedzieć, czy warto iść do sądu, a sądy mają zaległości i chcą wyłapać sprawy pilne lub ważne.
- EN: Litigants and lawyers want to know in advance whether suing is worth it, and backlogged courts want to spot urgent or important cases.

## What it does

- PL: Uczy się na tysiącach dawnych wyroków, które słowa i układy faktów zwykle szły w parze z wygraną, a które z przegraną.
- EN: It learns from thousands of past judgments which words and fact patterns usually went with a win and which with a loss.

## Everyday example

- PL: Badacze pokazują, że program z samego opisu okoliczności sprawy trafnie typuje większość rozstrzygnięć międzynarodowego trybunału praw człowieka.
- EN: Researchers show that software, from the description of a case's circumstances alone, correctly guesses most decisions of an international human rights court.

## This concerns you if you…

- PL: myślisz o tym, czy pozwać firmę lub urząd
- PL: oceniasz narzędzia do analityki sądowej
- EN: are thinking about suing a company or authority
- EN: evaluate court analytics tools

## Keywords

ECtHR dataset · hierarchical BERT · ECHR violation prediction · outcome forecasting · CAIL2018 · LexGLUE ECtHR · judicial analytics

## How it works

- PL: Wczesne prace używały n-gramów i modeli tematów z liniowym SVM; późniejsze – hierarchicznych modeli neuronowych radzących sobie z długimi dokumentami. Zadania obejmują klasyfikację binarną naruszenia, wieloetykietową listę naruszonych artykułów i ważność sprawy. Bada się też, czy model wykorzystuje dane demograficzne.
- EN: Early work used n-grams and topic models with linear SVMs; later work used hierarchical neural models for long documents. Tasks include binary violation classification, multi-label prediction of violated articles, and case importance. Researchers also test whether models rely on demographic information.

## Limits

- PL: Wiele zbiorów używa opisów faktów sformułowanych przez sąd już w opublikowanym wyroku, więc zadanie różni się od prognozowania na podstawie materiału dostępnego przed rozstrzygnięciem. Dochodzą efekty selekcji spraw i ryzyko utrwalania uprzedzeń. Sama prognoza nie wyjaśnia podstaw rozstrzygnięcia.
- EN: Many datasets use statements of facts written by the court in the published judgment, so the task differs from forecasting based only on material available before the decision. Case-selection effects and the risk of reproducing bias also remain. A prediction alone does not explain the legal grounds of the decision.

## Key terms

- PL: **wyciek wyniku**: Sytuacja, gdy dane wejściowe zdradzają już rozstrzygnięcie.
- PL: **analityka sądowa**: Statystyki o sądach i sędziach liczone z ich orzeczeń.
- EN: **outcome leakage**: When input data already reveal the decision.
- EN: **judicial analytics**: Statistics about courts and judges computed from their rulings.

## Know first

- [Klasyfikacja tekstu i analiza sentymentu (Text classification and sentiment analysis)](https://aiatlasgraph.com/t/textclassification.md)
- [Stronniczość i sprawiedliwość (Bias and fairness)](https://aiatlasgraph.com/t/fairness.md)

## Related topics

Untyped, symmetric "see also" links.

- [Interpretowalność (Interpretability and explainability)](https://aiatlasgraph.com/t/explainability.md)

## Sources

- [Predicting judicial decisions of the European Court of Human Rights: a Natural Language Processing perspective](<https://peerj.com/articles/cs-93>) `aletras-echr-2016` · by Nikolaos Aletras, Dimitrios Tsarapatsanis, Daniel Preoţiuc-Pietro, Vasileios Lampos
- [Neural Legal Judgment Prediction in English](<https://arxiv.org/abs/1906.02059>) `chalkidis-ljp-2019` · by Ilias Chalkidis, Ion Androutsopoulos, Nikolaos Aletras
- [Rethinking the field of automatic prediction of court decisions](<https://research.rug.nl/en/publications/rethinking-the-field-of-automatic-prediction-of-court-decisions/>) `medvedeva-rethinking-ljp-2023` · by Masha Medvedeva, Martijn Wieling, Michel Vols

---

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