Task-structured Modularity Emerges in Artificial Networks and Aligns with Brain Architecture | Research Square window.SnipcartSettings = { analytics: { enabled: false } }; (function() { var accessVector = localStorage.getItem('access_vector') || ''; window.dataLayer = window.dataLayer || []; if (accessVector) { window.dataLayer.push({ user: { profile: { profileInfo: { snid: accessVector } } } }); } })(); (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-K279D39R'); Browse Preprints In Review Journals COVID-19 Preprints AJE Video Bytes Research Tools Research Promotion AJE Professional Editing AJE Rubriq About Preprint Platform In Review Editorial Policies Our Team Advisory Board Help Center Sign In Submit a Preprint Cite Share Download PDF Article Task-structured Modularity Emerges in Artificial Networks and Aligns with Brain Architecture Shi Gu, Yuhang Wu, Shikuang Deng, Kangrui Du, Marcelo Mattar, and 4 more This is a preprint; it has not been peer reviewed by a journal. https://doi.org/ 10.21203/rs.3.rs-6987147/v1 This work is licensed under a CC BY 4.0 License Status: Under Review Version 1 posted You are reading this latest preprint version Abstract Understanding how neural systems develop modular organization is fundamental to both neuroscience and artificial intelligence. Although modular architectures can improve adaptability and cognitive performance, the processes leading to their emergence are poorly understood. Here we demonstrate that multitask and incremental learning enhance modularity in recurrent neural networks (RNNs) compared to single-task learning, revealing how functional demands influence the structural organization of neural networks. We trained RNNs on cognitive tasks under three distinct learning paradigms: single-task, simultaneous multitask, and incremental multitask learning. Our results suggest that networks adopting multitask learning show an enhanced degree of modularity compared to single-task training, especially when the task load exceeds the network's representation capacity. Those trained with incremental multitask learning, in particular, develop the highest degree of modularity, maintaining superior performance even when connections are selectively pruned. Furthermore, these task-induced networks exhibit structural properties more closely resembling those of biological brain networks than those based solely on spatial constraints, particularly in clustering coefficients and edge length distributions. Collectively, these findings suggest that modular brain architecture emerges not only from physical constraints but as an adaptive response to the sequential introduction of complex cognitive tasks, providing a causal explanation for how functional demands shape network topology. Our findings also illustrate how the developmental and evolutionary context of the brain, wherein multiple tasks are learned, can inform the design of artificial systems well-suited for similar environments. Biological sciences/Neuroscience/Computational neuroscience/Network models Biological sciences/Neuroscience/Cognitive neuroscience Full Text Additional Declarations There is NO Competing Interest. Supplementary Files supplement.pdf Supplementary Information Cite Share Download PDF Status: Under Review Version 1 posted You are reading this latest preprint version Research Square lets you share your work early, gain feedback from the community, and start making changes to your manuscript prior to peer review in a journal. As a division of Research Square Company, we’re committed to making research communication faster, fairer, and more useful. We do this by developing innovative software and high quality services for the global research community. Our growing team is made up of researchers and industry professionals working together to solve the most critical problems facing scientific publishing. Also discoverable on Platform About Our Team In Review Editorial Policies Advisory Board Help Center Resources Author Services Accessibility API Access RSS feed Manage Cookie Preferences © Research Square 2026 | ISSN 2693-5015 (online) Privacy Policy Terms of Service Do Not Sell My Personal Information {"props":{"pageProps":{"initialData":{"identity":"rs-6987147","acceptedTermsAndConditions":true,"allowDirectSubmit":false,"archivedVersions":[],"articleType":"Article","associatedPublications":[],"authors":[{"id":493367201,"identity":"b7bd5e04-a495-4a52-831c-8362164a7ef7","order_by":0,"name":"Shi Gu","email":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAAyAQMAAABI0h/eAAAABlBMVEX///8AAABVwtN+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAArUlEQVRIiWNgGAWjYHACxgcMPCA6gXgtzAYka2GTgNDEapGPSH9W+UPmMAM/e44Bw88dRGgxvJFjdkOC5zCDZM8bA8beM8RomZHDdsMAqMXgRo4BM2MbUVrSnxUkALXYE61FXiLBjOEAyBYJYrUY8LwxlmzgSeeROPOs4GAvUba0pz/8+LPHWo6/PXnjg59E2XIASDD2QCLzABEagLY0gMgfRKkdBaNgFIyCkQoARxoxistzt3gAAAAASUVORK5CYII=","orcid":"","institution":"Zhejiang University","correspondingAuthor":true,"prefix":"","firstName":"Shi","middleName":"","lastName":"Gu","suffix":""},{"id":493367202,"identity":"8d4e657e-f214-4bf1-b526-868f085ae51d","order_by":1,"name":"Yuhang Wu","email":"","orcid":"","institution":"University of Electronic Science and Technology of China","correspondingAuthor":false,"prefix":"","firstName":"Yuhang","middleName":"","lastName":"Wu","suffix":""},{"id":493367203,"identity":"e8d42643-688b-4280-86cd-1f8783d8b59b","order_by":2,"name":"Shikuang Deng","email":"","orcid":"","institution":"University of Electronic Science and Technology of China","correspondingAuthor":false,"prefix":"","firstName":"Shikuang","middleName":"","lastName":"Deng","suffix":""},{"id":493367204,"identity":"d0262ab9-362d-46ec-91c1-2113ee889abb","order_by":3,"name":"Kangrui Du","email":"","orcid":"","institution":"University of Electronic Science and Technology of China","correspondingAuthor":false,"prefix":"","firstName":"Kangrui","middleName":"","lastName":"Du","suffix":""},{"id":493367205,"identity":"6d179bf1-c1bd-4732-87ac-5c6340fe1a8f","order_by":4,"name":"Marcelo Mattar","email":"","orcid":"","institution":"New York University","correspondingAuthor":false,"prefix":"","firstName":"Marcelo","middleName":"","lastName":"Mattar","suffix":""},{"id":493367206,"identity":"274d9dca-af26-47bf-bd88-77ffc2ee3b40","order_by":5,"name":"Yifan Wu","email":"","orcid":"","institution":"University of Pennsylvania","correspondingAuthor":false,"prefix":"","firstName":"Yifan","middleName":"","lastName":"Wu","suffix":""},{"id":493367207,"identity":"49f87005-5027-4920-980c-b1405c396628","order_by":6,"name":"Dani Bassett","email":"","orcid":"https://orcid.org/0000-0002-6183-4493","institution":"University of Pennsylvania","correspondingAuthor":false,"prefix":"","firstName":"Dani","middleName":"","lastName":"Bassett","suffix":""},{"id":493367208,"identity":"623528fb-4fcd-48d0-8c9a-6f02f265784a","order_by":7,"name":"Huajin Tang","email":"","orcid":"","institution":"","correspondingAuthor":false,"prefix":"","firstName":"Huajin","middleName":"","lastName":"Tang","suffix":""},{"id":493367209,"identity":"fabf573c-f8d0-4d77-bd20-935d1c8b9ebf","order_by":8,"name":"Gang Pan","email":"","orcid":"https://orcid.org/0000-0002-4049-6181","institution":"Zhejiang University","correspondingAuthor":false,"prefix":"","firstName":"Gang","middleName":"","lastName":"Pan","suffix":""}],"badges":[],"createdAt":"2025-06-27 02:15:31","currentVersionCode":1,"declarations":"","doi":"10.21203/rs.3.rs-6987147/v1","doiUrl":"https://doi.org/10.21203/rs.3.rs-6987147/v1","draftVersion":[],"editorialEvents":[],"editorialNote":"","failedWorkflow":false,"files":[{"id":87973587,"identity":"f0a6f704-db8f-4afa-bde1-4c886b6fae2b","added_by":"auto","created_at":"2025-07-31 03:40:40","extension":"pdf","order_by":1,"title":"","display":"","copyAsset":false,"role":"manuscript-pdf","size":5594930,"visible":true,"origin":"","legend":"Article File","description":"","filename":"mainmanuscript.pdf","url":"https://assets-eu.researchsquare.com/files/rs-6987147/v1_covered_c794a8d3-86ad-436e-bb45-8a3b91f88609.pdf"},{"id":87972876,"identity":"0bab504e-f5c3-402b-90e3-0941694448e2","added_by":"auto","created_at":"2025-07-31 03:32:29","extension":"pdf","order_by":1,"title":"","display":"","copyAsset":false,"role":"supplement","size":1097510,"visible":true,"origin":"","legend":"Supplementary Information","description":"","filename":"supplement.pdf","url":"https://assets-eu.researchsquare.com/files/rs-6987147/v1/1b7debab15b27517321ddeba.pdf"}],"financialInterests":"There is \u003cb\u003eNO\u003c/b\u003e Competing Interest.","formattedTitle":"Task-structured Modularity Emerges in Artificial Networks and Aligns with Brain Architecture","fulltext":[],"fulltextSource":"","fullText":"","funders":[],"hasAdminPriorityOnWorkflow":false,"hasManuscriptDocX":false,"hasOptedInToPreprint":true,"hasPassedJournalQc":"","hasAnyPriority":true,"hideJournal":false,"highlight":"","institution":"","isAcceptedByJournal":false,"isAuthorSuppliedPdf":true,"isDeskRejected":"","isHiddenFromSearch":false,"isInQc":false,"isInWorkflow":false,"isPdf":true,"isPdfUpToDate":true,"isWithdrawnOrRetracted":false,"journal":{"display":true,"email":"
[email protected]","identity":"nature-portfolio","isNatureJournal":true,"hasQc":false,"allowDirectSubmit":false,"externalIdentity":"","sideBox":"","snPcode":"","submissionUrl":"","title":"Nature Portfolio","twitterHandle":"","acdcEnabled":false,"dfaEnabled":false,"editorialSystem":"ejp","reportingPortfolio":"","inReviewEnabled":true,"inReviewRevisionsEnabled":false},"keywords":"","lastPublishedDoi":"10.21203/rs.3.rs-6987147/v1","lastPublishedDoiUrl":"https://doi.org/10.21203/rs.3.rs-6987147/v1","license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"},"manuscriptAbstract":"Understanding how neural systems develop modular organization is fundamental to both neuroscience and artificial intelligence. Although modular architectures can improve adaptability and cognitive performance, the processes leading to their emergence are poorly understood. Here we demonstrate that multitask and incremental learning enhance modularity in recurrent neural networks (RNNs) compared to single-task learning, revealing how functional demands influence the structural organization of neural networks. We trained RNNs on cognitive tasks under three distinct learning paradigms: single-task, simultaneous multitask, and incremental multitask learning. Our results suggest that networks adopting multitask learning show an enhanced degree of modularity compared to single-task training, especially when the task load exceeds the network's representation capacity. Those trained with incremental multitask learning, in particular, develop the highest degree of modularity, maintaining superior performance even when connections are selectively pruned. Furthermore, these task-induced networks exhibit structural properties more closely resembling those of biological brain networks than those based solely on spatial constraints, particularly in clustering coefficients and edge length distributions. Collectively, these findings suggest that modular brain architecture emerges not only from physical constraints but as an adaptive response to the sequential introduction of complex cognitive tasks, providing a causal explanation for how functional demands shape network topology. Our findings also illustrate how the developmental and evolutionary context of the brain, wherein multiple tasks are learned, can inform the design of artificial systems well-suited for similar environments.","manuscriptTitle":"Task-structured Modularity Emerges in Artificial Networks and Aligns with Brain Architecture","msid":"","msnumber":"","nonDraftVersions":[{"code":1,"date":"2025-07-31 03:32:25","doi":"10.21203/rs.3.rs-6987147/v1","editorialEvents":[],"status":"published","journal":{"display":true,"email":"
[email protected]","identity":"nature-machine-intelligence","isNatureJournal":true,"hasQc":false,"allowDirectSubmit":false,"externalIdentity":"natmachintell","sideBox":"Learn more about [Nature Machine Intelligence](http://www.nature.com/natmachintell/)","snPcode":"","submissionUrl":"","title":"Nature Machine Intelligence","twitterHandle":"","acdcEnabled":true,"dfaEnabled":true,"editorialSystem":"ejp","reportingPortfolio":"Nature Research","inReviewEnabled":true,"inReviewRevisionsEnabled":false}}],"origin":"","ownerIdentity":"fe03812d-aec4-49b3-8b2b-9e9d3636097b","owner":[],"postedDate":"July 31st, 2025","published":true,"recentEditorialEvents":[],"rejectedJournal":[],"revision":"","amendment":"","status":"under-review","subjectAreas":[{"id":52394258,"name":"Biological sciences/Neuroscience/Computational neuroscience/Network models"},{"id":52394259,"name":"Biological sciences/Neuroscience/Cognitive neuroscience"}],"tags":[],"updatedAt":"2026-04-28T02:41:25+00:00","versionOfRecord":[],"versionCreatedAt":"2025-07-31 03:32:25","video":"","vorDoi":"","vorDoiUrl":"","workflowStages":[]},"version":"v1","identity":"rs-6987147","journalConfig":"researchsquare"},"__N_SSP":true},"page":"/article/[identity]/[[...version]]","query":{"redirect":"/article/rs-6987147","identity":"rs-6987147","version":["v1"]},"buildId":"8U1c8b4HqxoKbykW_rLl7","isFallback":false,"isExperimentalCompile":false,"dynamicIds":[84888],"gssp":true,"scriptLoader":[]}
Text is read by the "Ask this paper" AI Q&A widget below.
Extraction quality varies by source — PMC NXML preserves structure
cleanly, OA-HTML may include some navigation residue, and OA-PDF can
have broken hyphenation. The publisher copy
(via DOI)
is the canonical version.