pith. sign in

arxiv: 2502.20364 · v2 · pith:6CTLSVJ6new · submitted 2025-02-27 · 💻 cs.CL · cs.AI

Bridging Legal Knowledge and AI: Retrieval-Augmented Generation with Vector Stores, Knowledge Graphs, and Hierarchical Non-negative Matrix Factorization

classification 💻 cs.CL cs.AI
keywords legalknowledgecomplexrelationshipsresearchsemi-structuredstatutessystem
0
0 comments X
read the original abstract

Agentic Generative AI, powered by Large Language Models (LLMs) with Retrieval-Augmented Generation (RAG), Knowledge Graphs (KGs), and Vector Stores (VSs), represents a transformative technology applicable to specialized domains such as legal systems, research, recommender systems, cybersecurity, and global security, including proliferation research. This technology excels at inferring relationships within vast unstructured or semi-structured datasets. The legal domain here comprises complex data characterized by extensive, interrelated, and semi-structured knowledge systems with complex relations. It comprises constitutions, statutes, regulations, and case law. Extracting insights and navigating the intricate networks of legal documents and their relations is crucial for effective legal research. Here, we introduce a generative AI system that integrates RAG, VS, and KG, constructed via Non-Negative Matrix Factorization (NMF), to enhance legal information retrieval and AI reasoning and minimize hallucinations. In the legal system, these technologies empower AI agents to identify and analyze complex connections among cases, statutes, and legal precedents, uncovering hidden relationships and predicting legal trends-challenging tasks that are essential for ensuring justice and improving operational efficiency. Our system employs web scraping techniques to systematically collect legal texts, such as statutes, constitutional provisions, and case law, from publicly accessible platforms like Justia. It bridges the gap between traditional keyword-based searches and contextual understanding by leveraging advanced semantic representations, hierarchical relationships, and latent topic discovery. This framework supports legal document clustering, summarization, and cross-referencing, for scalable, interpretable, and accurate retrieval for semi-structured data while advancing computational law and AI.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 5 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Temporal Decay of Co-Citation Predictability: A 20-Year Statute Retrieval Benchmark from 396M Ukrainian Court Citations

    cs.CL 2026-05 conditional novelty 7.0

    Co-citation predictability for statute retrieval decays over 20 years in Ukrainian court data, dropping 33-47% in MRR with non-uniform patterns across legal domains.

  2. Exploring Knowledge Conflicts for Faithful LLM Reasoning: Benchmark and Method

    cs.CL 2026-04 unverdicted novelty 7.0

    ConflictQA benchmark shows LLMs fail to resolve conflicts between text and KG evidence and often default to one source, motivating the XoT explanation-based reasoning method.

  3. An Ontology-Driven Graph RAG for Legal Norms: A Structural, Temporal, and Deterministic Approach

    cs.CL 2025-04 unverdicted novelty 7.0

    SAT-Graph RAG is a new ontology-driven temporal graph framework for legal RAG that models Works vs. Expressions, reuses versioned components for temporal states, and treats legislative events as queryable Action nodes...

  4. Towards Intelligent Legal Document Analysis: CNN-Driven Classification of Case Law Texts

    cs.CL 2026-04 unverdicted novelty 4.0

    A 1D CNN with FastText embeddings classifies legal texts at 97.26% accuracy using 5.1 million parameters and runs over 13 times faster than BERT.

  5. KnowPilot: Your Knowledge-Driven Copilot for Domain Tasks

    cs.SE 2026-04 unverdicted novelty 4.0

    KnowPilot integrates knowledge retrieval and memory systems into generative agents to achieve better results on domain-specific tasks such as text generation.