Skip to main content
QUICK REVIEW

[Paper Review] Fine-grained Intent Classification in the Legal Domain

Ankan Mullick, Abhilash Nandy|arXiv (Cornell University)|May 6, 2022
Artificial Intelligence in LawSocial Sciences5 citations
TL;DR

This paper introduces a new fine-grained intent classification dataset for legal documents, annotated with both coarse (4 categories: Murder, Robbery, Land Dispute, Corruption) and fine-grained sub-intents, and evaluates transformer-based models on document and intent classification tasks. Despite strong performance on coarse-level tasks, models struggle significantly on fine-grained intent classification, highlighting the dataset's challenge and value as a benchmark for legal NLP.

ABSTRACT

A law practitioner has to go through a lot of long legal case proceedings. To understand the motivation behind the actions of different parties/individuals in a legal case, it is essential that the parts of the document that express an intent corresponding to the case be clearly understood. In this paper, we introduce a dataset of 93 legal documents, belonging to the case categories of either Murder, Land Dispute, Robbery, or Corruption, where phrases expressing intent same as the category of the document are annotated. Also, we annotate fine-grained intents for each such phrase to enable a deeper understanding of the case for a reader. Finally, we analyze the performance of several transformer-based models in automating the process of extracting intent phrases (both at a coarse and a fine-grained level), and classifying a document into one of the possible 4 categories, and observe that, our dataset is challenging, especially in the case of fine-grained intent classification.

Motivation & Objective

  • To address the lack of annotated datasets for fine-grained intent classification in legal documents, particularly for understanding latent intentions in case proceedings.
  • To improve legal document comprehension by enabling deeper analysis through phrase-level and sub-intent-level annotations.
  • To evaluate the performance of state-of-the-art transformer models on both document-level and fine-grained intent classification tasks in the legal domain.
  • To establish a benchmark dataset that captures nuanced legal intents, supporting future research in legal NLP and automated case summarization.

Proposed method

  • A dataset of 93 legal documents from four case categories (Murder, Robbery, Land Dispute, Corruption) was curated from CommonLII using Selenium.
  • Two annotators filtered sentences expressing intent matching the document category, followed by two others extracting intent phrases to exclude extraneous details like names and dates.
  • A separate annotator developed a taxonomy of sub-intents per category, and four annotators labeled each intent phrase with its corresponding fine-grained sub-intent.
  • Inter-annotator agreement was measured via Cohen’s kappa (κ = 0.79), ensuring annotation quality.
  • Pre-trained transformer models (BERT, RoBERTa, ALBERT, DeBERTa) were fine-tuned for document classification and joint intent-slot classification using a JointBERT framework.
  • Evaluation metrics included precision, recall, F1-score, and macro-averaged scores across all classes, with attention to class imbalance effects.

Experimental results

Research questions

  • RQ1Can transformer-based models effectively classify legal documents into coarse-grained intent categories (Murder, Robbery, Land Dispute, Corruption)?
  • RQ2To what extent can models identify and classify fine-grained sub-intents (e.g., 'action', 'evidence', 'description') within legal intent phrases?
  • RQ3How does class imbalance affect model performance, particularly for underrepresented categories like Corruption?
  • RQ4Can joint intent and slot classification be effectively performed on legal text using pre-trained transformers?
  • RQ5Is the proposed dataset a challenging and suitable benchmark for advancing fine-grained intent classification in legal NLP?

Key findings

  • DeBERTa achieved the highest document classification accuracy (0.90) and F1-score (0.90), outperforming BERT, RoBERTa, and DistilBERT.
  • For coarse-grained intent classification, BERT achieved the best F1-score (0.89), followed by RoBERTa (0.88) and ALBERT (0.87), with macro-averaged F1 of 0.90.
  • Fine-grained intent classification performance dropped significantly, with BERT achieving only 0.50 macro F1, indicating substantial room for improvement.
  • The JointBERT model with BERT backbone achieved an F1-score of 0.50 on the macro-averaged fine-grained intent classification task, with individual class F1-scores ranging from 0.29 to 0.67.
  • Performance was lowest for Corruption and Murder sub-intents, with F1-scores of 0.52 and 0.54 respectively, and poorest for 'Murder_evidence' (0.29), due to low sample size and complexity.
  • Despite low per-class sample sizes, the model achieved F1 > 0.4 for all fine-grained classes, with 12 out of 14 classes scoring above 0.4, indicating feasibility of the task with further refinement.

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.