Building hierarchically nested structure by rapid neural sequences

B Bingjiang Lyu (Changping Laboratory) L Lang Qin (School of Chinese as a Second Language, Peking University) X Xiongfei Wang (Department of Neurosurgery, Laboratory for Clinical Medicine, Sanbo Brain Hospital, Capital Medical University) J Jianxin Ou (State Key Laboratory of Cognitive Neuroscience and Learning, IDG/McGovern Institute for Brain Research, Beijing Normal University) M Matthew M. Nour (Department of Psychiatry, University of Oxford) N Nai Ding (Key Laboratory for Biomedical Engineering of Ministry of Education, College of Biomedical Engineering and Instrument Sciences, Zhejiang University) J Jia-Hong Gao (Changping Laboratory) Y Yunzhe Liu

Abstract

Hierarchically nested structures are fundamental to human cognition, enabling complex behaviors across domains including language, planning, and mathematics. However, the neural mechanisms that enable the flexible construction of these hierarchical structures are poorly understood. Here, we designed a task where participants mentally built sequences with nested, multidepth structures by recursively applying a fixed set of rules. Using magnetoencephalography, we find that the brain constructs nested hierarchies through rapid neural sequences that perform two recurring generative operations. The first operation identifies the hierarchy depth of a symbol and is associated with increased ripple-band power; while the second arranges the symbol into its correct order at that level, a process that scales with the number of depths, also positively correlated with planning time. These results reveal a fundamental neural computation for transforming sensory information into structured representations, which is essential for higher-order cognition.

Article Details

Volume / Issue Vol. 122, Issue 50
Published December 16, 2025
ISSN 0027-8424
Publisher National Academy of Sciences

Authors (8)

B

Bingjiang Lyu

Changping Laboratory

L

Lang Qin

School of Chinese as a Second Language, Peking University

X

Xiongfei Wang

Department of Neurosurgery, Laboratory for Clinical Medicine, Sanbo Brain Hospital, Capital Medical University

J

Jianxin Ou

State Key Laboratory of Cognitive Neuroscience and Learning, IDG/McGovern Institute for Brain Research, Beijing Normal University

M

Matthew M. Nour

Department of Psychiatry, University of Oxford

N

Nai Ding

Key Laboratory for Biomedical Engineering of Ministry of Education, College of Biomedical Engineering and Instrument Sciences, Zhejiang University

J

Jia-Hong Gao

Changping Laboratory

Y

Yunzhe Liu