Connecting the dots: rethinking the relationship between code and prose writing with functional connectivity
Zachary Karas, Andrew Jahn, Westley Weimer, Yu Huang
Abstract
Medical imaging studies of software engineering have risen in popularity and may reveal the neural underpinnings of coding activities. To date, however, all studies in computer science venues have treated brain regions independently and in isolation. Since most complex neural activity involves coordination among multiple regions, previous analyses may overlook neural behavior.
We propose to apply functional connectivity analysis to medical imaging data from software engineering tasks. Informally, this analysis treats the brain as a graph, rather than a series of independent modules, and statistically infers relevant edges. We present a functional connectivity analysis of existing data, which elucidates the interconnections between code writing and prose writing, especially regarding higher mathematics and semantic processing. First, we found a significant link between Broca's Area (language) and the Number Form Area (higher mathematics) for coding. This both refines previous interpretations that code writing and natural language are distinct from each other, and may also contribute to the understanding of the Number Form Area in the Psychology literature. Second, we identify an area with important functional connectivity for both prose writing and coding, unlike previous analyses that associated it with coding. This advances our neural understanding of coding and prose writing, and was only exposed by using functional connectivity analysis. Third, for coding, we find a strong functional connectivity result for a brain region involved in semantic processing for language, with implications for CS training. Finally, we find a neural relationship between coding and expertise, including a more grounded explanation than prior work.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 5fc5b814-1db3-4220-a466-4a0ed9c4cf1bCited by top-tier papers3
- Convergent Representations of Computer Programs in Human and Artificial Neural NetworksShashank Srikant, Ben Lipkin, Anna A. Ivanova, Evelina Fedorenko et al.NeurIPS 2022 · 16 citations
- Causal Relationships and Programming Outcomes: A Transcranial Magnetic Stimulation ExperimentHammad Ahmad, Madeline Endres, Kaia Newman, Priscila Santiesteban et al.ICSE 2024 · 2 citations
- Hints Help Finding and Fixing Bugs Differently in Python and Text-Based Program RepresentationsRuchit Rawal, Victor-Alexandru Padurean, Sven Apel, Adish Singla et al.ICSE 2025 · 1 citation
Builds on3
- Neurological divide: an fMRI study of prose and code writingRyan Krueger, Yu Huang, Xinyu Liu, Tyler Santander et al.ICSE 2020 · 38 citations
- Biases and differences in code review using medical imaging and eye-tracking: genders, humans, and machinesYu Huang, Kevin Leach, Zohreh Sharafi, Nicholas McKay et al.FSE 2020 · 37 citations
- Relating Reading, Visualization, and Coding for New Programmers: A Neuroimaging StudyMadeline Endres, Zachary Karas, Xiaosu Hu, Ioulia Kovelman et al.ICSE 2021 · 1 citation
Related papers
- Studying Programmers Without Programming: Investigating Expertise Using Resting State fMRIZachary Karas, Benjamin Gold, Violet Zhou, Noah Reardon et al.ICSE 2025
- Learning Interpretable Models for Coupled Networks Under Domain ConstraintsHongyuan You, Sikun Lin, Ambuj K. SinghAAAI 2021 · 1 citation
- Can fMRI reveal the representation of syntactic structure in the brain?Aniketh Janardhan Reddy, Leila WehbeNeurIPS 2021 · 54 citations
- Learning Dynamic Graph Representation of Brain Connectome with Spatio-Temporal AttentionByung-Hoon Kim, Jong Chul Ye, Jae-Jin KimNeurIPS 2021 · 224 citations
- fMRI predictors based on language models of increasing complexity recover brain left lateralizationLaurent Bonnasse-Gahot, Christophe PallierNeurIPS 2024 · 15 citations
