JSAI Technical Report, SIG-SLUD
Online ISSN : 2436-4576
Print ISSN : 0918-5682
101st (Sep.2024)
Conference information

The Relationship Between Prompt Types and Their Effects in Knowledge Injection for Generative AI:Case of Humanities Knowledge
Dong WANG
Author information
CONFERENCE PROCEEDINGS FREE ACCESS

Pages 96-101

Details
Abstract

To enhance the capabilities of LLMs in downstream tasks, appropriate prompts are essential, yet what constitutes appropriateness remains insufficiently debated. This paper categorizes natural language prompts into subtypes: (1) DP (Definition-based Prompt), (2) IP (Instance-based Prompt), and (3) RDP (Recursive Definition-based Prompt), and validates seven methods of knowledge injection using these three prompt types (D, I, RD, D+I, RD+I, D+RD, D+RD+I). Through a total of 350 experimental iterations, the results indicate: (1) I and RD show similar outcomes and demonstrate higher accuracy and stability than D. (2) Methods employing multiple prompt types consistently exhibit higher accuracy and stability compared to single prompt type methods. (3) D+I achieves the highest accuracy, while D+RD+I significantly excels in stability over D+I, showing overall superior performance. (4) RDP administration enhances stability, and a synergistic effect between DP and IP is observed. (5) IP yields better results than DP, whether used alone or in combination with RP. Based on these findings, this paper examines methods of knowledge injection and the role of domain experts.

Content from these authors
© 2024 The Japaense Society for Artificial Intelligence
Previous article Next article
feedback
Top