KRAG Framework for Enhancing LLMs in the Legal Domain

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Thanh, Nguyen Ha, Satoh, Ken
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866917799922761728
author Thanh, Nguyen Ha
Satoh, Ken
author_facet Thanh, Nguyen Ha
Satoh, Ken
contents This paper introduces Knowledge Representation Augmented Generation (KRAG), a novel framework designed to enhance the capabilities of Large Language Models (LLMs) within domain-specific applications. KRAG points to the strategic inclusion of critical knowledge entities and relationships that are typically absent in standard data sets and which LLMs do not inherently learn. In the context of legal applications, we present Soft PROLEG, an implementation model under KRAG, which uses inference graphs to aid LLMs in delivering structured legal reasoning, argumentation, and explanations tailored to user inquiries. The integration of KRAG, either as a standalone framework or in tandem with retrieval augmented generation (RAG), markedly improves the ability of language models to navigate and solve the intricate challenges posed by legal texts and terminologies. This paper details KRAG's methodology, its implementation through Soft PROLEG, and potential broader applications, underscoring its significant role in advancing natural language understanding and processing in specialized knowledge domains.
format Preprint
id arxiv_https___arxiv_org_abs_2410_07551
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle KRAG Framework for Enhancing LLMs in the Legal Domain
Thanh, Nguyen Ha
Satoh, Ken
Computation and Language
Artificial Intelligence
This paper introduces Knowledge Representation Augmented Generation (KRAG), a novel framework designed to enhance the capabilities of Large Language Models (LLMs) within domain-specific applications. KRAG points to the strategic inclusion of critical knowledge entities and relationships that are typically absent in standard data sets and which LLMs do not inherently learn. In the context of legal applications, we present Soft PROLEG, an implementation model under KRAG, which uses inference graphs to aid LLMs in delivering structured legal reasoning, argumentation, and explanations tailored to user inquiries. The integration of KRAG, either as a standalone framework or in tandem with retrieval augmented generation (RAG), markedly improves the ability of language models to navigate and solve the intricate challenges posed by legal texts and terminologies. This paper details KRAG's methodology, its implementation through Soft PROLEG, and potential broader applications, underscoring its significant role in advancing natural language understanding and processing in specialized knowledge domains.
title KRAG Framework for Enhancing LLMs in the Legal Domain
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2410.07551