PRecG: Legal Precedent Retrieval with Graph Neural Networks and Rhetorical Role Segmentation

Devanshu Verma, Vasudha Bhatnagar, Vikas Kumar, Balaji Ganesan
7/10/2026
cs.CLcs.AI
gnn

No confident code implementation found for this paper.

Abstract

Legal precedent retrieval is a fundamental task in legal case preparation, planning, litigation strategy, and legal research. Current approaches for automatic precedent retrieval map legal documents to a low-dimensional semantic space and compute similarity based on the proximity of their representations.

Show full abstract

These approaches treat legal documents as monolithic texts, ignoring the rhetorical organization of the legal technicalities. Ergo, they overlook nuanced legal meanings and fail to distinguish the contextual significance of legal entities and concepts that vary based on their rhetorical roles within the document. To address this insufficiency, we propose the PRecG pipeline that computes the similarity between pairs of legal judgments by hierarchically learning their representations. The process begins by decomposing each document into distinct semantic units (segments) based on the rhetorical roles of sentences. For each rhetorical segment, a knowledge graph is constructed to capture the legal entities and their relationships within the segment. Contextual representations of the entities are then learned and aggregated to derive segment-level embeddings. These embeddings are further integrated to produce a unified document-level representation, and finally, the semantic similarity between a pair of documents is computed. We validate the performance of the proposed approach through extensive experiments on a benchmark Indian legal dataset, comparing it against state-of-the-art baselines to demonstrate its effectiveness.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{verma2026precg,
  title  = {PRecG: Legal Precedent Retrieval with Graph Neural Networks and Rhetorical Role Segmentation},
  author = {Devanshu Verma and Vasudha Bhatnagar and Vikas Kumar and Balaji Ganesan},
  year   = {2026},
  eprint = {2607.09094},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.09094v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2607.09094.svg)](https://codeofpaper.com/paper/2607.09094)

Discussion