Abstract
dc:description.abstractCode-trained language models have proven to be highly effective for various code intelligence tasks. However, they can be challenging to train and deploy due to computational bottlenecks and memory constraints. Implementing effective strategies to address these issues requires a better understanding of these ’black box’ models. In this paper, I perform a neuron-level analysis of code-trained language models on three different software engineering and one high performance computing downstream task. I identify important neurons within latent representations by eliminating neurons that are highly similar or irrelevant to the given task. This approach helps us understand which neurons and layers can be eliminated (redundancy analysis) and where important code properties are located within the network (concept analysis). We find that over 95% of the neurons can be eliminated without significant loss in accuracy for our code intelligence tasks. We also discover several compositions of neurons that can make predictions with baseline accuracy. Additionally, I explore the traceability and distribution of human-recognizable concepts within latent representations. I also demonstrate the effectiveness of our redundancy approach by creating an efficient transfer learning pipeline.
Degree
thesis:*- Name thesis:degree_name
- Master of Science
- Level thesis:degree_level
- thesis
- Discipline thesis:degree_discipline
- Computer science
- Department dc:contributor.department
- Department of Computer Science
- Grantor
- Iowa State University
- Year dc:date.issued
- 2024
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Sharma, Arushi
- Advisors dc:contributor.advisor
-
- Jannesari, Ali
- Quinn, Christopher J
- Li, Yang
- ORCID dc:identifier.orcid
Rights
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- Identifier URI
- https://dr.lib.iastate.edu/handle/20.500.12876/qzoD8W2w