A neural mechanism for online discovery of latent contexts

preprint OA: closed
Full text JSON View at publisher
Full text 1,301 characters · extracted from oa-doi-fallback · click to expand
Abstract Experience unfolds as a stream shaped by hidden causes that change over time. Adaptive behavior requires inferring the underlying states and adjusting when they change. Yet, how neural circuits discover and track latent states remains unclear. Here we introduce NeuraGEM, a neural architecture that combines fast transient activity with slow synaptic plasticity to implement an online analogue of Expectation–Maximization. By separating timescales, NeuraGEM clusters sequential experiences, detects context changes, and stabilizes task-specific computations. The model generalizes beyond conventional recurrent networks and reproduces key features of human contextual learning, including curriculum-dependent effects. It also gives rise to population dynamics resembling those observed in brain circuits, including line-attractor structure and transient error responses at change points. Together, these findings provide a mechanistic account of how neural circuits organize experience into latent states that support rapid inference and adaptive behavior. Competing Interest Statement The authors have declared no competing interest. Footnotes Code Availability The code used is available at https://github.com/hummosa/NeuraGEM Competing Interests The authors declare no competing interests.

Text is read by the "Ask this paper" AI Q&A widget below. Extraction quality varies by source — PMC NXML preserves structure cleanly, OA-HTML may include some navigation residue, and OA-PDF can have broken hyphenation. The publisher copy (via DOI) is the canonical version.

My notes (saved in your browser only)

Ask this paper AI returns verbatim quotes from the full text · source: oa-doi-fallback

Answers must be backed by verbatim quotes from this paper's full text. Hallucinated quotes are dropped automatically; if no verbatim passage answers the question, we say so. How this works

Citation neighborhood (no data yet)

We don't have any in-corpus citations linked to this paper yet. This is a recent paper (2026) — citers typically take a year or two to land, and the OpenAlex reference graph may still be filling in.

Source provenance

europepmc
last seen: 2026-05-20T01:45:00.602351+00:00