Measuring and Controlling Solution Degeneracy across Task-Trained Recurrent Neural Networks

Ann C. Huang, S. H. Singh, Flavio Martinelli, Kanaka Rajan
1/1/2025

No confident code implementation found for this paper.

Abstract

Task-trained recurrent neural networks (RNNs) are widely used in neuroscience and machine learning to model dynamical computations. To gain mechanistic insight into how neural systems solve tasks, prior work often reverse-engineers individual trained networks.

Show full abstract

However, different RNNs trained on the same task and achieving similar performance can exhibit strikingly different internal solutions—a phenomenon known as solution degeneracy. Here, we develop a unified framework to systematically quantify and control solution degeneracy across three levels: behavior, neural dynamics, and weight space. We apply this framework to 3,400 RNNs trained on four neuroscience-relevant tasks—flip-flop memory, sine wave generation, delayed discrimination, and path integration—while systematically varying task complexity, learning regime, network size, and regularization. We find that higher task complexity and stronger feature learning reduce degeneracy in neural dynamics but increase it in weight space, with mixed effects on behavior. In contrast, larger networks and structural regularization reduce degeneracy at all three levels. These findings empirically validate the Contravariance Principle and provide practical guidance for researchers aiming to tailor RNN solutions—whether to uncover shared neural mechanisms or to model individual variability observed in biological systems. This work provides a principled framework for quantifying and controlling solution degeneracy in task-trained RNNs, offering new tools for building more interpretable and biologically grounded models of neural computation.

DOISemantic Scholar

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{huang2025measuring,
  title  = {Measuring and Controlling Solution Degeneracy across Task-Trained Recurrent Neural Networks},
  author = {Ann C. Huang and S. H. Singh and Flavio Martinelli and Kanaka Rajan},
  year   = {2025},
  doi    = {10.48550/arXiv.2410.03972},
  url    = {https://doi.org/10.48550/arXiv.2410.03972},
  journal = {Neural Information Processing Systems}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/df2a85d6a47c67c8ded31b994fd6726a351e8f21.svg)](https://codeofpaper.com/paper/df2a85d6a47c67c8ded31b994fd6726a351e8f21)

Discussion