Measuring neural efficiency of program comprehension
The DOI matches its Crossref record; 49 of the 49 references it cites were found in a registry or an index.
Abstract
Most modern software programs cannot be understood in their entirety by a single programmer. Instead, programmers must rely on a set of cognitive processes that aid in seeking, filtering, and shaping relevant information for a given programming task. Several theories have been proposed to explain these processes, such as ``beacons,' for locating relevant code, and ``plans,'' for encoding cognitive models. However, these theories are decades old and lack validation with modern cognitive-neuroscience methods. In this paper, we report on a study using functional magnetic resonance imaging (fMRI) with 11 participants who performed program comprehension tasks. We manipulated experimental conditions related to beacons and layout to isolate specific cognitive processes related to bottom-up comprehension and comprehension based on semantic cues. We found evidence of semantic chunking during bottom-up comprehension and lower activation of brain areas during comprehension based on semantic cues, confirming that beacons ease comprehension.
Overview
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
In the citing paper
“Psycho-physiological measures like EEG, which have been validated for measuring cognitive load in traditional programming contexts, could provide valuable insights into the mental demands of working with AI assistants.”
From Towards Decoding Developer Cognition in the Age of AI Assistants (2025) · cites this paper as [14]
In the citing paper
“Siegmund [14] investigated cognitive load during code comprehension tasks using fMRI and found distinct activation patterns in regions related to working memory, attention, and language processing.”
From Towards Decoding Developer Cognition in the Age of AI Assistants (2025) · cites this paper as [14]
Citations
Cites
A default mode of brain function
Raichle, M. E., MacLeod, A. M., Snyder, A. Z., Powers, W. J., Gusnard, D. A., & Shulman, G. L. (2001) · Proceedings of the National Academy of Sciences · doi:10.1073/pnas.98.2.676 · Cited by 12,190
Co-Planar Stereotaxic Atlas of the Human Brain
Talairach, J., & Tournoux, P. (1988) · Medical Entomology and Zoology · Cited by 11,798
Binder, J. R., Desai, R. H., Graves, W. W., & Conant, L. L. (2009) · Cerebral Cortex · doi:10.1093/cercor/bhp055 · Cited by 4,060 · cited 1×
“The role of BA 21 lies in processing semantic information at theword level [1, 4, 14], which takes place when participants extract the meaning of single program tokens.”
BackgroundDISCONNEXION SYNDROMES IN ANIMALS AND MAN
GESCHWIND, N. (1965) · Brain · doi:10.1093/brain/88.2.237 · Cited by 3,403 · cited 1×
“ing comprehension—the first function attributed to the angular gyrus [13, 21].”
BackgroundTowards a neural basis of auditory sentence processing
Friederici, A. D. (2002) · Trends in Cognitive Sciences · doi:10.1016/s1364-6613(00)01839-8 · Cited by 2,231 · cited 1×
“BA 44 is believed to play an important role in building syntactic structures [16, 18, 19].”
BackgroundThe Angular Gyrus: Multiple Functions and Multiple Subdivisions
Seghier, M. L. (2013) · The Neuroscientist · doi:10.1177/1073858412440596 · Cited by 1,585
Functional Magnetic Resonance Imaging
(2014) · Encyclopedia of Criminal Justice Ethics · doi:10.4135/9781452274102.n135 · Cited by 1,225
Conceptual Processing during the Conscious Resting State: A Functional MRI Study
Binder, J. R., Frost, J. A., Hammeke, T. A., Bellgowan, P. S. F., Rao, S. M., & Cox, R. W. (1999) · Journal of Cognitive Neuroscience · doi:10.1162/089892999563265 · Cited by 1,066 · cited 1×
“Regarding deactivation relative to rest, it has been suggested that reading affords fewer semantic associations than free associating [5].”
BackgroundLesion analysis of the brain areas involved in language comprehension
Dronkers, N. F., Wilkins, D. P., Van Valin, R. D., Redfern, B. B., & Jaeger, J. J. (2004) · Cognition · doi:10.1016/j.cognition.2003.11.002 · Cited by 1,035 · cited 1×
“The role of BA 21 lies in processing semantic information at theword level [1, 4, 14], which takes place when participants extract the meaning of single program tokens.”
BackgroundTurken, A. U., & Dronkers, N. F. (2011) · Frontiers in System Neuroscience · doi:10.3389/fnsys.2011.00001 · Cited by 1,012 · cited 1×
“The role of BA 21 lies in processing semantic information at theword level [1, 4, 14], which takes place when participants extract the meaning of single program tokens.”
BackgroundIntelligence and neural efficiency
Neubauer, A. C., & Fink, A. (2009) · Neuroscience & Biobehavioral Reviews · doi:10.1016/j.neubiorev.2009.04.001 · Cited by 878 · cited 1×
“Neural efficiency is a phenomenon where lower brain activation indicates that a cognitive process is more efficient and thereby is perceived as easier [30].”
BackgroundEmpirical Studies of Programming Knowledge
Soloway, E., & Ehrlich, K. (1984) · IEEE Transactions on Software Engineering · doi:10.1109/tse.1984.5010283 · Cited by 877 · cited 3×
“Finally, it was proposed that programs follow basic rules of discourse, and that any violation to “accepted conventions of programming” would hamper an experienced programmer’s ability to use plans [44].”
BackgroundResultInfluentialTowards a theory of the comprehension of computer programs
Brooks, R. (1983) · International Journal of Man-Machine Studies · doi:10.1016/s0020-7373(83)80031-5 · Cited by 756 · cited 3×
“Its absence during comprehension based on semantic cues is consistent with successive hypothesis refinement [8].”
BackgroundResultWhen zero is not zero: the problem of ambiguous baseline conditions in fMRI
Stark, C. E. L., & Squire, L. R. (2001) · Proceedings of the National Academy of Sciences · doi:10.1073/pnas.221462998 · Cited by 724 · cited 1×
“Underestimating which brain areas are involved in cognitive tasks is a common problem, especially for areas belonging to the default brain network [45].”
BackgroundStimulus structures and mental representations in expert comprehension of computer programs
Pennington, N. (1987) · Cognitive Psychology · doi:10.1016/0010-0285(87)90007-7 · Cited by 526 · cited 1×
“In contrast, when code lacks familiar semantic cues, programmers must use bottom-up comprehension, a cognitive process that involves obtaining meaning from every individual statement before synthesizing them into a holistic understanding of the entire program [32].”
BackgroundCognition-activated low-frequency modulation of light absorption in human brain.
Chance, B., Zhuang, Z., UnAh, C., Alter, C., & Lipton, L. (1993) · Proceedings of the National Academy of Sciences · doi:10.1073/pnas.90.8.3770 · Cited by 426 · cited 1×
“Measuring changes to these levels is called the BOLD (Blood Oxygenation Level Dependent) response [9]. fMRI can detect the difference between the magnetic properties of oxygenated and deoxygenated blood, enabling it to locate activated brain areas.”
BackgroundThe brain basis of syntactic processes: functional imaging and lesion studies
Friederici, A. D., & Kotz, S. A. (2003) · NeuroImage · doi:10.1016/j.neuroimage.2003.09.003 · Cited by 412 · cited 1×
“BA 44 is believed to play an important role in building syntactic structures [16, 18, 19].”
BackgroundBrodmann’s Localisation in the Cerebral Cortex
(2005) · Springer eBooks · doi:10.1007/b138298 · Cited by 385
Syntactic/semantic interactions in programmer behavior: A model and experimental results
Shneiderman, B., & Mayer, R. (1979) · International Journal of Computer & Information Sciences · doi:10.1007/bf00977789 · Cited by 382 · cited 2×
“Researchers theorized that programmers must hold these elements in working memory, and through a process called semantic chunking, they can abstract these pieces of information into higher order concepts [39].”
BackgroundStructured programming, theory and practice
Linger, R. C., Mills, H. D., & Witt, B. I. (1979) · CERN Document Server (European Organization for Nuclear Research) · Cited by 373
Grodzinsky, Y., & Santi, A. (2008) · Trends in Cognitive Sciences · doi:10.1016/j.tics.2008.09.001 · Cited by 333 · cited 1×
“Together with BA 40, they all help to integrate relevant semantic information [16, 22].”
BackgroundFiebach, C. J., Schlesewsky, M., Lohmann, G., von Cramon, D. Y., & Friederici, A. D. (2005) · Human Brain Mapping · doi:10.1002/hbm.20070 · Cited by 329 · cited 2×
“BA 44 is believed to play an important role in building syntactic structures [16, 18, 19].”
BackgroundThe Missing Link: The Role of Interhemispheric Interaction in Attentional Processing
Banich, M. T. (1998) · Brain and Cognition · doi:10.1006/brcg.1997.0950 · Cited by 313 · cited 1×
“Both hemispheres are recruited in complex tasks [3].”
BackgroundHierarchical artificial grammar processing engages Broca's area
Bahlmann, J., Schubotz, R. I., & Friederici, A. D. (2008) · NeuroImage · doi:10.1016/j.neuroimage.2008.04.249 · Cited by 293 · cited 1×
“Nonetheless, we confirm that the activation of BAs 21 and 44, which are closely related to natural-and artificial-language processing [2, 33, 43], are both integral to comprehend source code.”
BackgroundSur un cas de cécité verbale avec agraphie suivi d’autopsie
Dejerine, J. (1891) · MPG.PuRe (Max Planck Society) · Cited by 268
Using psycho-physiological measures to assess task difficulty in software development
Fritz, T., Begel, A., Müller, S. C., Yigit-Elliott, S., & Züger, M. (2014) · Proceedings of the 36th International Conference on Software Engineering · doi:10.1145/2568225.2568266 · Cited by 262 · cited 1×
“For example, Fritz and others [20] used a setup in which they combined several psycho-physiological measures: EEG, eye tracking, and electrodermal activity.”
MethodSelf-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 10×
“A previous study by Siegmund and others looked at the process of bottom-up program comprehension with functional magnetic resonance imaging (fMRI) [40], a technique used by to understand brain regions activated by cognitive tasks.”
BackgroundMethodResultInfluentialSelf-citationWhat artificial grammar learning reveals about the neurobiology of syntax
Petersson, K.-M., Folia, V., & Hagoort, P. (2012) · Brain and Language · doi:10.1016/j.bandl.2010.08.003 · Cited by 198 · cited 1×
“Nonetheless, we confirm that the activation of BAs 21 and 44, which are closely related to natural- and artificial-language processing [2, 33, 43], are both integral to comprehend source code.”
BackgroundHow do professional developers comprehend software?
Roehm, T., Tiarks, R., Koschke, R., & Maalej, W. (2012) · 2012 34th International Conference on Software Engineering (ICSE) · doi:10.1109/icse.2012.6227188 · Cited by 178 · cited 1×
“That is, they use understanding only as necessary to get a task done [36].”
BackgroundDivided Representation of Concurrent Goals in the Human Frontal Lobes
Charron, S., & Koechlin, E. (2010) · Science · doi:10.1126/science.1183614 · Cited by 170 · cited 1×
“For example, the right hemisphere of the brain can take on a secondary task if both the primary task and secondary task are simple and do not require access to the same types of information [10].”
BackgroundHow do professional developers comprehend software
Roehm, T., Tiarks, R., Koschke, R., & Maalej, W. (2012) · doi:10.5555/2337223.2337254 · Cited by 167
Wirth, M., Jann, K., Dierks, T., Federspiel, A., Wiest, R., & Horn, H. (2010) · NeuroImage · doi:10.1016/j.neuroimage.2010.10.039 · Cited by 159 · cited 1×
“This particular brain area has been shown to be part of the default mode network [34], which is active during resting periods between cognitively demanding tasks (e.g., [47]).”
BackgroundProgram indentation and comprehensibility
Miara, R. J., Musselman, J. A., Navarro, J. A., & Shneiderman, B. (1983) · Communications of the ACM · doi:10.1145/182.358437 · Cited by 158 · cited 2×
“code that have been the focus of early studies on semantic-cues comprehension and are believed to have a large impact on the comprehension process: beacons [7] and layout [28].”
BackgroundResultMeasuring and modeling programming experience
Siegmund, J., Kästner, C., Liebig, J., Apel, S., & Hanenberg, S. (2014) · Empirical Software Engineering · doi:10.1007/s10664-013-9286-4 · Cited by 141 · cited 2×
“Then, they completed a questionnaire on their programming experience [41] and went through the view-recall-review training of correct code snippets.”
BackgroundSelf-citationDecoding the Representation of Code in the Brain: An fMRI Study of Code Review and Expertise
Floyd, B., Santander, T., & Weimer, W. (2017) · 2017 IEEE/ACM 39th International Conference on Software Engineering (ICSE) · doi:10.1109/icse.2017.24 · Cited by 125 · cited 2×
“Directly inspired by that study, Floyd and others also conducted an fMRI study, but focused on a comparison of the representation of programming and natural languages [17].”
BackgroundViews on Internal and External Validity in Empirical Software Engineering
Siegmund, J., Siegmund, N., & Apel, S. (2015) · Cited by 121
Self-citationUsing a behavioral theory of program comprehension in software engineering
Brooks, R. (1978) · doi:10.5555/800099.803210 · Cited by 97
Neural Correlates of Artificial Grammar Learning
Skosnik, P. D., Mirza, F., Gitelman, D. R., Parrish, T. B., Mesulam, M. M., & Reber, P. J. (2002) · NeuroImage · doi:10.1006/nimg.2002.1291 · Cited by 96 · cited 1×
“Nonetheless, we confirm that the activation of BAs 21 and 44, which are closely related to natural-and artificial-language processing [2, 33, 43], are both integral to comprehend source code.”
BackgroundMining biometric data to predict programmer expertise and task difficulty
Lee, S., Hooshyar, D., Ji, H., Nam, K., & Lim, H. (2017) · Cluster Computing · doi:10.1007/s10586-017-0746-2 · Cited by 92 · cited 1×
“Lee and others used a combination of EEG and eye tracking to predict task difficulty and programmer expertise [25].”
MethodUnderstanding Programming Expertise: An Empirical Study of Phasic Brain Wave Changes
Crk, I., Kluthe, T., & Stefik, A. (2015) · ACM Transactions on Computer-Human Interaction · doi:10.1145/2829945 · Cited by 91
Inspection Methods in Programming
Rich, C. (1981) · Defense Technical Information Center (DTIC) · Cited by 90
Nakagawa, T., Kamei, Y., Uwano, H., Monden, A., Matsumoto, K., & Germán, D. M. (2014) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/2591062.2591098 · Cited by 80 · cited 1×
“Nakagawa and others used another neuro-imaging technique, called functional near-infrared spectroscopy (fNIRS), to evaluate the cerebral blood flow during mental code execution [29].”
MethodLee, S., Matteson, A., Hooshyar, D., Kim, S., Jung, J., Nam, G., & Lim, H. (2016) · 2016 IEEE 16th International Conference on Bioinformatics and Bioengineering (BIBE) · doi:10.1109/bibe.2016.30 · Cited by 65 · cited 2×
“Lee and others also used EEG in a setting similar to the fMRI study by Siegmund and others [26].”
BackgroundMethodWAP: understanding the brain at software debugging
Duraes, J., Madeira, H., Castelhano, J., Duarte, C., & Branco, M. C. (2016) · 2016 IEEE 27th International Symposium on Software Reliability Engineering (ISSRE) · doi:10.1109/issre.2016.53 · Cited by 47 · cited 1×
“Another fMRI study conducted by Duraes and others focused on locating defects in software [15].”
BackgroundBrain activity measurement during program comprehension with NIRS
Ikutani, Y., & Uwano, H. (2014) · 15th IEEE/ACIS International Conference on Software Engineering, Artificial Intelligence, Networking and Parallel/Distributed Computing (SNPD) · doi:10.1109/snpd.2014.6888727 · Cited by 43
Toward using alpha and theta brain waves to quantify programmer expertise
Crk, I., & Kluthe, T. (2014) · Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC) · doi:10.1109/embc.2014.6944840 · Cited by 40 · cited 3×
“Crk and Kluthe found that expertise leads to lower EEG signals (better neural efficiency), indicating lowered cognitive load [11].”
BackgroundMethodSubvocalization - Toward Hearing the Inner Thoughts of Developers
Parnin, C. (2011) · 2011 IEEE 19th International Conference on Program Comprehension · doi:10.1109/icpc.2011.49 · Cited by 39 · cited 1×
“, inner monologues) during programming [31].”
Self-citationAn fMRI analysis of the efficacy of Euler diagrams in logical reasoning
Sato, Y., Masuda, S., Someya, Y., Tsujii, T., & Watanabe, S. (2015) · IEEE Symposium on Visual Languages and Human-Centric Computing (VL/HCC) · doi:10.1109/vlhcc.2015.7357209 · Cited by 22 · cited 1×
“A recent fMRI study by Sato and others found that having access to Euler diagrams during logical-reasoning tasks allowed participants to offload the content of their working memory used to represent the logical statements onto the diagram itself [37].”
BackgroundFunctional Magnetic Resonance Imaging
Chen, J. J., & Cohen‐Adad, J. (2017) · Elsevier eBooks · doi:10.1016/b978-0-12-801238-3.99948-3 · Cited by 6
Research works printed but not linked: 2
- Measuring Neural Efficiency of Program Comprehension ESEC/FSE’17 September 4–8 2017 Paderborn Germany Measuring Neural Efficiency of Program Comprehension ESEC/FSE’17 September 4–8 2017 Paderborn Germany
- 10.5555/2818754.2818759 · doi:10.5555/2818754.2818759
Cited by
The effect of poor source code lexicon and readability on developers' cognitive load
Fakhoury, S., Ma, Y., Arnaoudova, V., & Adesope, O. (2018) · IEEE International Conference on Program Comprehension (ICPC) · doi:10.1145/3196321.3196347 · Cited by 159
“[36] was conducted with the aim of isolating specific cognitive processes related to bottom up and top down comprehension strategies.”
BackgroundComprehension of computer code relies primarily on domain-general executive brain regions
Ivanova, A. A., Srikant, S., Sueoka, Y., Kean, H. H., Dhamala, R., O'Reilly, U.-M., Bers, M. U., & Fedorenko, E. (2020) · eLife · doi:10.7554/elife.58906 · Cited by 111
“18 layout (Fakhoury et al., 2018; Siegmund et al., 2017), program generation (Krueger et al.”
BackgroundA Human Study of Comprehension and Code Summarization
Stapleton, S., Gambhir, Y., LeClair, A., Eberhart, Z., Weimer, W., Leach, K., & Huang, Y. (2020) · Proceedings of the 28th International Conference on Program Comprehension · doi:10.1145/3387904.3389258 · Cited by 77
“Bottom-up comprehension is a slower, more laborious task than top-down comprehension [60, 65].”
BackgroundA Look into Programmers’ Heads
Peitek, N., Siegmund, J., Apel, S., Kästner, C., Parnin, C., Bethmann, A., Leich, T., Saake, G., & Brechmann, A. (2018) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2018.2863303 · Cited by 105
“A follow-up study showed that topdown comprehension leads to a much lower activation strength (neural efficiency) than bottom-up comprehension [100].”
BackgroundResultInfluentialSelf-citationWeber, B., Fischer, T., & Riedl, R. (2021) · Journal of Systems and Software · doi:10.1016/j.jss.2021.110946 · Cited by 95
Metadata
- Authors
- Siegmund, J., Peitek, N., Parnin, C., Apel, S., Hofmeister, J., Kästner, C., Begel, A., Bethmann, A., & Brechmann, A.
- Affiliations
- University of Passau (DE)
- Leibniz Institute for Neurobiology (DE)
- North Carolina State University (US)
- University of Passau, Germany
- Carnegie Mellon University (US)
- Microsoft (United States) (US)
- Venue
- Proceedings of the 2017 11th Joint Meeting on Foundations of Software Engineering
- Publisher
- ACM
- Published
- 2017-08-21
- Pages
- 140-150
- OpenAlex
- W2741371834
- Semantic Scholar
- 19390972b9126d716f53d756148287d43be9d3ea
- Cited by
- 117
- References
- 49
- Citations by year
- 2026: 8 · 2025: 7 · 2024: 11 · 2023: 15 · 2022: 11 · 2021: 17 · 2020: 25 · 2019: 12 · 2018: 11
- FWCI
- 10.08
- Type
- conference paper
- Language
- en
- Open access
- closed
- Locations
- ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) (publishedVersion)
- Funders
- National Science Foundation
- Deutsche Forschungsgemeinschaft
- Leibniz-Gemeinschaft
- Topics
- Physical Sciences › Computer Science › Information Systems › Software Engineering Research
- Life Sciences › Neuroscience › Cognitive Neuroscience › Neuroscience, Education and Cognitive Function
- Physical Sciences › Computer Science › Computer Science Applications › Teaching and Learning Programming
- Keywords
- program comprehension, neural efficiency, beacons, semantic chunking, semantic cues, code layout, cognitive models, brain activation
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.