DELTA: Pre-train a Discriminative Encoder for Legal Case Retrieval via Structural Word Alignment

Haitao Li, Qingyao Ai, Xinyan Han, Jia Chen, Qian Dong +3 more
3/27/2024
cs.IRcs.CL

No official code found. Best implementation: CSHaitao/DELTA (9 stars, last commit 2025-02-01).

Abstract

Recent research demonstrates the effectiveness of using pre-trained language models for legal case retrieval. Most of the existing works focus on improving the representation ability for the contextualized embedding of the [CLS] token and calculate relevance using textual semantic similarity. However, in the legal domain, textual semantic similarity does not always imply that the cases are relevant enough. Instead, relevance in legal cases primarily depends on the similarity of key facts that impact the final judgment. Without proper treatments, the discriminative ability of learned representations could be limited since legal cases are lengthy and contain numerous non-key facts. To this end, we introduce DELTA, a discriminative model designed for legal case retrieval. The basic idea involves pinpointing key facts in legal cases and pulling the contextualized embedding of the [CLS] token closer to the key facts while pushing away from the non-key facts, which can warm up the case embedding space in an unsupervised manner. To be specific, this study brings the word alignment mechanism to the contextual masked auto-encoder. First, we leverage shallow decoders to create information bottlenecks, aiming to enhance the representation ability. Second, we employ the deep decoder to enable translation between different structures, with the goal of pinpointing key facts to enhance discriminative ability. Comprehensive experiments conducted on publicly available legal benchmarks show that our approach can outperform existing state-of-the-art methods in legal case retrieval. It provides a new perspective on the in-depth understanding and processing of legal case documents.

View on arXivView PDF

Code Implementations(1)

CSHaitao/DELTACommunity65%

The official repo for our paper: DELTA: Pre-train a Discriminative Encoder for Legal Case Retrieval via Structural Word Alignment

92Shell, PythonDec 10, 20241 years ago

Similar Papers

Cite this paper

@article{li2024delta,
  title  = {DELTA: Pre-train a Discriminative Encoder for Legal Case Retrieval via Structural Word Alignment},
  author = {Haitao Li and Qingyao Ai and Xinyan Han and Jia Chen and Qian Dong and Yiqun Liu and Chong Chen and Qi Tian},
  year   = {2024},
  eprint = {2403.18435},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.18435v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2403.18435.svg)](https://codeofpaper.com/paper/2403.18435)

Discussion