将类比增强生成与过程记忆相结合用于过程问答
Pairing Analogy-Augmented Generation with Procedural Memory for Procedural Q&A
AI总结:
针对大模型处理复杂过程任务时难以整合信息的问题,提出过程知识数据集LCStep及类比增强生成方法AAG,利用过程记忆库检索调整领域知识,在多个数据集上优于基线方法。
摘要:
大型语言模型在处理复杂过程任务时,难以将零散信息整合为连贯的计划。在本研究中,我们为这类过程知识引入了一种新颖的形式化表示和结构。基于该形式化方法,我们提出了一个名为 LCStep 的全新过程知识数据集,该数据集由我们从 LangChain 教程中创建。为了利用这些过程知识来解决新任务,我们提出了类比增强生成(AAG),其灵感来源于人类吸收过往经验以解决陌生问题的能力。AAG 使用自定义的过程记忆库来检索并调整专门的领域知识,以回答新的过程任务。我们证明了在基于成对 LLM 的评估下,AAG 在 LCStep、RecipeNLG 和 CHAMP 数据集上优于少样本和 RAG 基线,这一结果在 RecipeNLG 的人工评估中得到了印证。
英文摘要:
Large language models struggle to synthesize disparate pieces of information into a coherent plan when approaching a complex procedural task. In this work, we introduce a novel formalism and structure for such procedural knowledge. Based on this formalism, we present a novel procedural knowledge dataset called LCStep, which we created from LangChain tutorials. To leverage this procedural knowledge to solve new tasks, we propose analogy-augmented generation (AAG), which draws inspiration from the human ability to assimilate past experiences to solve unfamiliar problems. AAG uses a custom procedure memory store to retrieve and adapt specialized domain knowledge to answer new procedural tasks. We demonstrate that AAG outperforms few-shot and RAG baselines on LCStep, RecipeNLG, and CHAMP datasets under a pairwise LLM-based evaluation, corroborated by human evaluation in the case of RecipeNLG.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。