[Paper Review] JNLP Team: Deep Learning Approaches for Legal Processing Tasks in COLIEE 2021
This paper presents the JNLP Team's deep learning approaches for legal text processing tasks in the COLIEE 2021 competition, leveraging fine-tuned BERT and multilingual models on limited legal data. The team achieved competitive results by combining lexical and semantic scoring, data augmentation, and ensemble methods, with NFSP Base outperforming other models on the statute law question-answering task (60.49% accuracy).
COLIEE is an annual competition in automatic computerized legal text processing. Automatic legal document processing is an ambitious goal, and the structure and semantics of the law are often far more complex than everyday language. In this article, we survey and report our methods and experimental results in using deep learning in legal document processing. The results show the difficulties as well as potentials in this family of approaches.
Motivation & Objective
- Address the challenge of low-resource legal text processing in COLIEE 2021 due to limited annotated data.
- Improve performance on case law retrieval, entailment, and statute law question answering using deep learning.
- Investigate the effectiveness of pre-trained language models and hybrid lexical-semantic scoring in legal NLP tasks.
- Optimize model robustness and generalization through data augmentation and ensemble learning.
- Evaluate cross-lingual and multilingual models for legal question answering in low-resource settings.
Proposed method
- Fine-tuned BERT-based models (e.g., BertJp2, NFSP Base, NMSP Base) on legal text using domain-specific pretraining.
- Combined lexical (tf-idf, BM25) and semantic (BERT-based sentence embeddings) scores for candidate ranking in retrieval and entailment tasks.
- Applied data augmentation using tf-idf-weighted keywords and self-labeled techniques to improve model generalization.
- Used text chunking with sliding windows (window_size=150, stride=50) to handle long legal documents in entailment and question-answering tasks.
- Employed ensemble strategies combining multiple model variants (e.g., JNLP.EnssBest) to stabilize predictions and improve performance.
- Trained models with extended epochs (up to 20) and monitored overfitting, using validation to select optimal training duration.
Experimental results
Research questions
- RQ1How effective are hybrid lexical-semantic scoring strategies in legal document retrieval and entailment tasks with limited data?
- RQ2To what extent can fine-tuned BERT models improve performance on low-resource legal NLP tasks compared to traditional lexical methods?
- RQ3Can data augmentation and self-labeled techniques enhance model robustness and reduce variance in legal text processing?
- RQ4How do multilingual and cross-lingual models like XLM-RoBERTa and BERT Multilingual perform on legal question-answering in low-resource settings?
- RQ5What is the impact of training duration and model architecture on generalization in legal text classification and ranking tasks?
Key findings
- The JNLP team achieved a test set accuracy of 60.49% on the statute law question-answering task (Task 5), outperforming all other submissions.
- The NFSP Base model achieved the highest performance among all tested models on the validation set (71.0%) and generalization on the blind test set.
- Ensemble models (JNLP.EnssBest) maintained consistent performance across multiple runs, with 51 correct answers out of 81 on the test set.
- Increasing training epochs improved model stability, but excessive epochs led to overfitting, indicating a need for careful hyperparameter tuning.
- The self-labeled text chunking technique reduced variance in performance, suggesting improved noise resilience in long document processing.
- XLM-RoBERTa and distilled BERT variants failed to learn effectively from the augmented data, while BERT Multilingual underperformed compared to fine-tuned NFSP and NMSP models.
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.