Leveraging Transfer Learning and Legal Named Entity Masking for Classification of Rhetorical Roles in Indian Legal Judgments

The lengthy and complex nature of Indian legal documents, such as judgment texts, makes manual information retrieval challenging, time-consuming and prone to errors. Legal document classification is an important task in the Indian Judicial system, where huge volumes of data are generated on a daily basis. There is a need for automating the classification of different sections within these judgments, in order to extract important legal insights and improve legal analysis. This research aims to address this by identifying the rhetorical roles of sentences in legal texts such as facts, arguments, precedents, and issues- by exploring a transfer learning-based approach on labelled Indian legal decision texts. A pre-trained language model fine-tuned for the Indian legal domain is used in combination with legal named masking for legal entities, to improve the model’s classification performance and generalization. The study also addresses the challenges related to the unstructured nature of the legal documents and class imbalance, where some labels/sections are cited more often than others. An F1-score of 72.54 is achieved through hyperparameter tuning with Optuna, using multiple features and TF-IDF based representations in combination with the pretrained InLegalBERT model. Additionally, explainable AI techniques are employed to provide transparency and trust in the predictions of the model, making the decision-making process clearer for legal professionals and improving the model’s applicability in the real-world scenarios.

Authors

Institutions

Publication Details

Published
2025-05-14
DOI
https://doi.org/10.1109/icpcsn65854.2025.11035781
Primary Topic
Artificial Intelligence in Law
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Leveraging Transfer Learning and Legal Named Entity Masking for Classification of Rhetorical Roles in Indian Legal Judgments

Manju Venugopalan, Arun Ramani
Artificial Intelligence in Law
article

Leveraging Transfer Learning and Legal Named Entity Masking for Classification of Rhetorical Roles in Indian Legal Judgments

Manju Venugopalan, Arun Ramani
article en

Abstract

The lengthy and complex nature of Indian legal documents, such as judgment texts, makes manual information retrieval challenging, time-consuming and prone to errors. Legal document classification is an important task in the Indian Judicial system, where huge volumes of data are generated on a daily basis. There is a need for automating the classification of different sections within these judgments, in order to extract important legal insights and improve legal analysis. This research aims to address this by identifying the rhetorical roles of sentences in legal texts such as facts, arguments, precedents, and issues- by exploring a transfer learning-based approach on labelled Indian legal decision texts. A pre-trained language model fine-tuned for the Indian legal domain is used in combination with legal named masking for legal entities, to improve the model’s classification performance and generalization. The study also addresses the challenges related to the unstructured nature of the legal documents and class imbalance, where some labels/sections are cited more often than others. An F1-score of 72.54 is achieved through hyperparameter tuning with Optuna, using multiple features and TF-IDF based representations in combination with the pretrained InLegalBERT model. Additionally, explainable AI techniques are employed to provide transparency and trust in the predictions of the model, making the decision-making process clearer for legal professionals and improving the model’s applicability in the real-world scenarios.

Amrita Vishwa Vidyapeetham (IN)
Openalex Percentile: Top 83%
Artificial Intelligence in Law
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Leveraging Transfer Learning and Legal Named Entity Masking for Classification of Rhetorical Roles in Indian Legal Judgments — Manju Venugopalan, Arun Ramani · (2025) | TGRS Research Map | TGRS