arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.15064cs.AI
收藏

一种面向大语言模型回答法律影响的提示工程方法与基于知识图谱的框架

A Prompt Engineering Approach and a Knowledge Graph based Framework for Tackling Legal Implications of Large Language Model Answers

University of Liverpool(利物浦大学);Universität Mannheim(曼海姆大学);KU Leuven(鲁汶大学);University of Bari(巴里大学)

George Hannah, Rita T. Sousa, Ioannis Dasoulas, Claudia d'Amato

AI总结:

针对用户盲目信任大语言模型回答中可能引发法律风险的问题,本文提出提示重工程方法隔离法律问题,并设计基于法律知识图谱的框架自动生成法律引用以增强LLM回复。

摘要:

随着大语言模型(LLMs)近期流行度的激增,用户盲目信任回复信息的风险日益上升,即使是在LLM推荐可能具有法律影响的行动并可能将用户置于危险之中的情况下也是如此。我们对多个现有LLM进行了实证分析,表明了该问题的紧迫性。因此,我们提出一种短期解决方案,包括一种通过提示重工程来隔离这些法律问题的方法。我们进一步分析了基于提示工程方法的结果及其局限性,并强调需要额外资源才能完全解决该问题。我们还提出了一个由法律知识图谱(KG)驱动的框架,为这些法律问题生成法律引用,从而丰富LLM的回复。

英文摘要:

With the recent surge in popularity of Large Language Models (LLMs), there is the rising risk of users blindly trusting the information in the response, even in cases where the LLM recommends actions that have potential legal implications and this may put the user in danger. We provide an empirical analysis on multiple existing LLMs showing the urgency of the problem. Hence, we propose a short-term solution consisting in an approach for isolating these legal issues through prompt re-engineering. We further analyse the outcomes but also the limitations of the prompt engineering based approach and we highlight the need of additional resources for fully solving the problem We also propose a framework powered by a legal knowledge graph (KG) to generate legal citations for these legal issues, enriching the response of the LLM.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑