Abstract
Many court systems are overwhelmed all over the world, leading to huge backlogs of pending cases. Effective triage systems, like those in emergency rooms, could ensure proper prioritization of open cases, optimizing time and resource allocation in the court system. In this work, we introduce the Criticality Prediction dataset, a novel resource for evaluating case prioritization. Our dataset features a two-tier labeling system: (1) the binary LD-Label, identifying cases published as Leading Decisions (LD), and (2) the more granular Citation-Label, ranking cases by their citation frequency and recency, allowing for a more nuanced evaluation. Unlike existing approaches that rely on resource-intensive manual annotations, we algorithmically derive labels leading to a much larger dataset than otherwise possible. We evaluate several multilingual models, including both smaller fine-tuned models and large language models in a zero-shot setting. Our results show that the fine-tuned models consistently outperform their larger counterparts, thanks to our large training set. Our results highlight that for highly domain-specific tasks like ours, large training sets are still valuable.
Introduction
The global legal system is currently grappling with a massive backlog of pending cases. To manage this volume, courts require a "triage" system—analogous to an emergency room—to prioritize cases that will have the most significant impact on future jurisprudence. However, predicting a case's "criticality" is inherently difficult. Previous attempts at importance prediction often relied on manual annotations by legal experts, a process that is slow, expensive, and subjective. Furthermore, Switzerland’s trilingual legal system (German, French, and Italian) presents a unique challenge for standard Natural Language Processing (NLP) tools.
Methodology
The researchers propose a framework to predict the potential influence of Swiss Federal Court cases using two distinct labeling tiers:
- LD-Label: A binary indicator of whether a case was officially published as a "Leading Decision" (LD).
- Citation-Label: A granular four-tier ranking based on citation frequency, weighted by recency to ensure older cases do not dominate the score.
As shown in the workflow above, the study evaluates two stages of the legal process: Case Prioritization, which uses only the Facts of a case available at the start, and Leading Decisions Selection, which utilizes the Considerations (formal legal reasoning) for post-hoc analysis.
The Criticality Prediction Dataset
The authors introduced a new dataset that is significantly larger than previous manually labeled legal benchmarks. It encompasses 138,531 total cases spanning from 2002 to 2023. The data is naturally multilingual, consisting of 85,167 cases in German, 45,451 in French, and 7,913 in Italian. By using citations as an algorithmic proxy for importance, the researchers bypassed the bottleneck of manual human annotation, allowing for a dataset of unprecedented scale in the legal domain.
Key Results and Insights
The benchmarking process compared smaller fine-tuned multilingual encoders (e.g., XLM-R, SwissBERT) against massive Large Language Models (LLMs) like GPT-3.5 and LLaMA-2 in zero-shot settings.
As detailed in the results table, the most significant finding was that domain-specific data trumps model size. Fine-tuned models with approximately 355 million parameters (XLM-R Large) consistently outperformed LLMs with 175 billion parameters (GPT-3.5). Specifically, XLM-R Large achieved the top aggregate macro-F1 score of 37.1, while GPT-3.5 trailed at 28.1 and LLaMA-2 struggled at 12.5.
Other key insights include:
- The "Facts" vs. "Considerations" Gap: Predicting criticality from facts alone is significantly harder than predicting it from the court's reasoning, as the latter contains the legal "DNA" of the decision's importance.
- SwissBERT's Competitive Edge: SwissBERT, pre-trained on Swiss legal and political text, showed highly competitive results (34.8), particularly in German.
- Multilingual Robustness: While performance was generally highest in German, models like XLM-R demonstrated robustness in Italian despite it being the smallest portion of the dataset.
Limitations and Future Work
The authors acknowledge that using citations as a proxy for criticality is somewhat artificial, as a case might be cited frequently for minor procedural points rather than landmark legal shifts. Additionally, LLMs showed high sensitivity to prompt formatting. Future work will explore incorporating data from different jurisdictions, more sophisticated prompt engineering for LLMs, and addressing potential historical biases in citation patterns to ensure equitable triage systems.
Summary updated