# AI and the Law: Evaluating ChatGPT's Performance in Legal Classification

arXiv: https://arxiv.org/abs/2502.12193 · HTML: https://mlsanity.com/paper/2502.12193/

## Key facts

- Cited by 1 papers in the map (data through 14 Oct 2026).
- Builds on 1 of its 32 references that are in the map.
- First posted on arXiv 15 Feb 2025.

## Builds on (most cited first, 1 of 1)

- [Mining Legal Arguments in Court Decisions](https://mlsanity.com/paper/2208.06178/) (2022)

## Built on by (most cited first, 1 of 1)

- [LawPal : A Retrieval Augmented Generation Based System for Enhanced Legal Accessibility in India](https://mlsanity.com/paper/2502.16573/) (2025)

## Abstract (arXiv)

The use of ChatGPT to analyze and classify evidence in criminal proceedings has been a topic of ongoing discussion. However, to the best of our knowledge, this issue has not been studied in the context of the Polish language. This study addresses this research gap by evaluating the effectiveness of ChatGPT in classifying legal cases under the Polish Penal Code. The results show excellent binary classification accuracy, with all positive and negative cases correctly categorized. In addition, a qualitative evaluation confirms that the legal basis provided for each case, along with the relevant legal content, was appropriate. The results obtained suggest that ChatGPT can effectively analyze and classify evidence while applying the appropriate legal rules. In conclusion, ChatGPT has the potential to assist interested parties in the analysis of evidence and serve as a valuable legal resource for individuals with less experience or knowledge in this area.
