Program Comprehension Does Not Primarily Rely On the Language Centers of the Human Brain
Shashank Srikant, Anna A. Ivanova, Yotaro Sueoka, Hope H. Kean, Riva, Dhamala, Evelina Fedorenko, Marina U. Bers, Una-May O'Reilly

TL;DR
This study uses fMRI to investigate brain activity during code comprehension, finding that the Multiple Demand system, not the Language system, is primarily involved, regardless of programming language or code features.
Contribution
It provides evidence that the MD system, not language centers, supports program comprehension, challenging assumptions about language-based processing in coding.
Findings
The Language system is not consistently activated during code comprehension.
The MD system is the primary brain region involved in understanding code.
Code features like variable names and control flow do not influence brain responses.
Abstract
Our goal is to identify brain regions involved in comprehending computer programs. We use functional magnetic resonance imaging (fMRI) to investigate two candidate systems of brain regions which may support this -- the Multiple Demand (MD) system, known to respond to a range of cognitively demanding tasks, and the Language system (LS), known to primarily respond to language stimuli. We devise experiment conditions to isolate the act of code comprehension, and employ a state-of-the-art method to locate brain systems of interest. We administer these experiments in Python (24 participants) and Scratch Jr. (19 participants) - which provides a visual interface to programming, thus eliminating the effect of text in code comprehension. From this robust experiment setup, we find that the Language system is not consistently involved in code comprehension, while the MD is. Further, we find no…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research · Online Learning and Analytics · Ferroelectric and Negative Capacitance Devices
