Improving Similar Case Retrieval Ranking Performance By Revisiting RankSVM

๐Ÿ“… 2025-02-16
๐Ÿ“ˆ Citations: 0
โœจ Influential: 0
๐Ÿ“„ PDF
๐Ÿค– AI Summary
To address the ranking performance bottleneck in similar-case retrieval for legal AI, this paper proposes a novel learning-to-rank paradigm that bypasses the final classification layer of language modelsโ€”thereby mitigating overfitting induced by class imbalance in fine-tuning. Specifically, RankSVM is introduced into the Chinese legal domain to replace the standard fully connected layer in traditional fine-tuning pipelines. We present the first systematic pairwise ranking framework integrating BERT/ERNIE with RankSVM, and rigorously evaluate it on the LeCaRDv1 and LeCaRDv2 benchmarks. Experimental results demonstrate consistent and statistically significant improvements: average gains of 2.3%โ€“4.1% in both NDCG@5 and MAP, alongside enhanced model generalization. The implementation is publicly available.

Technology Category

Application Category

๐Ÿ“ Abstract
Given the rapid development of Legal AI, a lot of attention has been paid to one of the most important legal AI tasks--similar case retrieval, especially with language models to use. In our paper, however, we try to improve the ranking performance of current models from the perspective of learning to rank instead of language models. Specifically, we conduct experiments using a pairwise method--RankSVM as the classifier to substitute a fully connected layer, combined with commonly used language models on similar case retrieval datasets LeCaRDv1 and LeCaRDv2. We finally come to the conclusion that RankSVM could generally help improve the retrieval performance on the LeCaRDv1 and LeCaRDv2 datasets compared with original classifiers by optimizing the precise ranking. It could also help mitigate overfitting owing to class imbalance. Our code is available in https://github.com/liuyuqi123study/RankSVM_for_SLR
Problem

Research questions and friction points this paper is trying to address.

Improving ranking performance in legal AI
Using RankSVM for similar case retrieval
Optimizing ranking to reduce overfitting
Innovation

Methods, ideas, or system contributions that make the work stand out.

RankSVM improves retrieval performance
Pairwise method replaces fully connected layer
Mitigates overfitting from class imbalance
๐Ÿ”Ž Similar Papers
๐Ÿ’ผ Related Jobs
No related jobs found.
Y
Yuqi Liu
School of Information Management for Law, China University of Political Science and Law, 27 Fuxue Road, Beijing, 102249, China
Y
Yan Zheng
School of Information Management for Law, China University of Political Science and Law, 27 Fuxue Road, Beijing, 102249, China