Prompt-based Effective Input Reformulation for Legal Case Retrieval
Not on the map. Why?
Abstract (arXiv)
Legal case retrieval plays an important role for legal practitioners to effectively retrieve relevant cases given a query case. Most existing neural legal case retrieval models directly encode the whole legal text of a case to generate a case representation, which is then utilised to conduct a nearest neighbour search for retrieval. Although these straightforward methods have achieved improvement over conventional statistical methods in retrieval accuracy, two significant challenges are identified in this paper: (1) Legal feature alignment: the usage of the whole case text as the input will generally incorporate redundant and noisy information because, from the legal perspective, the determining factor of relevant cases is the alignment of key legal features instead of whole text matching; (2) Legal context preservation: furthermore, since the existing text encoding models usually have an input length limit shorter than the case, the whole case text needs to be truncated or divided into paragraphs, which leads to the loss of the global context of legal information. In this paper, a novel legal case retrieval framework, PromptCase, is proposed to tackle these challenges. Firstly, legal facts and legal issues are identified and formally defined as the key features facilitating legal case retrieval based on a thorough study of the definition of relevant cases from a legal perspective. Secondly, with the determining legal features, a prompt-based encoding scheme is designed to conduct an effective encoding with language models. Extensive zero-shot experiments have been conducted on two benchmark datasets in legal case retrieval, which demonstrate the superior retrieval effectiveness of the proposed PromptCase. The code has been released on https://github.com/yanran-tang/PromptCase.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). First posted on arXiv 6 Sep 2023.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2023: 1; 2024: 3; 2025: 0; 2026: 1.
5 papers.
- 2024INTERS: Unlocking the Power of Large Language Models in Search with Instruction Tuningcited by 20
- 2024Learning Interpretable Legal Case Retrieval via Knowledge-Guided Case Reformulationcited by 15
- 2023Justifiable Artificial Intelligence: Engineering Large Language Models for Legal Applicationscited by 2
- 2024Enhancing Criminal Case Matching through Diverse Legal Factorscited by 0
- 2026GLIER: Generative Legal Inference and Evidence Ranking for Legal Case Retrievalcited by 0
- 2026GLIER: Generative Legal Inference and Evidence Ranking for Legal Case Retrieval26 Apr 2026
- 2024Learning Interpretable Legal Case Retrieval via Knowledge-Guided Case Reformulation28 Jun 2024
- 2024Enhancing Criminal Case Matching through Diverse Legal Factors17 Jun 2024
- 2024INTERS: Unlocking the Power of Large Language Models in Search with Instruction Tuning12 Jan 2024
- 2023Justifiable Artificial Intelligence: Engineering Large Language Models for Legal Applications27 Nov 2023