Exploring the neural landscape: Visual analytics of neuron activation in large language models with NeuronautLLM
Large language models (LLMs) like those that power OpenAI’s ChatGPT and Google’s Gemini have played a major part in the recent wave of machine learning and artificial intelligence advancements. However, interpreting LLMs and visualizing their components is extremely difficult due to the incredible scale and high dimensionality of model data. NeuronautLLM introduces a visual analysis system for identifying and visualizing influential neurons in transformer-based language models as they relate to user-defined prompts. Our approach combines simple, yet information-dense visualizations as well as neuron explanation and classification data to provide a wealth of opportunities for exploration. NeuronautLLM was reviewed by two experts to verify its efficacy as a tool for practical model interpretation. Interviews and usability tests with five LLM experts demonstrated NeuronautLLM’s exceptional usability and its readiness for real-world application. Furthermore, two in-depth case studies on model reasoning and social bias highlight NeuronautLLM’s versatility in aiding the analysis of a wide range of LLM research problems.
Authors
- Minfeng Zhu (ORCID: https://orcid.org/0000-0002-6711-3099)
- Hui Lu (ORCID: https://orcid.org/0000-0001-5392-5486)
- Ollie Woodman
- Yiwen Ren
- Wei Chen (ORCID: https://orcid.org/0000-0002-9942-2216)
- Zhen Wen (ORCID: https://orcid.org/0000-0002-6327-5306)
Publication Details
- Journal
- Graphical Models
- Published
- 2024-10-19
- DOI
- https://doi.org/10.1016/j.gmod.2024.101238
- Citations
- 1
- Primary Topic
- Multimodal Machine Learning Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.25
Funders
- National Natural Science Foundation of China
- Science and Technology Department of Zhejiang Province
- Natural Science Foundation of Zhejiang Province