Pairing Analogy-Augmented Generation with Procedural Memory for Procedural Q&A
Roth, K, Gupta, Rushil, Halle, Simon, Liu, Bang
–arXiv.org Artificial Intelligence
While LLMs in the RAG paradigm have shown remarkable performance on a variety of tasks, they still under-perform on unseen domains, especially on complex tasks like procedural question answering. In this work, we introduce a novel formalism and structure for manipulating text-based procedures. Based on this formalism, we further present a novel dataset called LCStep, scraped from the LangChain Python docs. Moreover, we extend the traditional RAG system to propose a novel system called analogy-augmented generation (AAG), that draws inspiration from human analogical reasoning and ability to assimilate past experiences to solve unseen problems. The proposed method uses a frozen language model with a custom procedure memory store to adapt to specialized knowledge. 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.
arXiv.org Artificial Intelligence
Sep-2-2024
- Country:
- Asia > Singapore (0.04)
- North America > Canada
- Europe > United Kingdom
- England > Cambridgeshire > Cambridge (0.04)
- Genre:
- Workflow (0.94)
- Research Report (0.81)
- Technology: