[Paper Review] Similar Cases Recommendation using Legal Knowledge Graphs
This paper proposes a graph neural network (GNN)-based approach for recommending similar legal cases using a legal knowledge graph derived from Indian intellectual property rights (IPR) cases. By leveraging domain-specific features such as lawpoints extracted via topic modeling and named entity recognition, the method improves citation and case similarity prediction, achieving an AUC of 0.620 in citation prediction and 0.556 in similarity prediction using relational graph convolutional networks (RGCN).
A legal knowledge graph constructed from court cases, judgments, laws and other legal documents can enable a number of applications like question answering, document similarity, and search. While the use of knowledge graphs for distant supervision in NLP tasks is well researched, using knowledge graphs for applications like case similarity presents challenges. In this work, we describe our solution for predicting similar cases in Indian court judgements. We present our results and also discuss the impact of large language models on this task.
Motivation & Objective
- To address the backlog in legal systems by enabling faster case resolution through AI-driven similar case recommendation.
- To improve legal document analysis tasks such as case similarity, citation prediction, and legal cognitive assistance using structured legal knowledge.
- To develop a domain-aware feature representation for legal cases using topic modeling and lawpoint annotation to enhance GNN performance.
- To demonstrate the effectiveness of relational graph convolutional networks (RGCN) in predicting case similarities and citation links on a heterogeneous legal knowledge graph.
- To provide an interactive demo for legal practitioners and students to explore similar cases and understand legal concepts through explainable AI.
Proposed method
- Constructed a legal knowledge graph from unstructured Indian IPR case documents, judgments, and legislation using rule-based and deep learning methods.
- Extracted entities and relations using NLP pipelines including IBM Data Discovery API and Stanza, with custom annotation via SystemT for domain-specific entities.
- Applied Latent Dirichlet Allocation (LDA) to identify key topics and derive a domain-specific ontology for IPR-related concepts.
- Defined 'lawpoints' as domain-specific keywords and phrases (e.g., 'patent', 'copyright', 'trademark') and labeled them semantically to enrich node features.
- Built a case graph using only relevant node types (e.g., cases, laws) and relations (citations, similarity), with features derived from lawpoints and metadata.
- Trained a relational graph convolutional network (RGCN) on the case graph using the Deep Graph Library, with features including lawpoints and metadata, to predict missing links and case similarities.
Experimental results
Research questions
- RQ1Can a legal knowledge graph enriched with domain-specific features improve case similarity prediction in a heterogeneous graph setting?
- RQ2How effective is the use of lawpoints—semantically labeled IPR-related terms—as features in relational GNNs for legal case recommendation?
- RQ3Does incorporating topic modeling-derived concepts enhance the performance of graph neural networks in legal citation and similarity prediction tasks?
- RQ4To what extent do explainability features help in interpreting GNN predictions for legal practitioners and students?
- RQ5How does the performance of RGCN models vary with and without domain-specific features in legal case graph tasks?
Key findings
- The inclusion of lawpoint features significantly improved citation link prediction performance, achieving an AUC of 0.620 over 1200 epochs.
- For case similarity prediction, the model with lawpoint features achieved an AUC of 0.556, outperforming the baseline without lawpoints.
- The model without lawpoint features performed poorly in similarity prediction, with a maximum AUC of 0.513, indicating limited predictive power without domain-specific features.
- The best-performing citation model reached an AUC of 0.587 without lawpoints, suggesting that even baseline features contribute meaningfully to link prediction.
- Explainability visualizations successfully highlighted key features and metadata differences between predicted similar cases, supporting interpretability.
- The demo system, hosted at http://case-similarity-demo.mybluemix.net/, enables interactive exploration of similar cases and their underlying features.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.