Polysemanticity and Capacity in Neural Networks

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Scherlis, Adam, Sachan, Kshitij, Jermyn, Adam S., Benton, Joe, Shlegeris, Buck
Format: Preprint
Veröffentlicht: 2022
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866915212309823488
author Scherlis, Adam
Sachan, Kshitij
Jermyn, Adam S.
Benton, Joe
Shlegeris, Buck
author_facet Scherlis, Adam
Sachan, Kshitij
Jermyn, Adam S.
Benton, Joe
Shlegeris, Buck
contents Individual neurons in neural networks often represent a mixture of unrelated features. This phenomenon, called polysemanticity, can make interpreting neural networks more difficult and so we aim to understand its causes. We propose doing so through the lens of feature \emph{capacity}, which is the fractional dimension each feature consumes in the embedding space. We show that in a toy model the optimal capacity allocation tends to monosemantically represent the most important features, polysemantically represent less important features (in proportion to their impact on the loss), and entirely ignore the least important features. Polysemanticity is more prevalent when the inputs have higher kurtosis or sparsity and more prevalent in some architectures than others. Given an optimal allocation of capacity, we go on to study the geometry of the embedding space. We find a block-semi-orthogonal structure, with differing block sizes in different models, highlighting the impact of model architecture on the interpretability of its neurons.
format Preprint
id arxiv_https___arxiv_org_abs_2210_01892
institution arXiv
publishDate 2022
record_format arxiv
spellingShingle Polysemanticity and Capacity in Neural Networks
Scherlis, Adam
Sachan, Kshitij
Jermyn, Adam S.
Benton, Joe
Shlegeris, Buck
Neural and Evolutionary Computing
Artificial Intelligence
Machine Learning
Individual neurons in neural networks often represent a mixture of unrelated features. This phenomenon, called polysemanticity, can make interpreting neural networks more difficult and so we aim to understand its causes. We propose doing so through the lens of feature \emph{capacity}, which is the fractional dimension each feature consumes in the embedding space. We show that in a toy model the optimal capacity allocation tends to monosemantically represent the most important features, polysemantically represent less important features (in proportion to their impact on the loss), and entirely ignore the least important features. Polysemanticity is more prevalent when the inputs have higher kurtosis or sparsity and more prevalent in some architectures than others. Given an optimal allocation of capacity, we go on to study the geometry of the embedding space. We find a block-semi-orthogonal structure, with differing block sizes in different models, highlighting the impact of model architecture on the interpretability of its neurons.
title Polysemanticity and Capacity in Neural Networks
topic Neural and Evolutionary Computing
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2210.01892