mlsanityData to 7 Oct 2026

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

arXiv 2410.15064 ↗First posted 19 Oct 2024cs.AIcited by 1

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 21 of its 44 references that are in the map. First posted on arXiv 19 Oct 2024.

Builds on

21 of 44 references.

References · 21

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  4. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  5. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  6. 2023Mistral 7Bcited by 3,065
  7. 2022Survey of Hallucination in Natural Language Generationcited by 2,056
  8. 2023Unifying Large Language Models and Knowledge Graphs: A Roadmapcited by 663
  9. 2020Knowledge Graphscited by 619
  10. 2023A Prompt Pattern Catalog to Enhance Prompt Engineering with ChatGPTcited by 612
  11. 2023Enabling Large Language Models to Generate Text with Citationscited by 584
  12. 2023The Falcon Series of Open Language Modelscited by 526
9 more
  1. 2023Jailbreaking ChatGPT via Prompt Engineering: An Empirical Studycited by 478
  2. 2019KGAT: Knowledge Graph Attention Network for Recommendationcited by 342
  3. 2023Role-Play with Large Language Modelscited by 290
  4. 2023ChatGPT Beyond English: Towards a Comprehensive Evaluation of Large Language Models in Multilingual Learningcited by 203
  5. 2017Variational Reasoning for Question Answering with Knowledge Graphcited by 170
  6. 2023Factuality Challenges in the Era of Large Language Modelscited by 125
  7. 2023Prompt Engineering for Healthcare: Methodologies and Applicationscited by 52
  8. 2023Prompting Is All You Need: Automated Android Bug Replay with Large Language Modelscited by 40
  9. 2023Consistency Analysis of ChatGPTcited by 37

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.