File size: 5,733 Bytes
16a5aa9
 
 
 
7901ef9
 
16a5aa9
 
7901ef9
16a5aa9
 
 
 
 
 
 
8d705bc
9635a18
8049625
 
 
 
9635a18
 
 
 
8049625
2a1839a
 
8049625
76a2588
 
 
 
3bda9ee
 
 
 
8049625
8d705bc
 
8049625
 
3bda9ee
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8049625
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16a5aa9
 
8d705bc
16a5aa9
8d705bc
16a5aa9
7901ef9
16a5aa9
8d705bc
16a5aa9
8d705bc
 
 
 
 
 
16a5aa9
8d705bc
16a5aa9
8d705bc
7901ef9
8d705bc
 
16a5aa9
 
 
 
 
 
 
 
 
 
8d705bc
16a5aa9
 
 
 
 
8d705bc
 
 
16a5aa9
 
 
 
8d705bc
 
 
 
 
 
 
16a5aa9
 
 
 
 
 
8d705bc
 
 
 
 
 
 
 
 
 
 
16a5aa9
8d705bc
 
 
16a5aa9
 
 
 
 
8d705bc
 
 
16a5aa9
 
 
 
 
 
8d705bc
16a5aa9
 
 
8d705bc
7901ef9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
---
language:
- uk
license: cc-by-nc-sa-4.0
size_categories:
- 1K<n<10K
task_categories:
- text-retrieval
pretty_name: UA-StatuteRetrieval
tags:
- legal
- court-decisions
- citation-graph
- statute-retrieval
- ukrainian
- benchmark
- temporal-degradation
configs:
- config_name: ablation_comparison
  data_files:
  - split: train
    path: ablation_comparison/train-*
- config_name: article_performance
  data_files:
  - split: train
    path: article_performance/train-*
- config_name: embedding_drift
  data_files:
  - split: train
    path: embedding_drift/train-*
- config_name: sliding_window
  data_files:
  - split: train
    path: sliding_window/train-*
- config_name: temporal_metrics
  data_files:
  - split: train
    path: temporal_metrics/train-*
- config_name: temporal_reweighting
  data_files:
  - split: train
    path: temporal_reweighting/train-*
dataset_info:
- config_name: temporal_metrics
  features:
  - name: year
    dtype: int64
  - name: evaluation
    dtype: string
  - name: method
    dtype: string
  - name: mrr
    dtype: float64
  - name: hit10
    dtype: float64
  - name: n_predictions
    dtype: int64
  - name: n_cases
    dtype: int64
  splits:
  - name: train
    num_bytes: 3312
    num_examples: 45
  download_size: 4389
  dataset_size: 3312
- config_name: temporal_reweighting
  features:
  - name: eval_year
    dtype: int64
  - name: lambda
    dtype: float64
  - name: mrr_aa
    dtype: float64
  - name: hit10_aa
    dtype: float64
  - name: n_predictions
    dtype: int64
  - name: n_cases
    dtype: int64
  - name: n_articles
    dtype: int64
  splits:
  - name: train
    num_bytes: 1680
    num_examples: 30
  download_size: 4093
  dataset_size: 1680
---

# UA-StatuteRetrieval: A 20-Year Statute Retrieval Benchmark from 396M Ukrainian Court Citations

A large-scale benchmark for evaluating temporal stability of legal statute retrieval methods. Ground truth is derived exhaustively from 396 million codex-article citations extracted from 101 million Ukrainian court decisions (2007--2026).

**Paper:** [Temporal Decay of Co-Citation Predictability: A 20-Year Statute Retrieval Benchmark from 396M Ukrainian Court Citations](https://huggingface.co/papers/2605.17639) (Ovcharov, 2025)

## Dataset Configs

| Config | Description | Rows |
|--------|-------------|-----:|
| `article_performance` | Per-article MRR, Hit@5, degree for 3,667 articles (2024 snapshot) | 3,667 |
| `ablation_comparison` | Original / fixed-article / train-test MRR per year (2008--2024) | 9 |
| `sliding_window` | Mitigation experiment: MRR by eval year x window size (1, 3, 5, 10, all) | 30 |
| `embedding_drift` | Per-article semantic drift (cosine distance 2012 -> 2024) via E5-large | 116 |

## Key Findings

1. **Co-citation predictability decays 33--47% over 12 years** (Mann-Kendall p < 0.005)
2. **Decay is non-uniform**: criminal procedure maintains stable co-citation patterns (MRR ~0.40); civil law degrades from 0.35 to 0.15
3. **Neither BM25 nor dense retrieval (E5-large, BGE-M3) escapes temporal degradation**
4. **Sliding-window mitigation improves MRR by 3--28%** over cumulative indexing

## Evaluation Protocol

**Leave-one-out on the full bipartite citation graph:**

For each court decision with cited articles {a1, ..., an}:
1. Mask each article ai in turn
2. Score all candidate articles using remaining citations as seed
3. Compute rank of masked article among non-seed candidates

### Baselines (2024 snapshot)

| Method | Hit@10 | MRR |
|--------|:------:|:---:|
| Adamic-Adar | 0.545 | 0.272 |
| Common Neighbors | 0.534 | 0.266 |
| E5-large (dense) | 0.192 | 0.090 |
| BGE-M3 (dense) | 0.240 | 0.096 |
| BM25 (lexical) | 0.082 | 0.047 |
| Degree Baseline | 0.111 | 0.059 |

### Difficulty Stratification

| Bin | Articles | MRR (AA) |
|-----|:--------:|:--------:|
| Hub (>100K cites) | 21 | 0.536 |
| High (10K--100K) | 354 | 0.274 |
| Mid (1K--10K) | 864 | 0.074 |
| Low (100--1K) | 1,689 | 0.020 |
| Rare (<100) | 739 | 0.010 |

## Usage

```python
from datasets import load_dataset

# Per-article performance (2024)
articles = load_dataset("overthelex/ua-statute-retrieval", "article_performance", split="train")
print(articles.to_pandas()[["target_article", "degree", "mrr_aa"]].head(10))

# Temporal ablation (Fig 2 in paper)
ablation = load_dataset("overthelex/ua-statute-retrieval", "ablation_comparison", split="train")
print(ablation.to_pandas())

# Sliding-window mitigation (Table 6 in paper)
sw = load_dataset("overthelex/ua-statute-retrieval", "sliding_window", split="train")
print(sw.to_pandas().pivot(index="eval_year", columns="window_label", values="mrr_aa"))

# Embedding drift (Fig 9 in paper)
drift = load_dataset("overthelex/ua-statute-retrieval", "embedding_drift", split="train")
print(drift.to_pandas().groupby("law_number")["drift"].mean().sort_values(ascending=False))
```

## Citation

```bibtex
@article{ovcharov2025statute,
  title={Temporal Decay of Co-Citation Predictability: A 20-Year Statute Retrieval Benchmark from 396M Ukrainian Court Citations},
  author={Ovcharov, Volodymyr},
  year={2025}
}
```

## Source Data

Derived from the Ukrainian Unified State Register of Court Decisions (EDRSR, https://reyestr.court.gov.ua). Raw citation data (502M records) remains proprietary; the co-citation graph is available separately at [overthelex/ua-court-citation-graph](https://huggingface.co/datasets/overthelex/ua-court-citation-graph).

## Related Datasets

- [overthelex/ua-court-citation-graph](https://huggingface.co/datasets/overthelex/ua-court-citation-graph) -- Co-citation graph (99.5M decisions)
- [overthelex/ukrainian-court-decisions](https://huggingface.co/datasets/overthelex/ukrainian-court-decisions) -- Court decision metadata