Triggering Multi-hop Reasoning For Question Answering In Language Models Using Soft Prompts And Random Walks · The Large Language Model Bible Contribute to LLM-Bible

Triggering Multi-hop Reasoning For Question Answering In Language Models Using Soft Prompts And Random Walks

Misra Kanishka, Santos Cicero Nogueira Dos, Shakeri Siamak. Arxiv 2023

[Paper]    
Applications Prompting Reinforcement Learning

Despite readily memorizing world knowledge about entities, pre-trained language models (LMs) struggle to compose together two or more facts to perform multi-hop reasoning in question-answering tasks. In this work, we propose techniques that improve upon this limitation by relying on random walks over structured knowledge graphs. Specifically, we use soft prompts to guide LMs to chain together their encoded knowledge by learning to map multi-hop questions to random walk paths that lead to the answer. Applying our methods on two T5 LMs shows substantial improvements over standard tuning approaches in answering questions that require 2-hop reasoning.

Similar Work