CaseEncoder: A Knowledge-enhanced Pre-trained Model for Legal Case Encoding

5Citations
Citations of this article
12Readers
Mendeley users who have this article in their library.

Abstract

Legal case retrieval is a critical process for modern legal information systems. While recent studies have utilized pre-trained language models (PLMs) based on the general domain self-supervised pre-training paradigm to build models for legal case retrieval, there are limitations in using general domain PLMs as backbones. Specifically, these models may not fully capture the underlying legal features in legal case documents. To address this issue, we propose CaseEncoder, a legal document encoder that leverages fine-grained legal knowledge in both the data sampling and pre-training phases. In the data sampling phase, we enhance the quality of the training data by utilizing fine-grained law article information to guide the selection of positive and negative examples. In the pretraining phase, we design legal-specific pretraining tasks that align with the judging criteria of relevant legal cases. Based on these tasks, we introduce an innovative loss function called Biased Circle Loss to enhance the model's ability to recognize case relevance in fine grains. Experimental results on multiple benchmarks demonstrate that CaseEncoder significantly outperforms both existing general pre-training models and legal-specific pre-training models in zero-shot legal case retrieval. The source code of CaseEncoder can be found at https://github.com/myx666/CaseEncoder.

Cite

CITATION STYLE

APA

Ma, Y., Wu, Y., Su, W., Ai, Q., & Liu, Y. (2023). CaseEncoder: A Knowledge-enhanced Pre-trained Model for Legal Case Encoding. In EMNLP 2023 - 2023 Conference on Empirical Methods in Natural Language Processing, Proceedings (pp. 7134–7143). Association for Computational Linguistics (ACL). https://doi.org/10.18653/v1/2023.emnlp-main.441

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free