SlideShare a Scribd company logo
1 of 35
A COGNITIVE NEUROSCIENCE PERSPECTIVE ON
MEMORY FOR PROGRAMMING TASKS
Chris Parnin, Georgia Institute of Technology
In the year 2042, super
programmers strapped in SQUIDs
(superconducting quantum
interference devices) build
programs to save the earth from
certain doom.
SQUID SOUND LIKE
SCIENCE FICTION?
NO!!
These devices exist right
now -- just waiting to be
used!
COGNITIVE NEUROSCIENCE
Understanding how the functions
of the physical brain can yield
the thoughts and ideas of an
intangible mind.
George Miller and Michael Gazzaniga
Benefits?
Image no more keyboards.
Direct measures of function
and understanding.
Better predictions and
constraints from models.
COGNITIVE NEUROSCIENCE
Background
Anatomy, techniques,
findings with focus on
memory
Insights
Insights from models
old and new
Impact
Tools, theories,
experiments
OVERVIEW
LOBES
Frontal Parietal
OccipitalMedial
Regions divided
by deep fissures
LIMBIC SYSTEM
Deep structures
within brain.
FUNCTION LOCALIZATION
HUMAN TECHNIQUES
Electro/magno-based
Measures change in neuron activity
Affects visible within milliseconds.
Location within centimeters.
Examples
• EEG
• MEG
Blood oxygen-based
Measures change in blood activity.
Affects visible within seconds.
Location within millimeters.
Examples
• fMRI
• Optical imaging
ANIMAL TECHNIQUES
Gene Therapy
Bred mutant rats
Dye
Discover neural pathways
Lesions
Damage neural pathways
Habitation
The kitten who only saw vertical
lines
Cats, Monkeys,
Mice Oh My!
Stimulate neurons
with electricity
LONG-TERM POTENTIATION (LTP)
Effect found even after one year!
PLACE CELLS
VIRTUAL NAVIGATION
Participants navigate a
virtual town.
Recall paths.
Place cells fire.
NEUROGENESIS
Larger volume by
years of experience!
Size of taxi driver
hippocampus?
HIPPOCAMPAL ACTIVITY
Forgotten words Remembered words
Forgotten words Familiar words
(Entorhinal cortex)
AUTOMATIC MEMORY
We cannot anticipate important events.
We cannot always devote top-down resources to encode and select memory.
Initial memory is largely formed without conscious effort.
HIPPOCAMPUS ANATOMY
Grand Central of the senses
Connections to sensory
processing and semantic
recognition. Connections to
frontal regions.
Brain Hashtable
Hippocampal neurons cannot
store directly, index to original
source.
Recording factors
Novel, engaging,
high-frequency…
SNOWBALL TO BOULDER
Hippocampal LTP
Formed and tagged
for storage.
Consolidated memory
Replayed and stored at
original regions.
Top-down associations
Properties our bound
to memory. “Rehearsal” is
activation of speech motor.
INSIGHT
So what?
A review, and new perspectives.
Sensory Short-term Long-term
Attention Encoding
Rehearsal
MODAL MODEL OF MEMORY
(1968)
Patients with no short-term memory still have long-term memory…
Sensory Short-term Long-term
Episodic
Buffer (2000)
Lifetime of seconds!
“Temporarily infinite”
WORKING MEMORY (1974)
Phonological
loop
Visio-Spatial
Sketch pad Central
Executive
LONG-TERM WORKING MEMORY
(1995)
Good insight, theory formed without any neuroscience basis.
MEMORY 2.0
• Distributed
• Specialized
• Retained and Replayed
• Automatic without Rehearsal
• Immediate and Long-Lasting
MEMORY TYPES
Spatial
Prospective
Familiarity
Recency
Source
Semantic
…
See paper for more details!
Attention
Maintenance
Manipulation
Dynamic filtering
Auto
associative
retrieval
Auto
associative
encoding
Retrieval Encoding
TASK MEMORY MODEL (beta)
Indices
Spatial
Goals
Attention
Bindings
Visual
Frontal
Associative
Perceptual
ProcessRegions
Note, top-down iteration is a
“brain design-pattern” found in
many neural circuits.
PROGRAMMING ENVIRONMENTS
Often do not associate name with memories of programming.
NAME IS NOT ENOUGH
TOOL DESIGN: MEMORY
• Auto-association
– Better distinct cues for learning?
• Spatial memory?
– Spatial stability, isolation
• Prospective memory?
– Better reminders than a compile error or TODO?
• Forgetting?
– Code history and provenance
THEORIES (BETA)
Visual Chunks
Initial formation of memory.
“Below the method with
lots of strings”
Iterative Comprehension
Top-down experiences
will bind and update partial
representations.
Concepts form.
Navigational Jitter
Tabs, scrolling
huge files,
little understanding
-- need memory aids.
EXPERIMENTS
Gender differences in brain activity during programming?
Neurogenesis in programmer’s brain?
Place cells (spatial) during programming navigation?
Your idea?
MUSCLES OF THE MIND
Subvocal
speech
EMG
(electromyography)
Cognition
0 100 200 300 400 500 600 700 800 900
Subvocal
Debug
Select
Click
Search
Edit
Formulating
Problem
Found
useful code
Formulating
solution
EditingFound
useful code
Evaluating
Moments of interest and difficulty
QUESTIONS?
Indices
Spatial
Goals
Attention
Bindings
Visual
Goal Memory
space-goal binding.
Lesioned monkeys
Forget food location.
Variation
Change location,
keep consistent cue

More Related Content

What's hot

fNIRS and Brain Computer Interface for Communication
fNIRS and Brain Computer Interface for CommunicationfNIRS and Brain Computer Interface for Communication
fNIRS and Brain Computer Interface for Communication
InsideScientific
 
61913381 blue-brain-seminar-by-bhaumik-patel
61913381 blue-brain-seminar-by-bhaumik-patel61913381 blue-brain-seminar-by-bhaumik-patel
61913381 blue-brain-seminar-by-bhaumik-patel
Vinith Don
 

What's hot (20)

fNIRS and Brain Computer Interface for Communication
fNIRS and Brain Computer Interface for CommunicationfNIRS and Brain Computer Interface for Communication
fNIRS and Brain Computer Interface for Communication
 
Blue brain
Blue brainBlue brain
Blue brain
 
The blue brain project.docx
The blue brain project.docxThe blue brain project.docx
The blue brain project.docx
 
Artificial neural networks decode brain activity
Artificial neural networks decode brain activity Artificial neural networks decode brain activity
Artificial neural networks decode brain activity
 
Brain computing Interface
Brain computing InterfaceBrain computing Interface
Brain computing Interface
 
Brain computer interface
Brain computer interfaceBrain computer interface
Brain computer interface
 
Seminar blue brain
Seminar blue brainSeminar blue brain
Seminar blue brain
 
BLUE BRAIN PROJECT
BLUE BRAIN PROJECTBLUE BRAIN PROJECT
BLUE BRAIN PROJECT
 
Pallavi ranjan
Pallavi ranjanPallavi ranjan
Pallavi ranjan
 
The Mind and Consciousness As an Interface
The Mind and Consciousness As an InterfaceThe Mind and Consciousness As an Interface
The Mind and Consciousness As an Interface
 
Braincomputerinterface ppt
Braincomputerinterface pptBraincomputerinterface ppt
Braincomputerinterface ppt
 
Blue Brain Seminar Report
Blue Brain Seminar ReportBlue Brain Seminar Report
Blue Brain Seminar Report
 
1341551 634655067468467500
1341551 6346550674684675001341551 634655067468467500
1341551 634655067468467500
 
Poster Presentation: An Investigation on Non-Invasive Brain-Computer Interfac...
Poster Presentation: An Investigation on Non-Invasive Brain-Computer Interfac...Poster Presentation: An Investigation on Non-Invasive Brain-Computer Interfac...
Poster Presentation: An Investigation on Non-Invasive Brain-Computer Interfac...
 
61913381 blue-brain-seminar-by-bhaumik-patel
61913381 blue-brain-seminar-by-bhaumik-patel61913381 blue-brain-seminar-by-bhaumik-patel
61913381 blue-brain-seminar-by-bhaumik-patel
 
BCI(Brain Computer Interface) project
BCI(Brain Computer Interface) projectBCI(Brain Computer Interface) project
BCI(Brain Computer Interface) project
 
Brain computing or Brain Computer Interface
Brain computing or Brain Computer InterfaceBrain computing or Brain Computer Interface
Brain computing or Brain Computer Interface
 
Introduction to Brain-Computer Interface (BCI)
Introduction to Brain-Computer Interface (BCI)Introduction to Brain-Computer Interface (BCI)
Introduction to Brain-Computer Interface (BCI)
 
Blue brain
Blue brainBlue brain
Blue brain
 
On the Development of a Brain Simulator
On the Development of a Brain SimulatorOn the Development of a Brain Simulator
On the Development of a Brain Simulator
 

Viewers also liked (9)

Subvocalization -- Towards Hearing the Inner Thoughts of Developers
Subvocalization -- Towards Hearing the Inner Thoughts of DevelopersSubvocalization -- Towards Hearing the Inner Thoughts of Developers
Subvocalization -- Towards Hearing the Inner Thoughts of Developers
 
Psicologia Cognitiva
Psicologia CognitivaPsicologia Cognitiva
Psicologia Cognitiva
 
Information Retrieval, Encoding, Indexing, Big Table. Lecture 6 - Indexing
Information Retrieval, Encoding, Indexing, Big Table. Lecture 6  - IndexingInformation Retrieval, Encoding, Indexing, Big Table. Lecture 6  - Indexing
Information Retrieval, Encoding, Indexing, Big Table. Lecture 6 - Indexing
 
COGS 107B - Winter 2010 - Lecture 17 - PFC, Attention
COGS 107B - Winter 2010 - Lecture 17 - PFC, AttentionCOGS 107B - Winter 2010 - Lecture 17 - PFC, Attention
COGS 107B - Winter 2010 - Lecture 17 - PFC, Attention
 
Prefrontal Cortex
Prefrontal CortexPrefrontal Cortex
Prefrontal Cortex
 
Working memory
Working memoryWorking memory
Working memory
 
Mod 3 working memory model slides
Mod 3 working memory model slidesMod 3 working memory model slides
Mod 3 working memory model slides
 
Neuro psychiatric aspect of frontal lobe
Neuro psychiatric aspect of frontal lobeNeuro psychiatric aspect of frontal lobe
Neuro psychiatric aspect of frontal lobe
 
Frontal lobe functions and assessmeny 20th july 2013
Frontal lobe functions and assessmeny 20th july 2013Frontal lobe functions and assessmeny 20th july 2013
Frontal lobe functions and assessmeny 20th july 2013
 

Similar to Cognitive Neuroscience of Memory for Software Engineers

2023-1113e-INFN-Seminari-Paolucci-BioInspiredSpikingLearningSleepCycles.pdf
2023-1113e-INFN-Seminari-Paolucci-BioInspiredSpikingLearningSleepCycles.pdf2023-1113e-INFN-Seminari-Paolucci-BioInspiredSpikingLearningSleepCycles.pdf
2023-1113e-INFN-Seminari-Paolucci-BioInspiredSpikingLearningSleepCycles.pdf
pierstanislaopaolucc1
 
Brain computer interfaces_useful
Brain computer interfaces_usefulBrain computer interfaces_useful
Brain computer interfaces_useful
Tahir Zemouri
 
Memory.pptx
Memory.pptx Memory.pptx
Memory.pptx
JoysriRoy2
 
Neural networks...
Neural networks...Neural networks...
Neural networks...
Molly Chugh
 

Similar to Cognitive Neuroscience of Memory for Software Engineers (20)

Psychology- Memory
Psychology- MemoryPsychology- Memory
Psychology- Memory
 
Two Cognitive Architectures for General Intelligence - Cortical Feedback & Ep...
Two Cognitive Architectures for General Intelligence - Cortical Feedback & Ep...Two Cognitive Architectures for General Intelligence - Cortical Feedback & Ep...
Two Cognitive Architectures for General Intelligence - Cortical Feedback & Ep...
 
Two Cognitive Architectures for General Intelligence - Cortical Feedback & Ep...
Two Cognitive Architectures for General Intelligence - Cortical Feedback & Ep...Two Cognitive Architectures for General Intelligence - Cortical Feedback & Ep...
Two Cognitive Architectures for General Intelligence - Cortical Feedback & Ep...
 
Alison cooper microteaching to share march15
Alison cooper microteaching to share march15Alison cooper microteaching to share march15
Alison cooper microteaching to share march15
 
Appelbaum beam talk_library_digitalscholarship_final
Appelbaum beam talk_library_digitalscholarship_finalAppelbaum beam talk_library_digitalscholarship_final
Appelbaum beam talk_library_digitalscholarship_final
 
Brainchips
BrainchipsBrainchips
Brainchips
 
Introductory Psychology: Memory
Introductory Psychology: MemoryIntroductory Psychology: Memory
Introductory Psychology: Memory
 
Brain computer Interface
Brain computer InterfaceBrain computer Interface
Brain computer Interface
 
2023-1113e-INFN-Seminari-Paolucci-BioInspiredSpikingLearningSleepCycles.pdf
2023-1113e-INFN-Seminari-Paolucci-BioInspiredSpikingLearningSleepCycles.pdf2023-1113e-INFN-Seminari-Paolucci-BioInspiredSpikingLearningSleepCycles.pdf
2023-1113e-INFN-Seminari-Paolucci-BioInspiredSpikingLearningSleepCycles.pdf
 
1. The Game Of The Century
1. The Game Of The Century1. The Game Of The Century
1. The Game Of The Century
 
Blue brain
Blue brainBlue brain
Blue brain
 
brain computer-interfaces PPT
 brain computer-interfaces PPT brain computer-interfaces PPT
brain computer-interfaces PPT
 
Brain computer interfaces_useful
Brain computer interfaces_usefulBrain computer interfaces_useful
Brain computer interfaces_useful
 
Memory.pptx
Memory.pptx Memory.pptx
Memory.pptx
 
Neural networks...
Neural networks...Neural networks...
Neural networks...
 
138693 28152-brain-chips
138693 28152-brain-chips138693 28152-brain-chips
138693 28152-brain-chips
 
Neural fields, a cognitive approach
Neural fields, a cognitive approachNeural fields, a cognitive approach
Neural fields, a cognitive approach
 
04.18.13
04.18.1304.18.13
04.18.13
 
The blue brain project
The blue brain projectThe blue brain project
The blue brain project
 
Memory and Its Types
Memory and Its TypesMemory and Its Types
Memory and Its Types
 

More from Chris Parnin

DESIGNING FOR INTERRUPTION AND LIVENESS
DESIGNING FOR INTERRUPTION AND LIVENESSDESIGNING FOR INTERRUPTION AND LIVENESS
DESIGNING FOR INTERRUPTION AND LIVENESS
Chris Parnin
 
Are Automated Debugging Techniques Actually Helping Programmers
Are Automated Debugging Techniques Actually Helping ProgrammersAre Automated Debugging Techniques Actually Helping Programmers
Are Automated Debugging Techniques Actually Helping Programmers
Chris Parnin
 
Evaluating Cues for Resuming Interrupted Programming TAsks
Evaluating Cues for Resuming Interrupted Programming TAsksEvaluating Cues for Resuming Interrupted Programming TAsks
Evaluating Cues for Resuming Interrupted Programming TAsks
Chris Parnin
 

More from Chris Parnin (10)

Crowd Documentation - How Programmer Social Communities are Flipping Software...
Crowd Documentation - How Programmer Social Communities are Flipping Software...Crowd Documentation - How Programmer Social Communities are Flipping Software...
Crowd Documentation - How Programmer Social Communities are Flipping Software...
 
DESIGNING FOR INTERRUPTION AND LIVENESS
DESIGNING FOR INTERRUPTION AND LIVENESSDESIGNING FOR INTERRUPTION AND LIVENESS
DESIGNING FOR INTERRUPTION AND LIVENESS
 
Programmer Information Needs After Memory Failure
Programmer Information Needs After Memory FailureProgrammer Information Needs After Memory Failure
Programmer Information Needs After Memory Failure
 
Building usage contexts from interaction history
Building usage contexts from interaction historyBuilding usage contexts from interaction history
Building usage contexts from interaction history
 
A Catalogue of Code Smell Visualizations
A Catalogue of Code Smell VisualizationsA Catalogue of Code Smell Visualizations
A Catalogue of Code Smell Visualizations
 
Resumption strategies
Resumption strategiesResumption strategies
Resumption strategies
 
Are Automated Debugging Techniques Actually Helping Programmers
Are Automated Debugging Techniques Actually Helping ProgrammersAre Automated Debugging Techniques Actually Helping Programmers
Are Automated Debugging Techniques Actually Helping Programmers
 
Java Generics Adoption: How New Features are Introduced Championed or Ignored
Java Generics Adoption: How New Features are Introduced Championed or IgnoredJava Generics Adoption: How New Features are Introduced Championed or Ignored
Java Generics Adoption: How New Features are Introduced Championed or Ignored
 
Evaluating Cues for Resuming Interrupted Programming TAsks
Evaluating Cues for Resuming Interrupted Programming TAsksEvaluating Cues for Resuming Interrupted Programming TAsks
Evaluating Cues for Resuming Interrupted Programming TAsks
 
Code Pad
Code PadCode Pad
Code Pad
 

Cognitive Neuroscience of Memory for Software Engineers

Editor's Notes

  1. Fix size
  2. With focus on memory
  3. Familiarity is like hash
  4. Lesions