arXiv:2608.30929cs.CLAug 2026

Manuscript Offprint

arXiv:2608.30929

Annotated Surrogate Retrieval for Polish Statutory Law

Orkun Yiğit Cengiz

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

We present a family of retrieval methods for Polish statutory law built on document surrogates: language-model annotations attached to statutory articles at index time. Three designs occupy different points on the cost–quality frontier. ASCR is a surrogate cascade with reranking; ASCR-H fuses a dense list into that cascade; and DTF replaces both language-model stages with three lexical and dense retrievers, weighted reciprocal rank fusion, and a deterministic re-scoring prior, using no model call before generation. We evaluate all three against fourteen lexical, dense, fused and ablated baselines plus four controls, on 300 questions drawn from the 2024 and 2025 Polish bar and legal counsel entrance examinations, of which 264 have their reference article in the corpus, over a corpus of 82,508 articles from 1,133 acts. On paired McNemar tests, ASCR-H places the reference provision at rank one significantly more often than every other non-oracle configuration except one of its own ablations (eighteen of twenty comparisons significant in its favour at p < 0.005), reaching 72.3% against 61.7% for BM25 and 52.3% for dense retrieval. The advantage is concentrated at the head and does not survive depth: it is significant at cutoffs of one and five, disappears by ten, and by twenty DTF leads on point estimate (86.0% versus 84.5%) at one ninth the latency and less than half the cost. Ablation attributes 27.6 points of rank-one accuracy to the reranking stage alone. We further report that the ranking advantage does not extend to citation accuracy, where DTF matches the oracle ceiling, and three negative results on lemmatisation, pseudo-relevance feedback and query rewriting. Surrogate annotation covers 27.0% of the corpus but every reference provision in the benchmark, an asymmetry we disclose and discuss. The benchmark, per-question outputs and paired significance tests are publicly available.

1 Introduction

Identifying the statutory provision that governs a legal question is a retrieval problem with an unusually narrow target. The answer is a single article among tens of thousands, and a generator that reads only the head of a candidate list is not indifferent to where that article was placed. Systems that appear equivalent at a cutoff of ten can differ by more than twenty points at rank one.

That the head of the ranking is the quantity of interest is a property of our ground truth rather than a stylistic preference. Existing statutory article retrieval datasets label each question with a set of relevant provisions, which makes rank-one measures inapplicable: Louis et al. (2023) decline to report mean reciprocal rank on BSARD because it would credit only the first relevant article, and, with some questions admitting up to a hundred relevant articles, evaluate instead at recall depths of 100 and beyond. Our reference labels name a single governing provision in all but six of 300 cases, so rank-one accuracy is both meaningful and the metric a downstream generator is most sensitive to.

Polish makes the problem harder. The language inflects nouns and adjectives across seven cases, so a question and the statute answering it often share meaning without sharing surface form. Legal benchmarks for the domain concentrate on English (Guha et al., 2023; Chalkidis et al., 2022), or evaluate classification, named entity recognition and reasoning rather than retrieval across jurisdictions (Niklaus et al., 2023; Ovcharov, 2026). Retrieval-specific legal resources exist for Belgian (Louis and Spanakis, 2022), Canadian (Zhao et al., 2026) and United States (Zheng et al., 2025) law; Polish statutory provisions are not a retrieval target in any of these three. Polish has been benchmarked for open-domain passage retrieval (Dadas et al., 2024), and Rybak and Ogrodniczuk (2024) release a Polish dense retriever evaluated on three passage-retrieval

*ORCID: 0009-0003-4299-3629 datasets, one of which retrieves over a corpus of 26,000 passages extracted from more than 1,000 acts of law. Smywiński-Pohl et al. (2025) evaluate Polish legal retrieval across four datasets, one of which pairs legal trainee examination questions with their cited provisions over a corpus of 3,654 provisions assembled from the answer keys themselves, which its authors describe as posing no real challenge to current models. We retrieve at article granularity over the full statutory corpus of 82,508 articles, a candidate set 22.6 times larger than the latter, and report rank-one accuracy rather than Accuracy@10 or nDCG at depth.

We approach it through document surrogates: language-model annotations generated once per article at index time, consisting of a summary, a theme, a concept set, and hypothetical questions the article would answer. Retrieval matches against these derived representations rather than, or alongside, the verbatim statutory text. We present three designs built on this idea and evaluate them against fourteen baselines and four controls.

The results separate by depth. ASCR-H, which fuses a dense list into the surrogate cascade before reranking, places the reference provision at rank one 72.3% of the time, significantly more often than every other non-oracle configuration tested except one of its own ablations. DTF, which discards both pre-generation model calls in favour of three-way fusion and a deterministic prior, trails at rank one by twenty points but catches up by a cutoff of ten and leads on point estimate from twenty onward, at one ninth the latency. The two systems are complements rather than competitors: one is built for precision at the head, the other for coverage at depth under a tight cost budget.

References (15)