acceptodds
Under review as a conference paper at ICLR 2027

From Parameters to Answers: How LLMs Retrieve and Use Their Internal Knowledge

Abstract

Large language models (LLMs) answer questions using pretrained knowledge, but the internal process connecting knowledge retrieval to answer generation remains only partly understood. We find that LLMs use routing information to retrieve relevant pretrained knowledge, then draw on knowledge represented in hidden states to produce an answer. Specifically, parameter routing guides access to pretrained knowledge, while answer-supporting hidden-state knowledge contributes to the answer. Deletion and replacement interventions provide causal evidence for parameter routing and the hidden-state knowledge used to answer. Tracing their effects across layers reveals an overlapping process of knowledge retrieval and use with model- and task-specific timing: parameter routing shapes the knowledge formed in subsequent layers, while hidden-state knowledge supports the answer. In later layers, hidden-state knowledge remains consequential even as parameter-routing deletion causes less answer damage.

open until 14 Dec 2026

est. 32% chance this paper gets accepted at ICLR 2027.

Reject 68%Accept 32%

What do you think this paper will get?

All positions stay anonymous.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.