NCAINEOct 11, 2023

Phase codes emerge in recurrent neural networks optimized for modular arithmetic

arXiv:2310.07908v33 citationsh-index: 1
Originality Incremental advance
AI Analysis

This addresses the problem of understanding computational mechanisms in neural networks for researchers in computational neuroscience and machine learning, but it is incremental as it builds on prior work on phase codes.

The study investigated whether phase coding emerges in recurrent neural networks trained for a modular arithmetic task without oscillatory-promoting biases, finding that phase code solutions can arise naturally but are not inevitable, with the discovery of diverse alternative solutions.

Recurrent neural networks (RNNs) can implement complex computations by leveraging a range of dynamics, such as oscillations, attractors, and transient trajectories. A growing body of work has highlighted the emergence of phase codes, a type of oscillatory activity where information is encoded in the relative phase of network activity, in RNNs trained for working memory tasks. However, these studies rely on architectural constraints or regularization schemes that explicitly promote oscillatory solutions. Here, we investigate whether phase coding can emerge purely from task optimization by training continuous-time RNNs to perform a simple modular arithmetic task without oscillatory-promoting biases. We find that in the absence of such biases, RNNs can learn phase code solutions. Surprisingly, we also uncover a rich diversity of alternative solutions that solve our modular arithmetic task via qualitatively distinct dynamics and dynamical mechanisms. We map the solution space for our task and show that the phase code solution occupies a distinct region. These results suggest that phase coding can be a natural but not inevitable outcome of training RNNs on modular arithmetic, and highlight the diversity of solutions RNNs can learn to solve simple tasks.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes