[Paper Review] Finding the Law: Enhancing Statutory Article Retrieval via Graph Neural Networks
This paper proposes G-DSR, a graph-augmented dense retriever that enhances statutory article retrieval by modeling the hierarchical structure of legislation using graph neural networks. By incorporating topological dependencies between legal articles, the model improves retrieval performance over strong baselines on a real-world expert-annotated dataset, demonstrating the value of structural information in legal text retrieval.
Statutory article retrieval (SAR), the task of retrieving statute law articles relevant to a legal question, is a promising application of legal text processing. In particular, high-quality SAR systems can improve the work efficiency of legal professionals and provide basic legal assistance to citizens in need at no cost. Unlike traditional ad-hoc information retrieval, where each document is considered a complete source of information, SAR deals with texts whose full sense depends on complementary information from the topological organization of statute law. While existing works ignore these domain-specific dependencies, we propose a novel graph-augmented dense statute retriever (G-DSR) model that incorporates the structure of legislation via a graph neural network to improve dense retrieval performance. Experimental results show that our approach outperforms strong retrieval baselines on a real-world expert-annotated SAR dataset.
Motivation & Objective
- To address the limitations of existing statutory article retrieval (SAR) systems that treat legal articles as isolated units, ignoring their structural dependencies.
- To improve retrieval performance by leveraging the hierarchical organization of statute law, where article meaning depends on its position in the legal structure.
- To develop a graph-augmented dense retriever (G-DSR) that learns cross-article representations using graph neural networks to enrich article embeddings.
- To evaluate the effectiveness of structural modeling in SAR through empirical experiments on a real-world dataset.
- To analyze the impact of various design choices and training strategies via ablation studies.
Proposed method
- The model extends a dense retriever's document encoder with a graph neural network (GNN) to capture inter-article dependencies based on the hierarchical structure of legislation.
- Legal articles are represented as nodes in a graph, with edges connecting articles that are topologically adjacent (e.g., within the same chapter or section).
- The GNN aggregates information from neighboring articles to produce knowledge-rich, context-aware representations of each article.
- A contrastive learning objective is used to optimize the similarity between query and relevant article representations, encouraging the model to learn semantically meaningful dense vectors.
- The graph structure is constructed from the formal hierarchy of legal codes (books, titles, chapters, sections), with headings providing contextual cues.
- The model is fine-tuned end-to-end on a real-world SAR dataset using a contrastive loss function to align relevant query-article pairs.
Experimental results
Research questions
- RQ1Can modeling the topological structure of legislation improve the performance of dense retrieval in statutory article retrieval?
- RQ2How does incorporating hierarchical relationships between legal articles affect retrieval effectiveness compared to standard dense retrieval?
- RQ3What is the impact of different graph construction strategies and GNN architectures on SAR performance?
- RQ4How do design choices such as graph aggregation methods and training objectives influence model effectiveness?
- RQ5To what extent does structural information improve retrieval when legal language is highly formal and context-dependent?
Key findings
- The G-DSR model outperforms strong dense retrieval baselines on a real-world expert-annotated statutory article retrieval dataset, demonstrating improved retrieval effectiveness.
- Ablation studies show that incorporating structural information via the GNN leads to significant performance gains, especially in recall and mean average precision (MAP) metrics.
- The model’s performance is sensitive to the graph construction method, with hierarchical adjacency (e.g., same chapter) yielding better results than broader or looser connections.
- Contrastive learning with hard negative mining improves the model’s ability to distinguish relevant from irrelevant articles.
- The inclusion of structural context significantly enhances representation quality, particularly for long and complex legal articles that rely on surrounding context for full meaning.
- The model shows promise for generalization, though performance may vary across jurisdictions with different legal structures or multilingual legal texts.
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.