Search bioRxiv⌕ Search

bioRxiv · 10.64898/2026.06.05.730322

From homeostasis to credit assignment: a signed-XOR connectomic motif for local directional error signalling

Abstract

AO_SCPLOWBSTRACTC_SCPLOWBiological neural circuits are widely thought to require local error signals that tell synapses not only that a prediction is wrong, but also in which direction to change. We previously proposed that a six-neuron XOR motif acts as a homeostatic comparator: matched sensory and predictive signals cancel locally, whereas mismatches propagate an error signal. We also showed that a shallow autoencoder can learn MNIST using a signed-XOR learning rule with local decoder errors and random feedback alignment, without gradient backpropagation. Here we introduce the signed-XOR motif, an eight-neuron, twelve-edge directed signed circuit that extends the XOR comparator with two feedback channels of opposite neurotransmitter identity. By construction, the motif can convert a binary mismatch into directional error signalling, with one pathway encoding potentiation and the other depression, while respecting Dales principle. We provide open-source tools to enumerate the motif at connectome scale and test its enrichment against degree- and sign-preserving null models. The motif is enriched 24.3x in C. elegans (Z = 52.2), significantly enriched in 59/80 FlyWire Drosophila neuropils including AVLP_L (13.9x, Z = 94.4), and strongly enriched in layers 2/3-5 of a biophysically detailed mouse primary visual cortex model (global 315x; per-pivot medians up to 852 x) while absent from layer 6. The same layer-specific pattern is found in the axon-proofread subset of the EM-reconstructed MICrONS connectome. A Brian2 leaky integrate-and-fire implementation reproduces the signed-XOR truth table, remains robust to Poisson drive, produces a graded signed error, and requires a fast-spiking parvalbumin-like pivot. These results identify signed-XOR as a recurrent connectomic pattern compatible with local homeostatic error cancellation and directional credit-assignment signals. Author SummaryHow does a brain decide which of its connections to adjust when it makes a mistake? Unlike an artificial network, it has no global error signal supplied from outside: each connection can react only to the neurons it directly touches. We ask whether a small, repeating wiring pattern could provide such a local correction signal. The pattern we study, the signed-XOR motif, compares an incoming signal with the brains own prediction of it. When the two agree, the circuit stays quiet, so already-expected activity is not relayed onward. When they disagree, it does more than flag an error: it also indicates the direction of the fix, routing it through two separate channels, one meaning "strengthen", the other "weaken", consistent with the biological rule that each neuron acts with a single sign. We provide open software to search for this pattern in three nervous systems, a worm, a fly, and a detailed model of mouse visual cortex, and find it more often than chance wiring predicts, with a striking layer-specific distribution in cortex. We also simulated the eight-cell circuit with realistic spiking neurons and confirmed that it can perform the computation, but only when its inhibitory cell is a fast-spiking type like those concentrated in the enriched layers. We do not claim that any brain uses this circuit to learn or memorize. What we provide is a specific motif that could deliver a local, directional error signal that may be useful for a neuromorphic implementation.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Pena Fernandez, M., Gonzalez Rios, A., Lloret Iglesias, L., Marco de Lucas, J.. 2026-06-09. From homeostasis to credit assignment: a signed-XOR connectomic motif for local directional error signalling. https://doi.org/10.64898/2026.06.05.730322

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related preprints

Neurodegeneration-inducing macromolecules exit the brain via nanovascular conduits formed by reticular fibroblasts

Accumulation of proteins such as amyloid beta (Abeta), hyperphosphorylated tau and alpha-synuclein within the brain alters neural information processing and causes neurodegeneration(1-3), but how toxic solutes are cleared from the brain remains highly controversial(4,5). Proposed exit routes include efflux across endothelial cells into the blood(6,7), and movement to the pial surface via vasomotion-induced pumping along spaces within arteriolar smooth muscle(8) or via outflow along the perivascular space of ascending venules promoted by water flux through astrocytes (the glymphatic system(9)). From the pial surface of the brain, drainage may continue to dural lymphatics, along the outer sheaths of exiting cranial nerves and across the cribriform plate(10-14). We now report the presence, in mice and humans, of 2 micron diameter conduits that remove fluorescently labelled tau and Abeta from the brain. These conduits form a spatially-organised mesh within the walls of penetrating arterioles and pial arteries, and around the surface of ascending venules and deep cerebral and pial veins. They course through the pial and arachnoid layers to span the CSF space, wrapping the brain and cranial nerves. They are formed of reticular fibroblasts, which label for VE-cadherin(15) and PDGFRalpha(16), the lymphatic markers(17) podoplanin, VEGFR3 and Prox1, and reticular fibroblast extracellular matrix components collagen I and VI(16,18-20). Parenchymal tau drains from the brain at a similar rate via arteriolar conduits and via conduits around venules, arguing against preferential removal by a glymphatic mechanism. In Alzheimer's disease model mice, Abeta is seen traversing these lymph node-like conduits. Modulation of molecular transfer via this route may accelerate or delay cognitive decline, and slowed transfer from arteriolar to pial-arachnoid conduits may initiate cerebral amyloid angiopathy.

neuroscience↗

Analysis of the influence of gradual changes in matrix sentence similarity on neural envelope tracking

Neural tracking of speech is a well-established phenomenon in neuroscience. However, for speech signals with a fixed structure, significant correlations between speech envelopes and neurophysiological representations occur even for unheard sentences. We exploit a structured speech-in-noise matrix hearing test (Oldenburger Sentence Test, OLSA) to systematically quantify the relationship between acoustic sentence similarity and neural tracking. Simultaneous magnetoencephalography (MEG) and 76-channel electroencephalography (EEG) data, including 16 channels positioned directly around the ears (ear-EEG), were recorded from 21 young adults with normal hearing during the presentation of clean-speech audiobooks and OLSA sentences at six signal-to-noise ratios. A linear decoder trained on audiobooks reconstructed OLSA sentence envelopes. Reconstruction accuracies were compared using a linear mixed model across heard (matched) and unheard (mismatched) sentences of varying acoustic similarity. Significant reconstruction accuracies were achieved across MEG, EEG, and ear-EEG for both matched and mismatched sentences. For mismatched sentences, these accuracies gradually increased with their acoustic similarity to the heard speech data. The high similarity between sentences, which is especially prominent in matrix tests, can cause significant spurious tracking for mismatched stimuli. This effect can reach levels comparable to those of matched sentences and can be mistaken for true neural tracking. Robust neural tracking across modalities further supported the established viability of ear-EEG compared to whole-head systems.

neuroscience↗

Seizures and tauopathy following neurotrauma are mediated by prion protein and metabotropic glutamate receptor 5

Traumatic brain injury (TBI) is one of the world's leading causes of death and disability and a major risk factor for dementias. The primary dementia associated with TBI is chronic traumatic encephalopathy (CTE), a neurodegenerative disease classified as a tauopathy, in which toxic tau molecules lead to disease pathologies and degeneration. The processes that lead to tauopathy and subsequent dementia after TBI remain unclear. Here, we built upon the finding that seizures after TBI may be a mechanism leading to tauopathy, by dissecting the functions of the metabotropic glutamate receptor 5 - cellular prion protein (mGluR5-PrPC) pathway. We delivered TBI to larval in a blast paradigm, and quantified aggregation of Tau via a genetically-encoded Tau-GFP fusion reporter. Zebrafish larvae lacking prp2 (homolog of mammalian cellular Prion Protein, PrPC) displayed a 168% increase in post-traumatic seizures activity after TBI. An mGluR5 agonist (CHPG) reduced post-traumatic seizures, whereas an mGluR5 antagonist (MPEP) increased post-traumatic seizures. Moreover, agonizing mGluR5 reduced tau aggregation and antagonizing mGluR5 increased tau burden. Larvae seizing from convulsants, rather than TBI, were treated with CHPG/MPEP and provided a similar pattern of outcomes, suggesting seizures may be a factor needed for mGluR5 activity to influence tau aggregation. The PrPC-mGluR5 pathway is proposed as one candidate pathomechanism linking TBI to subsequent seizures and tauopathy, and thus it warrants investigation as a target for prophylactic interventions.

neuroscience↗