An Integrated Framework of Prompt Engineering and Multidimensional Knowledge Graphs for Legal Dispute Analysis

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Zhang, Mingda, Zhao, Na, Qing, Jianglong, xu, Qing, Pan, Kaiwen, luo, Ting
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912559370600448
author Zhang, Mingda
Zhao, Na
Qing, Jianglong
xu, Qing
Pan, Kaiwen
luo, Ting
author_facet Zhang, Mingda
Zhao, Na
Qing, Jianglong
xu, Qing
Pan, Kaiwen
luo, Ting
contents Legal dispute analysis is crucial for intelligent legal assistance systems. However, current LLMs face significant challenges in understanding complex legal concepts, maintaining reasoning consistency, and accurately citing legal sources. This research presents a framework combining prompt engineering with multidimensional knowledge graphs to improve LLMs' legal dispute analysis. Specifically, the framework includes a three-stage hierarchical prompt structure (task definition, knowledge background, reasoning guidance) along with a three-layer knowledge graph (legal ontology, representation, instance layers). Additionally, four supporting methods enable precise legal concept retrieval: direct code matching, semantic vector similarity, ontology path reasoning, and lexical segmentation. Through extensive testing, results show major improvements: sensitivity increased by 11.1%-11.3%, specificity by 5.4%-6.0%, and citation accuracy by 29.5%-39.7%. As a result, the framework provides better legal analysis and understanding of judicial logic, thus offering a new technical method for intelligent legal assistance systems.
format Preprint
id arxiv_https___arxiv_org_abs_2507_07893
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle An Integrated Framework of Prompt Engineering and Multidimensional Knowledge Graphs for Legal Dispute Analysis
Zhang, Mingda
Zhao, Na
Qing, Jianglong
xu, Qing
Pan, Kaiwen
luo, Ting
Artificial Intelligence
68T50, 68T30, 91F20
I.2.7; I.2.4; K.5.1; H.3.3
Legal dispute analysis is crucial for intelligent legal assistance systems. However, current LLMs face significant challenges in understanding complex legal concepts, maintaining reasoning consistency, and accurately citing legal sources. This research presents a framework combining prompt engineering with multidimensional knowledge graphs to improve LLMs' legal dispute analysis. Specifically, the framework includes a three-stage hierarchical prompt structure (task definition, knowledge background, reasoning guidance) along with a three-layer knowledge graph (legal ontology, representation, instance layers). Additionally, four supporting methods enable precise legal concept retrieval: direct code matching, semantic vector similarity, ontology path reasoning, and lexical segmentation. Through extensive testing, results show major improvements: sensitivity increased by 11.1%-11.3%, specificity by 5.4%-6.0%, and citation accuracy by 29.5%-39.7%. As a result, the framework provides better legal analysis and understanding of judicial logic, thus offering a new technical method for intelligent legal assistance systems.
title An Integrated Framework of Prompt Engineering and Multidimensional Knowledge Graphs for Legal Dispute Analysis
topic Artificial Intelligence
68T50, 68T30, 91F20
I.2.7; I.2.4; K.5.1; H.3.3
url https://arxiv.org/abs/2507.07893