Advanced International Journal for Research

E-ISSN: 3048-7641     Impact Factor: 9.11

A Widely Indexed Open Access Peer Reviewed Multidisciplinary Bi-monthly Scholarly International Journal

Call for Paper Volume 7, Issue 2 (March-April 2026) Submit your research before last 3 days of April to publish your research paper in the issue of March-April.

Explainable AI In Court Case Analysis

Author(s) Dr. Yogesh S. Khandekar
Country India
Abstract The rapid growth of digital court records places a higher demand for automated tools that can analyze legal documents with consistency, accuracy, and transparency. This work presents a LegalBERT-based judgment prediction system that classifies court case documents into three verdict categories such as Positive, Neutral, and Negative, using real-world case texts collected from digitized PDF judgments and authorized legal repositories. A thorough preprocessing pipeline was followed to extract, clean, and standardize case facts, evidence summaries, witness statements, and argument sections to provide quality input for model training. The proposed system is fine-tuned on this curated dataset in a supervised learning manner that provides an academically reliable accuracy of approximately 95% on the held-out test set. It is integrated with an explainability layer, using SHAP and Integrated Gradients for token-level visual justifications of predictions. These explanations show the main legal factors, arguments, and evidence that influenced the decision of the model, thus providing transparency for legal and academic adoption. The system is deployed through a FastAPI backend with a user-friendly web interface that allows the classification of documents in real time, visualizing influential text segments. The results clearly show the capability of the proposed system to support legal research and decision assistance tasks by making fast, consistent, and interpretable verdict predictions. This study presents the first step toward robust AI-assisted judicial analytics and forms a basis for further work on integrating with more sophisticated legal reasoning approaches.
Keywords Explainable AI (XAI), Legal Analytics, Court Case Prediction, Natural Language Processing (NLP), SHAP, LIME, Judicial Transparency, Machine Learning, Legal Document Analysis.
Field Engineering
Published In Volume 7, Issue 2, March-April 2026
Published On 2026-04-09

Share this