Skip to main content
QUICK REVIEW

[Paper Review] Fast Approach to Build an Automatic Sentiment Annotator for Legal Domain using Transfer Learning

Viraj Salaka Gamage, Menuka Warushavithana|arXiv (Cornell University)|Oct 3, 2018
Topic ModelingComputer Science16 references5 citations
TL;DR

This paper proposes a transfer learning approach to build an automatic sentiment annotator for legal texts using the RNTN model pre-trained on movie reviews. By fine-tuning the source model on a manually annotated legal corpus, the method achieves a 6% accuracy improvement (76.80% vs. 70.17%) and a 10% recall boost (70.14%) for detecting negative sentiment in legal phrases.

ABSTRACT

This study proposes a novel way of identifying the sentiment of the phrases used in the legal domain. The added complexity of the language used in law, and the inability of the existing systems to accurately predict the sentiments of words in law are the main motivations behind this study. This is a transfer learning approach, which can be used for other domain adaptation tasks as well. The proposed methodology achieves an improvement of over 6\% compared to the source model's accuracy in the legal domain.

Motivation & Objective

  • Address the challenge of sentiment analysis in legal texts, which are linguistically complex and underexplored in NLP.
  • Overcome the limitations of pre-trained sentiment models (e.g., RNTN on movie reviews) that perform poorly on legal domain language.
  • Develop a domain-adaptive sentiment annotator without requiring large-scale manual annotation in the legal domain.
  • Enable automated identification of negative sentiment in legal phrases to support legal reasoning and argument analysis.
  • Demonstrate the transferability of the method to other domain adaptation tasks in NLP.

Proposed method

  • Fine-tune a pre-trained Recursive Neural Tensor Network (RNTN) model originally trained on movie reviews for sentiment classification.
  • Use a manually annotated test dataset of ~1,500 legal phrases from court case transcripts, labeled as negative or non-negative.
  • Apply transfer learning by adapting the source model’s parameters to the legal domain using a small, domain-specific dataset.
  • Introduce a threshold-based scoring mechanism for the negative sentiment class to improve recall without significantly reducing precision.
  • Compare the performance of the fine-tuned target model against the original source model (Socher et al., 2013b) using confusion matrices and standard metrics.
  • Leverage the structural properties of RNTN to model phrase-level sentiment by capturing hierarchical syntactic dependencies in legal text.

Experimental results

Research questions

  • RQ1Can transfer learning effectively adapt a sentiment model pre-trained on movie reviews to the legal domain with minimal domain-specific annotation?
  • RQ2To what extent does fine-tuning the RNTN model improve sentiment classification accuracy and recall in legal texts compared to the source model?
  • RQ3How does the performance of the target model compare to the source model in identifying negative sentiment in legal phrases?
  • RQ4What impact does introducing a threshold-based decision rule have on recall and precision in sentiment classification for legal text?
  • RQ5Can this transfer learning approach be generalized to other domain adaptation tasks in NLP beyond the legal domain?

Key findings

  • The target model achieved a 76.80% overall accuracy in classifying sentiment for legal phrases, representing a 6% improvement over the source model’s 70.17% accuracy.
  • The model achieved a 70.14% recall for identifying negative sentiment, a 10% improvement over the baseline model’s 60.43% recall.
  • Precision for the negative sentiment class increased to 84.41% in the target model, up from 79.62% in the baseline model.
  • The difference in predictions between the source and target models occurred in 9.5% of the total phrases, indicating that the improvement stems from domain-specific adaptation.
  • The model’s performance is limited by the source model’s upper bound, suggesting that further gains would require improvements to the source architecture.
  • The method is transferable and can be adapted to other domains without requiring new large-scale manual annotations.

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.