Reproduce “ReaKase-8B: Legal Case Retrieval via Knowledge and Reasoning Representations with LLMs” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Yanran Tang, Ruihong Qiu, Xue Li, Zi Huang
ReaKase-8B, an LLM-based framework for legal case retrieval, integrates extracted legal entity relations and generated legal reasoning into case representations. It outperforms state-of-the-art baselines, achieving an MRR@5 of 52.7% and an NDCG@5 of 55.6% on COLIEE2022, and MRR@5 of 48.1% and NDCG@5 of 52.5% on COLIEE2023.
Key insights
- Explicitly modeling legal entity relations and judicial reasoning processes within LLM embeddings enhances the accuracy and relevance of legal case retrieval.
- Large Language Models can be effectively utilized not only for semantic text embedding but also for generating structured legal reasoning from diverse legal input elements.
- A contrastive learning objective with hard negative sampling, when applied to reasoning-augmented case representations, improves the discriminative power of legal embeddings.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.