Oscillatory Phase Coding Emerges in Adaptive RNNS for Flexible Working Memory
Abstract
Oscillatory phase coding (OPC) is widely observed in neural systems and has been implicated in cognitive functions such as memory and sequence processing. However, its computational role and neural substrates remain largely unclear. Here, we studied OPC by training recurrent neural networks (RNNs) with adaptation to perform sequence working memory tasks with variable delays. After training, we found that OPC emerges in the RNN spontaneously: the memorized items recur at distinct phases of a shared rhythm, with oscillation amplitude encoding item identity and phase encoding serial order. Ablation studies identified three key elements required for OPC: adaptation in neural dynamics, variable delay in memory retention, and flexibility in reading out information. Neuron-type analysis revealed the emergence of content and time cells in the trained RNN, and they process item identity and sequence order separately. Recurrent connectivity analysis revealed phase-organized connections among time cells and structured connections within digit-selective content-cell groups. Inspired by these findings, we proposed a neural circuit model which reproduces OPC through interactions between content units and an adaptive time ring. Together, this study reveals how OPC arises from network structures and task demands, offers insights into the implementation and computational mechanisms of OPC in biological systems, and inspires us to develop computational models for human-like cognitive functions.
Related
- Flexible working memory in the human peripheral nervous system
- Traveling brain waves support flexible storage of human working memory
- Learning from Adaptive Oscillatory Modes: An Interpretable Synchrosqueezing Transformer for Patient-Independent Seizure Detection
- Multi-agent meta-reinforcement learning based on contrastive predictive coding—For rapid adaptive traffic control after emergencies
- Environmental stress and phenotypic tradeoff modulate the adaptive potential of novel coding sequences for de novo gene birth
BibTeX
@misc{lu2026oscillatory,
title = {{Oscillatory Phase Coding Emerges in Adaptive RNNS for Flexible Working Memory}},
author = {K. Lu and T. Chu and A. TUERHONG and Y. Sun and H. Luo and F. Fang and S. WU},
howpublished = {bioRxiv},
year = {2026},
month = nov,
doi = {10.64898/2026.11.02.763841},
url = {https://www.biorxiv.org/content/10.64898/2026.11.02.763841v1},
note = {CC BY-NC-ND},
}
RIS
TY - UNPB
TI - Oscillatory Phase Coding Emerges in Adaptive RNNS for Flexible Working Memory
AU - K. Lu
AU - T. Chu
AU - A. TUERHONG
AU - Y. Sun
AU - H. Luo
AU - F. Fang
AU - S. WU
PY - 2026
DA - 2026/11/02
PB - bioRxiv
DO - 10.64898/2026.11.02.763841
UR - https://www.biorxiv.org/content/10.64898/2026.11.02.763841v1
AB - Oscillatory phase coding (OPC) is widely observed in neural systems and has been implicated in cognitive functions such as memory and sequence processing. However, its computational role and neural substrates remain largely unclear. Here, we studied OPC by training recurrent neural networks (RNNs) with adaptation to perform sequence working memory tasks with variable delays. After training, we found that OPC emerges in the RNN spontaneously: the memorized items recur at distinct phases of a shared rhythm, with oscillation amplitude encoding item identity and phase encoding serial order. Ablation studies identified three key elements required for OPC: adaptation in neural dynamics, variable delay in memory retention, and flexibility in reading out information. Neuron-type analysis revealed the emergence of content and time cells in the trained RNN, and they process item identity and sequence order separately. Recurrent connectivity analysis revealed phase-organized connections among time cells and structured connections within digit-selective content-cell groups. Inspired by these findings, we proposed a neural circuit model which reproduces OPC through interactions between content units and an adaptive time ring. Together, this study reveals how OPC arises from network structures and task demands, offers insights into the implementation and computational mechanisms of OPC in biological systems, and inspires us to develop computational models for human-like cognitive functions.
ER -