Do Large Language Models Latently Perform Multi-Hop Reasoning?

Sohee Yang, E. Gribovskaya, Nora Kassner, Mor Geva, Sebastian Riedel

arXiv:2402.16837 · 2026-07-27 공개 · arXiv · PDF

large-language-models model-scaling prompt-engineering latent-reasoning multi-hop-reasoning entity-linking knowledge-retrieval contextual-utilization

Abstract

We study whether Large Language Models (LLMs) latently perform multi-hop reasoning with complex prompts such as"The mother of the singer of 'Superstition' is". We look for evidence of a latent reasoning pathway where an LLM (1) latently identifies"the singer of 'Superstition'"as Stevie Wonder, the bridge entity, and (2) uses its knowledge of Stevie Wonder's mother to complete the prompt. We analyze these two hops individually and consider their co-occurrence as indicative of latent multi-hop reasoning. For the first hop, we test if changing the prompt to indirectly mention the bridge entity instead of any other entity increases the LLM's internal recall of the bridge entity. For the second hop, we test if increasing this recall causes the LLM to better utilize what it knows about the bridge entity. We find strong evidence of latent multi-hop reasoning for the prompts of certain relation types, with the reasoning pathway used in more than 80% of the prompts. However, the utilization is highly contextual, varying across different types of prompts. Also, on average, the evidence for the second hop and the full multi-hop traversal is rather moderate and only substantial for the first hop. Moreover, we find a clear scaling trend with increasing model size for the first hop of reasoning but not for the second hop. Our experimental findings suggest potential challenges and opportunities for future development and applications of LLMs.

한국어 요약

한 줄 요약

대규모 언어 모델(LLM)이 다중 점프 추론을 잠재적으로 수행하는지 실험적으로 분석하고, TwoHopFact 데이터셋과 내부 추론 경로를 측정하는 새로운 지표를 제안한다.

핵심 기여도

핵심 아이디어

기존 연구는 LLM이 명시된 정보를 기반으로 추론하는 능력을 보여주었으나, 이 연구는 정보가 입력에 포함되지 않은 경우에도 LLM이 내부 지식을 활용해 다중 점프 추론을 수행하는지 탐구한다. 예를 들어, "Superstition"의 가수인 Stevie Wonder를 브리지 엔티티로 식별하고, 그의 어머니를 추론하는 두 단계를 분석한다. 이는 LLM이 단순히 정보를 저장하는 것이 아니라, 내부 지식을 연결하는 경로를 형성하고 있는지를 평가하는 핵심이다.

기술적 접근법

주요 결과

의의 및 한계

이 연구는 LLM이 내부 지식을 연결하는 잠재적 경로를 형성할 수 있음을 입증하며, 모델 편집 및 추론 제어에 중요한 시사점을 제공한다. 그러나 두 번째 점프의 활용률이 낮고, 모델 크기 증가에 따른 성능 향상이 한쪽에만 집중된다는 점에서, 현재 아키텍처의 한계가 드러난다. 또한, 실험은 매우 좁은 해석 기준을 사용했기 때문에, 실제 모델의 능력은 더 높을 수 있다.

실용적 활용

이 연구는 LLM의 내부 추론 경로를 이해하고, 이를 기반으로 모델 편집, 추론 제어, 지식 연결 기술을 개선하는 데 활용될 수 있다. 특히, 지식 기반 질문 응답 시스템 및 대화형 AI 개발에 기여할 수 있다.