[Paper Review] THUIR@COLIEE 2023: Incorporating Structural Knowledge into Pre-trained Language Models for Legal Case Retrieval
This paper presents SAILER, a structure-aware pre-trained language model that enhances legal case retrieval by explicitly modeling the Fact-Reasoning-Decision structure in cases. By incorporating structural knowledge during pre-training and using heuristic pre/post-processing with learning-to-rank fusion, the method achieves state-of-the-art performance, winning first place in the COLIEE 2023 legal case retrieval competition with an F1 score of 0.3001 on the test set.
Legal case retrieval techniques play an essential role in modern intelligent legal systems. As an annually well-known international competition, COLIEE is aiming to achieve the state-of-the-art retrieval model for legal texts. This paper summarizes the approach of the championship team THUIR in COLIEE 2023. To be specific, we design structure-aware pre-trained language models to enhance the understanding of legal cases. Furthermore, we propose heuristic pre-processing and post-processing approaches to reduce the influence of irrelevant messages. In the end, learning-to-rank methods are employed to merge features with different dimensions. Experimental results demonstrate the superiority of our proposal. Official results show that our run has the best performance among all submissions. The implementation of our method can be found at https://github.com/CSHaitao/THUIR-COLIEE2023.
Motivation & Objective
- To address the challenge of limited labeled data and poor understanding of legal case structure in legal case retrieval.
- To improve retrieval performance by explicitly modeling the Fact-Reasoning-Decision structure in legal cases.
- To reduce noise from irrelevant content through heuristic pre- and post-processing techniques.
- To enhance model generalization and ranking accuracy via learning-to-rank fusion of multi-dimensional features.
- To achieve state-of-the-art performance in the COLIEE 2023 legal case retrieval competition.
Proposed method
- Proposes SAILER, a dual-encoder-decoder pre-trained language model designed to capture relationships between legal case components (Fact, Reasoning, Decision).
- Employs a structure-aware pre-training objective that leverages the inherent structure of legal cases to improve representation learning.
- Applies heuristic pre-processing to filter out irrelevant content such as case numbers and procedural details before input.
- Uses post-processing strategies including filtering by trial date and dynamic cutoff to refine candidate lists.
- Employs learning-to-rank with Lambdarank objective to fuse scores from multiple models and features, improving final ranking performance.
- Fine-tunes the model using a 1:15 positive-to-negative sample ratio with AdamW optimizer and linear warmup schedule.
Experimental results
Research questions
- RQ1Can incorporating explicit structural knowledge into pre-trained language models improve legal case retrieval performance?
- RQ2How effective are heuristic pre-processing and post-processing techniques in reducing noise from legal case texts?
- RQ3To what extent can learning-to-rank fusion of diverse features enhance retrieval performance?
- RQ4Does the performance of dense retrieval models degrade under input length constraints, and can long-context models mitigate this?
- RQ5Can a structure-aware pre-training approach outperform standard legal BERT models and lexical matching baselines?
Key findings
- SAILER achieved an F1 score of 0.1385 on the validation set with a 512-token context length, significantly outperforming RoBERTa (0.1046) and BERT (0.0809).
- When input length was unlimited, BM25 and QLD outperformed all other models, indicating that long-context understanding remains a challenge for standard models.
- The final ensemble with dynamic cutoff and trial date filtering achieved an F1 score of 0.2276, with the best run (thuirun2) attaining an F1 of 0.3001 on the test set.
- Filtering by trial date proved the most effective post-processing strategy, improving F1 by over 20% compared to the baseline ensemble.
- SAILER's performance gain over LEGAL-BERT (0.0888) and BERT (0.0809) demonstrates the value of structure-aware pre-training in legal retrieval.
- The method achieved the highest performance among all submissions in the COLIEE 2023 competition, securing first place.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.