Preprint
Machine Learning

LegalPincite: Multi-level Legal Information Retrieval Dataset

Theresia Veronika Rampisela, Henrik Palmer Olsen, Giovanni Colavizza
August 4, 2026

0

Citations

0

Influential Citations

Venue

2026

Year

Abstract

A common task in legal Information Retrieval (IR) is to find relevant legal sources from case-law collections. While legal practice often requires pinpoint citations (pincites) to specific case paragraphs, most existing public legal IR datasets lack paragraph-level citation annotations. Yet, publicly available datasets with such information contain data leakage in the query text and exclude paragraphs that are neither citing nor cited from the corpora, creating an unrealistic and oversimplified retrieval setting, potentially leading to inflated performance. To address these limitations, we contribute a large-scale legal IR dataset constructed from Court of Justice of the European Union (CJEU) judgments. The dataset contains: (i) masked case/paragraph queries, with removed citation information; (ii) a corpus that includes all paragraphs; and (iii) case- and paragraph-level ground-truth citations, with partial human expert validation. Our dataset supports both the development and rigorous evaluation of legal IR methods, at multiple query-document levels (case-to-case, paragraph-to-case, and paragraph-to-paragraph retrieval). Link to dataset: https://huggingface.co/datasets/theresiavr/legalpincite

Analysis

Why This Paper Matters

Legal information retrieval is critical for legal professionals who need to find relevant case law efficiently. Existing public datasets often suffer from data leakage—where query text contains citation information that can be exploited by models—and exclude non-cited paragraphs, creating an unrealistic retrieval environment. LegalPincite addresses these issues by providing a dataset from the Court of Justice of the European Union (CJEU) with masked queries and a full corpus, making it a more faithful representation of real-world retrieval tasks.

The dataset's multi-level granularity (case-to-case, paragraph-to-case, paragraph-to-paragraph) is particularly significant because legal practice often requires pinpoint citations to specific paragraphs. By supporting these levels, LegalPincite enables the development and evaluation of models that can retrieve not just relevant cases but also the exact paragraphs within them, which is a step forward for legal IR research.

Technical Contributions

  • Masked queries: Citation information is removed from query text to prevent models from exploiting leakage, forcing them to rely on semantic content.
  • Full corpus inclusion: All paragraphs from judgments are included, not just those that are cited or citing, making the retrieval task more challenging and realistic.
  • Multi-level annotations: Ground-truth citations are provided at both case and paragraph levels, enabling evaluation of retrieval at different granularities.
  • Human validation: Partial expert validation ensures annotation quality, though not exhaustive.
  • Public availability: The dataset is released on Hugging Face, facilitating reproducibility and further research.

Results

As a dataset paper, LegalPincite does not present experimental results or baseline comparisons. Its primary contribution is the dataset itself, which is designed to address limitations of prior datasets. The paper likely includes statistics on dataset size, number of cases, paragraphs, and citations, but these are not detailed in the abstract. Future work will involve benchmarking existing IR models on this dataset to assess performance and identify challenges.

Significance

LegalPincite fills a critical gap in legal IR by providing a realistic, large-scale benchmark that supports multiple retrieval tasks. It encourages the development of models that can handle paragraph-level retrieval, which is essential for legal practice. By mitigating data leakage and including full corpora, it sets a new standard for legal IR evaluation, potentially leading to more robust and applicable systems. The dataset's public availability will foster collaboration and accelerate progress in the field.