Saved in:
Bibliographic Details
Main Authors: Yu, Zeping, Ananiadou, Sophia
Format: Preprint
Published: 2023
Subjects:
Online Access:https://arxiv.org/abs/2312.12141
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916410308952064
author Yu, Zeping
Ananiadou, Sophia
author_facet Yu, Zeping
Ananiadou, Sophia
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2312_12141
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Neuron-Level Knowledge Attribution in Large Language Models
Yu, Zeping
Ananiadou, Sophia
Computation and Language
Machine Learning
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.
title Neuron-Level Knowledge Attribution in Large Language Models
topic Computation and Language
Machine Learning
url https://arxiv.org/abs/2312.12141