From Judgments to Issues: Structured Extraction of Legal Reasoning with Citation-Hallucination Control

Giovanni Piccioli, Alessia Fidelangeli, Piera Santin, Pierpaolo Vivo
7/3/2026
cs.CLcs.AIcs.IR

No confident code implementation found for this paper.

Abstract

We present an automated pipeline that decomposes Italian tax-court judgments into individual legal issues and extracts, for each issue, a structured XML representation grounded in the IRAC framework and the legal syllogism. The pipeline targets a corpus of approximately $330{,}000$ first- and second-instance decisions of the Italian tax courts and is built around a capable yet cost-efficient general-purpose model (DeepSeek V3), a choice driven by the need to process several hundred thousand documents at a sustainable cost.

Show full abstract

To address the well-documented unreliability of large language models on legal citations, we couple the extraction step with an automatic hallucination-detection filter that compares the references produced by the model with those identified in the judgment text by a dedicated parser (Linkoln), normalised to standard identifiers (URN-NIR, ECLI, CELEX). We validate the pipeline on $50$ judgments annotated by two PhDs in tax law, computing inter-annotator agreement and LLM-vs-expert agreement on both issue extraction and legal citations, together with a stand-alone evaluation of the hallucination filter. To the best of our knowledge, this is the first issue-level, expert-validated structured extraction pipeline with hallucination control for Italian tax-court decisions, and it provides a concrete starting point for downstream applications such as issue-level retrieval, citation-network analysis, and the construction of large-scale datasets of legal reasoning.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{piccioli2026from,
  title  = {From Judgments to Issues: Structured Extraction of Legal Reasoning with Citation-Hallucination Control},
  author = {Giovanni Piccioli and Alessia Fidelangeli and Piera Santin and Pierpaolo Vivo},
  year   = {2026},
  eprint = {2607.03325},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.03325v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2607.03325.svg)](https://codeofpaper.com/paper/2607.03325)

Discussion