Work

A hybrid AI approach to criminal offense qualification from narrative case descriptions

Year: 2026
Type: article
Abstract: Recently, modern technology has significantly influenced numerous fields, particularly due to the latest breakthrough in artificial intelligence, providing novel tools for transforming a wide spectrum of professions, including the legal profession. The legal domain has traditionally relied on documents written in natural language and can benefit from these tools by providing lawyers with the means to support processing legal documents and reasoning regarding legal information. This paper presents three pipelines for decision support in criminal law while applying legal provisions to factual case descriptions. A comparative study is conducted to assess how various approaches to extracting legal information from legal texts and reasoning concerning this information can obtain the same conclusions as those made by lawyers. This work investigates how successfully large language models (LLMs) and legal ontology can be employed to obtain case facts from legal texts and to apply these facts to qualify legal offenses according to the criminal code. The first approach relies on raw legal texts and unstructured factual descriptions, allowing LLMs to perform end-to-end reasoning. The second approach introduces a structured pipeline, in which critical elements in legal provisions guide the extraction of case facts, before applying LLM-based reasoning. The third approach employs a formal ontological model for legal provisions and their elements, with extracted attributes represented as instances of this structure and evaluated using an ontology-based reasoner. The systems are evaluated against a database of case law by comparing inferred legal qualifications with those established in judicial decisions. The results reveal that LLMs can effectively reason regarding legal texts, even with minimal preprocessing. However, the hybrid approach employing LLM-based information extraction and ontology-based reasoning performs slightly better, suggesting that structured knowledge representation offers measurable benefits and reliability in legal reasoning tasks. These findings support the integration of symbolic and language-based methods in developing decision-support tools for legal applications.
Language: English
Subfield: Law
Open Access status: gold
Estimated APC paid: $2,353
OpenAlex ID: W7235284223
FWCI:
Cites: 25
Cited by:
Related to: 10