Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
41 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
41 tokens/sec
o3 Pro
7 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Triggering Multi-Hop Reasoning for Question Answering in Language Models using Soft Prompts and Random Walks (2306.04009v1)

Published 6 Jun 2023 in cs.CL and cs.AI

Abstract: Despite readily memorizing world knowledge about entities, pre-trained LLMs (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.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (3)
  1. Kanishka Misra (20 papers)
  2. Cicero Nogueira dos Santos (31 papers)
  3. Siamak Shakeri (29 papers)
Citations (1)