Unveiling Factual Recall Behaviors of Large Language Models through Knowledge Neurons

Pile-T5


View a PDF of the paper titled Unveiling Factual Recall Behaviors of Large Language Models through Knowledge Neurons, by Yifei Wang and 5 other authors

View PDF
HTML (experimental)

Abstract:In this paper, we investigate whether Large Language Models (LLMs) actively recall or retrieve their internal repositories of factual knowledge when faced with reasoning tasks. Through an analysis of LLMs’ internal factual recall at each reasoning step via Knowledge Neurons, we reveal that LLMs fail to harness the critical factual associations under certain circumstances. Instead, they tend to opt for alternative, shortcut-like pathways to answer reasoning questions. By manually manipulating the recall process of parametric knowledge in LLMs, we demonstrate that enhancing this recall process directly improves reasoning performance whereas suppressing it leads to notable degradation. Furthermore, we assess the effect of Chain-of-Thought (CoT) prompting, a powerful technique for addressing complex reasoning tasks. Our findings indicate that CoT can intensify the recall of factual knowledge by encouraging LLMs to engage in orderly and reliable reasoning. Furthermore, we explored how contextual conflicts affect the retrieval of facts during the reasoning process to gain a comprehensive understanding of the factual recall behaviors of LLMs. Code and data will be available soon.

Submission history

From: Chen Yuheng [view email]
[v1]
Tue, 6 Aug 2024 15:07:08 UTC (3,845 KB)
[v2]
Tue, 13 Aug 2024 02:16:23 UTC (3,845 KB)
[v3]
Tue, 1 Oct 2024 01:48:58 UTC (3,847 KB)



Source link
lol

By stp2y

Leave a Reply

Your email address will not be published. Required fields are marked *

No widgets found. Go to Widget page and add the widget in Offcanvas Sidebar Widget Area.