Enregistré dans:
Détails bibliographiques
Auteurs principaux: Salah, Ahmed, Yevick, David
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:https://arxiv.org/abs/2411.05353
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866929583692972032
author Salah, Ahmed
Yevick, David
author_facet Salah, Ahmed
Yevick, David
contents This paper demonstrates that grokking behavior in modular arithmetic with a modulus P in a neural network can be controlled by modifying the profile of the activation function as well as the depth and width of the model. Plotting the even PCA projections of the weights of the last NN layer against their odd projections further yields patterns which become significantly more uniform when the nonlinearity is increased by incrementing the number of layers. These patterns can be employed to factor P when P is nonprime. Finally, a metric for the generalization ability of the network is inferred from the entropy of the layer weights while the degree of nonlinearity is related to correlations between the local entropy of the weights of the neurons in the final layer.
format Preprint
id arxiv_https___arxiv_org_abs_2411_05353
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Controlling Grokking with Nonlinearity and Data Symmetry
Salah, Ahmed
Yevick, David
Machine Learning
Artificial Intelligence
This paper demonstrates that grokking behavior in modular arithmetic with a modulus P in a neural network can be controlled by modifying the profile of the activation function as well as the depth and width of the model. Plotting the even PCA projections of the weights of the last NN layer against their odd projections further yields patterns which become significantly more uniform when the nonlinearity is increased by incrementing the number of layers. These patterns can be employed to factor P when P is nonprime. Finally, a metric for the generalization ability of the network is inferred from the entropy of the layer weights while the degree of nonlinearity is related to correlations between the local entropy of the weights of the neurons in the final layer.
title Controlling Grokking with Nonlinearity and Data Symmetry
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2411.05353