{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/the-topology-and-geometry-of-neural","title":"The Topology and Geometry of Neural Representations","arxiv_id":"2309.11028","date":"2023-09-20","proceeding":null,"authors":["Baihan Lin","Nikolaus Kriegeskorte"],"abstract":"A central question for neuroscience is how to characterize brain representations of perceptual and cognitive content. An ideal characterization should distinguish different functional regions with robustness to noise and idiosyncrasies of individual brains that do not correspond to computational differences. Previous studies have characterized brain representations by their representational geometry, which is defined by the representational dissimilarity matrix (RDM), a summary statistic that abstracts from the roles of individual neurons (or responses channels) and characterizes the discriminability of stimuli. Here we explore a further step of abstraction: from the geometry to the topology of brain representations. We propose topological representational similarity analysis (tRSA), an extension of representational similarity analysis (RSA) that uses a family of geo-topological summary statistics that generalizes the RDM to characterize the topology while de-emphasizing the geometry. We evaluate this new family of statistics in terms of the sensitivity and specificity for model selection using both simulations and fMRI data. In the simulations, the ground truth is a data-generating layer representation in a neural network model and the models are the same and other layers in different model instances (trained from different random seeds). In fMRI, the ground truth is a visual area and the models are the same and other areas measured in different subjects. Results show that topology-sensitive characterizations of population codes are robust to noise and interindividual variability and maintain excellent sensitivity to the unique representational signatures of different neural network layers and brain regions. These methods enable researchers to calibrate comparisons among representations in brains and models to be sensitive to the geometry, the topology, or a combination of both.","url_abs":"https://arxiv.org/abs/2309.11028v3","url_pdf":"https://arxiv.org/pdf/2309.11028v3.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"the-topology-and-geometry-of-neural","repo_url":"https://github.com/doerlbh/topologicalrsa","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok"}}],"tasks":[{"task_slug":"model-selection","task_name":"Model Selection"},{"task_slug":"sensitivity","task_name":"Sensitivity"},{"task_slug":"specificity","task_name":"Specificity"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2309.11028","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2309.11028"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/doerlbh/topologicalrsa","reach":{"status":"ok"}}],"summary":{"ran":6,"unverified":2},"by_repo_kind":{"official":{"samples":8,"ran":6,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":8,"samples":[{"code_sha256_prefix":"593a327fd9465d8e","entry":"bootstrap","repo":"doerlbh/topologicalrsa","repo_kind":"official","path":"utils_stats.py","file_url":"https://github.com/doerlbh/topologicalrsa/blob/HEAD/utils_stats.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"593a327fd9465d8e"}},{"code_sha256_prefix":"ebbd87a2310ee8c8","entry":"bootstrap_rdm_by_stims","repo":"doerlbh/topologicalrsa","repo_kind":"official","path":"utils_stats.py","file_url":"https://github.com/doerlbh/topologicalrsa/blob/HEAD/utils_stats.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"ebbd87a2310ee8c8"}},{"code_sha256_prefix":"c5959b86ab291048","entry":"get_dataset_configs","repo":"doerlbh/topologicalrsa","repo_kind":"official","path":"utils_analysis.py","file_url":"https://github.com/doerlbh/topologicalrsa/blob/HEAD/utils_analysis.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c5959b86ab291048"}},{"code_sha256_prefix":"8dccd30ed9861f9a","entry":"gt_transform","repo":"doerlbh/topologicalrsa","repo_kind":"official","path":"utils_transform.py","file_url":"https://github.com/doerlbh/topologicalrsa/blob/HEAD/utils_transform.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"8dccd30ed9861f9a"}},{"code_sha256_prefix":"770e68e2eaaa5fe3","entry":"minmax_transform","repo":"doerlbh/topologicalrsa","repo_kind":"official","path":"utils_transform.py","file_url":"https://github.com/doerlbh/topologicalrsa/blob/HEAD/utils_transform.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"770e68e2eaaa5fe3"}},{"code_sha256_prefix":"066e56c612825712","entry":"rank_transform","repo":"doerlbh/topologicalrsa","repo_kind":"official","path":"utils_transform.py","file_url":"https://github.com/doerlbh/topologicalrsa/blob/HEAD/utils_transform.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"066e56c612825712"}},{"code_sha256_prefix":"486bb0f2d8ee647c","entry":"get_dataset","repo":"doerlbh/topologicalrsa","repo_kind":"official","path":"utils_analysis.py","file_url":"https://github.com/doerlbh/topologicalrsa/blob/HEAD/utils_analysis.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"486bb0f2d8ee647c"}},{"code_sha256_prefix":"47f880816ce2900c","entry":"inner_boots","repo":"doerlbh/topologicalrsa","repo_kind":"official","path":"utils_stats.py","file_url":"https://github.com/doerlbh/topologicalrsa/blob/HEAD/utils_stats.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"47f880816ce2900c"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}