Skip to main content
QUICK REVIEW

[Paper Review] Semantic Segmentation of Legal Documents via Rhetorical Roles

Vijit Malik, Rishabh Sanjay|arXiv (Cornell University)|Dec 3, 2021
Artificial Intelligence in LawSocial Sciences4 citations
TL;DR

This paper introduces a new corpus of Indian legal judgments annotated with 13 rhetorical roles (e.g., facts, arguments, ruling) to enable semantic segmentation of long, unstructured legal texts. It proposes a multitask learning model using document-level rhetorical role shift as an auxiliary task, achieving superior performance (macro F1 of 0.68) on rhetorical role prediction and demonstrating robustness in domain transfer and model distillation scenarios.

ABSTRACT

Legal documents are unstructured, use legal jargon, and have considerable length, making them difficult to process automatically via conventional text processing techniques. A legal document processing system would benefit substantially if the documents could be segmented into coherent information units. This paper proposes a new corpus of legal documents annotated (with the help of legal experts) with a set of 13 semantically coherent units labels (referred to as Rhetorical Roles), e.g., facts, arguments, statute, issue, precedent, ruling, and ratio. We perform a thorough analysis of the corpus and the annotations. For automatically segmenting the legal documents, we experiment with the task of rhetorical role prediction: given a document, predict the text segments corresponding to various roles. Using the created corpus, we experiment extensively with various deep learning-based baseline models for the task. Further, we develop a multitask learning (MTL) based deep model with document rhetorical role label shift as an auxiliary task for segmenting a legal document. The proposed model shows superior performance over the existing models. We also experiment with model performance in the case of domain transfer and model distillation techniques to see the model performance in limited data conditions.

Motivation & Objective

  • To address the challenge of processing long, unstructured, and jargon-heavy legal documents in Indian case law, which hinders automated legal information extraction and decision-making.
  • To create a new, fine-grained corpus of 13 rhetorical role labels (e.g., issue, ratio, precedent) annotated by legal experts across diverse legal domains.
  • To develop and evaluate a multitask learning model that improves rhetorical role prediction by leveraging document-level label shift as an auxiliary signal.
  • To evaluate model generalization across legal subdomains (e.g., IT/CL) and explore data efficiency via model distillation using unlabeled data.
  • To demonstrate the utility of rhetorical roles in downstream legal NLP tasks, such as judgment prediction, by showing performance gains when using gold or predicted role segments.

Proposed method

  • Annotate 100 Indian judgment documents across multiple legal domains (e.g., IT, criminal law) with 13 semantically coherent rhetorical roles, validated through expert annotation and inter-annotator agreement.
  • Train and compare multiple deep learning baselines (e.g., BiLSTM-CRF, BERT) for sequence labeling of rhetorical roles on the new corpus.
  • Propose a multitask learning (MTL) framework where the primary task is rhetorical role prediction and the auxiliary task is predicting the shift in rhetorical role distribution across the document.
  • Apply knowledge distillation to transfer knowledge from a large, high-performing teacher model (MTL-BiLSTM-CRF) to a smaller student model, improving performance with limited labeled data.
  • Fine-tune a BERT model on the last 512 tokens of legal documents for judgment prediction, and compare performance when using only these tokens versus when using only predicted or gold rhetorical role segments (e.g., ROD, RPC).

Experimental results

Research questions

  • RQ1Can a fine-grained rhetorical role annotation scheme (13 roles) improve the semantic segmentation of long, complex legal judgments compared to coarser schemes?
  • RQ2Does incorporating document-level rhetorical role shift as an auxiliary task in a multitask learning framework improve the performance of rhetorical role prediction models?
  • RQ3How robust is the proposed MTL model when transferred to unseen legal subdomains (e.g., from IT to criminal law)?
  • RQ4To what extent can model distillation enhance performance when labeled data is scarce, and does it improve generalization across domains?
  • RQ5Can rhetorical role segmentation improve downstream legal NLP tasks such as judgment prediction, and does using predicted roles yield comparable results to using gold-standard roles?

Key findings

  • The proposed multitask learning model achieved a macro F1 score of 0.68 on the rhetorical role prediction task, outperforming existing baseline models.
  • The model showed a 0.11 F1 score improvement on the RLC (Rationale for Legal Conclusion) label after one distillation iteration, with further gains in label variance reduction.
  • Model distillation improved performance across all labels, with the best iteration achieving a macro F1 of 0.72 after two distillation steps.
  • The use of gold rhetorical role segments (ROD and RPC) for judgment prediction increased the F1 score from 0.55 (using last 512 tokens) to 0.58, demonstrating statistical significance (p ≤ 0.05).
  • Using predicted ROD and RPC segments with the MTL model yielded judgment prediction performance comparable to the BERT model fine-tuned on full documents, indicating strong downstream utility.
  • The model demonstrated robustness in domain transfer, generalizing effectively from IT to criminal law domains without retraining.

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.