Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Neuron-Level Knowledge Attribution in Large Language Models

About

Identifying important neurons for final predictions is essential for understanding the mechanisms of large language models. Due to computational constraints, current attribution techniques struggle to operate at neuron level. In this paper, we propose a static method for pinpointing significant neurons. Compared to seven other methods, our approach demonstrates superior performance across three metrics. Additionally, since most static methods typically only identify "value neurons" directly contributing to the final prediction, we propose a method for identifying "query neurons" which activate these "value neurons". Finally, we apply our methods to analyze six types of knowledge across both attention and feed-forward network (FFN) layers. Our method and analysis are helpful for understanding the mechanisms of knowledge storage and set the stage for future research in knowledge editing. The code is available on https://github.com/zepingyu0512/neuron-attribution.

Zeping Yu, Sophia Ananiadou• 2023

Related benchmarks

TaskDatasetResultRank
Vision-Language Multi-task EvaluationMS COCO Unified Multi-task (test)
VQA Score19.4
24
Visual Question AnsweringVQAv2 3K curated MS COCO (test)
Relative Performance Drop (%)16.5
10
Showing 2 of 2 rows

Other info

Follow for update