Comprehension of computer code relies primarily on domain-general executive brain regions
Open accessThe DOI matches its Crossref record; 49 of the 49 references it cites were found in a registry or an index.
Abstract
Computer programming is a novel cognitive tool that has transformed modern society. What cognitive and neural mechanisms support this skill? Here, we used functional magnetic resonance imaging to investigate two candidate brain systems: the multiple demand (MD) system, typically recruited during math, logic, problem solving, and executive tasks, and the language system, typically recruited during linguistic processing. We examined MD and language system responses to code written in Python, a text-based programming language (Experiment 1) and in ScratchJr, a graphical programming language (Experiment 2); for both, we contrasted responses to code problems with responses to content-matched sentence problems. We found that the MD system exhibited strong bilateral responses to code in both experiments, whereas the language system responded strongly to sentence problems, but weakly or not at all to code problems. Thus, the MD system supports the use of novel cognitive tools even when the input is structurally similar to natural language.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
lmerTest Package: Tests in Linear Mixed Effects Models
Kuznetsova, A., Brockhoff, P. B., & Christensen, R. H. B. (2017) · Journal of Statistical Software · doi:10.18637/jss.v082.i13 · Cited by 24,346
Double-slit photoelectron interference in strong-field ionization of the neon dimer
Kunitski, M., Eicke, N., Huber, P., Köhler, J., Zeller, S., Voigtsberger, J., Schlott, N., Henrichs, K., Sann, H., Trinter, F., et al. (2019) · Nature Communications · doi:10.1038/s41467-018-07882-8 · Cited by 8,162
Wing, J. M. (2006) · Communications of the ACM · doi:10.1145/1118178.1118215 · Cited by 8,102
The faculty of language: what is it, who has it, and how did it evolve?
Hauser, M. D., Chomsky, N., & Fitch, W. T. (2002) · Science · doi:10.1126/science.298.5598.1569 · Cited by 5,189
Common regions of the human frontal lobe recruited by diverse cognitive demands
Duncan, J., & Owen, A. M. (2000) · Trends in Neurosciences · doi:10.1016/s0166-2236(00)01633-7 · Cited by 2,498
Can cognitive processes be inferred from neuroimaging data?
POLDRACK, R. (2006) · Trends in Cognitive Sciences · doi:10.1016/j.tics.2005.12.004 · Cited by 2,249
The multiple-demand (MD) system of the primate brain: mental programs for intelligent behaviour
Duncan, J. (2010) · Trends in Cognitive Sciences · doi:10.1016/j.tics.2010.01.004 · Cited by 1,846 · cited 10×
“Prior research (Assem et al., 2020; Duncan, 2010, 2013; Duncan & Owen, 2000) has shown that executive processes — such as attention, working memory, and cognitive control — recruit a set of bilateral frontal and parietal brain regions collectively known as the multiple demand (MD) system.”
BackgroundMethodInfluentialCategorical Representation of Visual Stimuli in the Primate Prefrontal Cortex
Freedman, D. J., Riesenhuber, M., Poggio, T., & Miller, E. K. (2001) · Science · doi:10.1126/science.291.5502.312 · Cited by 1,123
Broad domain generality in focal regions of frontal and parietal cortex
Fedorenko, E., Duncan, J., & Kanwisher, N. (2013) · Proceedings of the National Academy of Sciences · doi:10.1073/pnas.1315235110 · Cited by 952
Self-citationFunctional specificity in the human brain: a window into the functional architecture of the mind
Kanwisher, N. (2010) · Proceedings of the National Academy of Sciences · doi:10.1073/pnas.1005062107 · Cited by 929
Topographic mapping of a hierarchy of temporal receptive windows using a narrated story
Lerner, Y., Honey, C. J., Silbert, L. J., & Hasson, U. (2011) · The Journal of Neuroscience · doi:10.1523/jneurosci.3684-10.2011 · Cited by 834 · cited 1×
“narrative processing recruits systems outside the regions that support single sentence processing (Baldassano et al., 2018; Blank & Fedorenko, 2020; Ferstl et al., 2008; Jacoby & Fedorenko, 2020; Lerner et al., 2011; Simony et al., 2016), reading more complex pieces of code might recruit an extended, or a different, s…”
BackgroundInferring mental states from neuroimaging data: from reverse inference to large-scale decoding
Poldrack, R. A. (2011) · Neuron · doi:10.1016/j.neuron.2011.11.001 · Cited by 821
Hierarchical process memory: memory as an integral component of information processing
Hasson, U., Chen, J., & Honey, C. J. (2015) · Trends in Cognitive Sciences · doi:10.1016/j.tics.2015.04.006 · Cited by 749
The extended language network: A meta-analysis of neuroimaging studies on text comprehension
Ferstl, E. C., Neumann, J., Bogler, C., & von Cramon, D. Y. (2008) · Human Brain Mapping · doi:10.1002/hbm.20422 · Cited by 703 · cited 1×
“…narrative processing recruits systems outside the regions that support single sentence processing (Baldassano et al., 2018; Blank & Fedorenko, 2020; Ferstl et al., 2008; Jacoby & Fedorenko, 2020; Lerner et al., 2011; Simony et al., 2016), reading more complex pieces of code might recruit an…”
BackgroundNew method for fMRI investigations of language: defining ROIs functionally in individual subjects
Fedorenko, E., Hsieh, P.-J., Nieto-Castañón, A., Whitfield-Gabrieli, S., & Kanwisher, N. (2010) · Journal of Neurophysiology · doi:10.1152/jn.00032.2010 · Cited by 686 · cited 8×
“These fROIs were defined using the Group-constrained Subject-Specific (GSS) approach (Fedorenko et al. 2010; Julian et al. 2012) where a set of spatial masks, or parcels, is combined with each individual subject’s localizer”
BackgroundMethodInfluentialSelf-citationPromises and limitations of human intracranial electroencephalography
Parvizi, J., & Kastner, S. (2018) · Nature Neuroscience · doi:10.1038/s41593-018-0108-2 · Cited by 631
Reworking the language network
Fedorenko, E., & Thompson-Schill, S. L. (2014) · Trends in Cognitive Sciences · doi:10.1016/j.tics.2013.12.006 · Cited by 615
Self-citationFunctional specificity for high-level linguistic processing in the human brain
Fedorenko, E., Behr, M. K., & Kanwisher, N. (2011) · Proceedings of the National Academy of Sciences · doi:10.1073/pnas.1112937108 · Cited by 595 · cited 11×
“Studies of math and logic, domains that also make extensive use of symbols, show that those domains do not rely on the language system (Amalric and Dehaene, 2019; Cohen et al., 2000; Fedorenko et al., 2011; Monti et al., 2009; Monti et al., 2012; Pinel and Dehaene, 2010; Varley et al., 2005), a conclusion consistent w…”
BackgroundMethodResultInfluentialSelf-citationDynamic reconfiguration of the default mode network during narrative comprehension
Simony, E., Honey, C. J., Chen, J., Lositsky, O., Yeshurun, Y., Wiesel, A., & Hasson, U. (2016) · Nature Communications · doi:10.1038/ncomms12141 · Cited by 588 · cited 1×
“narrative processing recruits systems outside the regions that support single sentence processing (Baldassano et al., 2018; Blank & Fedorenko, 2020; Ferstl et al., 2008; Jacoby & Fedorenko, 2020; Lerner et al., 2011; Simony et al., 2016), reading more complex pieces of code might recruit an extended, or a different, s…”
BackgroundEvolution, brain, and the nature of language
Berwick, R. C., Friederici, A. D., Chomsky, N., & Bolhuis, J. J. (2013) · Trends in Cognitive Sciences · doi:10.1016/j.tics.2012.12.002 · Cited by 583
Divide and conquer: A defense of functional localizers
Saxe, R., Brett, M., & Kanwisher, N. (2006) · NeuroImage · doi:10.1016/j.neuroimage.2005.12.062 · Cited by 544 · cited 2×
“Second, we use independent ‘localizer’ tasks (Brett et al., 2002; Fedorenko et al., 2010; Saxe et al., 2006) to identify our networks of interest: a working memory task to localize the MD”
MethodThe Structure of Cognition: Attentional Episodes in Mind and Brain
Duncan, J. (2013) · Neuron · doi:10.1016/j.neuron.2013.09.015 · Cited by 471
Origins of the brain networks for advanced mathematics in expert mathematicians
Amalric, M., & Dehaene, S. (2016) · Proceedings of the National Academy of Sciences · doi:10.1073/pnas.1603205113 · Cited by 413 · cited 2×
“, 2013), although this activity tends to be left-lateralized (Amalric and Dehaene, 2016; Amalric and Dehaene, 2019; Goel and Dolan, 2001; Micheloyannis et al., 2005; Monti et al., 2007; Monti et al., 2009; Pinel and Dehaene, 2010; Prabhakaran et al., 1997; Reverberi et al., 2009).”
BackgroundLearning a Metric for Code Readability
Buse, R. P. L., & Weimer, W. R. (2010) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2009.70 · Cited by 396
MAPS IN THE BRAIN: What Can We Learn from Them?
Chklovskii, D. B., & Koulakov, A. A. (2004) · Annual Review of Neuroscience · doi:10.1146/annurev.neuro.27.070203.144226 · Cited by 366
Toward a universal decoder of linguistic meaning from brain activation
Pereira, F., Lou, B., Pritchett, B., Ritter, S., Gershman, S. J., Kanwisher, N., Botvinick, M., & Fedorenko, E. (2018) · Nature Communications · doi:10.1038/s41467-018-03068-4 · Cited by 324
Self-citationVarley, R. A., Klessinger, N. J. C., Romanowski, C. A. J., & Siegal, M. (2005) · Proceedings of the National Academy of Sciences · doi:10.1073/pnas.0407470102 · Cited by 280
Nieto-Castañón, A., & Fedorenko, E. (2012) · NeuroImage · doi:10.1016/j.neuroimage.2012.06.065 · Cited by 247 · cited 2×
“, 2019b) and leads to higher sensitivity and functional resolution (Nieto-Castañón and Fedorenko, 2012).”
BackgroundMethodSelf-citationUnderstanding understanding source code with functional magnetic resonance imaging
Siegmund, J., Kästner, C., Apel, S., Parnin, C., Bethmann, A., Leich, T., Saake, G., & Brechmann, A. (2014) · Proceedings of the 36th International Conference on Software Engineering · doi:10.1145/2568225.2568252 · Cited by 219 · cited 1×
“Our findings suggest that earlier reports of left-lateralized code-evoked activity (Siegmund et al., 2014) may reflect processing program content rather than code comprehension per se.”
fMRI reveals language-specific predictive coding during naturalistic sentence comprehension
Shain, C., Blank, I. A., van Schijndel, M., Schuler, W., & Fedorenko, E. (2020) · Neuropsychologia · doi:10.1016/j.neuropsychologia.2019.107307 · Cited by 215
Self-citationSelective and invariant neural responses to spoken and written narratives
Regev, M., Honey, C. J., Simony, E., & Hasson, U. (2013) · The Journal of Neuroscience · doi:10.1523/jneurosci.1580-13.2013 · Cited by 215 · cited 1×
“These regions respond robustly to linguistic input, both visual and auditory (Deniz et al., 2019; Fedorenko et al., 2010; Nakai et al., 2020; Regev et al., 2013; Scott et al., 2017).”
BackgroundDeniz, F., Nunez-Elizalde, A. O., Huth, A. G., & Gallant, J. L. (2019) · The Journal of Neuroscience · doi:10.1523/jneurosci.0675-19.2019 · Cited by 214 · cited 1×
“These regions respond robustly to linguistic input, both visual and auditory (Deniz et al., 2019; Fedorenko et al., 2010; Nakai et al., 2020; Regev et al., 2013; Scott et al., 2017).”
BackgroundBlank, I., Kanwisher, N., & Fedorenko, E. (2014) · Journal of Neurophysiology · doi:10.1152/jn.00884.2013 · Cited by 181 · cited 3×
“The hard > easy contrast has been previously shown to reliably activate bilateral frontal and parietal MD regions (Assem et al., 2020; Blank et al., 2014; Fedorenko et al., 2013).”
BackgroundMethodSelf-citationRecruitment of the default mode network during a demanding act of executive control
Crittenden, B. M., Mitchell, D. J., & Duncan, J. (2015) · eLife · doi:10.7554/elife.06481 · Cited by 176 · cited 1×
“The sample size for both experiments was determined based on previous experiments from our group (e.g., Blank & Fedorenko, 2020; Fedorenko et al., 2020; Ivanova et al., 2019) and others (e.g., Crittenden et al., 2015; Hugdahl et al., 2015; Shashidhara, Mitchell, et al., 2019).”
MethodThought Beyond Language: Neural Dissociation of Algebra and Natural Language
Monti, M. M., Parsons, L. M., & Osherson, D. N. (2012) · Psychological Science · doi:10.1177/0956797612437427 · Cited by 171 · cited 1×
“Studies of math and logic, domains that also make extensive use of symbols, show that those domains do not rely on the language system (Amalric and Dehaene, 2019; Cohen et al., 2000; Fedorenko et al., 2011; Monti et al., 2009; Monti et al., 2012; Pinel and Dehaene, 2010; Varley et al., 2005), a conclusion consistent w…”
ResultLack of selectivity for syntax relative to word meanings throughout the language network
Fedorenko, E., Blank, I. A., Siegelman, M., & Mineroff, Z. (2020) · Cognition · doi:10.1016/j.cognition.2020.104348 · Cited by 170 · cited 4×
“The sample size for both experiments was determined based on previous experiments from our group (e.g., Blank & Fedorenko, 2020; Fedorenko et al., 2020; Ivanova et al., 2019) and others (e.g., Crittenden et al., 2015; Hugdahl et al., 2015; Shashidhara, Mitchell, et al., 2019).”
BackgroundMethodResultInfluentialSelf-citationThe boundaries of language and thought in deductive inference
Monti, M. M., Parsons, L. M., & Osherson, D. N. (2009) · Proceedings of the National Academy of Sciences · doi:10.1073/pnas.0902422106 · Cited by 170 · cited 3×
“, 2013), although this activity tends to be left-lateralized (Amalric and Dehaene, 2016; Amalric and Dehaene, 2019; Goel and Dolan, 2001; Micheloyannis et al., 2005; Monti et al., 2007; Monti et al., 2009; Pinel and Dehaene, 2010; Prabhakaran et al., 1997; Reverberi et al., 2009).”
BackgroundMethodResultOn the existence of a generalized non-specific task-dependent network
Hugdahl, K., Raichle, M. E., Mitra, A., & Specht, K. (2015) · Frontiers in Human Neuroscience · doi:10.3389/fnhum.2015.00430 · Cited by 169 · cited 1×
“Numerous studies have shown that the same brain regions are activated by diverse executivelydemanding tasks (Duncan & Owen, 2000; Fedorenko et al., 2013; Hugdahl et al., 2015; Shashidhara, Mitchell, et al., 2019; Woolgar et al., 2011).”
BackgroundBraga, R. M., Van Dijk, K. R. A., Polimeni, J. R., Eldaief, M. C., & Buckner, R. L. (2019) · Journal of Neurophysiology · doi:10.1152/jn.00808.2018 · Cited by 162
A Survey of Machine Learning for Big Code and Naturalness
Allamanis, M., Barr, E. T., Devanbu, P., & Sutton, C. (2019) · ACM Computing Surveys · doi:10.1145/3212695 · Cited by 150 · cited 1×
“The third similarity between code and natural language is the communicative use of those systems (Allamanis et al., 2018).”
BackgroundLocalizing Pain Matrix and Theory of Mind networks with both verbal and non-verbal stimuli
Jacoby, N., Bruneau, E., Koster-Hale, J., & Saxe, R. (2016) · NeuroImage · doi:10.1016/j.neuroimage.2015.11.025 · Cited by 141
A distinct cortical network for mathematical knowledge in the human brain
Amalric, M., & Dehaene, S. (2019) · NeuroImage · doi:10.1016/j.neuroimage.2019.01.001 · Cited by 126
A new fun and robust version of an fMRI localizer for the frontotemporal language system
Scott, T. L., Gallée, J., & Fedorenko, E. (2017) · Cognitive Neuroscience · doi:10.1080/17588928.2016.1201466 · Cited by 125 · cited 1×
“These regions respond robustly to linguistic input, both visual and auditory (Deniz et al., 2019; Fedorenko et al., 2010; Nakai et al., 2020; Regev et al., 2013; Scott et al., 2017).”
BackgroundSelf-citationNeuroimaging of Language: Why Hasn't a Clearer Picture Emerged?
Fedorenko, E., & Kanwisher, N. (2009) · Language and Linguistics Compass · doi:10.1111/j.1749-818x.2009.00143.x · Cited by 117
Self-citation(2017) · doi:10.1145/3106237.3106268 · Cited by 117
Intact first- and second-order false belief reasoning in a patient with severely impaired grammar
Apperly, I. A., Samson, D., Carroll, N., Hussain, S., & Humphreys, G. (2006) · Social Neuroscience · doi:10.1080/17470910601038693 · Cited by 109 · cited 1×
“…between language and other communication-related activities, such as gesture processing (Jouravlev et al., 2019), intentional actions (Pritchett et al., 2018), or theory of mind tasks (Apperly et al., 2006; Dronkers et al., 1998; Jacoby et al., 2016; Paunov et al., 2019; Varley & Siegal, 2000).”
BackgroundThe Language Network Is Recruited but Not Required for Nonverbal Event Semantics
Ivanova, A. A., Mineroff, Z., Zimmerer, V., Kanwisher, N., Varley, R., & Fedorenko, E. (2021) · Neurobiology of Language · doi:10.1162/nol_a_00030 · Cited by 65
Self-citationLiu, Y.-F., Kim, J., Wilson, C., & Bedny, M. (2020) · eLife · doi:10.7554/elife.59340 · Cited by 64 · cited 1×
“The results of our work align well with the results of another recent study on program comprehension (Liu et al., 2020).”
ResultSpeech-accompanying gestures are not processed by the language-processing mechanisms
Jouravlev, O., Zheng, D., Balewski, Z., Le Arnz Pongos, A., Levan, Z., Goldin-Meadow, S., & Fedorenko, E. (2019) · Neuropsychologia · doi:10.1016/j.neuropsychologia.2019.107132 · Cited by 39
Self-citation
Cited by
Dissociating language and thought in large language models
Mahowald, K., Ivanova, A. A., Blank, I. A., Kanwisher, N., Tenenbaum, J. B., & Fedorenko, E. (2024) · Trends in Cognitive Sciences · doi:10.1016/j.tics.2024.01.011 · Cited by 345
Self-citationThe language network as a natural kind within the broader landscape of the human brain
Fedorenko, E., Ivanova, A. A., & Regev, T. I. (2024) · Nature Reviews Neuroscience · doi:10.1038/s41583-024-00802-4 · Cited by 293
Self-citationLanguage is primarily a tool for communication rather than thought
Fedorenko, E., Piantadosi, S. T., & Gibson, E. A. F. (2024) · Nature · doi:10.1038/s41586-024-07522-w · Cited by 190
“…reasoning 77–79 , formal logical reasoning 80,81 , performing demanding executive function tasks such as working memory or cognitive control tasks 77 , understanding computer code 82,83 , thinking about others’ mental states 84–86 , and making semantic judgments about objects or events 69,70,87 .”
BackgroundSelf-citationHu, J., Small, H., Kean, H., Takahashi, A., Zekelman, L., Kleinman, D., Ryan, E., Nieto-Castañón, A., Ferreira, V., & Fedorenko, E. (2023) · Cerebral Cortex · doi:10.1093/cercor/bhac350 · Cited by 73
Self-citationThe Language Network Is Recruited but Not Required for Nonverbal Event Semantics
Ivanova, A. A., Mineroff, Z., Zimmerer, V., Kanwisher, N., Varley, R., & Fedorenko, E. (2021) · Neurobiology of Language · doi:10.1162/nol_a_00030 · Cited by 65
“…but not to mental arithmetic, music perception, executive function tasks, action/gesture perception, or computer programming (Amalric & Dehaene, 2019; Fedorenko et al., 2011; Ivanova et al., 2020; Jouravlev et al., 2019; Liu et al., 2020; Monti et al., 2009, 2012; Pritchett et al., 2018).”
BackgroundSelf-citation
Metadata
- Authors
- Ivanova, A. A., Srikant, S., Sueoka, Y., Kean, H. H., Dhamala, R., O'Reilly, U.-M., Bers, M. U., & Fedorenko, E.
- Venue
- eLife
- Publisher
- eLife Sciences Publications, Ltd
- Published
- 2020-12-15
- Volume
- 9
- ISSN
- 2050-084X (ISSN-L)
- OpenAlex
- W3111309488
- Cited by
- 111
- References
- 49
- FWCI
- 12.97
- Type
- journal article
- Language
- en
- Open access
- gold
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.