The neural representations code and prose are less differentiable
|
|---|
| Benjamin Floyd, Tyler Santander, Westley Weimer |
|---|
University of Virginia
| University of Michigan |
|---|
| University of Michigan |
|---|
![]() |
|---|
| Westley Weimer | 2 |
|---|
| Source Code” (ICSE 2014) |
|---|
●Found five brain regions associated with code comprehension
|
|---|
![]() |
|---|
| Source Code” (ICSE 2014) |
|---|
●Today: Understanding 'Understanding Understanding Source Code' ?
![]() |
|---|
|
|||
|---|---|---|---|
| Expertise |
|---|
|
|---|
| ●Could this apply to CS? Westley Weimer | 6 |
|---|
| Functional Magnetic |
|---|
| Resonance Imaging (fMRI) |
|---|
|
|---|
|
|---|
| ●Blood-oxygen level dependent (BOLD) signal Westley Weimer | 7 |
|---|
| A Study in Contrasts |
|---|
|
|---|
●How can we tell if an observed pattern of activation corresponds to one activity?
| activation that vary between the stimuli/tasks Westley Weimer | 8 |
|---|
| High-Level Question |
|---|
|
|---|
| Westley Weimer | 9 |
|---|
| Code Review and Comprehension |
|---|
|
|---|
|
|---|
●One of the most effective techniques in software
| Westley Weimer | 10 |
|---|
| Experimental Design: 3 Tasks |
|---|
![]() |
|
|---|---|
| Westley Weimer | 11 |
| Experiment Setup and Data |
|---|
●Right-handed, native English speakers, corrected-
to-normal vision, IRB-HSR #18420, etc.
| 12 |
|---|
| Dead Fish and Software Bugs |
|---|
|
13 |
|---|
| Results: Mind Reading |
|---|

| Westley Weimer | 14 |
|---|
|
|---|
| brain regions? |
|---|
decision-making, language, conflict monitoring, etc.)
were highly weighted
| Westley Weimer | 15 |
|---|
| classification accuracy? |
|---|
●How accurately our model distinguishes between Code Comprehension and Prose significantly predicted expertise (r = -0.44, p=0.016)
●The inverse relationship between accuracy and expertise suggests that, as one develops more skill in coding, the neural representations of code and prose are less differentiable. That is, programming languages are treated more like
| natural languages with greater expertise. Westley Weimer | 16 |
|---|
| Costs and Reproducible Research |
|---|
●Including IRB protocol application, recruitment materials, screening forms, training videos, visual stimuli, etc.
|
17 |
|---|
| Future Studies |
|---|
|
|---|
| ●Transcranial magnetic stimulation (read-write) |
|---|
|
|---|
| Westley Weimer | 18 |
|---|
| Call To Arms |
|---|
|
|---|
|
19 |
|---|
| Conclusion |
|---|
●Our classifiers distinguish them based solely on brain activity
| ●The same brain locations distinguish these tasks |
|---|
●Greater expertise accompanies a less-
| differentiated neural representation Westley Weimer | 20 |
|---|









