Can Neuron Activation be Predicted? A New Lens for Analyzing Transformer-based LLM
Large Language Model;Model Analysis;Neuron Predictability
Yes
No ethics review needed.
- The distinction between global and local analysis with NPL is well-conceived, providing a structured approach to dissect both overarching and fine-grained model behaviors. However, more connection between the two analyses would enhance the coherence of the findings.
- It remains unclear if predictability could translate into actionable insights for model optimization, such as inference acceleration or memory reduction.
- Elaborate on potential real-world applications, especially in model efficiency and performance, where predictability could serve as a metric for optimization.	
- To contextualize NPL, compare its findings and utility directly against existing interpretability tools, such as neuron ablation studies or vocabulary lenses.
- Introduce a more granular categorization or additional characterization of functional neurons, potentially linking neuron predictability with specific tasks or contextual dependencies.
- The NPL framework provides a fresh perspective on interpretability for Transformer-based LLMs, particularly by focusing on predictability as an avenue to understand neuron roles in model behavior.
- The study includes an extensive evaluation across multiple model configurations and datasets, offering a robust examination of neuron predictability.
- The findings contribute meaningfully to the field, especially the discovery of "background neurons" that, while predictable, do not exhibit clear functional roles. This insight is likely to spark further investigation into latent neuron functionality in LLMs.
This paper introduces the Neuron Predictability Lens (NPL), a framework designed to analyze the predictability of neuron activations in Transformer-based large language models (LLMs). The authors apply this framework to examine neuron activations in LLaMA-2 and GPT-J, demonstrating predictability across layers. The paper presents both a global analysis, showing contributions of specific layers to model outputs, and a local analysis, uncovering distinctions in neuron functionality and identifying "background neurons" that are vital yet functionally ambiguous.
- While the NPL framework provides a novel lens, its practical applications, especially beyond interpretability, are not clearly outlined. Integrating this framework into tasks that directly improve model performance or efficiency would enhance the relevance of the work.
- The experiments could benefit from a wider range of models or additional comparisons with other interpretability frameworks. This would clarify the uniqueness and generalizability of the NPL approach across diverse architectures.
- Although the analysis of "background neurons" is insightful, the study of functional neurons is a well-trodden path in neuron interpretability. Incorporating additional layers of functional analysis could further validate the utility of NPL.
Yes
No ethics review needed.
- In Figure 2 (a, b), the MSE losses of diagonal terms indicate the performances of linear mappings learned to predict the neuron activation (hidden state of FFN) of a layer given the same hidden state of that layer. This sounds like a trivial task and can be perfectly solved by identity weight matrix. However, in results, the diagonal MSE performances are not 0.0, and some of other off-diagonal linear mappings achieved better MSE performances. Could you explain what I am missing here? 

- Why the predictor is a linear model? Can we use multi-layer perceptrons?
Simple idea of modeling neuron predictability: The idea is simple, which is learning linear mapping between a state (neurons) to another state at different feed-forward network (FFN) layers.

Interesting analysis results: Some results of analyses sound new and interesting. For example, easy-to-predict neurons are more important for performance than other hard-to-predict neurons.

Potential to contribute future works of large language model field:
As described in section 6, these analyses could contribute to other works for better computational efficiency if some concerns (in Weaknesses) are addressed well.
This paper proposes a new framework for analyzing Transformer-based model’s neuron activations toward performance and functionalities. Based on the predictability of neuron concept, this paper conducts comprehensive analyses in global- and local-levels. The results of the analyses implicate correlation between predictability of neurons and performance & functionalities.
Major: 
- Experiment results: The PPL of original LLAMA-2 and GPT-J (33.08 and 26.58 in Table 2), on wikitext2 are too high regarding their large number of parameters. For example, GPT-J (6B) is known to be better than GPT-2 (1.5B) (check https://huggingface.co/EleutherAI/gpt-j-6b) , but GPT-2 (1.5B) achieved 18.34 PPL on wikitext2. I guess the trained large language models did not converge well, or maybe the simplified forward propagation (no consideration of layer normalization) is the key reason.
- Lack of explanations: I believe that this paper could be improved by explaining more clearly some parts as follows: 
: In section 3, to select which dimension of state to substitute, this paper used L2 distance and Pearson correlation. However, it is unclear what are the two objects used to compute distance (or correlation). 
: Equations 7, 8 are introduced without explanations of some notations, such as ‘g’ with square brackets, sigma square (maybe variance?), operation ‘|’ with ‘ㄱ’ shape symbol, and ‘theta_P’.
: The difficulty score, ‘s^{l,i}’ in Equation 8, is indexed with only i-th neuron and l-th layer. However, because this means difficulty for predictability, I guess it needs additional index to indicate ‘from which layer’s neuron is used to predict’.
: For the baseline of Figure 5’s experiments, this paper utilized the difficulty score of a random subset of tokens. Firstly, it is hard to understand what is the random subset of tokens. Also, the difficulty score requires a property function (P) to filter out neurons. This is not explained in the paragraph within lines 384~391. Also, it is not clear why this could be the global baseline for n-gram sensitive, difficulty (loss) sensitive, position sensitive analyses? 
: Each property functions, such as n-gram and position sensitivity, need clearer definitions. Also, it was hard to understand what ‘arbitrary’ and ‘successive’ positions with only text.

Minor: 
- Less intuitive naming for two main perspectives: For example, ‘global view’ (relationship between neuron activation and model performance) and ‘local view’ (relationship between neuron activation and linguistic functions) are less intuitive.
- Location of the paragraph (line 213~215) looks improper in section 3.2, because it contains the contents of Section 4 (Table 1, ‘Complete’, ‘Partial’ substitutions and ‘Original‘ models). It is hard to follow this paragraph.
- Need clearer explanations: For example, about the findings in section 4.2, the authors might want to clearly mention which type of substitution (complete or partial) they are talking about.
Yes
No ethics review needed.
How does the NPL change over different chunks of input texts? Also the input length has an effect on NPL. More analysis could be included
1. The paper introduces a new analytical framework, NPL, which focuses on the predictability of neuron activations in transformer-based LLMs. This is a unique perspective that has not been explored extensively in previous research.
2. The authors conduct both global and local analyses using NPL, providing a comprehensive understanding of the internal workings of transformer-based LLMs. The findings from these analyses are insightful and contribute to the existing knowledge on transformer-based models.
The paper introduces the Neuron Predictability Lens (NPL), an analytical framework designed to analyze the internal workings of neurons within feed-forward networks (FFNs) in transformer-based large language models (LLMs). The authors conduct experiments on LLaMA-2 and GPT-J, demonstrating that neuron activations are predictable and uncovering various insights through global and local analyses using NPL. The paper contributes to the understanding of transformer-based LLMs and suggests potential applications of NPL in model efficiency and effectiveness.
1. The experiments are conducted only on LLaMA-2 and GPT-J, which may limit the generalizability of the findings. It would be beneficial to see experiments on a wider range of transformer-based models to validate the effectiveness of NPL.
2. The method lacks novelty, which essentially is a linear regression between neuron activations of different layers.
We find neuron activations can be predicted, and then we propose a new framework to analyze Transformer-based LLMs called the Neuron Predictability Lens.
@inproceedings{
anonymous2024can,
title={Can Neuron Activation be Predicted? A New Lens for Analyzing Transformer-based {LLM}},
author={Anonymous},
booktitle={Submitted to The Thirteenth International Conference on Learning Representations},
year={2024},
url={https://openreview.net/forum?id=I18MA5DjoP},
note={under review}
}
Transformer-based large language models (LLMs) play a vital role in various NLP tasks, but the internal neurons are rather functioning in a black box style. In this work, we introduce the *Neuron Predictability Lens* (NPL), an analytical framework that focuses on the way neurons work within feed-forward networks (FFNs). NPL is useful in understanding and analyzing transformer-based LLMs. Based on this proposed framework, we conduct extensive experiments on LLaMA-2 and GPT-J. Firstly, we show that neuron activations are predictable and for the first time we introduce the concept of *Neuron Predictability*. Secondly, we apply NPL to both global and local analysis. For global analysis, we investigate how FFNs contribute to model behaviors explicitly and implicitly with the aid of NPL. For local analysis, we explore the connection between neuron predictability and neuron interpretability. We examine various functional neurons under NPL and uncover the existence of “background neurons.” With the findings mentioned above, we demonstrate the value of NPL as a novel analytical tool and shed light on its future application on model efficiency and/or effectiveness for improved language modeling.
I certify that there is no URL (e.g., github page) that could be used to find authors’ identity.
I acknowledge that I and all co-authors of this work have read and commit to adhering to the ICLR Code of Ethics.
Large Language Model Model Analysis Neuron Predictability
I certify that there is no acknowledgement section in this submission for double blind review.
/pdf/32900ff6578ed4f47f8792114bba5f2059b90374.pdf
interpretability and explainable AI
I understand the reciprocal reviewing requirement as described on https://iclr.cc/Conferences/2025/CallForPapers. If none of the authors are registered as a reviewer, it may result in a desk rejection at the discretion of the program chairs. To request an exception, please complete this form at https://forms.gle/Huojr6VjkFxiQsUp6.
I certify that this submission complies with the submission instructions as described on https://iclr.cc/Conferences/2025/AuthorGuide.
/attachment/3922d11386510559e0c534e11fecbd694ec45cc8.zip
Can Neuron Activation be Predicted? A New Lens for Analyzing Transformer-based LLM
ICLR 2025 Conference Submission
ICLR.cc/2025/Conference/Submission