Lune

FSE2021Top-tier venue

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 Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

3 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Biases and differences in code review using medical imaging and eye-tracking: genders, humans, and machines cites Neurological divide: an fMRI study of prose and code writing
  • Causal Relationships and Programming Outcomes: A Transcranial Magnetic Stimulation Experiment cites Neurological divide: an fMRI study of prose and code writing
  • Causal Relationships and Programming Outcomes: A Transcranial Magnetic Stimulation Experiment cites Relating Reading, Visualization, and Coding for New Programmers: A Neuroimaging Study
  • Convergent Representations of Computer Programs in Human and Artificial Neural Networks cites Neurological divide: an fMRI study of prose and code writing
  • Relating Reading, Visualization, and Coding for New Programmers: A Neuroimaging Study cites Neurological divide: an fMRI study of prose and code writing
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. 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
  2. Causal Relationships and Programming Outcomes: A Transcranial Magnetic Stimulation ExperimentHammad Ahmad, Madeline Endres, Kaia Newman, Priscila Santiesteban et al.ICSE 2024 · 2 citations
  3. 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

  1. Neurological divide: an fMRI study of prose and code writingRyan Krueger, Yu Huang, Xinyu Liu, Tyler Santander et al.ICSE 2020 · 38 citations
  2. 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
  3. 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

  1. Studying Programmers Without Programming: Investigating Expertise Using Resting State fMRIZachary Karas, Benjamin Gold, Violet Zhou, Noah Reardon et al.ICSE 2025
  2. Learning Interpretable Models for Coupled Networks Under Domain ConstraintsHongyuan You, Sikun Lin, Ambuj K. SinghAAAI 2021 · 1 citation
  3. Can fMRI reveal the representation of syntactic structure in the brain?Aniketh Janardhan Reddy, Leila WehbeNeurIPS 2021 · 54 citations
  4. Learning Dynamic Graph Representation of Brain Connectome with Spatio-Temporal AttentionByung-Hoon Kim, Jong Chul Ye, Jae-Jin KimNeurIPS 2021 · 224 citations
  5. fMRI predictors based on language models of increasing complexity recover brain left lateralizationLaurent Bonnasse-Gahot, Christophe PallierNeurIPS 2024 · 15 citations
Dusk over the sea between two cliffs drawn in fine vertical lines