{"id":87781,"date":"2026-05-21T04:24:38","date_gmt":"2026-05-21T04:24:38","guid":{"rendered":"https:\/\/bisedoshqip.de\/neural-representation-of-action-symbols-in-primate-frontal-cortex\/"},"modified":"2026-05-21T04:24:38","modified_gmt":"2026-05-21T04:24:38","slug":"neural-representation-of-action-symbols-in-primate-frontal-cortex","status":"publish","type":"post","link":"https:\/\/bisedoshqip.de\/sq\/neural-representation-of-action-symbols-in-primate-frontal-cortex\/","title":{"rendered":"Neural representation of action symbols in primate frontal cortex"},"content":{"rendered":"<p><br \/>\n<\/p>\n<div id=\"Sec16-content\">\n<h3 class=\"c-article__sub-heading\" id=\"Sec17\">Subjects and surgical procedures<\/h3>\n<p>Data were acquired from two adult male macaques (<i>Macaca mulatta<\/i>, average weight of 17\u2009kg (subject 1 (S1)) and 10\u2009kg (S2), average age of 9\u2009years (S1) and 7\u2009years (S2)). This sample size was chosen to match the standard for neural recording studies of behaviour in monkeys<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 22\" title=\"Neupane, S., Fiete, I. &amp; Jazayeri, M. Mental navigation in the primate entorhinal cortex. Nature 630, 704&#x2013;711 (2024).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#ref-CR22\" id=\"ref-link-section-d75754697e2535\">22<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 24\" title=\"Tafazoli, S. et al. Building compositional tasks with shared neural subspaces. Nature 650, 164&#x2013;172 (2026).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#ref-CR24\" id=\"ref-link-section-d75754697e2538\">24<\/a><\/sup>. All animal procedures complied with the NIH Guide for the Care and Use of Laboratory Animals and were approved by the Institutional Animal Care and Use Committee of the Rockefeller University (protocol 24066-H).<\/p>\n<p>After undergoing initial task training in their home cages, the subjects underwent two surgeries: the first to implant an acrylic head implant with a headpost and the second to implant electrode arrays. Both surgeries followed standard protocols, including for anaesthetic, aseptic and postoperative treatments. In the first surgery, a custom-designed MR-compatible Ultem headpost was implanted, surrounded by a bone cement cranial implant, or a headcap (Metabond, Parkell and Palacos, Heraeus), which was secured to the skull using MR-compatible ceramic screws (Rogue Research). After a 6-month interval, to allow bone to grow around the screws and for the subject to acclimate to performing the task during head fixation via the headpost, we performed a second surgery to implant 16 floating microelectrode arrays (32-channel FMA, Microprobes for Life Science) using standard procedures<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 69\" title=\"Mollazadeh, M. et al. Spatiotemporal variation of multiple neurophysiological signals in the primary motor cortex during dexterous reach-to-grasp movements. J. Neurosci. 31, 15531&#x2013;15543 (2011).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#ref-CR69\" id=\"ref-link-section-d75754697e2545\">69<\/a><\/sup>. In brief, after performing a craniotomy and durotomy over the target area, arrays were inserted one by one stereotactically while\u00a0held at the end of a stereotaxic arm with a vacuum suction attachment (Microprobes). Using vacuum suction enabled us to release the arrays, after insertion, with minimal mechanical perturbation by turning off the suction. After all arrays had been implanted, the dura mater was loosely sutured and covered with DuraGen (Integra LifeSciences). The craniotomy was closed with bone cement.<\/p>\n<p>We used standard density arrays (1.8\u2009mm\u2009\u00d7\u20094\u2009mm) for all areas, except SMA and preSMA, for which we used four high-density arrays (1.6\u2009mm\u2009\u00d7\u20092.95\u2009mm). Four additional electrodes on each array served as the reference (two electrodes)\u00a0and the ground\u00a0(two electrodes). Two arrays each were targeted to multiple areas of the frontal cortex, with locations identified stereotactically, and planned using brain surface reconstructions derived from anatomical MRI scans (3D Slicer 5.6.2). Locations were selected on the basis of their published functional and anatomical properties (see below), anatomical sulcal landmarks and a standard macaque brain atlas<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 70\" title=\"Saleem, K. S. &amp; Logothetis, N. K. A Combined MRI and Histology Atlas of the Rhesus Monkey Brain in Stereotaxic Coordinates (Academic Press, 2012).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#ref-CR70\" id=\"ref-link-section-d75754697e2552\">70<\/a><\/sup>. During surgery, locations were further adjusted on the basis of cortical landmarks and to avoid visible blood vessels. Arrays were implanted in the right hemisphere (contralateral to the arm used for behaviour).<\/p>\n<p>Array locations are depicted in Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig3\">3<\/a> and Extended Data Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig12\">6<\/a> and confirmed with intraoperative photographs. For M1, we targeted hand and arm representations (F1) directly medial to the bend of the central sulcus (which corresponds roughly to the intersection of the central sulcus and the arcuate spur if the latter was extended caudally), based on retrograde labelling from the spinal cord and microstimulation of M1<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 71\" title=\"He, S., Dum, R. &amp; Strick, P. Topographic organization of corticospinal projections from the frontal lobe: motor areas on the lateral surface of the hemisphere. J. Neurosci. 13, 952&#x2013;980 (1993).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#ref-CR71\" id=\"ref-link-section-d75754697e2565\">71<\/a><\/sup> and M1 recordings<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 72\" title=\"Churchland, M. M. et al. Neural population dynamics during reaching. Nature 487, 51&#x2013;56 (2012).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#ref-CR72\" id=\"ref-link-section-d75754697e2569\">72<\/a><\/sup>. For\u00a0PMd, we placed both arrays lateral to the precentral dimple, with one (more caudal) array directly medial to the arcuate spur (the arm representation<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" title=\"He, S., Dum, R. &amp; Strick, P. Topographic organization of corticospinal projections from the frontal lobe: motor areas on the lateral surface of the hemisphere. J. Neurosci. 13, 952&#x2013;980 (1993).\" href=\"#ref-CR71\" id=\"ref-link-section-d75754697e2573\">71<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" title=\"Churchland, M. M. et al. Neural population dynamics during reaching. Nature 487, 51&#x2013;56 (2012).\" href=\"#ref-CR72\" id=\"ref-link-section-d75754697e2573_1\">72<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 73\" title=\"Berger, M., Agha, N. S. &amp; Gail, A. Wireless recording from unrestrained monkeys reveals motor goal encoding beyond immediate reach in frontoparietal cortex. eLife 9, e51322 (2020).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#ref-CR73\" id=\"ref-link-section-d75754697e2576\">73<\/a><\/sup>, F2), and the other more rostral (straddling F2 and F7). For\u00a0PMv, we targeted areas caudal to the inferior arm of the arcuate sulcus (F5), which are associated with hand movements based on retrograde labelling from the spinal cord<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 71\" title=\"He, S., Dum, R. &amp; Strick, P. Topographic organization of corticospinal projections from the frontal lobe: motor areas on the lateral surface of the hemisphere. J. Neurosci. 13, 952&#x2013;980 (1993).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#ref-CR71\" id=\"ref-link-section-d75754697e2581\">71<\/a><\/sup> and M1<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 74\" title=\"Lu, M.-T., Preston, J. B. &amp; Strick, P. L. Interconnections between the prefrontal cortex and the premotor areas in the frontal lobe. J. Comp. Neurol. 341, 375&#x2013;392 (1994).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#ref-CR74\" id=\"ref-link-section-d75754697e2585\">74<\/a><\/sup>, microstimulation<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 75\" title=\"Gentilucci, M. et al. Functional organization of inferior area 6 in the macaque monkey. Exp. Brain Res. 71, 475&#x2013;490 (1988).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#ref-CR75\" id=\"ref-link-section-d75754697e2589\">75<\/a><\/sup> and functional studies<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 51\" title=\"Schaffelhofer, S. &amp; Scherberger, H. Object vision to hand action in macaque parietal, premotor, and motor cortices. eLife 5, e15278 (2016).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#ref-CR51\" id=\"ref-link-section-d75754697e2593\">51<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 76\" title=\"Rizzolatti, G., Fadiga, L., Gallese, V. &amp; Fogassi, L. Premotor cortex and the recognition of motor actions. Cogn. Brain Res. 3, 131&#x2013;141 (1996).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#ref-CR76\" id=\"ref-link-section-d75754697e2596\">76<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 77\" title=\"Romo, R., Hern&#xE1;ndez, A. &amp; Zainos, A. Neuronal correlates of a perceptual decision in ventral premotor cortex. Neuron 41, 165&#x2013;173 (2004).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#ref-CR77\" id=\"ref-link-section-d75754697e2599\">77<\/a><\/sup> and with decision making<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 77\" title=\"Romo, R., Hern&#xE1;ndez, A. &amp; Zainos, A. Neuronal correlates of a perceptual decision in ventral premotor cortex. Neuron 41, 165&#x2013;173 (2004).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#ref-CR77\" id=\"ref-link-section-d75754697e2603\">77<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 78\" title=\"D&#xED;az, H. et al. Contextual neural dynamics during time perception in the primate ventral premotor cortex. Proc. Natl Acad. Sci. USA 122, e2420356122 (2025).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#ref-CR78\" id=\"ref-link-section-d75754697e2606\">78<\/a><\/sup>. These areas contain neurons interconnected with PFC<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 74\" title=\"Lu, M.-T., Preston, J. B. &amp; Strick, P. L. Interconnections between the prefrontal cortex and the premotor areas in the frontal lobe. J. Comp. Neurol. 341, 375&#x2013;392 (1994).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#ref-CR74\" id=\"ref-link-section-d75754697e2610\">74<\/a><\/sup>. For SMA (F3) and preSMA (F6), we targeted the medial wall of the hemisphere, with the boundary between SMA and preSMA defined as the anterior\u2013posterior location of the genu of the arcuate sulcus, consistent with previous studies finding differences across this boundary in anatomical connectivity (for example, direct spinal projections in SMA but not preSMA<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 79\" title=\"He, S., Dum, R. &amp; Strick, P. Topographic organization of corticospinal projections from the frontal lobe: motor areas on the medial surface of the hemisphere. J. Neurosci. 15, 3284&#x2013;3306 (1995).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#ref-CR79\" id=\"ref-link-section-d75754697e2615\">79<\/a><\/sup>) and function<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 42\" title=\"Tanji, J. Sequential organization of multiple movements: involvement of cortical motor areas. Annu. Rev. Neurosci. 24, 631&#x2013;651 (2001).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#ref-CR42\" id=\"ref-link-section-d75754697e2619\">42<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 80\" title=\"Nakamura, K., Sakai, K. &amp; Hikosaka, O. Effects of local inactivation of monkey medial frontal cortex in learning of sequential procedures. J. Neurophysiol. 82, 1063&#x2013;1068 (1999).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#ref-CR80\" id=\"ref-link-section-d75754697e2622\">80<\/a><\/sup>. SMA arrays were largely in the arm representation<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 79\" title=\"He, S., Dum, R. &amp; Strick, P. Topographic organization of corticospinal projections from the frontal lobe: motor areas on the medial surface of the hemisphere. J. Neurosci. 15, 3284&#x2013;3306 (1995).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#ref-CR79\" id=\"ref-link-section-d75754697e2626\">79<\/a><\/sup>. For dlPFC, we targeted the region immediately dorsal to the principal sulcus (46d), following previous studies of action sequencing<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 27\" title=\"Shima, K., Isoda, M., Mushiake, H. &amp; Tanji, J. Categorization of behavioural sequences in the prefrontal cortex. Nature 445, 315&#x2013;318 (2007).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#ref-CR27\" id=\"ref-link-section-d75754697e2630\">27<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 28\" title=\"Tian, Z. et al. Mental programming of spatial sequences in working memory in the macaque frontal cortex. Science 385, eadp6091 (2024).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#ref-CR28\" id=\"ref-link-section-d75754697e2633\">28<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 81\" title=\"Petrides, M. Impairments on nonspatial self-ordered and externally ordered working memory tasks after lesions of the mid-dorsal part of the lateral frontal cortex in the monkey. J. Neurosci. 15, 359&#x2013;375 (1995).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#ref-CR81\" id=\"ref-link-section-d75754697e2636\">81<\/a><\/sup> and other cognitive functions<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 82\" title=\"Mansouri, F. A., Freedman, D. J. &amp; Buckley, M. J. Emergence of abstract rules in the primate brain. Nat. Rev. Neurosci. 21, 595&#x2013;610 (2020).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#ref-CR82\" id=\"ref-link-section-d75754697e2640\">82<\/a><\/sup>. For vlPFC, we targeted the inferior convexity ventral to the principal sulcus, with one (more rostral) array directly ventral to the principal sulcus (46v) and the other rostral to the inferior arm of the arcuate sulcus (45A\/B) based on evidence that encoding of abstract concepts occurs in regions that broadly span these two locations<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 29\" title=\"Freedman, D. J., Riesenhuber, M., Poggio, T. &amp; Miller, E. K. Categorical representation of visual stimuli in the primate prefrontal cortex. Science 291, 312&#x2013;316 (2001).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#ref-CR29\" id=\"ref-link-section-d75754697e2644\">29<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 83\" title=\"Nieder, A., Freedman, D. J. &amp; Miller, E. K. Representation of the quantity of visual items in the primate prefrontal cortex. Science 297, 1708&#x2013;1711 (2002).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#ref-CR83\" id=\"ref-link-section-d75754697e2647\">83<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 84\" title=\"Romo, R., Brody, C. D., Hern&#xE1;ndez, A. &amp; Lemus, L. Neuronal correlates of parametric working memory in the prefrontal cortex. Nature 399, 470&#x2013;473 (1999).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#ref-CR84\" id=\"ref-link-section-d75754697e2650\">84<\/a><\/sup>, including a possibly heightened role (compared with dlPFC) in encoding abstract concepts in a manner invariant to temporal or spatial parameters<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" title=\"Romo, R., Brody, C. D., Hern&#xE1;ndez, A. &amp; Lemus, L. Neuronal correlates of parametric working memory in the prefrontal cortex. Nature 399, 470&#x2013;473 (1999).\" href=\"#ref-CR84\" id=\"ref-link-section-d75754697e2655\">84<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" title=\"Wilson, F. A. W., &#xD3; Scalaidhe, S. P. &amp; Goldman-Rakic, P. S. Dissociation of object and spatial processing domains in primate prefrontal cortex. Science 260, 1955&#x2013;1958 (1993).\" href=\"#ref-CR85\" id=\"ref-link-section-d75754697e2655_1\">85<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 86\" title=\"Ninokura, Y., Mushiake, H. &amp; Tanji, J. Integration of temporal order and object information in the monkey lateral prefrontal cortex. J. Neurophysiol. 91, 555&#x2013;560 (2004).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#ref-CR86\" id=\"ref-link-section-d75754697e2658\">86<\/a><\/sup>. For FP, we targeted a rostral location similar to previous recording and imaging studies (one array fully in area\u200910, the other straddling areas 9\u2009and 10)<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 87\" title=\"Tsujimoto, S., Genovesio, A. &amp; Wise, S. P. Evaluating self-generated decisions in frontal pole cortex of monkeys. Nat. Neurosci. 13, 120&#x2013;126 (2010).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#ref-CR87\" id=\"ref-link-section-d75754697e2662\">87<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 88\" title=\"Miyamoto, K., Setsuie, R., Osada, T. &amp; Miyashita, Y. Reversible silencing of the frontopolar cortex selectively impairs metacognitive judgment on non-experience in primates. Neuron 97, 980&#x2013;989 (2018).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#ref-CR88\" id=\"ref-link-section-d75754697e2665\">88<\/a><\/sup>, including areas associated with executive functions<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 89\" title=\"Mansouri, F. A., Koechlin, E., Rosa, M. G. P. &amp; Buckley, M. J. Managing competing goals&#x2014;a key role for the frontopolar cortex. Nat. Rev. Neurosci. 18, 645&#x2013;657 (2017).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#ref-CR89\" id=\"ref-link-section-d75754697e2669\">89<\/a><\/sup>. In general, array locations targeted the cortical convexity immediately next to sulci, instead of in the banks, to allow shorter insertion depths that minimize the risk of missing the target\u00a0or damaging blood vessels. The exceptions were SMA and preSMA in the medial wall, for which this was not possible. To avoid damaging the superior sagittal sinus, we positioned the arrays laterally (2\u2009mm from midline) and slanted the electrodes medially (Extended Data Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig12\">6<\/a>).<\/p>\n<p>The lengths of each electrode were custom designed to target half-way through the grey matter and to substantially vary across the array to maximize sampling of the cortical depth. The following electrode lengths were used (in mm): 1.5\u22123.5 (M1), 1.5\u22123.1 (PMd and PMv), 2.8\u22125.8 (SMA and preSMA), 1.5\u22122.5 (dlPFC and vlPFC) and 1.5\u22122.6 (FP) for S1; and 1.7\u22123.75 (M1), 1.5\u22123.3 (PMv), 1.5\u22123.1 (PMd), 2.65\u22125.95 (SMA and preSMA), 1.75\u22123.15 (dlPFC), 1.35\u22123.2 (vlPFC) and 1.6\u22122.9 (FP) for S2. Reference electrodes were longer (6\u2009mm) to anchor the arrays. All electrodeswere Pt\/Ir (0.5\u2009M\u03a9), except 4, which were\u00a0Ir (10\u2009k\u03a9). Array connectors (Omnetics, A79022) were housed in custom-made Ultem pedestals (Crist), which were secured with bone cement onto the cranial implant. Four pedestals were used per subject, holding 5, 5, 4 and 2 connectors each.<\/p>\n<h3 class=\"c-article__sub-heading c-article__sub-heading--divider\" id=\"Sec18\">Behavioural task<\/h3>\n<h4 class=\"c-article__sub-heading c-article__sub-heading--small\" id=\"Sec19\">Task overview<\/h4>\n<p>The subjects were seated comfortably in the dark with their head restrained by headpost fixation. They faced a touchscreen (Elo 1590L 15-inch E334335, PCAP, 768\u2009\u00d7\u20091,024 pixels, refresh rate of 60\u2009Hz, with a matte screen protector to reduce finger friction) that presented images and was drawn on. The touchscreen location was optimized to allow each subject to easily draw at all relevant locations on the screen (23\u201326\u2009cm away; diagram in Extended Data Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig7\">1<\/a>). Both subjects decided on their own over the course of learning to perform the task with the left hand. The chairs were designed to minimize movements of the torso and legs (by using a loosely restricting \u2018belly plate\u2019) and the non-drawing arm (by resting on the belly plate and having movement restricted to within the chair). Gravity-delivered reward (water\u2013juice mixture) was controlled by the opening and closing of a solenoid pinch valve (Cole-Parmer, 1\/8-inch inner diameter). The subjects were water-regulated, with careful monitoring to ensure that consumption met the minimum requirement per day (typically exceeding it), and body weight was closely monitored to ensure good health. The task was controlled with custom-written software using the MonkeyLogic (v.2.2.45) behavioural control and data acquisition MATLAB package<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 90\" title=\"Hwang, J., Mitz, A. R. &amp; Murray, E. A. NIMH MonkeyLogic: behavioral control and data acquisition in MATLAB. J. Neurosci. Methods 323, 13&#x2013;21 (2019).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#ref-CR90\" id=\"ref-link-section-d75754697e2695\">90<\/a><\/sup> (PC: Windows 10 Pro, Intel Core i7-4790K, 32GB RAM; DAQ: National Instruments PCIe-6343). All stimuli (images of line figures defined as point sets, with points rendered large enough to appear as continuous curves) were also generated with custom-written MATLAB (R2021a) code. Images were presented in a workspace area on the screen (16.6\u2009cm\u2009\u00d7\u200916.9\u2009cm, corresponding to approximately 37\u00b0 by 38\u00b0 visual angle). Shape components in images were on average 4.0\u2009cm (9\u00b0) (maximum of width and height).<\/p>\n<p>Each recording session consisted of 2\u22123.5\u2009h of recording. We collected 5\u201320 trials per condition (that is, each unique image for Figs. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig4\">4<\/a> and <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig5\">5<\/a> and the single-shape task in Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig6\">6<\/a>, and each primitive stroke for the character task in Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig6\">6<\/a>). All trials were shuffled across all conditions in the session and presented in a randomly interleaved fashion, except for one case, the experiment in Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig6\">6<\/a>, in which character and single-shape tasks were switched in blocks.<\/p>\n<h4 class=\"c-article__sub-heading c-article__sub-heading--small\" id=\"Sec20\">Early training<\/h4>\n<p>Before surgery, the naive subjects underwent initial training on core task components (that is, to trace images accurately using a sequence of discrete strokes). Early training took place in the home cage using custom-built rigs that were attached to an opening in the cage using the same hardware and software described above, except for the computer (Lenovo IdeaPad 14-inch laptop, Windows 10, AMD Ryzen 5 3500U, 8GB RAM) and DAQ (National Instruments USB-6001). This initial training progressed through seven stages. (1) Touch circle. The subjects were rewarded for touching a circle anywhere within its bounds. The circle started large, filling the entire screen, and shrank over trials to enforce more accurate touches. (2) Touch with a single finger. We shrank the circle until it was so small that it could only be touched with a single finger. The trial aborted if the subject touched outside the circle or with multiple fingers simultaneously. (3) Hold still. The subjects were rewarded for keeping their fingertip still on a dot, with the duration of this hold increasing across trials for up to a few seconds. (4) Track moving dot. The subjects had to track the dot with their finger as it moved (a lag between dot and finger was allowed). (5) Trace a line. We increased the speed of the moving dot over trials until eventually the dot moved so fast that the line it traced immediately appeared. We then positioned the line at locations far from the hold position to train the subject to raise its finger from the hold position and to trace lines at arbitrary locations, angles and lengths. (6) Trace single shape. We presented shapes of increasing difficulty (gradually morphing across trials from a straight line), including arcs, L-shapes, squiggles and circles. Across these stages, the shapes were presented at random locations. We did not enforce any particular tracing trajectory for each shape, which allowed the subjects to choose on their own. (7) Trace multiple shapes. We presented images composed of multiple disconnected shapes. This trained the subjects to understand that they should use multiple strokes to trace multiple shapes. At this point, the subject understood the basic structure of the task: to trace shapes using multiple strokes if needed. The progression across these stages was not determined by strict quantitative criteria but instead on a combination of quantitative and qualitative evaluations of task performance.<\/p>\n<p>The subjects then practised various tasks to incentivize the learning of stroke primitives (consistent stroke trajectories for each shape). They practised single-shape trials using the set of diverse simple shapes in Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig1\">1e<\/a>, varying randomly in shape and location across trials. We chose this set of shapes to cover a range of trajectory profiles (by varying rotation, the number of direction changes and whether shapes were curved or linear) and yet were simple enough to draw with one stroke and to combine multiple (two to six) shapes into single-character images. We did not constrain the subjects to learn specific stroke trajectories for each primitive; therefore, differences between primitives reflected each subject\u2019s own learning trajectory\u00a0for how to draw each shape. Note that our study did not depend on using an optimal set of shapes or primitives but instead depended on learning primitives and then demonstrating behavioural generalization using these primitives, as we found for our subjects. For S2, the four S-shapes and four arc shapes were also sometimes presented as rectilinear versions. For S-shapes these resembled Z, and for arc these resembled squares missing one edge. S2 drew these rectilinear versions using curved strokes similar to those used for S and arc shapes. Therefore we combined data for each rectilinear shape with its respective curved version. On different days, the subjects also practised multishape and character tasks.<\/p>\n<h4 class=\"c-article__sub-heading c-article__sub-heading--small\" id=\"Sec21\">Trial structure<\/h4>\n<p>Trials (event sequence in Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig1\">1c<\/a>, screen schematic in Extended Data Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig7\">1c<\/a>) began when the subject pressed and held a finger fixation button (blue square) at the bottom of the screen (note that button always means a virtual button). After a random delay (uniform, earliest 0.4\u20130.6\u2009s and latest 0.8\u20131.0\u2009s across experiments for S1 and 0.8\u20131.1\u2009s for S2) the image appeared (dark grey on a light-grey background). After a random delay (uniform, ranging from 0.6\u20131.0\u2009s to 1.2\u20131.6\u2009s across experiments for S1, and 1.1\u20131.5\u2009s to 1.8\u20132.4\u2009s for S2), a go cue (400\u2009Hz tone and image blank for 300\u2009ms) was presented. During this delay between image presentation and the go cue (planning epoch), the finger had to be kept still on the fixation button, but the subject was free to look anywhere. After the go cue, the subject was free to move their hand towards the image and start drawing. Immediately after the finger was raised from the fixation button, it disappeared and a \u2018done button\u2019 (green square) appeared at its location\u00a0and stayed there. During drawing, the image stayed visible and the finger left a trail of black \u2018ink\u2019 on the screen. The subject signalled drawing completion by pressing the done button (effectively no time limit was imposed). This was followed by performance feedback, which spanned four modalities, each signalling performance: (1) screen colour, (2) sound, (3) duration of delay before getting reward (time out) and (4) reward. First, screen colour and sound were signalled, followed by the time out, and then the reward (detailed below). In addition to this feedback at the end of the trial, we also provided online feedback by immediately aborting the trial in case of serious errors; for example, touching far from any image points or for single-shape and multishape trials\u00a0(but not for character trials), using more than one stroke per shape component. These online abort modes were turned off for trials testing novel characters.<\/p>\n<p>Screen image changes (including image presentation and other trial events) were recorded using photodiodes (Adafruit Light Sensor ALS-PT19), and sounds were recorded using an electret microphone (Adafruit Maxim MAX4466, 20-20KHz). We performed eye tracking (ISCAN), but did not enforce eye fixation.<\/p>\n<h3 class=\"c-article__sub-heading c-article__sub-heading--divider\" id=\"Sec22\">Scoring behavioural performance<\/h3>\n<p>Behaviour was scored by aggregating multiple metrics or factors. There were three classes of factors. The factors that had the greatest influence on the final aggregate score measured image similarity, or the similarity of the final drawing to the target image (ignoring its temporal trajectory). We also computed factors that reflected behavioural efficiency and, in some cases, factors that were task-specific. These scores were computed using behavioural data (a sequence of touched <i>xy<\/i> coordinates with gaps between strokes) and image data (a set of <i>xy<\/i> coordinates). Below, we describe the factors and then how they were aggregated into a single score.<\/p>\n<h4 class=\"c-article__sub-heading c-article__sub-heading--small\" id=\"Sec23\">Image similarity<\/h4>\n<p>This included two factors: drawing-image overlap and Hausdorff distance. Drawing-image overlap was the fraction of the image points that were touched (within a margin of error) by at least one of the drawn points. A subset of the image points were weighted more heavily because they captured characteristic features of the shape (for example, the corners and end points of an L-shape). Hausdorff distance is a metric used to measure the distance between the set of drawn points and the set of image points (definition below).<\/p>\n<h4 class=\"c-article__sub-heading c-article__sub-heading--small\" id=\"Sec24\">Behavioural efficiency<\/h4>\n<p>To incentivize efficiency, we included a factor that compares the cumulative distance travelled in the drawing (that is, the amount of ink) to the cumulative distance of the edges of the figure in the image, with its value negatively proportional to the excess of drawn ink over image ink.<\/p>\n<h4 class=\"c-article__sub-heading c-article__sub-heading--small\" id=\"Sec25\">Task-specific factors<\/h4>\n<p>During practice trials for the character task (see the section \u2018Task types\u2019), we also included factors that capture the extent to which drawn strokes matched the shapes used in the image. This included two factors: one proportional to the similarity of the number of strokes and the number of image shapes, and the other proportional to the spatial alignment of the drawn strokes to the image shapes. Importantly, these factors were included only for practice images and not for novel test images.<\/p>\n<p>The final score aggregated the image similarity, behavioural efficiency and task-specific factors, with more weight on image similarity factors. We first rescaled factors linearly between 0 and 1 (where 1 means good performance), with the dynamic range set by a lower and upper bound. These bounds were adaptively updated on every trial based on the distribution of factor values in the last 50 trials (lower bound set to the 1st percentile and upper bound to the 53rd percentile), which ensured that the dynamic range of feedback matched the dynamic range of behavioural performance from recent history. We then weighted each factor to tune its relative contribution (using weights hand-tuned for each experiment; generally highest for image similarity) and computed the final scalar score (range 0 to 1) using the worst factor after weighting:<\/p>\n<div id=\"Equ1\" class=\"c-article-equation\">\n<p><span class=\"mathjax-tex\">$${s}_{\\mathrm{scal}}=\\mathop{\\min }\\limits_{i}(1-{w}_{i}(1-{f}_{i}))$$<\/span><\/p>\n<\/div>\n<p>where <i>i<\/i> indexes the factors, <i>w<\/i><sub><i>i<\/i><\/sub> are the weights (between 0 and 1) and <i>f<\/i><sub><i>i<\/i><\/sub> are the factor values (between 0 and 1). We also gave each trial a categorical score: great (<i>s<\/i><sub>scal<\/sub>\u2009&gt;\u20090.82), good (0.65\u2009&lt;\u2009<i>s<\/i><sub>scal<\/sub>\u2009\u2264\u20090.82), OK (0.15\u2009&lt;<i>\u2009s<\/i><sub>scal<\/sub>\u2009\u2264\u20090.65) or fail (<i>s<\/i><sub>scal<\/sub>\u2009\u2264\u20090.15).<\/p>\n<p>The scalar and categorical scores determined the feedback across the four different modalities. The meaning of screen colour and sound were learned, whereas delay and reward had intrinsic value. For screen colour, a linear interpolation between two colours, such that a score of 0 was mapped to red (RGB: 1, 0.2, 0) and 1 was mapped to green (0.2, 1, 0.2). For sound cue, a sound was determined by <i>s<\/i><sub>scal<\/sub>: if great, then three pulses (1,300\u2009Hz, 0.16\u2009s on and off); if good, then a single pulse (1,000\u2009Hz, 0.4\u2009s); if OK, then no sound; if fail, then a single pulse (120\u2009Hz, 0.27\u2009s). For delay until reward, a nonlinear mapping was generated from score to delay before reward. We first applied a linear mapping from the scalar score, such that a score of 0 was mapped to a long delay (5\u2009s\u2009+\u2009a random uniform jitter of 0\u20132.5\u2009s), and a score of 1 was mapped to 0\u2009s of delay. Furthermore, if <i>s<\/i><sub>scal<\/sub> was great, good or OK, this delay was reduced by multiplying by 0.65. Finally, for reward, the open duration of the solenoid gating the juice line was defined as<\/p>\n<div id=\"Equ2\" class=\"c-article-equation\">\n<p><span class=\"mathjax-tex\">$${\\rm{r}}{\\rm{e}}{\\rm{w}}{\\rm{a}}{\\rm{r}}{\\rm{d}}={C}\\times m\\times a\\times {s}_{{\\rm{s}}{\\rm{c}}{\\rm{a}}{\\rm{l}}}$$<\/span><\/p>\n<\/div>\n<p>where <i>C<\/i> is a constant in dimensions of time (0.15\u22120.6\u2009s, manually set depending on the difficulty of the task); <i>m<\/i> is a multiplier that gives a bonus for good performance and further penalizes bad performance, depending on the value of <i>s<\/i><sub>scal,<\/sub> great (1.3), good (1.0), OK (0.8) or fail (0); <i>a<\/i> is a random variable sampled from the uniform distribution <i>a<\/i>\u2009~\u20090.75\u2009+\u20090.5\u2009\u00d7<i>\u2009U<\/i>(0,1); and <i>s<\/i><sub>scal<\/sub> is defined as above. On average, including failed trials, the subjects received around 0.35\u2009ml reward per trial. The temporal\u00a0order in which these four feedback signals were delivered is described above (see the section \u2018Trial structure\u2019).<\/p>\n<h3 class=\"c-article__sub-heading c-article__sub-heading--divider\" id=\"Sec26\">Task types<\/h3>\n<h4 class=\"c-article__sub-heading c-article__sub-heading--small\" id=\"Sec27\">Single-shape task<\/h4>\n<p>The single-shape task presented one of the practised simple shapes or, in the categories experiment, sometimes a morphed shape. The subjects were only allowed to use a single stroke (triggering online abort if more was used). In four single-shape sessions for S1, the ending of the drawing epoch was triggered by stroke completion (that is, on finger raise) not on the pressing of the done button as in all other sessions and experiments.<\/p>\n<p>To test for motor invariance (Figs. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig2\">2a\u2013e<\/a> and <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig4\">4<\/a>), we presented images of practised shapes, varying across trials in location, size or both. For location variation, images spanned 321\u2009pixels (9.6\u2009cm) in the <i>x<\/i> and <i>y<\/i>\u2009dimensions (measuring between shape centres), which is 2.38 times the average size of shapes (135\u2009pixels, 4.0\u2009cm, maximum across width and height). For size variation, the maximum size was 2.5 times larger than the smallest (in diameter), except for two experiments for S1, in which the ratio was 2.0. The location and size variation in Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig2\">2b,c<\/a> is representative (S1, <i>n<\/i>\u2009=\u20092 sessions varying in location, <i>n<\/i>\u00a0=\u00a03 varying in size; S2, <i>n<\/i>\u2009=\u20093 sessions varying in location, <i>n<\/i>\u00a0=\u00a02 varying in size).<\/p>\n<p>Size and location variation was chosen based on previous studies of M1 activity\u00a0and electromyography of muscles controlling the arm during reaching in macaques<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 91\" title=\"Caminiti, R., Johnson, P. B. &amp; Urbano, A. Making arm movements within different parts of space: dynamic aspects in the primate motor cortex. J. Neurosci. 10, 2039&#x2013;2058 (1990).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#ref-CR91\" id=\"ref-link-section-d75754697e3057\">91<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 92\" title=\"Churchland, M. M., Santhanam, G. &amp; Shenoy, K. V. Preparatory activity in premotor and motor cortex reflects the speed of the upcoming reach. J. Neurophysiol. 96, 3130&#x2013;3146 (2006).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#ref-CR92\" id=\"ref-link-section-d75754697e3060\">92<\/a><\/sup>. For reaches performed along the coronal plane around 25\u2009cm from the subject, similar to the geometry of the touchscreen\u00a0relative to the subject in our study, M1 and electromyographic activity are\u00a0substantially affected by translating the\u00a0reach location by 10\u2009cm (ref. <sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 91\" title=\"Caminiti, R., Johnson, P. B. &amp; Urbano, A. Making arm movements within different parts of space: dynamic aspects in the primate motor cortex. J. Neurosci. 10, 2039&#x2013;2058 (1990).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#ref-CR91\" id=\"ref-link-section-d75754697e3064\">91<\/a><\/sup>), similar to the location variation in our study (9.6\u2009cm), and by varying the scale of the reach by 2-fold (7\u2009cm to 12\u2009cm)<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 92\" title=\"Churchland, M. M., Santhanam, G. &amp; Shenoy, K. V. Preparatory activity in premotor and motor cortex reflects the speed of the upcoming reach. J. Neurophysiol. 96, 3130&#x2013;3146 (2006).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#ref-CR92\" id=\"ref-link-section-d75754697e3068\">92<\/a><\/sup>, similar to the size variation in our study (2\u20132.5-fold).<\/p>\n<p>To test for categorical structure (Figs. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig2\">2f\u2013j<\/a> and <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig5\">5<\/a>), we constructed morph sets (S1, <i>n<\/i>\u2009=\u20097 morph sets across 3 sessions; S2, <i>n<\/i>\u2009=\u200913 morph sets across 4 sessions), each consisting of two practised shapes and four to five images that morph between those shapes through linear interpolation along shape parameters, such as the extent of closure of the top of the U (Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig2\">2g<\/a>). Across morph sets, we varied different image parameters (Extended Data Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig9\">3<\/a>).<\/p>\n<h4 class=\"c-article__sub-heading c-article__sub-heading--small\" id=\"Sec28\">Multishape task<\/h4>\n<p>Each image was composed of two to four shapes positioned at random, nonoverlapping, locations spanning the space of the screen (possible locations include the four corners and the centre). The subjects were allowed to draw the shapes in any order and to use any trajectory for each shape, but were constrained to use one stroke per shape and to not trace in the gaps between shapes. We present results averaged across two sessions, one from each subject (Extended Data Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig10\">4<\/a>). For each trial, an image was constructed by sampling shapes randomly without replacement. This led to <i>n<\/i>\u2009=\u2009531 (S1) and <i>n<\/i>\u2009=\u2009278 (S2) unique images.<\/p>\n<h4 class=\"c-article__sub-heading c-article__sub-heading--small\" id=\"Sec29\">Character task<\/h4>\n<p>Each image was generated by connecting two to six simple shapes into a single character by sampling from a generative model as follows. A character with <i>N<\/i> shapes was defined by randomly sampling <i>N<\/i> shapes and <i>N<\/i>\u2009\u2013\u20091 relations, where each relation (indexed <i>i<\/i>) defines the locations of the attachment points on shapes <i>i<\/i> and <i>i<\/i>\u2009+\u20091, which in turn define how the shapes connect to each other. This approach is similar to a previous generative model for handwritten characters<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 9\" title=\"Lake, B. M., Salakhutdinov, R. &amp; Tenenbaum, J. B. Human-level concept learning through probabilistic program induction. Science 350, 1332&#x2013;1338 (2015).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#ref-CR9\" id=\"ref-link-section-d75754697e3138\">9<\/a><\/sup>. Generated characters were only kept if there was minimal crossing of shapes over each other.<\/p>\n<p>For experiments testing behavioural generalization to novel characters (Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig2\">2k\u2013p<\/a>), we mixed practised and novel characters (practised, <i>n<\/i>\u2009=\u2009189 (mean, range 22\u2013491) per day; novel, 48 (mean, range 0\u2013155) per day). For analyses, we labelled as \u2018novel\u2019 only the very first trial for a given character. Because of random sampling in generating characters, it would in principle be possible that characters generated on different days are in fact identical. To avoid this possibility, we ensured post hoc that all characters labelled novel were different from every previously encountered character across all days (quantified using the Hausdorff distance).<\/p>\n<p>For neural experiments comparing single-shape and character tasks (Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig6\">6<\/a>), we analysed the sessions for which we collected data from both the single-shape and character tasks (S1, <i>n<\/i>\u2009=\u20099 sessions, median <i>N<\/i> matching primitives between single-shape and character tasks\u00a0=\u20099 (range 5\u221212); S2, <i>n<\/i>\u2009=\u20099 sessions, median<i> N<\/i> matching primitives\u2009=\u200910 (range 2\u221214)). We switched between single-shape and character tasks using a block design (2\u22125 blocks each per session), except one session for S2, which used random interleaving across trials.<\/p>\n<h3 class=\"c-article__sub-heading c-article__sub-heading--divider\" id=\"Sec30\">Behavioural data analysis<\/h3>\n<h4 class=\"c-article__sub-heading c-article__sub-heading--small\" id=\"Sec31\">Preprocessing of touchscreen data<\/h4>\n<p>Touchscreen data were represented as time series of (<i>x<\/i>, <i>y<\/i>) coordinates in units of pixels (conversion: 33.6\u2009pixels per cm) and sampled at 60\u2009Hz, which we upsampled to 500\u2009Hz (performed in MonkeyLogic to align all behavioural signals, including trial event markers and eye tracking) and low-pass filtered to keep only drawing-related movements\u00a0(15\u2009Hz). Strokes were segmented based on the time of first touch (onset) and the time of last touch (offset) with 500\u2009Hz resolution.<\/p>\n<p>For some analyses (Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig1\">1f<\/a> and as input to the trajectory distance below) we further computed stroke instantaneous velocity and speed as follows. Extracted strokes were low-pass filtered (12.5\u2009Hz) and downsampled to 25\u2009Hz. We then used the standard five-point stencil method to compute a finite difference approximation of the derivative (separately for the <i>x<\/i> and <i>y<\/i> coordinates):<\/p>\n<div id=\"Equ3\" class=\"c-article-equation\">\n<p><span class=\"mathjax-tex\">$${f}^{{\\prime} }[n]=\\frac{f[n-2]-8f[n-1]+8f[n+1]-f[n+2]}{12\\,{\\text{h}}}$$<\/span><\/p>\n<\/div>\n<p>where <i>f<\/i>[<i>n<\/i>] is a discrete time series (that is, the <i>x<\/i> or <i>y<\/i> coordinates) indexed by integer <i>n<\/i>, and <i>h<\/i> is the sampling period in seconds. The resulting velocity time series was upsampled to the original 500\u2009Hz sampling rate with a cubic spline. Speed was computed as the norm of the (<i>x<\/i>, <i>y<\/i>) velocity at each time point.<\/p>\n<h4 class=\"c-article__sub-heading c-article__sub-heading--small\" id=\"Sec32\">Computing the trajectory distance<\/h4>\n<p>To quantify the similarity between any two strokes based on their spatiotemporal trajectories while ignoring their relative size and location, we devised a trajectory distance metric, a scalar dissimilarity score based on the dynamic time warping distance between two strokes represented as velocity time series <i>v<\/i><sub>1<\/sub> and <i>v<\/i><sub>2<\/sub>. To compute trajectory distance between two strokes, we spatially rescaled each stroke (while maintaining its <i>x<\/i><i>y<\/i> aspect ratio) to make the diagonal of its bounding box unit length\u20091. We then linearly interpolated each stroke to the same number of points (70) to allow point-by-point comparison between strokes. This was done spatially by interpolating based on fraction of cumulative distance travelled (so that the distances between successive points were the same over the entire stroke) to capture the spatiotemporal trajectory, as in a previous analyses of strokes in handwriting<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 9\" title=\"Lake, B. M., Salakhutdinov, R. &amp; Tenenbaum, J. B. Human-level concept learning through probabilistic program induction. Science 350, 1332&#x2013;1338 (2015).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#ref-CR9\" id=\"ref-link-section-d75754697e3364\">9<\/a><\/sup>. Interpolated trajectories were converted to velocity time series as described above. We then computed the dynamic time-warping distance between velocities <i>v<\/i><sub>1<\/sub> and <i>v<\/i><sub>2<\/sub>:<\/p>\n<div id=\"Equ4\" class=\"c-article-equation\">\n<p><span class=\"mathjax-tex\">$${D}_{\\text{DTW}}({v}_{1},{v}_{2})=\\frac{{\\text{min}}_{{\\rm{\\pi }}}{\\sum }_{(i,j)\\in {\\rm{\\pi }}}d(i,j)}{{\\text{N}}}$$<\/span><\/p>\n<\/div>\n<p>where <i>i<\/i> and <i>j<\/i> index the two velocity trajectories, <i>N<\/i> is the number of points (70), and \u03c0 is a set of (<i>i<\/i>,\u00a0<i>j<\/i>) pairs representing a contiguous path from (0, 0) to (<i>N<\/i>, <i>N<\/i>). The local distance metric <i>d<\/i>(<i>i<\/i>,\u00a0<i>j<\/i>) is the Euclidean distance plus a regularization factor to discourage excessive warping:<\/p>\n<div id=\"Equ5\" class=\"c-article-equation\">\n<p><span class=\"mathjax-tex\">$$d(i,j)=|{v}_{1}[i]-{v}_{2}[\\,j]|+\\lambda \\times |i-j|,$$<\/span><\/p>\n<\/div>\n<div id=\"Equ6\" class=\"c-article-equation\">\n<p><span class=\"mathjax-tex\">$$\\lambda =0.045{\\langle |{v}_{n}[i]|\\rangle }_{i,n}.$$<\/span><\/p>\n<\/div>\n<p>For the regularization parameter, <i>\u03bb<\/i>, the purpose of the summation term was to rescale it to match the magnitude of velocities. The resulting distance <i>D<\/i><sub>DTW<\/sub> was then rescaled between 0 and 1 to return the trajectory distance:<\/p>\n<div id=\"Equ7\" class=\"c-article-equation\">\n<p><span class=\"mathjax-tex\">$${D}_{\\mathrm{traj}}({v}_{1},{v}_{2})=1-\\frac{1}{{D}_{\\mathrm{DTW}}({v}_{1},{v}_{2})+1}.$$<\/span><\/p>\n<\/div>\n<h4 class=\"c-article__sub-heading c-article__sub-heading--small\" id=\"Sec33\">Computing the image distance<\/h4>\n<p>To compare the similarity of two images\u2014each a set of (<i>x<\/i>, <i>y<\/i>) points\u2014we used a modified version of the Hausdorff distance, a distance metric commonly used in machine vision for comparing the similarity between two point sets based on shape attributes<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 93\" title=\"Dubuisson, M.-P. &amp; Jain, A. K. A modified Hausdorff distance for object matching. In Proc. 12th International Conference on Pattern Recognition 566&#x2013;568 (IEEE, 1994).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#ref-CR93\" id=\"ref-link-section-d75754697e3840\">93<\/a><\/sup>. There are, in principle, at least 24 variants of the Hausdorff distance based on possible formula variations<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 93\" title=\"Dubuisson, M.-P. &amp; Jain, A. K. A modified Hausdorff distance for object matching. In Proc. 12th International Conference on Pattern Recognition 566&#x2013;568 (IEEE, 1994).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#ref-CR93\" id=\"ref-link-section-d75754697e3844\">93<\/a><\/sup>. Here we used a variant that is minimally susceptible to outlier points because it takes means instead of minima and maxima (variant\u200923 in the referenced study<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 93\" title=\"Dubuisson, M.-P. &amp; Jain, A. K. A modified Hausdorff distance for object matching. In Proc. 12th International Conference on Pattern Recognition 566&#x2013;568 (IEEE, 1994).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#ref-CR93\" id=\"ref-link-section-d75754697e3848\">93<\/a><\/sup>). Image distance was computed as follows: (1) each image was centred so its centre of mass was at (0, 0); (2) the image distance was then computed. First, we defined the distance between two points, <i>d<\/i>(<i>a<\/i>,\u00a0<i>b<\/i>), as the Euclidean distance. We also defined the distance between a point and a set of points, <i>d<\/i>(<i>a<\/i>,\u00a0<i>B<\/i>), and the distance from set <i>A<\/i> to set <i>B<\/i>, <i>d<\/i>(<i>A<\/i>,\u00a0<i>B<\/i>), as follows:<\/p>\n<div id=\"Equ8\" class=\"c-article-equation\">\n<p><span class=\"mathjax-tex\">$$d(a,B)=\\mathop{\\min }\\limits_{b\\in B}\\,d(a,b),$$<\/span><\/p>\n<\/div>\n<div id=\"Equ9\" class=\"c-article-equation\">\n<p><span class=\"mathjax-tex\">$$d(A,B)=\\frac{1}{|A|}\\sum _{a\\in A}d(a,B).$$<\/span><\/p>\n<\/div>\n<p>The image distance was then defined as:<\/p>\n<div id=\"Equ10\" class=\"c-article-equation\">\n<p><span class=\"mathjax-tex\">$${D}_{\\mathrm{image}}(A,B)=\\frac{d(A,B)+d(B,A)}{2}.$$<\/span><\/p>\n<\/div>\n<h4 class=\"c-article__sub-heading c-article__sub-heading--small\" id=\"Sec34\">Computing the primitive alignment score<\/h4>\n<p>For experiments on categorical structure, we generated a set of images with each set containing four to five novel images that morph between one primitive (P1) and another primitive (P2) to create a morph set. Each trial presented a single image from one morph set. We sought to quantify the relative similarity between the data of a given trial\u2014its behavioural, image or neural data (see below)\u2014and data for the two primitives, P1 and P2, in its morph set. To do so, we devised a primitive alignment score defined as:<\/p>\n<div id=\"Equ11\" class=\"c-article-equation\">\n<p><span class=\"mathjax-tex\">$$a=\\frac{{d}_{1}}{{d}_{1}+{d}_{2}}$$<\/span><\/p>\n<\/div>\n<p>where <i>d<\/i><sub>1<\/sub> is the average of the distances between a given trial and each of the P1 trials, and <i>d<\/i><sub>2<\/sub> the average distance to the P2 trials. A score closer to 0 implies similarity to P1, and a score close to 1 implies similarity to P2 (note that\u00a0in practice the\u00a0primitive alignments for P1 and P2 data are not exactly 0 and 1 owing to trial-by-trial variation). The particular metric used for these distances depended on the analysis: image distance (for images), trajectory distance (for drawings) or Euclidean distance between population activity vectors (for neural activity). We confirmed that primitive alignment scores for image data varied linearly with morph number (Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig2\">2j<\/a> and Extended Data Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig9\">3c<\/a>), which ensured that any deviation from linearity in behavioural or neural data could not trivially be the consequence of how the score is defined.<\/p>\n<h4 class=\"c-article__sub-heading c-article__sub-heading--small\" id=\"Sec35\">Classifying strokes from the character task<\/h4>\n<p>To assess whether the subjects drew characters by reusing their own stroke primitives, we scored the fraction of character strokes that were high-quality matches to the subject\u2019s own primitives and the fraction that were high-quality matches to the other subject\u2019s primitives. If the fraction of matches to a subject\u2019s own primitives was high, and to the other subject\u2019s primitives was low, then this was evidence for recombining the subject\u2019s own primitives.<\/p>\n<p>This assessment was done by assigning each stroke the label of its most similar primitive using the trajectory distance and then defining this as a high-quality match only if the trajectory distance was sufficiently low\u00a0(defined below).<\/p>\n<p>First, each stroke was assigned its best-matching primitive, <i>p<\/i>*, from a set of primitives (the choice of primitive set\u2014same or different subject\u2014depending on the analysis; see below):<\/p>\n<div id=\"Equ12\" class=\"c-article-equation\">\n<p><span class=\"mathjax-tex\">$${p}^{\\ast }=\\mathop{\\text{argmin}}\\limits_{p}\\,d(s,{\\mu }_{p})$$<\/span><\/p>\n<\/div>\n<p>where <i>p<\/i> indexes the primitives, <i>s<\/i> is the stroke trajectory, <i>\u00b5<\/i><sub><i>p<\/i><\/sub> is the mean trajectory for primitive <i>p<\/i> (averaged over trials from the single-shape task), and <i>d<\/i>(.,.) is the trajectory distance.<\/p>\n<p>Second, the quality of the assignment of the stroke to <i>p<\/i>* was scored as high if <span class=\"mathjax-tex\">\\(d(s,{\\mu }_{{p}^{\\ast }}) &lt; {{D}}_{max,{{\\text{p}}}^{\\ast }}\\)<\/span> and low if <span class=\"mathjax-tex\">\\(d(s,{\\mu }_{{p}^{\\ast }})\\ge {{D}}_{max,{p}^{\\ast }}\\)<\/span>, where <span class=\"mathjax-tex\">\\({{D}}_{max,{{\\text{p}}}^{\\ast }}\\)<\/span> is an upper\u00a0bound on trajectory distances that would be expected from trial-by-trial variation in primitive <i>p<\/i>*. It is the 97.5th percentile of the distribution of trajectory distances from single-shape trials, determined separately for each primitive, which we consider as a good (arguably conservative) estimate of trial-by-trial variation. This is because the single-shape task presents no ambiguity as to what primitive needs to be drawn and can therefore be considered\u00a0\u2018ground\u00a0truth\u2019.<\/p>\n<p>These steps assigned each stroke a class tuple (<i>p<\/i>*,quality), where high quality was interpreted as the stroke matching the primitive set and low quality meant failure to match any primitive. Note that the non-uniformity of the frequency distribution of matches across primitives (Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig2\">2o<\/a>) resembles non-uniformity seen for language and other behaviours<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 94\" title=\"Ferrer-i-Cancho, R. et al. Compression as a universal principle of animal behavior. Cogn. Sci. 37, 1565&#x2013;1578 (2013).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#ref-CR94\" id=\"ref-link-section-d75754697e4602\">94<\/a><\/sup>. Also, note that even the primitives with a low frequency of match (Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig2\">2o<\/a>) can be considered legitimate matches because they satisfied the criteria to be labelled as high quality.<\/p>\n<p>In summary analyses, we pooled all cases of high-quality matches into a single match class (regardless of the assigned primitive), and all low-quality matches into a single no-match class (Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig2\">2p<\/a>). To test whether a given subject\u2019s character strokes aligned better with its own primitives compared with the other subject\u2019s primitives (Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig2\">2p<\/a>), we performed the above analysis separately for all four combinations of stroke data (2 subjects)\u2009\u00d7\u2009primitives (2 subjects) using only images drawn by both the subjects.<\/p>\n<p>The control analysis of testing primitive reuse using a simulated set of remixed primitives was performed as follows. We generated remixed primitive sets by mixing subparts of different primitives. Given two actual primitives, we extracted the first half of the first primitive (defined by the distance travelled) and the second half of the second primitive and connected them by aligning the offset of the first half to the onset of the second half, smoothing the connection with a sigmoidal weighting function. To sample a remixed primitive set, we first generated a pool of all possible remixed primitives using every possible pair of actual primitives. We then sampled (without replacement) a set of remixed primitives from this pool, keeping only remixed primitives that satisfied the following constraints: (1) no self-intersection, and (2) no excessively sharp turns, detected as curvature at any point along the inner 80% of the stroke exceeding 0.8. Curvature was defined in a standard manner as the inverse of the radius of curvature,<\/p>\n<div id=\"Equ13\" class=\"c-article-equation\">\n<p><span class=\"mathjax-tex\">$$\\frac{\\dot{x}\\ddot{y}-\\dot{y}\\ddot{x}}{{({\\dot{x}}^{2}+{\\dot{y}}^{2})}^{\\frac{3}{2}}}$$<\/span><\/p>\n<\/div>\n<p>where <span class=\"mathjax-tex\">\\(\\dot{x}\\)<\/span> and <span class=\"mathjax-tex\">\\(\\dot{y}\\)<\/span> are the velocity components and <span class=\"mathjax-tex\">\\(\\ddot{x}\\)<\/span> and <span class=\"mathjax-tex\">\\(\\ddot{y}\\)<\/span> are the acceleration components. Once a candidate set of remixed primitives was sampled, it had to pass further constraints: (1) each actual primitive contributed its first half or second half to a maximum of two remixed primitives; (2) the trajectory distance between no pair of remixed primitives was lower than the minimum trajectory distance between actual primitives; and (3) the trajectory distance between no pair of remixed primitive and actual primitive was less than the minimum trajectory distance between actual primitives. These constraints ensured that remixed primitives in each set were different from each other and from the actual primitives (visually apparent in Extended Data Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig11\">5<\/a>).<\/p>\n<p>We then labelled strokes from character drawings using each remixed primitive set using the same approach as for actual primitives, except the following. The analysis using actual primitives used trajectory distance thresholds (<span class=\"mathjax-tex\">\\({{D}}_{max,{{\\text{p}}}^{\\ast }}\\)<\/span>)\u00a0determined empirically for each primitive based on single-shape trials (see above). Because remixed primitives were never drawn, a similar approach could not be used. Instead, thresholds for remixed primitives were assigned from the pool of thresholds for the actual primitives, in a manner meant to increase the stroke\u2013primitive match rate (and thus allow a stronger, or more conservative, test that the remixed primitives do not match the character strokes) by assigning the largest (most lenient) threshold to the worst-matching remixed\u00a0primitive, the second largest to the second worst, and so on, where worse means having larger average trajectory distance to character strokes.<\/p>\n<h4 class=\"c-article__sub-heading c-article__sub-heading--small\" id=\"Sec36\">Analysis of kinematic separability of primitives<\/h4>\n<p>To test whether each primitive was decodable from every other primitive based on single-trial kinematics (stroke trajectory) (Extended Data Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig8\">2<\/a>), strokes were first converted from time series (<i>x<\/i> and <i>y<\/i> position) to eight-dimensional vectors as follows. Similar to the trajectory distance computation (above), strokes were normalized in time (linear interpolation to 50 time points) and space (rescaling each stroke, while maintaining its <i>x<\/i><i>y<\/i> aspect ratio, to make the diagonal of its bounding box unit length\u00a01). The <i>x<\/i> and <i>y<\/i> coordinates were concatenated to a 100-dimensional vector and then reduced to 8 dimensions using principal component analysis (PCA). Decoding was performed on these 8D representations using a linear support vector machine classifier (SVC) (LinearSVC, scikit-learn (v.1.3.0), regularization parameter C set to 0.1), with 10-fold cross-validation. By performing this procedure for every pair of primitives (each time returning a single decoding accuracy score), we populated the matrix shown in Extended Data Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig8\">2<\/a>.<\/p>\n<h3 class=\"c-article__sub-heading c-article__sub-heading--divider\" id=\"Sec37\">Neural recordings<\/h3>\n<p>Recordings were acquired using a Tucker-Davis Technologies (TDT) system, including headstage (Z-Series 32 Channel Omnetics, LP32CH-Z), amplifier (PZ5M-256), processor (RZ2) and storage (RS4), sampled at 25\u2009kHz (local reference mode), controlled with TDT Synapse (v98) software run on a Windows 10 PC (Intel Core i7-3770, 32GB RAM) and saved to disk. Analog and digital task-related signals, including behavioural events (photodiode, audio and trial event markers) and eye tracking (ISCAN, 125\u2009Hz), were synchronized to external triggers recorded by the neural data acquisition system.<\/p>\n<h3 class=\"c-article__sub-heading c-article__sub-heading--divider\" id=\"Sec38\">Neural data preprocessing<\/h3>\n<h4 class=\"c-article__sub-heading c-article__sub-heading--small\" id=\"Sec39\">Spike sorting<\/h4>\n<p>We extracted for later analysis both single-unit (SU) and multiunit (MU) spike clusters from the stored broadband signal as follows. MU clusters consisted of identified\u00a0spikes, which were not isolatable into distinct SU clusters. We used a three-step approach for extracting and clustering spikes, with a first pass using Kilosort (v.2.5)<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 95\" title=\"Pachitariu, M., Sridhar, S., Pennington, J. &amp; Stringer, C. Spike sorting with Kilosort4. Nat. Methods 21, 914&#x2013;921 (2024).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#ref-CR95\" id=\"ref-link-section-d75754697e4930\">95<\/a><\/sup> to extract putative spike clusters, a second pass using a custom-written program to label these clusters as SU, MU or noise, and a final manual curation step. Although Kilosort classifies clusters, we did not use those labels.<\/p>\n<p>For Kilosort, we used default parameters, except AUCsplit (0.90), Th ([6, 4]) and lam (10), which we optimized using parameter sweeps on data from representative sessions and by manual evaluation of results.<\/p>\n<p>We next refined cluster labels. For each cluster, we removed outlier waveforms (exceeding a 3 times interquartile-range threshold for any of the minima, maxima or sum-of-squares). Waveforms were then shifted slightly in time\u00a0if needed (&lt;1\u2009ms) to improve their alignment by troughs (or peaks, for positive-going waveforms). For each cluster, we computed two features: the signal-to-noise ratio (SNR) and inter-spike-interval violations (ISIVs). The SNR was defined as the ratio of the peak-to-trough difference (of the average spike waveform) tothe standard deviation (averaged across time bins). If a cluster contained both positive-going and negative-going waveforms, the SNR was computed separately for these two subsets of data and then averaged. ISIVs were defined as the fraction of inter-spike intervals less than a refractory period (1.5\u2009ms). On the basis of these SNR and ISIVs, we provisionally classified clusters as SU (if either (SNR\u2009&gt;\u20099.6 and ISIV\u2009&lt;\u20090.05) or (SNR\u2009&gt;\u20096.9 and ISIV\u2009&lt;\u20090.01)), noise (SNR\u2009&lt;\u20093.9) or MU (the remaining clusters).<\/p>\n<p>We then manually curated these clusters. We visualized waveforms for\u00a0every cluster to either confirm its label (MU, SU or noise) or to manually re-assign it to a different label (including artefact) using a custom-written MATLAB GUI. We also manually checked whether to merge multiple SU clusters on a single channel into a single SU cluster if they exhibited high waveform similarity, inversely correlated spike count frequency over the course of the session or a negative peak close to zero lag in a cross-correlogram of spike times. Finally, for each channel, all MU clusters were merged into a single MU cluster. Combining SU and MU, this process produced the following number of units per area (mean\u2009\u00b1\u2009s.d. across sessions) for the different brain regions: for S1, M1 (59.9\u2009\u00b1\u200912.5), PMd (44.1\u2009\u00b1\u20096.2), PMv (34.2\u2009\u00b1\u20097.3), SMA (63.0\u2009\u00b1\u20097.9), preSMA (75.4\u2009\u00b1\u200917.7), dlPFC (47.8\u2009\u00b1\u200917.2), vlPFC (43.3\u2009\u00b1\u20099.9) and FP (19.2\u2009\u00b1\u20093.8); for S2, M1 (40.7\u2009\u00b1\u200913.1), PMd (54.7\u2009\u00b1\u20095.5), PMv (71.1\u2009\u00b1\u20096.6), SMA (53.4\u2009\u00b1\u20097.2), preSMA (57.9\u2009\u00b1\u200911.1), dlPFC (24.6\u2009\u00b1\u20094.8), vlPFC (38.6\u2009\u00b1\u200913.7) and FP (42.6\u2009\u00b1\u20095.0).<\/p>\n<h4 class=\"c-article__sub-heading c-article__sub-heading--small\" id=\"Sec40\">Converting spike times to firing rates<\/h4>\n<p>Single-trial spike trains were converted to firing rate functions by smoothing with a 0.025\u2009s Gaussian kernel (0.01\u2009s slide). We removed units with very low firing rates (if the 80th percentile of their firing rates across all trials and time bins was less than 1\u2009Hz). We also removed units for which the firing rates were unstable, either due to high systematic drift in the firing rate over the session (<i>m<\/i>\/<i>u<\/i>\u2009&gt;\u20090.2, where <i>m<\/i> is the slope from regressing the square-root-transformed firing rate versus time (in hours), and <i>u<\/i> is the mean firing rate) or due to large fluctuations in the firing rate across the session. For the latter, we excluded units satisfying either (<i>s<\/i><sub>max<\/sub>\u2009\u2013\u2009<i>s<\/i><sub>min<\/sub>)\/<i>s<\/i><sub>mean<\/sub>\u2009&gt;\u20091.15 or (<i>u<\/i><sub>max<\/sub>\u2009\u2013\u2009<i>u<\/i><sub>min<\/sub>)\/<i>u<\/i><sub>mean<\/sub>\u2009&gt;\u20090.65, where the session is first split into contiguous 50-trial bins, the across-trial standard deviation in the square-root-transformed firing rate is computed in each bin, and then <i>s<\/i><sub>max<\/sub>,\u2009<i>s<\/i><sub>min<\/sub> and <i>s<\/i><sub>mean<\/sub> are defined as the maximum, minimum and mean standard deviation across bins, respectively; <i>u<\/i><sub>max<\/sub>,\u2009<i>u<\/i><sub>min<\/sub> and <i>u<\/i><sub>mean<\/sub> are defined similarly, except using the within-bin mean firing rate instead of the within-bin standard deviation. We then processed firing rates as follows. We\u00a0first square-root transformed activity to normalize its variance. Following a common approach in analyses of population firing rates<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 96\" title=\"Russo, A. A. et al. Neural trajectories in the supplementary motor area and motor cortex exhibit distinct geometries, compatible with different classes of computation. Neuron 107, 745&#x2013;758 (2020).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#ref-CR96\" id=\"ref-link-section-d75754697e5014\">96<\/a><\/sup>, we <i>z<\/i>-scored the activity of each unit to ensure that neurons with highly different firing rates contributed similarity to population analyses, but in a \u2018soft\u2019\u00a0manner so that\u00a0higher-firing-rate neurons contributing relatively more:<\/p>\n<div id=\"Equ14\" class=\"c-article-equation\">\n<p><span class=\"mathjax-tex\">$${x}_{i}^{{\\rm{norm}}}(t)=\\frac{{x}_{i}(t)-{\\mu }_{x}}{{\\sigma }_{x}+C}$$<\/span><\/p>\n<\/div>\n<p>where <i>x<\/i><sub><i>i<\/i><\/sub>(<i>t<\/i>) is firing rate for trial <i>i<\/i> at time bin <i>t<\/i>; <i>\u00b5<\/i><sub><i>x<\/i><\/sub> and <i>\u03c3<\/i><sub><i>x<\/i><\/sub> are the mean and standard deviation, respectively (across trials and time bins), and <i>C<\/i> is an additive factor to ensure softness, where <i>C\u2009<\/i>=\u2009min(<i>m<\/i>)\u2009+\u20093\u2009Hz, where <i>m<\/i> is a vector of mean firing rates across units. All subsequent analyses used this normalized firing rate.<\/p>\n<h4 class=\"c-article__sub-heading c-article__sub-heading--small\" id=\"Sec41\">Time-warping neural activity to a common trial template<\/h4>\n<p>For the figure showing the average firing rates over the entire trial (Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig3\">3c<\/a>), we first time-warped each trial to a common trial template. We defined a set of events that occur across trials as anchors (fixation touch, image onset, go cue, finger raise off fixation, stroke onset, stroke offset, touch done button and reward). We included only single-stroke trials. We first generated a median trial. For each segment (that is, the time window between a pair of successive anchor events), we found its median duration and then concatenated these median segments to construct a median trial. We then aligned each trial to this median trial at the anchor events, warping time linearly in each segment. This warping did not change the firing rate values, just their timing. To avoid sharp discontinuities at anchor points, we smoothed the final firing rates at the times of the anchor points (2.5\u2009ms Gaussian kernel).<\/p>\n<p>Sorting of units (rows) in the resulting firing rate plot (Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig3\">3c<\/a>) was performed in a cross-validated manner. Sort indices were determined using one subset of trials (<i>n<\/i>\u2009=\u200950) and then applied to sort the remaining subset of trials that are plotted (<i>n<\/i>\u2009=\u2009235).<\/p>\n<h3 class=\"c-article__sub-heading c-article__sub-heading--divider\" id=\"Sec42\">Neural data analyses<\/h3>\n<h4 class=\"c-article__sub-heading c-article__sub-heading--small\" id=\"Sec43\">PCA<\/h4>\n<p>We performed dimensionality reduction on the neural population activity, in general because high-dimensional noise can reduce the interpretability of the Euclidean distance<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 97\" title=\"Testard, C. et al. Neural signatures of natural behaviour in socializing macaques. Nature 628, 381&#x2013;390 (2024).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#ref-CR97\" id=\"ref-link-section-d75754697e5215\">97<\/a><\/sup>, and in one case to identify a potential linear projection of population activity (that is, a subspace) that preferentially encodes primitives, a standard approach<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 28\" title=\"Tian, Z. et al. Mental programming of spatial sequences in working memory in the macaque frontal cortex. Science 385, eadp6091 (2024).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#ref-CR28\" id=\"ref-link-section-d75754697e5219\">28<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 98\" title=\"Mante, V., Sussillo, D., Shenoy, K. V. &amp; Newsome, W. T. Context-dependent computation by recurrent dynamics in prefrontal cortex. Nature 503, 78&#x2013;84 (2013).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#ref-CR98\" id=\"ref-link-section-d75754697e5222\">98<\/a><\/sup>. We represent data for a single area from a single session and in a specific within-trial time window as a matrix <i>X<\/i> of size <i>N<\/i>\u2009\u00d7\u2009<i>KT<\/i>, where <i>N<\/i>, <i>K<\/i> and <i>T<\/i> are the number of units, trials and time bins, respectively, constructed by concatenating time bins from all trials along the second dimension. Data were first binned in time (0.15\u2009s window, 0.02\u2009s slide) before constructing this data matrix. Instead of applying PCA on single-trial data <i>X<\/i>, we applied PCA on trial-averaged data <i>X<\/i><sub><i>C<\/i><\/sub>, to minimize the influence of trial-by-trial variation (noise). <i>X<\/i><sub><i>C<\/i><\/sub> holds the mean activity for each trial condition, of size <i>N<\/i>\u2009\u00d7\u2009<i>K<\/i><sub><i>C<\/i><\/sub><i>T<\/i>, where <i>K<\/i><sub><i>C<\/i><\/sub> is the number of unique conditions, with the specific conditions depending on the experiment (see below). We performed PCA on <i>X<\/i><sub><i>C<\/i><\/sub> and retained the top eight PCs. The specific trial-averaged conditions used for identifying PCs were the following. For analysis of motor invariance (Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig4\">4<\/a>), the conditions were each unique primitive (averaging over location or size), which resulted in identifying PCs that preferentially encoded primitives if such PCs exist.\u00a0For analysis of categorical structure (Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig5\">5<\/a>), PCA was performed separately for each morph set, and the conditions were the unique images (that is, the two end point shapes and\u00a0the morphed shapes in between). For the analysis of primitive representational reuse in characters (Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig6\">6<\/a>), the conditions were each combination of primitive and task type.<\/p>\n<p>We performed PCA in a cross-validated manner to ensure that it was not overfitting to noise. We partitioned trials into two subsets (in a stratified manner): one training set that was used only for identifying the PCs and a test set that was projected onto these PCs and then used for all subsequent analyses. We performed eight randomized train\u2013test splits (including all downstream analyses) and averaged their results.<\/p>\n<h4 class=\"c-article__sub-heading c-article__sub-heading--small\" id=\"Sec44\">Representing time-varying population activity as a vector<\/h4>\n<p>For some analyses, we captured single-trial time-varying population activity during the planning epoch (0.05\u20130.6\u2009s after image onset) as a vector, which could then be visualized after dimensionality reduction (Extended Data Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig13\">7<\/a>) or used in decoding analyses (Extended Data Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig18\">12<\/a>). Starting from the population data of a region, represented as a <i>K<\/i>\u2009\u00d7\u2009<i>N<\/i>\u2009\u00d7\u2009<i>T<\/i> matrix, where <i>K<\/i>, <i>N<\/i> and <i>T<\/i> are the numbers of trials, units, and time bins, respectively, (with time binned using a 0.2\u2009s window, 0.1\u2009s slide), we concatenated the <i>N<\/i> channels\u2019 length <i>T<\/i> vectors end-to-end to construct the data matrix <i>D<\/i>, of size <i>K<\/i>\u2009\u00d7\u2009<i>NT<\/i>, where each trial is represented by a vector of length <i>N<\/i>\u2009\u00d7\u2009<i>T<\/i>.<\/p>\n<h4 class=\"c-article__sub-heading c-article__sub-heading--small\" id=\"Sec45\">Nonlinear dimensionality reduction<\/h4>\n<p>To perform nonlinear\u00a0dimensionality reduction\u00a0of\u00a0population activity to two dimensions (Extended Data Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig13\">7<\/a>), we used the uniform manifold approximation and projection (UMAP), performed on <i>D<\/i>, using values of 40 and 0.1 for the parameters n_neighbors and min_dist.<\/p>\n<h3 class=\"c-article__sub-heading c-article__sub-heading--divider\" id=\"Sec46\">Computing the neural distance<\/h3>\n<p>To quantify the similarity of population activity between two sets of trials, such as trials for conditions <i>A<\/i> and <i>B<\/i>, each a specific conjunctive value of task-relevant variables, we devised the \u2018neural distance\u2019 metric. Inspired by a previously described \u2018normalized distance\u2019<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 99\" title=\"Liu, Y., Brincat, S. L., Miller, E. K. &amp; Hasselmo, M. E. A geometric characterization of population coding in the prefrontal cortex and hippocampus during a paired-associate learning task. J. Cogn. Neurosci. 32, 1455&#x2013;1465 (2020).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#ref-CR99\" id=\"ref-link-section-d75754697e5381\">99<\/a><\/sup>, it is the average pairwise Euclidean distance across conditions <i>A<\/i> and <i>B<\/i>, minus the average within-condition distance. This subtraction ensures the useful property that this distance is unbiased, in that the expected value of neural distance between two sets of trials sampled from the same distribution is zero (unlike the mean Euclidean distance, which is biased upwards<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 26\" title=\"Willett, F. R. et al. Hand knob area of premotor cortex represents the whole body in a compositional way. Cell 181, 396&#x2013;409 (2020).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#ref-CR26\" id=\"ref-link-section-d75754697e5392\">26<\/a><\/sup>). Moreover, the resulting distance is normalized by dividing by an upper-bound distance to normalize it between 0 and 1. The neural distance is defined as:<\/p>\n<div id=\"Equ15\" class=\"c-article-equation\">\n<p><span class=\"mathjax-tex\">$${D}_{{AB}}^{* }={D}_{{AB}}-({D}_{{AA}}+{D}_{{BB}})\/2$$<\/span><\/p>\n<\/div>\n<p>where the normalized Euclidean distance between sets of trials (indexed by <i>i<\/i> and <i>j<\/i>) in conditions <i>A<\/i> and <i>B<\/i> is:<\/p>\n<div id=\"Equ16\" class=\"c-article-equation\">\n<p><span class=\"mathjax-tex\">$${D}_{AB}={\\left\\langle \\frac{1}{{d}_{max}(t)}{\\langle |{x}_{i}(t)-{x}_{j}(t)|\\rangle }_{i\\in A,j\\in B}\\right\\rangle }_{t\\in \\{{t}_{1},\\ldots ,{t}_{n}\\}}.$$<\/span><\/p>\n<\/div>\n<p>Here, <i>x<\/i><sub><i>i<\/i><\/sub>(<i>t<\/i>) is the population activity vector at\u00a0time <i>t<\/i> (in a window between times <i>t<\/i><sub>1<\/sub> and <i>t<\/i><sub><i>n<\/i><\/sub>), and <i>d<\/i><sub>max<\/sub> is an upper\u00a0bound (98th percentile) of the distances between all pairs of different trials combined across all conditions.<\/p>\n<h3 class=\"c-article__sub-heading c-article__sub-heading--divider\" id=\"Sec47\">Computing the encoding strength of a variable<\/h3>\n<p>To compute how strongly a given variable is encoded in population activity (for example, primitive encoding in Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig4\">4j<\/a>), we computed the mean effect of that variable on population activity in terms of neural distance while controlling for the other relevant variables. Consider an experiment in which conditions vary\u00a0along two variables, primitive and location, represented as\u00a0the tuple (<i>p<\/i>,\u00a0<i>l<\/i>), where <i>p<\/i> and <i>l<\/i> represent the primitives and locations, respectively. Primitive encoding is the average neural distance across all pairs of conditions that have different primitives but same locations:<\/p>\n<div id=\"Equ17\" class=\"c-article-equation\">\n<p><span class=\"mathjax-tex\">$$\\text{primitive encoding}\\,=\\,{\\langle {D}_{(p,l)({p}^{{\\prime} },{l}^{{\\prime} })}^{* }\\rangle }_{p\\ne {p}^{{\\prime} },l={l}^{{\\prime} }}.$$<\/span><\/p>\n<\/div>\n<p>Location encoding is defined analogously:<\/p>\n<div id=\"Equ18\" class=\"c-article-equation\">\n<p><span class=\"mathjax-tex\">$$\\text{location encoding}\\,=\\,{\\langle {D}_{(p,l)({p}^{{\\prime} },{l}^{{\\prime} })}^{* }\\rangle }_{p={p}^{{\\prime} },l\\ne {l}^{{\\prime} }}.$$<\/span><\/p>\n<\/div>\n<p>This approach generalizes to any pair of variables, such as primitive and task type in Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig6\">6<\/a>.<\/p>\n<h3 class=\"c-article__sub-heading c-article__sub-heading--divider\" id=\"Sec48\">Statistically comparing brain regions in the strength of variable encoding<\/h3>\n<p>In analyses that compared the encoding strengths of a particular pair of variables (for example, primitive versus location in Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig4\">4j<\/a>), we used the following procedure to compare each brain region with every other brain region in how strongly they encode these two variables. (1) For each variable and pair of brain regions, we compared the strength of encoding of that variable in these regions. This involved first extracting a dataset of neural distances for\u00a0each pair of trial conditions for each of the two brain regions. For example, if the variable was primitive, then each of the two brain regions would contribute a dataset consisting of neural distances for all pairs of trial conditions with different primitives but the same location. The datasets for these two regions would be combined and we then fit a linear least-squares regression model to test for an effect of brain region on neural distance <i>y<\/i>, controlling for the\u00a0effect of trial\u2013condition pair:<\/p>\n<div id=\"Equ19\" class=\"c-article-equation\">\n<p><span class=\"mathjax-tex\">$$y={\\beta }_{0}+{\\beta }_{r}{X}_{r}+\\mathop{\\sum }\\limits_{j=1}^{{N}_{c}}{\\gamma }_{j}{Z}_{j}+{\\epsilon }$$<\/span><\/p>\n<\/div>\n<p>where\u00a0<i>\u03b2<\/i><sub>0<\/sub>\u00a0is the intercept term, <i>X<\/i><sub><i>r<\/i><\/sub> is 0 or 1 depending on the brain region, and <i>Z<\/i><sub><i>j<\/i><\/sub> is an indicator variable representing the\u00a0trial\u2013pair condition, with <i>\u03b3<\/i><sub><i>j<\/i><\/sub> as their coefficients, and <span class=\"mathjax-tex\">\\({\\epsilon }\\)<\/span> is a noise term. Finally, we extracted the <i>P<\/i>\u2009value for <i>\u03b2<\/i><sub><i>r<\/i><\/sub> (two-sided <i>t<\/i>-test), which represents the significance of the difference between these two regions in encoding strength for this variable. (2) This procedure was performed once for each combination of variable and brain region pair, which resulted in 56 <i>P<\/i>\u2009values, corrected for multiple comparisons using the Bonferroni method (2 variables\u00a0\u00d7\u00a028 brain region pairs\u2009=\u200956 comparisons). (3) Using these 56 <i>P<\/i>\u2009values, we summarized each region with 2 numbers representing the number of regions in comparison to which this region more strongly encodes these two variables. For example, for primitive\u2009\u00d7\u2009location experiments, each region was scored with a tuple (<i>N<\/i><sub>prim<\/sub>,<i>N<\/i><sub>loc<\/sub>), where <i>N<\/i><sub>prim<\/sub> is the number of other regions this region beats in the pairwise tests of primitive encoding (and analogous for <i>N<\/i><sub>loc<\/sub>, except for location encoding). In summary plots (Figs. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig4\">4j<\/a> and <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig6\">6f<\/a>), the resulting (<i>N<\/i><sub>prim<\/sub>,<i>N<\/i><sub>loc<\/sub>) tuples for each region are represented as colours using a two-dimensional colour map.<\/p>\n<h3 class=\"c-article__sub-heading c-article__sub-heading--divider\" id=\"Sec49\">Specific analyses<\/h3>\n<h4 class=\"c-article__sub-heading c-article__sub-heading--small\" id=\"Sec50\">Analysis of motor invariance in neural activity<\/h4>\n<p>Dimensionality reduction was performed as described above using a time window of 0.05\u20130.6\u2009s after image onset (to avoid including data after the go cue, which, for a subset of these motor-invariance experiments, occurred 0.6\u20131.0\u2009s after image onset) for fitting the PCs and for analyses that involve time-averaging (Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig4\">4i\u2013k<\/a>).<\/p>\n<p>To test cross-condition decoder generalization (Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig4\">4k<\/a>), we used a linear SVC with a one-versus-the-rest scheme for multiclass classification (LinearSVC, scikit-learn (v.1.3.0), regularization parameter C set to 0.1). We report the test accuracy, linearly rescaled so that chance level (inverse of the number of classes) and 1 were mapped to 0 and 1. Because decoders were trained and tested on different conditions (with non-overlapping trials), there was no concern of overfitting. Decoding was performed separately for, and averaged across, time bins (0.05\u20130.6\u2009s relative to image onset).<\/p>\n<h4 class=\"c-article__sub-heading c-article__sub-heading--small\" id=\"Sec51\">Analysis of categorical structure in neural activity<\/h4>\n<p>Dimensionality reduction was performed as described above using a time window from 0.05\u2009s to 0.9\u2009s after image onset for fitting the PCs. For analyses involving time averaging (Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig5\">5d\u2013g<\/a>), we used a window late in the planning epoch (0.6\u20131.0\u2009s), when separation for A1 and A2 trials was the greatest (Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig5\">5h<\/a>). The primitive alignment index was computed as above using the Euclidean distance.<\/p>\n<p>To assess whether primitives were associated with distinct activity patterns, we asked whether single-trial activity for each primitive was separable from the activity of every other primitive using a decoding approach (Extended Data Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig18\">12<\/a>). We used activity during the planning epoch (0.05\u20130.6\u2009s after image onset) represented as a dataset <i>D<\/i> (size <i>K<\/i>\u2009\u00d7\u2009<i>NT<\/i>, where each trial is represented by a vector of length <i>N<\/i>\u2009\u00d7\u2009<i>T<\/i>; see the section \u2018Representing time-varying population activity as a vector\u2019), with its dimensionality further reduced to <i>K<\/i>\u2009\u00d7\u200950 by performing PCA and keeping the top 50 PCs. For each pair of primitives, decoding was performed using a linear SVC (LinearSVC, scikit-learn (v.1.3.0), regularization parameter <i>C<\/i> set to 0.1) in a cross-condition manner to assess generalizable decoding of primitives; on each iteration, we trained the model using data for one location (or size, for sessions with size variation) and tested using held-out data from all other locations (or sizes), and then averaging over analyses for different locations (or sizes). Because decoding can be biased upwards for regions with more units, to fairly compare regions that had the strongest primitive encoding (preSMA, SMA, PMv, PMd and vlPFC), we first matched their numbers of units by randomly subsampling (without replacement) to match the area with the fewest units and averaged the results from repeating this ten times. By performing this overall procedure for every pair of primitives and separately for every brain region, each time returning a single decoding accuracy score, we populated the matrices in Extended Data Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig18\">12<\/a>. We combined results across five sessions for each subject (S1, 2 varying in location, 3 varying in size; S2, 3 varying in location, 2 varying in size).<\/p>\n<h4 class=\"c-article__sub-heading c-article__sub-heading--small\" id=\"Sec52\">Analysis of recombination of primitive representations in the character task<\/h4>\n<p>We analysed primitives that were performed in both single-shape (instructed by the shape image) and character trials (the subject\u2019s choice)\u00a0in the same session. For character trials, we used only strokes scored as high-quality primitive matches. Dimensionality reduction was performed as above, using a time window of \u20130.8 to 0.3\u2009s relative to the stroke onset for fitting the PCs. For analyses involving time averaging, we used a window \u20130.5 to \u20130.05\u2009s relative to the stroke onset. Neural distance, primitive encoding and task-type encoding were computed analogous to above, using primitive and task type (instead of location or size) as the two variables.<\/p>\n<p>For analyses comparing strokes from the single-shape task to the non-first stroke of the character and multishape tasks (Extended Data Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig20\">14<\/a>), all methods were the same as in the main analysis comparing single-shape strokes to the first stroke of character drawings except two. First, we used a shorter analysis time window of \u20130.35 to \u20130.05\u2009s relative to the stroke onset (instead of \u20130.5 to \u20130.05\u2009s) to match the duration of the gap between strokes (mean of around 0.3\u2009s) in character drawings. Second, we preprocessed neural data to account for a strong effect of the reaching movement to initiate the trial (that is, reaching from the hold button towards the image; see Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig1\">1c<\/a>). This effect is clear in population trajectories (Extended Data Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig20\">14a<\/a>). To accurately assess whether primitive-encoding activity was reused across task types, it was important to correct for this effect of initial reach because it was present for single-shape trials but not for the non-first strokes of the character and multishape tasks. We performed this correction in a simple manner by subtracting, for all strokes, the across-stroke mean effect of the initial reach. This correction was performed separately for each time bin as follows. For each unit, we estimated the mean effect of initial reach by using linear least-squares regression:<\/p>\n<div id=\"Equ20\" class=\"c-article-equation\">\n<p><span class=\"mathjax-tex\">$$y={\\beta }_{0}+{\\beta }_{f}{X}_{f}+{\\beta }_{t}{X}_{t}\\,+\\mathop{\\sum }\\limits_{j=1}^{{N}_{p}}{\\gamma }_{{j}}\\,{Z}_{j}+{\\epsilon }.$$<\/span><\/p>\n<\/div>\n<p>Here, <i>y<\/i> is the firing rate, <i>\u03b2<\/i><sub>0<\/sub>\u00a0is the intercept term, <i>\u03b2<\/i><sub><i>t<\/i><\/sub>\u00a0is the effect of task type,\u00a0<i>X<\/i><sub><i>f<\/i><\/sub> is 0 or 1 depending on whether the stroke is the first stroke (always 1 for single-shape data), <i>X<\/i><sub><i>t<\/i><\/sub> is 0 or 1 depending on the task type (single-shape or character), <i>Z<\/i><sub><i>j<\/i><\/sub> is an indicator variable for the primitive class, and <span class=\"mathjax-tex\">\\({\\epsilon }\\)<\/span> is a noise term. To correct for the effect of initial reach, we subtracted <i>\u03b2<\/i><sub><i>f<\/i><\/sub> (the mean effect of initial reach) from neural activity for all first strokes. We did not perform this correction for comparisons of single-shape strokes to the first stroke in character drawings (Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig6\">6<\/a>) because, there, all strokes included the initial reaching movement.<\/p>\n<h4 class=\"c-article__sub-heading c-article__sub-heading--small\" id=\"Sec53\">Analysis of primitive encoding aligned to visual fixations<\/h4>\n<p>We assessed the extent to which PMv activity, aligned to visual fixation events during the multishape task, preferentially encodes either the primitive associated with the visually fixated shape or the first primitive the subject is planning to draw (Extended Data Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig21\">15<\/a>). We first converted time-varying eye tracking data (<i>x<\/i> and <i>y<\/i> position time series) to a sequence of fixation and saccade events using Cluster Fix<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 100\" title=\"K&#xF6;nig, S. D. &amp; Buffalo, E. A. A nonparametric method for detecting fixations and saccades using cluster analysis: removing the need for arbitrary thresholds. J. Neurosci. Methods 227, 121&#x2013;131 (2014).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#ref-CR100\" id=\"ref-link-section-d75754697e6547\">100<\/a><\/sup>, which, in brief, uses <i>k<\/i>-means clustering on distance, velocity, acceleration and angular velocity, and then assigns clusters to fixation and saccade events. Each fixation event was assigned a\u00a0visually fixated primitive label, defined as the closest shape. If all shapes were further than 70\u2009pixels (2.08\u2009cm), then this fixation event was considered to be looking away from all shapes and was therefore excluded from further analysis. Each fixation event was also assigned a planned primitive label, based on which primitive the subject would draw first on that trial.<\/p>\n<p>We assessed the extent to which fixation-aligned neural activity encoded each primitive using a decoding approach, whereby the strength of representation of a given primitive was defined as the probability score returned by a decoder trained to classify that primitive versus all other primitives. Decoders were trained using single-shape trials from the same session. Data from the planning epoch were cut into multiple short-duration snippets, each a data point used for training the decoder. Specifically, neural data were represented as a matrix <i>X<\/i> of size <i>N<\/i>\u2009\u00d7\u2009<i>KT<\/i>, where <i>N<\/i>, <i>K<\/i> and <i>T<\/i> are the number of units, trials and time bins, respectively, constructed by concatenating time bins from all trials along the second dimension (data were first binned in time using a 0.3\u2009s window with 0.1\u2009s slide) before constructing this data matrix. These <i>KT<\/i> training data points\u00a0(each <i>N<\/i>-dimensional), each with an associated primitive label, were used to train a multilabel, logistic regression, one-versus-rest classifier (scikit-learn), which pools multiple independent classifiers, one per primitive. This resulted in a multilabel decoder that could be applied to neural data at any time point\u00a0to return one probability score per\u00a0primitive.<\/p>\n<h4 class=\"c-article__sub-heading c-article__sub-heading--small\" id=\"Sec54\">Analysis of encoding of kinematic variables in neural activity<\/h4>\n<p>To test for encoding of generic kinematics (Extended Data Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig22\">16<\/a>), we used a standard encoding model approach, which was based on a previous study of handwriting kinematics encoded in the human motor cortex<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 101\" title=\"Willett, F. R., Avansino, D. T., Hochberg, L. R., Henderson, J. M. &amp; Shenoy, K. V. High-performance brain-to-text communication via handwriting. Nature 593, 249&#x2013;254 (2021).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#ref-CR101\" id=\"ref-link-section-d75754697e6594\">101<\/a><\/sup>. We assessed the fraction of variance in neural activity explained by a linear mapping from moment-by-moment finger kinematics to neural activity. As in that study<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 101\" title=\"Willett, F. R., Avansino, D. T., Hochberg, L. R., Henderson, J. M. &amp; Shenoy, K. V. High-performance brain-to-text communication via handwriting. Nature 593, 249&#x2013;254 (2021).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#ref-CR101\" id=\"ref-link-section-d75754697e6598\">101<\/a><\/sup>, we used activity in the top ten dimensions found after performing PCA. PCA was performed as described above, except, instead of identifying the PCs using trial-averaged data, we did so using single-trial data to retain activity potentially related to trial-by-trial variation in kinematics. Activity at each time point was modelled as:<\/p>\n<p>Here <i>f<\/i><sub><i>t<\/i><\/sub> is the neural activity at time bin <i>t<\/i> in the top 10 neural PCs, <i>E<\/i> is a 10\u2009\u00d7\u20092 matrix mapping kinematics to neural activity (that is, preferred directions), <i>v<\/i><sub><i>t<\/i><\/sub> is the 2\u2009\u00d7\u20091 finger velocity, and <i>b<\/i> is an intercept term. The fraction of variance accounted for (FVAF) was computed as:<\/p>\n<div id=\"Equ22\" class=\"c-article-equation\">\n<p><span class=\"mathjax-tex\">$${\\rm{F}}{\\rm{V}}{\\rm{A}}{\\rm{F}}=1-\\frac{{{\\rm{S}}{\\rm{S}}}_{\\text{err}}}{{{\\rm{S}}{\\rm{S}}}_{\\text{tot}}}=1-\\frac{{\\sum }_{t=1}^{T}{(E{v}_{t}-{f}_{t})}^{{\\rm{T}}}(E{v}_{t}-{f}_{t})}{{\\sum }_{t=1}^{T}{f}_{t}^{{\\rm{T}}}{f}_{t}}.$$<\/span><\/p>\n<\/div>\n<p>Here, SS<sub>tot<\/sub> is the total variance, SS<sub>err<\/sub> is the sum of squared errors, and <i>T<\/i> is the total number of time steps across all trials.\u00a0Note that T (upright) represents\u00a0the\u00a0matrix transpose operator.<\/p>\n<p>To test how strongly activity encoded kinematics in a manner generalizing across primitives, models were trained on one subset of primitives (all except one) and tested on one held-out primitive. This was performed once for each primitive, with the final FVAF taken as the mean FVAF across all train\u2013test splits. We used sessions performing the single-shape task with location and size variation (S1, <i>n\u2009<\/i>=\u200930 primitives across 5 sessions; S2, <i>n<\/i>\u2009=\u200942 primitives across 3 sessions, which excludes 2 sessions with fewer than 6 primitives). We included data from throughout the stroke duration.<\/p>\n<p>To allow for the possibility that kinematics better relate to neural activity at a non-zero lag, we performed this analysis multiple times with different time lags between neural and behavioural data, varying from \u20130.3 to 0.3\u2009s (0.05\u2009s increments). The final scalar summary averaged the results in a time window from \u20130.15\u2009s to \u20130.05\u2009s (with neural leading behaviour), consistent with a peak lag of around \u20130.1\u2009s (neural leading) found in previous studies<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 102\" title=\"Ashe, J. &amp; Georgopoulos, A. P. Movement parameters and neural activity in motor cortex and area 5. Cereb. Cortex 4, 590&#x2013;600 (1994).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#ref-CR102\" id=\"ref-link-section-d75754697e6959\">102<\/a><\/sup> and in our analysis (Extended Data Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig22\">16<\/a>).<\/p>\n<p>Note that the FVAF values we found in M1 are comparable to the average value of 0.3 in a previous study of the motor cortex in human handwriting<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 101\" title=\"Willett, F. R., Avansino, D. T., Hochberg, L. R., Henderson, J. M. &amp; Shenoy, K. V. High-performance brain-to-text communication via handwriting. Nature 593, 249&#x2013;254 (2021).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#ref-CR101\" id=\"ref-link-section-d75754697e6969\">101<\/a><\/sup>. Our finding of lower values (ranging from around 0.0 to 0.2, Extended Data Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig22\">16b<\/a>) is consistent with our use of trial-level instead of trial-averaged data (which introduces more variability) and of testing generalization across primitives (note that if we\u00a0instead test generalization to held-out trials, this results in\u00a0higher FVAF values ranging from around 0.1 to 0.3).<\/p>\n<h3 class=\"c-article__sub-heading c-article__sub-heading--divider\" id=\"Sec55\">Statistics and reproducibility<\/h3>\n<p>The findings from this study resulted from experiments that produced similar results across multiple independent repetitions: location invariance (two sessions for S1 and three for S2); categorical structure (three sessions for S1 and four for S2); and recombination in characters (nine sessions for S1 and nine for S2). Randomization was performed by having all comparisons between experimental conditions done within the same animal, with all experimental conditions (task variants\u2009\u00d7\u2009stimuli) presented randomly. No blinding in group allocation was necessary as each subject was tested in all experimental conditions. Blinding of the subject and experimenter during data collection was effectively implemented owing to the randomization and balancing of conditions across trials. All behavioural and neural analyses were performed using custom-written Python (v.3.8) code unless otherwise noted, incorporating the analysis and plotting libraries numpy (v.1.24.3), scipy (v.1.10.1), scikit-learn (v.1.3.0), pandas (v.2.0.3), seaborn (v.0.12.2), elephant (v.1.0.0) and statsmodels (v.0.14.0).<\/p>\n<p>The following are detailed descriptions of statistics that did not fit in the figure legends.<\/p>\n<p>For Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig2\">2e<\/a>, <i>n<\/i>\u2009=\u2009648 (same shape, size and location: YYY), 1,296 (YYN), 1,296 (YNY), 2,592 (YNN), 5,184 (NYY), from a pool of 729 trials (81 conditions\u00a0\u00d7\u00a09 trials each). Two-sided Wilcoxon signed-rank tests comparing NYY to others: versus YNY (<i>W<\/i>\u2009=\u20090, ***<i>P<\/i>\u2009=\u20095.36\u2009\u00d7\u200910<sup>\u221215<\/sup>), versus YYN (<i>W<\/i>\u2009=\u20090, ***<i>P<\/i>\u2009=\u20095.36\u2009\u00d7\u200910<sup>\u221215<\/sup>), versus YNN (<i>W<\/i>\u2009=\u20090, ***<i>P<\/i>\u2009=\u20095.36\u2009\u00d7\u200910<sup>\u221215<\/sup>); <i>n<\/i>\u2009=\u200981 shape, size and location conditions.<\/p>\n<p>For Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig2\">2j,<\/a> test for sigmoidal nonlinearity: <sup>###<\/sup><i>P<\/i>\u2009=\u20091.91\u2009\u00d7\u200910<sup>\u22126<\/sup>, two-sided Wilcoxon signed-rank test (<i>W<\/i>\u2009=\u20090, <i>n<\/i>\u2009=\u200920) that drawing &lt;\u00a0image (U1) and drawing &gt; image (U2). Test for trial-by-trial switching: ***<i>P<\/i>\u2009=\u20091.91\u2009\u00d7\u200910<sup>\u22126<\/sup>, two-sided Wilcoxon signed-rank test (<i>W<\/i>\u2009=\u20090, <i>n<\/i>\u2009=\u200920) that A2\u2009&gt;\u2009A1 (drawing).<\/p>\n<p>For Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#Fig2\">2p<\/a>, for remix primitive sets, three independent simulations are plotted separately. Wilcoxon signed-rank tests: results were highly significant when comparing match to one\u2019s own primitives versus other. For S1 data, S1 versus S2 (<i>W<\/i>\u2009=\u20090, ***<i>P<\/i>\u2009=\u20096.75\u2009\u00d7\u200910<sup>\u221225<\/sup>), versus S1 remix (<i>W<\/i>\u2009=\u2009125, ***<i>P<\/i>\u2009=\u20093.43\u2009\u00d7\u200910<sup>\u221222<\/sup>), versus S2 remix (<i>W<\/i>\u2009=\u20090, ***<i>P<\/i>\u2009=\u20098.75\u2009\u00d7\u200910<sup>\u221225<\/sup>). For S2 data, S2 versus S1 (<i>W<\/i>\u2009=\u200949, ***<i>P<\/i>\u2009=\u20096.26\u2009\u00d7\u200910<sup>\u221223<\/sup>), versus S2 remix (<i>W<\/i>\u2009=\u2009424.5, ***<i>P<\/i>\u2009=\u20093.61\u2009\u00d7\u200910<sup>\u221216<\/sup>), versus S1 remix (<i>W<\/i>\u2009=\u20090, ***<i>P<\/i>\u2009=\u20095.82\u2009\u00d7\u200910<sup>\u221225<\/sup>). Results were also highly significant when comparing one\u2019s own remixed primitives versus others. For S1 data, S1 remix versus S2 (<i>W<\/i>\u2009=\u2009995, <sup>###<\/sup><i>P<\/i>\u2009=\u20091.41\u2009\u00d7\u200910<sup>\u221211<\/sup>), versus S2 remix (<i>W<\/i>\u2009=\u2009351, <sup>###<\/sup><i>P<\/i>\u2009=\u20091.90\u2009\u00d7\u200910<sup>\u221220<\/sup>). For S2 data, S2 remix versus S1 (<i>W<\/i>\u2009=\u2009731.5, <sup>###<\/sup><i>P<\/i>\u2009=\u20091.09\u2009\u00d7\u200910<sup>\u221211<\/sup>), versus S1 remix (<i>W<\/i>\u2009=\u20091, <sup>###<\/sup><i>P<\/i>\u2009=\u20092.85\u2009\u00d7\u200910<sup>\u221220<\/sup>). For remixed primitives, the least significant of the three simulations is shown. Sample sizes were identical for all tests (<i>n<\/i>\u2009=\u2009141 characters, combining novel and practised).<\/p>\n<h3 class=\"c-article__sub-heading c-article__sub-heading--divider\" id=\"Sec56\">Reporting summary<\/h3>\n<p>Further information on research design is available in the\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"supplementary material anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10297-x#MOESM1\">Nature Portfolio Reporting Summary<\/a> linked to this article.<\/p>\n<\/div>\n<p><br \/>\n<br \/><a href=\"https:\/\/www.nature.com\/articles\/s41586-026-10297-x\">Source link <\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Subjects and surgical procedures Data were acquired from two adult male macaques (Macaca mulatta, average weight of 17\u2009kg (subject 1<\/p>","protected":false},"author":1,"featured_media":87782,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"colormag_page_container_layout":"default_layout","colormag_page_sidebar_layout":"default_layout","_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[40],"tags":[],"class_list":["post-87781","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-aktualitet"],"aioseo_notices":[],"magazineBlocksPostFeaturedMedia":{"thumbnail":"https:\/\/bisedoshqip.de\/wp-content\/uploads\/2026\/05\/41586_2026_10297_Fig1_HTML-150x150.png","medium":"https:\/\/bisedoshqip.de\/wp-content\/uploads\/2026\/05\/41586_2026_10297_Fig1_HTML-300x260.png","medium_large":"https:\/\/bisedoshqip.de\/wp-content\/uploads\/2026\/05\/41586_2026_10297_Fig1_HTML.png","large":"https:\/\/bisedoshqip.de\/wp-content\/uploads\/2026\/05\/41586_2026_10297_Fig1_HTML.png","1536x1536":"https:\/\/bisedoshqip.de\/wp-content\/uploads\/2026\/05\/41586_2026_10297_Fig1_HTML.png","2048x2048":"https:\/\/bisedoshqip.de\/wp-content\/uploads\/2026\/05\/41586_2026_10297_Fig1_HTML.png","trp-custom-language-flag":"https:\/\/bisedoshqip.de\/wp-content\/uploads\/2026\/05\/41586_2026_10297_Fig1_HTML-14x12.png","colormag-highlighted-post":"https:\/\/bisedoshqip.de\/wp-content\/uploads\/2026\/05\/41586_2026_10297_Fig1_HTML-392x272.png","colormag-featured-post-medium":"https:\/\/bisedoshqip.de\/wp-content\/uploads\/2026\/05\/41586_2026_10297_Fig1_HTML-390x205.png","colormag-featured-post-small":"https:\/\/bisedoshqip.de\/wp-content\/uploads\/2026\/05\/41586_2026_10297_Fig1_HTML-130x90.png","colormag-featured-image":"https:\/\/bisedoshqip.de\/wp-content\/uploads\/2026\/05\/41586_2026_10297_Fig1_HTML-685x445.png","colormag-default-news":"https:\/\/bisedoshqip.de\/wp-content\/uploads\/2026\/05\/41586_2026_10297_Fig1_HTML-150x150.png","colormag-featured-image-large":"https:\/\/bisedoshqip.de\/wp-content\/uploads\/2026\/05\/41586_2026_10297_Fig1_HTML.png","colormag-elementor-block-extra-large-thumbnail":"https:\/\/bisedoshqip.de\/wp-content\/uploads\/2026\/05\/41586_2026_10297_Fig1_HTML-685x480.png","colormag-elementor-grid-large-thumbnail":"https:\/\/bisedoshqip.de\/wp-content\/uploads\/2026\/05\/41586_2026_10297_Fig1_HTML-600x417.png","colormag-elementor-grid-small-thumbnail":"https:\/\/bisedoshqip.de\/wp-content\/uploads\/2026\/05\/41586_2026_10297_Fig1_HTML-285x450.png","colormag-elementor-grid-medium-large-thumbnail":"https:\/\/bisedoshqip.de\/wp-content\/uploads\/2026\/05\/41586_2026_10297_Fig1_HTML-575x198.png"},"magazineBlocksPostAuthor":{"name":"Ioni","avatar":"https:\/\/secure.gravatar.com\/avatar\/4de7d1024908d847fc21ef50fe01465508cd6bac2b59b1c21485c2342bf8bf44?s=96&d=mm&r=g"},"magazineBlocksPostCommentsNumber":"0","magazineBlocksPostExcerpt":"Subjects and surgical procedures Data were acquired from two adult male macaques (Macaca mulatta, average weight of 17\u2009kg (subject 1","magazineBlocksPostCategories":["Aktualitet"],"magazineBlocksPostViewCount":8,"magazineBlocksPostReadTime":52,"magazine_blocks_featured_image_url":{"full":["https:\/\/bisedoshqip.de\/wp-content\/uploads\/2026\/05\/41586_2026_10297_Fig1_HTML.png",685,594,false],"medium":["https:\/\/bisedoshqip.de\/wp-content\/uploads\/2026\/05\/41586_2026_10297_Fig1_HTML-300x260.png",300,260,true],"thumbnail":["https:\/\/bisedoshqip.de\/wp-content\/uploads\/2026\/05\/41586_2026_10297_Fig1_HTML-150x150.png",150,150,true]},"magazine_blocks_author":{"display_name":"Ioni","author_link":"https:\/\/bisedoshqip.de\/sq\/author\/drilon_admin\/"},"magazine_blocks_comment":0,"magazine_blocks_author_image":"https:\/\/secure.gravatar.com\/avatar\/4de7d1024908d847fc21ef50fe01465508cd6bac2b59b1c21485c2342bf8bf44?s=96&d=mm&r=g","magazine_blocks_category":"<a href=\"#\" class=\"category-link category-link-40\">Aktualitet<\/a>","_links":{"self":[{"href":"https:\/\/bisedoshqip.de\/sq\/wp-json\/wp\/v2\/posts\/87781","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bisedoshqip.de\/sq\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bisedoshqip.de\/sq\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bisedoshqip.de\/sq\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bisedoshqip.de\/sq\/wp-json\/wp\/v2\/comments?post=87781"}],"version-history":[{"count":0,"href":"https:\/\/bisedoshqip.de\/sq\/wp-json\/wp\/v2\/posts\/87781\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/bisedoshqip.de\/sq\/wp-json\/wp\/v2\/media\/87782"}],"wp:attachment":[{"href":"https:\/\/bisedoshqip.de\/sq\/wp-json\/wp\/v2\/media?parent=87781"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bisedoshqip.de\/sq\/wp-json\/wp\/v2\/categories?post=87781"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bisedoshqip.de\/sq\/wp-json\/wp\/v2\/tags?post=87781"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}