arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.08540cs.CLcs.AIcs.DB
收藏

面向语义建模的知识提示链

Knowledge prompt chaining for semantic modeling

Ning Pei Ding, Jingge Du, Zaiwen Feng

AI总结:

针对结构化数据语义建模需理解图结构知识、人力成本高的问题,提出Knowledge Prompt Chaining框架,序列化图知识并通过提示链注入LLM,在更少输入数据下实现优于主流技术的性能。

摘要:

为CSV、JSON、XML文件等结构化数据构建语义的任务在知识表示领域具有高度相关性。尽管互联网上存在大量结构化数据,但将其映射到领域本体以构建语义仍极具挑战性,因为这要求构建模型能够理解并学习图结构知识,否则该任务将耗费大量人力与成本。本文提出了一种新颖的自动语义建模框架:Knowledge Prompt Chaining(知识提示链)。该框架能够将图结构知识序列化,并通过提示链架构将其恰当地注入大语言模型(LLMs)中。通过这种知识注入与提示链式设计,框架中的模型能够学习图的结构信息与潜在空间,并自然地遵循链的指令生成语义标签与语义图。实验结果表明,尽管使用的结构化输入数据量更少,本文方法的性能仍优于现有主流技术。

英文摘要:

The task of building semantics for structured data such as CSV, JSON, and XML files is highly relevant in the knowledge representation field. Even though we have a vast of structured data on the internet, mapping them to domain ontologies to build semantics for them is still very challenging as it requires the construction model to understand and learn graph-structured knowledge. Otherwise, the task will require human beings' effort and cost. In this paper, we proposed a novel automatic semantic modeling framework: Knowledge Prompt Chaining. It can serialize the graph-structured knowledge and inject it into the LLMs properly in a Prompt Chaining architecture. Through this knowledge injection and prompting chaining, the model in our framework can learn the structure information and latent space of the graph and generate the semantic labels and semantic graphs following the chains' insturction naturally. Based on experimental results, our method achieves better performance than existing leading techniques, despite using reduced structured input data.

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

↑