LLM Agents 实现从零构建 NLG 系统:构建可解释的基于规则的 RDF-to-Text 生成器
LLM Agents Implement an NLG System from Scratch: Building Interpretable Rule-Based RDF-to-Text Generators
AI总结:
本文提出了一种基于 LLM agent 的神经符号框架,通过协作交互生成可解释的 RDF-to-Text 生成器,减少幻觉并提升生成效率。
摘要:
我们提出了一种新颖的神经符号框架,用于 RDF-to-text 生成,其中模型通过多个 LLM agent 之间的协作交互进行“训练”,而非传统的反向传播。LLM agent 仅基于 RDF 三元组生成规则-based 的 Python 代码,用于生成给定领域的生成器,且不依赖领域内的参考文本。所得到的系统完全可解释,不需要监督训练数据,并且仅使用单个 CPU 即可几乎即时生成文本。我们在 WebNLG 和 OpenDialKG 数据集上的实验表明,我们的方法生成的输出减少了幻觉,与微调或提示的语言模型相比,仅略有流畅性损失。
英文摘要:
We present a novel neurosymbolic framework for RDF-to-text generation, in which the model is "trained" through collaborative interactions among multiple LLM agents rather than traditional backpropagation. The LLM agents produce rule-based Python code for a generator for the given domain, based on RDF triples only, with no in-domain human reference texts. The resulting system is fully interpretable, requires no supervised training data, and generates text nearly instantaneously using only a single CPU. Our experiments on the WebNLG and OpenDialKG data show that outputs produced by our approach reduce hallucination, with only slight fluency penalties compared to finetuned or prompted language models
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。