Saved in:
Bibliographic Details
Main Authors: Mackey, Wyatt, Schizas, Ioannis, Deighton, Jared, Boothe, Jr., David L., Maroulas, Vasileios
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2406.06290
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912154224951296
author Mackey, Wyatt
Schizas, Ioannis
Deighton, Jared
Boothe, Jr., David L.
Maroulas, Vasileios
author_facet Mackey, Wyatt
Schizas, Ioannis
Deighton, Jared
Boothe, Jr., David L.
Maroulas, Vasileios
contents A common technique for ameliorating the computational costs of running large neural models is sparsification, or the pruning of neural connections during training. Sparse models are capable of maintaining the high accuracy of state of the art models, while functioning at the cost of more parsimonious models. The structures which underlie sparse architectures are, however, poorly understood and not consistent between differently trained models and sparsification schemes. In this paper, we propose a new technique for sparsification of recurrent neural nets (RNNs), called moduli regularization, in combination with magnitude pruning. Moduli regularization leverages the dynamical system induced by the recurrent structure to induce a geometric relationship between neurons in the hidden state of the RNN. By making our regularizing term explicitly geometric, we provide the first, to our knowledge, a priori description of the desired sparse architecture of our neural net, as well as explicit end-to-end learning of RNN geometry. We verify the effectiveness of our scheme under diverse conditions, testing in navigation, natural language processing, and addition RNNs. Navigation is a structurally geometric task, for which there are known moduli spaces, and we show that regularization can be used to reach 90% sparsity while maintaining model performance only when coefficients are chosen in accordance with a suitable moduli space. Natural language processing and addition, however, have no known moduli space in which computations are performed. Nevertheless, we show that moduli regularization induces more stable recurrent neural nets, and achieves high fidelity models above 90% sparsity.
format Preprint
id arxiv_https___arxiv_org_abs_2406_06290
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Geometric sparsification in recurrent neural networks
Mackey, Wyatt
Schizas, Ioannis
Deighton, Jared
Boothe, Jr., David L.
Maroulas, Vasileios
Machine Learning
A common technique for ameliorating the computational costs of running large neural models is sparsification, or the pruning of neural connections during training. Sparse models are capable of maintaining the high accuracy of state of the art models, while functioning at the cost of more parsimonious models. The structures which underlie sparse architectures are, however, poorly understood and not consistent between differently trained models and sparsification schemes. In this paper, we propose a new technique for sparsification of recurrent neural nets (RNNs), called moduli regularization, in combination with magnitude pruning. Moduli regularization leverages the dynamical system induced by the recurrent structure to induce a geometric relationship between neurons in the hidden state of the RNN. By making our regularizing term explicitly geometric, we provide the first, to our knowledge, a priori description of the desired sparse architecture of our neural net, as well as explicit end-to-end learning of RNN geometry. We verify the effectiveness of our scheme under diverse conditions, testing in navigation, natural language processing, and addition RNNs. Navigation is a structurally geometric task, for which there are known moduli spaces, and we show that regularization can be used to reach 90% sparsity while maintaining model performance only when coefficients are chosen in accordance with a suitable moduli space. Natural language processing and addition, however, have no known moduli space in which computations are performed. Nevertheless, we show that moduli regularization induces more stable recurrent neural nets, and achieves high fidelity models above 90% sparsity.
title Geometric sparsification in recurrent neural networks
topic Machine Learning
url https://arxiv.org/abs/2406.06290