Skip to main content
QUICK REVIEW

[Paper Review] CAPTAIN at COLIEE 2023: Efficient Methods for Legal Information Retrieval and Entailment Tasks

Chau Nguyen, Phuong Tuyet Nguyen|arXiv (Cornell University)|Jan 7, 2024
Artificial Intelligence in LawSocial Sciences6 citations
TL;DR

CAPTAIN presents MonoT5-based fine-tuning with hard negative mining and ensembling for COLIEE 2023 Tasks 2–4, achieving top results in Task 2 and strong performance in Task 3 and 4.

ABSTRACT

The Competition on Legal Information Extraction/Entailment (COLIEE) is held annually to encourage advancements in the automatic processing of legal texts. Processing legal documents is challenging due to the intricate structure and meaning of legal language. In this paper, we outline our strategies for tackling Task 2, Task 3, and Task 4 in the COLIEE 2023 competition. Our approach involved utilizing appropriate state-of-the-art deep learning methods, designing methods based on domain characteristics observation, and applying meticulous engineering practices and methodologies to the competition. As a result, our performance in these tasks has been outstanding, with first places in Task 2 and Task 3, and promising results in Task 4. Our source code is available at https://github.com/Nguyen2015/CAPTAIN-COLIEE2023/tree/coliee2023.

Motivation & Objective

  • Address legal information retrieval and entailment challenges on COLIEE 2023 data (case law and statute law).
  • Develop robust methods that leverage domain-specific fine-tuning and model ensembling to improve performance on Tasks 2–4.
  • Provide engineering innovations (data sampling, checkpoint ensembling, and prediction strategies) to handle limited annotated data and large candidate sets.

Proposed method

  • Fine-tune MonoT5-large using hard negative mining to create challenging training instances.
  • Ensemble multiple fine-tuned checkpoints with grid-searched weights to boost ranking performance.
  • Use a point-wise input template to convert MonoT5 outputs into relevance scores for candidate paragraphs.
  • Apply data augmentation and sub-model ensembles to Task 3 (statute law retrieval) to address category diversity in Civil Code queries.
  • For Task 4, implement online data augmentation, condition-statement extraction, and SVM ensembles to determine legal entailment.
Figure 1. Our approach for Task 2
Figure 1. Our approach for Task 2

Experimental results

Research questions

  • RQ1How can pre-trained sequence-to-sequence models (MonoT5) be effectively fine-tuned for legal case entailment with limited labeled data?
  • RQ2What ensembling and sampling strategies best leverage multiple model checkpoints to improve ranking stability and accuracy in legal information retrieval tasks?
  • RQ3Can sub-model ensembles capturing diverse legal categories improve statute-law retrieval when annotated data are scarce?
  • RQ4Do augmentation and condition-statement extraction techniques enhance performance on legal textual entailment tasks?
  • RQ5What combination of data augmentation and ensemble methods yields robust performance across COLIEE Task 4 entailment scenarios?

Key findings

  • Fine-tuned MonoT5-large with hard negative mining achieved state-of-the-art validation F1 on Task 2 (and outperformed baselines).
  • Ensembling top checkpoints with hyperparameter search provided the best validation performance for Task 2, though a single fine-tuned model sometimes outperformed the ensemble on test data (likely due to overfitting).
  • Task 3 results show that combining monoT5 with Japanese BERT and data-filtering strategies improves macro F2 on development sets, with ensemble variants achieving strong R03 results.
  • Task 4 approaches (online data augmentation, condition-statement extraction, and SVM ensembles) demonstrate complementary strengths for YES/NO entailment decisions, improving robustness across questions.
  • Across experiments, the CAPTAIN methods consistently outperformed several baselines (BM25, zero-shot MonoT5, BERT-based re-rankers) in Task 2 and showed competitive gains in Task 3 and Task 4.
  • The source code is made available at the provided GitHub repository for reproducibility.
Figure 2. Our approach for Task 3
Figure 2. Our approach for Task 3

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.