SlideShare una empresa de Scribd logo
1 de 30
Descargar para leer sin conexión
Luis Leal, Xoom a PayPal service
Demystifying
differentiable neural
computers
#DLSAIS14
self-introduction
2#DLSAIS14
DNC
•Differentiable Neural Computers(DeepMind,2016)
3#DLSAIS14
DNC basic idea
•Memory augmented neural network
•Neural network with I/O access to external memory
•I/O operations are learned instead of programmed
4#DLSAIS14
DNC basic idea
•Von Neumann computer architecture:
•CPU: in the DNC the CPU is a neural network
•Memory: separate external memory bank accessed by CPU via
read/write operations
5#DLSAIS14
Neuroscience meets AI and CS
•Basic architecture and memory allocation(release and assign) based in
computer science.
•Memory access(read) and retrieval based on neuroscience(hippocampus)
6#DLSAIS14
High level architecture
7#DLSAIS14
•A neural network called
controller (CPU) performs
computation on input data
•Read/Write heads perform
I/O from and to memory
•The controller interacts
with the read/write heads to
use “memories” for
computation.
DNC vs Neural Network
•Neural networks excel at pattern recognition ,perception tasks, sensory recognition and
reactive decision making(map inputs X to outputs Y) but they can’t be used for:
•Planning and reasoning tasks
•Use “memories” and facts from previous events
•Store useful information for future usage
•Generalize knowledge to new tasks(AGI)
•Work with complex data structures , like associative ones(graphs or trees)
8#DLSAIS14
DNC vs Neural Network
•The DNC tries to solve this by mixing the best of both worlds(memory based architecture
and machine learning):
•Perception and pattern recognition capabilities from machine learning
•Planning and reasoning based on previous memories and knowledge
•Usage of complex associative data structures
•Like a computer it can organize knowledge , data and facts as well as links between
them but like a neural network it needs no explicit programming because it can learn to
do so from examples(data).
9#DLSAIS14
Knowledge retrieval
•The DNC decides which “memories” to retrieve based on “attention mechanisms”
which can be described from both computational as well as neuro-science
perspectives,specially hippocampal synapses.
•Foundations of Human Memory , from Michael Kahana provides key human memory
concepts which the DNC has analogies with.
10#DLSAIS14
Neuro-science
Computational Neuro-science
Which external memory
locations to read and write
How does the brain
retrieves and relates stored
“memories” ?
Memory(attribute vectors)
•The external memory it’s a real number matrix(NxW).
•Attribute theory: every human memory is represented by a list of attributes which
describe the memory itself,and the context.
11#DLSAIS14
Computational Neuro-science
RAM with N positions and
word-size W
Human memories are
represented as a list of W
attributes.
Memory(attribute vectors)
12#DLSAIS14
Content based(similarity) access
•The controller(CPU) can emit a key vector and retrieve from the memory(or write to)
locations that best matches the key.
•Neuro-science proposes a model were :we can remember events when exposed to a
similar experience
13#DLSAIS14
Computational Neuro-science
Retrieve a weigthed sum of
memory values,weighted by
similarity to some specific value.
Similarity can be cosine similarity
We recall(or reinforce) past
experiences when exposed to
similar ones.
Content based(similarity) access
14#DLSAIS14
Time ordered access(temporal links)
•The system records the order in which memory locations are written.
•Temporal Context Model: its easier for us to remember and recall events in the order
they occurred(try to say all alphabet characters in random order vs ordered)
15#DLSAIS14
Computational Neuro-science
Linked list of memory position
written ,ordered by time.
Recall/retrieve memories in the
order they occurred.
Time ordered access(temporal links)
16#DLSAIS14
Short term and Long Term Memory
•Although not mandatory, the controller can be a LSTM(long short term memory) neural
network which provides short-term memory.
•Search of associative memory(SAM): SAM model proposes that our memory is a dual
store, a shor-term store and a long-term store.
17#DLSAIS14
Computational Neuro-science
Short-term memory provided by
LSTM neural network controller.
SAM model of dual memories
storage.
Short term and Long Term Memory
18#DLSAIS14
Dynamic Memory Allocation
•Additionally to writing by content, the DNC can assign and release memory as a
computer does, based on memory usage percentage and read orderings.
•The DNC can choose to write on new locations , update existing ones(reinforce
memories) or not write at all.
19#DLSAIS14
Computational Neuro-science
Dynamic memory administration. Add new memories or reinforce
existing ones.
Dynamic Memory Allocation
20#DLSAIS14
Complete architecture
21#DLSAIS14
Complete architecture
22#DLSAIS14
Complete architecture
23#DLSAIS14
At each time-step(clock cycle) the DNC:
• Gets an input(data) and calculates an output
that it’s a weighted sum of its inputs and the
“memories” retrieved from memory.
•The DNC decides how to interact with the
memory (where and what to read and write) via
an “interface vector”.
•The DNC sends the “memories” read to the next
time-step.
Complete architecture
24#DLSAIS14
Thus, the output of the DNC its a function of it’s
input history,and what it decided to read from
memory.
Y = f(X,memory)
How the DNC decides I/O
25#DLSAIS14
How the DNC learns and decides how to interact with memory?
•The differentiable part of the DNC.
•Every component of the system uses weights similar to those of a
neural network
•Thus it can be trained via gradient descent and multi-variate calculus
optimization.
•Using samples(data) the system learns how to behave optimally.
Potential applications
26#DLSAIS14
•Problems that require reasoning and knowledge usage.
•Data structure based problems(graphs)
Potential applications
27#DLSAIS14
•Reasoning in Natural language processing instead of probabilistic models
•Chatbots that analyze and do reasoning?
•Successful test in bAbi dataset
Potential applications
28#DLSAIS14
•Graph reasoning problems.
•DeepMind trained the DNC on many random graphs:
•It learned to use it’s memory to navigate through the graph.
•Then 2 specific graphs were fed:
- The London underground graph
- A family tree
-Surprisingly it was able to generalize without re-training( AGI ?)
Potential applications
29#DLSAIS14
•Reinforcement learning
•It was tested on a grid game where:
•The player(agent) is given a set of goals and constraints per goal.
•It is then requested to satisfy a single goal
•It has to plan and reason how to achieve the goal.
•It stored the goals and constraints in memory
Thanks for your attention
30#DLSAIS14
•My contact:
-Linkedin: https://www.linkedin.com/in/luis-fernando-leal-hernandez-9a736276/
-Email: wichofer89@gmail.com
-Github: https://github.com/llealgt/DNC/
•References and illustrations thanks to:
•“Hybrid computing using a neural network with dynamic external memory", Nature 538, 471–476
(October 2016) doi:10.1038/nature20101.
•“Implementation and Optimization of Differentiable Neural Computers” ,Carol Hsin,Stanford
University
•“Differentiable memory and the brain”,Sam
Greydanus,https://greydanus.github.io/2017/02/27/differentiable-memory-and-the-brain/

Más contenido relacionado

La actualidad más candente

La actualidad más candente (20)

Hash crypto
Hash cryptoHash crypto
Hash crypto
 
Clustering in Data Mining
Clustering in Data MiningClustering in Data Mining
Clustering in Data Mining
 
Probabilistic modeling in deep learning
Probabilistic modeling in deep learningProbabilistic modeling in deep learning
Probabilistic modeling in deep learning
 
Cache memory
Cache memoryCache memory
Cache memory
 
Association Rule Learning Part 1: Frequent Itemset Generation
Association Rule Learning Part 1: Frequent Itemset GenerationAssociation Rule Learning Part 1: Frequent Itemset Generation
Association Rule Learning Part 1: Frequent Itemset Generation
 
Loan approval prediction based on machine learning approach
Loan approval prediction based on machine learning approachLoan approval prediction based on machine learning approach
Loan approval prediction based on machine learning approach
 
CNS - Unit - 8 - Key Management and Distribution
CNS - Unit - 8 - Key Management and DistributionCNS - Unit - 8 - Key Management and Distribution
CNS - Unit - 8 - Key Management and Distribution
 
Information and data security pseudorandom number generation and stream cipher
Information and data security pseudorandom number generation and stream cipherInformation and data security pseudorandom number generation and stream cipher
Information and data security pseudorandom number generation and stream cipher
 
Memory Organization
Memory OrganizationMemory Organization
Memory Organization
 
Text MIning
Text MIningText MIning
Text MIning
 
Text Classification
Text ClassificationText Classification
Text Classification
 
An Overview of Naïve Bayes Classifier
An Overview of Naïve Bayes Classifier An Overview of Naïve Bayes Classifier
An Overview of Naïve Bayes Classifier
 
Neural network
Neural networkNeural network
Neural network
 
Cache replacement policies,cache miss,writingtechniques
Cache replacement policies,cache miss,writingtechniquesCache replacement policies,cache miss,writingtechniques
Cache replacement policies,cache miss,writingtechniques
 
NLP - Sentiment Analysis
NLP - Sentiment AnalysisNLP - Sentiment Analysis
NLP - Sentiment Analysis
 
Encryption
EncryptionEncryption
Encryption
 
Mobile platform security models
Mobile platform security modelsMobile platform security models
Mobile platform security models
 
Hash Function
Hash Function Hash Function
Hash Function
 
Scheduling in distributed systems - Andrii Vozniuk
Scheduling in distributed systems - Andrii VozniukScheduling in distributed systems - Andrii Vozniuk
Scheduling in distributed systems - Andrii Vozniuk
 
Memory organization
Memory organizationMemory organization
Memory organization
 

Similar a Demystifying Differentiable Neural Computers and Their Brain Inspired Origin with Luis Leal

Memory organization.pptx
Memory organization.pptxMemory organization.pptx
Memory organization.pptx
RamanRay105
 
Optimizing shared caches in chip multiprocessors
Optimizing shared caches in chip multiprocessorsOptimizing shared caches in chip multiprocessors
Optimizing shared caches in chip multiprocessors
Tony Nguyen
 
Optimizing shared caches in chip multiprocessors
Optimizing shared caches in chip multiprocessorsOptimizing shared caches in chip multiprocessors
Optimizing shared caches in chip multiprocessors
Young Alista
 
Optimizing shared caches in chip multiprocessors
Optimizing shared caches in chip multiprocessorsOptimizing shared caches in chip multiprocessors
Optimizing shared caches in chip multiprocessors
Harry Potter
 
Optimizing shared caches in chip multiprocessors
Optimizing shared caches in chip multiprocessorsOptimizing shared caches in chip multiprocessors
Optimizing shared caches in chip multiprocessors
James Wong
 
Optimizing shared caches in chip multiprocessors
Optimizing shared caches in chip multiprocessorsOptimizing shared caches in chip multiprocessors
Optimizing shared caches in chip multiprocessors
Fraboni Ec
 
Optimizing shared caches in chip multiprocessors
Optimizing shared caches in chip multiprocessorsOptimizing shared caches in chip multiprocessors
Optimizing shared caches in chip multiprocessors
Luis Goldster
 

Similar a Demystifying Differentiable Neural Computers and Their Brain Inspired Origin with Luis Leal (20)

Looking into the Black Box - A Theoretical Insight into Deep Learning Networks
Looking into the Black Box - A Theoretical Insight into Deep Learning NetworksLooking into the Black Box - A Theoretical Insight into Deep Learning Networks
Looking into the Black Box - A Theoretical Insight into Deep Learning Networks
 
Memory organization.pptx
Memory organization.pptxMemory organization.pptx
Memory organization.pptx
 
Cache
CacheCache
Cache
 
Massively Parallel Architectures
Massively Parallel ArchitecturesMassively Parallel Architectures
Massively Parallel Architectures
 
Optimizing shared caches in chip multiprocessors
Optimizing shared caches in chip multiprocessorsOptimizing shared caches in chip multiprocessors
Optimizing shared caches in chip multiprocessors
 
Optimizing shared caches in chip multiprocessors
Optimizing shared caches in chip multiprocessorsOptimizing shared caches in chip multiprocessors
Optimizing shared caches in chip multiprocessors
 
Optimizing shared caches in chip multiprocessors
Optimizing shared caches in chip multiprocessorsOptimizing shared caches in chip multiprocessors
Optimizing shared caches in chip multiprocessors
 
Optimizing shared caches in chip multiprocessors
Optimizing shared caches in chip multiprocessorsOptimizing shared caches in chip multiprocessors
Optimizing shared caches in chip multiprocessors
 
Optimizing shared caches in chip multiprocessors
Optimizing shared caches in chip multiprocessorsOptimizing shared caches in chip multiprocessors
Optimizing shared caches in chip multiprocessors
 
Optimizing shared caches in chip multiprocessors
Optimizing shared caches in chip multiprocessorsOptimizing shared caches in chip multiprocessors
Optimizing shared caches in chip multiprocessors
 
Optimizing shared caches in chip multiprocessors
Optimizing shared caches in chip multiprocessorsOptimizing shared caches in chip multiprocessors
Optimizing shared caches in chip multiprocessors
 
Fast and Scalable Python
Fast and Scalable PythonFast and Scalable Python
Fast and Scalable Python
 
Big Data Anti-Patterns: Lessons From the Front LIne
Big Data Anti-Patterns: Lessons From the Front LIneBig Data Anti-Patterns: Lessons From the Front LIne
Big Data Anti-Patterns: Lessons From the Front LIne
 
7. Key-Value Databases: In Depth
7. Key-Value Databases: In Depth7. Key-Value Databases: In Depth
7. Key-Value Databases: In Depth
 
Spark
SparkSpark
Spark
 
Lecture2
Lecture2Lecture2
Lecture2
 
Workshop - Linux Memory Analysis with Volatility
Workshop - Linux Memory Analysis with VolatilityWorkshop - Linux Memory Analysis with Volatility
Workshop - Linux Memory Analysis with Volatility
 
Chug dl presentation
Chug dl presentationChug dl presentation
Chug dl presentation
 
Wolfgang Lehner Technische Universitat Dresden
Wolfgang Lehner Technische Universitat DresdenWolfgang Lehner Technische Universitat Dresden
Wolfgang Lehner Technische Universitat Dresden
 
What should be done to IR algorithms to meet current, and possible future, ha...
What should be done to IR algorithms to meet current, and possible future, ha...What should be done to IR algorithms to meet current, and possible future, ha...
What should be done to IR algorithms to meet current, and possible future, ha...
 

Más de Databricks

Democratizing Data Quality Through a Centralized Platform
Democratizing Data Quality Through a Centralized PlatformDemocratizing Data Quality Through a Centralized Platform
Democratizing Data Quality Through a Centralized Platform
Databricks
 
Stage Level Scheduling Improving Big Data and AI Integration
Stage Level Scheduling Improving Big Data and AI IntegrationStage Level Scheduling Improving Big Data and AI Integration
Stage Level Scheduling Improving Big Data and AI Integration
Databricks
 
Simplify Data Conversion from Spark to TensorFlow and PyTorch
Simplify Data Conversion from Spark to TensorFlow and PyTorchSimplify Data Conversion from Spark to TensorFlow and PyTorch
Simplify Data Conversion from Spark to TensorFlow and PyTorch
Databricks
 
Raven: End-to-end Optimization of ML Prediction Queries
Raven: End-to-end Optimization of ML Prediction QueriesRaven: End-to-end Optimization of ML Prediction Queries
Raven: End-to-end Optimization of ML Prediction Queries
Databricks
 
Processing Large Datasets for ADAS Applications using Apache Spark
Processing Large Datasets for ADAS Applications using Apache SparkProcessing Large Datasets for ADAS Applications using Apache Spark
Processing Large Datasets for ADAS Applications using Apache Spark
Databricks
 

Más de Databricks (20)

DW Migration Webinar-March 2022.pptx
DW Migration Webinar-March 2022.pptxDW Migration Webinar-March 2022.pptx
DW Migration Webinar-March 2022.pptx
 
Data Lakehouse Symposium | Day 1 | Part 1
Data Lakehouse Symposium | Day 1 | Part 1Data Lakehouse Symposium | Day 1 | Part 1
Data Lakehouse Symposium | Day 1 | Part 1
 
Data Lakehouse Symposium | Day 1 | Part 2
Data Lakehouse Symposium | Day 1 | Part 2Data Lakehouse Symposium | Day 1 | Part 2
Data Lakehouse Symposium | Day 1 | Part 2
 
Data Lakehouse Symposium | Day 2
Data Lakehouse Symposium | Day 2Data Lakehouse Symposium | Day 2
Data Lakehouse Symposium | Day 2
 
Data Lakehouse Symposium | Day 4
Data Lakehouse Symposium | Day 4Data Lakehouse Symposium | Day 4
Data Lakehouse Symposium | Day 4
 
5 Critical Steps to Clean Your Data Swamp When Migrating Off of Hadoop
5 Critical Steps to Clean Your Data Swamp When Migrating Off of Hadoop5 Critical Steps to Clean Your Data Swamp When Migrating Off of Hadoop
5 Critical Steps to Clean Your Data Swamp When Migrating Off of Hadoop
 
Democratizing Data Quality Through a Centralized Platform
Democratizing Data Quality Through a Centralized PlatformDemocratizing Data Quality Through a Centralized Platform
Democratizing Data Quality Through a Centralized Platform
 
Learn to Use Databricks for Data Science
Learn to Use Databricks for Data ScienceLearn to Use Databricks for Data Science
Learn to Use Databricks for Data Science
 
Why APM Is Not the Same As ML Monitoring
Why APM Is Not the Same As ML MonitoringWhy APM Is Not the Same As ML Monitoring
Why APM Is Not the Same As ML Monitoring
 
The Function, the Context, and the Data—Enabling ML Ops at Stitch Fix
The Function, the Context, and the Data—Enabling ML Ops at Stitch FixThe Function, the Context, and the Data—Enabling ML Ops at Stitch Fix
The Function, the Context, and the Data—Enabling ML Ops at Stitch Fix
 
Stage Level Scheduling Improving Big Data and AI Integration
Stage Level Scheduling Improving Big Data and AI IntegrationStage Level Scheduling Improving Big Data and AI Integration
Stage Level Scheduling Improving Big Data and AI Integration
 
Simplify Data Conversion from Spark to TensorFlow and PyTorch
Simplify Data Conversion from Spark to TensorFlow and PyTorchSimplify Data Conversion from Spark to TensorFlow and PyTorch
Simplify Data Conversion from Spark to TensorFlow and PyTorch
 
Scaling your Data Pipelines with Apache Spark on Kubernetes
Scaling your Data Pipelines with Apache Spark on KubernetesScaling your Data Pipelines with Apache Spark on Kubernetes
Scaling your Data Pipelines with Apache Spark on Kubernetes
 
Scaling and Unifying SciKit Learn and Apache Spark Pipelines
Scaling and Unifying SciKit Learn and Apache Spark PipelinesScaling and Unifying SciKit Learn and Apache Spark Pipelines
Scaling and Unifying SciKit Learn and Apache Spark Pipelines
 
Sawtooth Windows for Feature Aggregations
Sawtooth Windows for Feature AggregationsSawtooth Windows for Feature Aggregations
Sawtooth Windows for Feature Aggregations
 
Redis + Apache Spark = Swiss Army Knife Meets Kitchen Sink
Redis + Apache Spark = Swiss Army Knife Meets Kitchen SinkRedis + Apache Spark = Swiss Army Knife Meets Kitchen Sink
Redis + Apache Spark = Swiss Army Knife Meets Kitchen Sink
 
Re-imagine Data Monitoring with whylogs and Spark
Re-imagine Data Monitoring with whylogs and SparkRe-imagine Data Monitoring with whylogs and Spark
Re-imagine Data Monitoring with whylogs and Spark
 
Raven: End-to-end Optimization of ML Prediction Queries
Raven: End-to-end Optimization of ML Prediction QueriesRaven: End-to-end Optimization of ML Prediction Queries
Raven: End-to-end Optimization of ML Prediction Queries
 
Processing Large Datasets for ADAS Applications using Apache Spark
Processing Large Datasets for ADAS Applications using Apache SparkProcessing Large Datasets for ADAS Applications using Apache Spark
Processing Large Datasets for ADAS Applications using Apache Spark
 
Massive Data Processing in Adobe Using Delta Lake
Massive Data Processing in Adobe Using Delta LakeMassive Data Processing in Adobe Using Delta Lake
Massive Data Processing in Adobe Using Delta Lake
 

Último

Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
amitlee9823
 
Just Call Vip call girls Erode Escorts ☎️9352988975 Two shot with one girl (E...
Just Call Vip call girls Erode Escorts ☎️9352988975 Two shot with one girl (E...Just Call Vip call girls Erode Escorts ☎️9352988975 Two shot with one girl (E...
Just Call Vip call girls Erode Escorts ☎️9352988975 Two shot with one girl (E...
gajnagarg
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Riyadh +966572737505 get cytotec
 
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts ServiceCall Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
amitlee9823
 
Just Call Vip call girls Bellary Escorts ☎️9352988975 Two shot with one girl ...
Just Call Vip call girls Bellary Escorts ☎️9352988975 Two shot with one girl ...Just Call Vip call girls Bellary Escorts ☎️9352988975 Two shot with one girl ...
Just Call Vip call girls Bellary Escorts ☎️9352988975 Two shot with one girl ...
gajnagarg
 
CHEAP Call Girls in Rabindra Nagar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Rabindra Nagar  (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Rabindra Nagar  (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Rabindra Nagar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...
👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...
👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...
karishmasinghjnh
 
Just Call Vip call girls Mysore Escorts ☎️9352988975 Two shot with one girl (...
Just Call Vip call girls Mysore Escorts ☎️9352988975 Two shot with one girl (...Just Call Vip call girls Mysore Escorts ☎️9352988975 Two shot with one girl (...
Just Call Vip call girls Mysore Escorts ☎️9352988975 Two shot with one girl (...
gajnagarg
 
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night StandCall Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
amitlee9823
 
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night StandCall Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Abortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get CytotecAbortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Riyadh +966572737505 get cytotec
 
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men 🔝Bangalore🔝 Esc...
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men  🔝Bangalore🔝   Esc...➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men  🔝Bangalore🔝   Esc...
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men 🔝Bangalore🔝 Esc...
amitlee9823
 
Just Call Vip call girls roorkee Escorts ☎️9352988975 Two shot with one girl ...
Just Call Vip call girls roorkee Escorts ☎️9352988975 Two shot with one girl ...Just Call Vip call girls roorkee Escorts ☎️9352988975 Two shot with one girl ...
Just Call Vip call girls roorkee Escorts ☎️9352988975 Two shot with one girl ...
gajnagarg
 
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 

Último (20)

5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
 
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
 
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
 
Just Call Vip call girls Erode Escorts ☎️9352988975 Two shot with one girl (E...
Just Call Vip call girls Erode Escorts ☎️9352988975 Two shot with one girl (E...Just Call Vip call girls Erode Escorts ☎️9352988975 Two shot with one girl (E...
Just Call Vip call girls Erode Escorts ☎️9352988975 Two shot with one girl (E...
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
 
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts ServiceCall Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
 
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
 
Just Call Vip call girls Bellary Escorts ☎️9352988975 Two shot with one girl ...
Just Call Vip call girls Bellary Escorts ☎️9352988975 Two shot with one girl ...Just Call Vip call girls Bellary Escorts ☎️9352988975 Two shot with one girl ...
Just Call Vip call girls Bellary Escorts ☎️9352988975 Two shot with one girl ...
 
CHEAP Call Girls in Rabindra Nagar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Rabindra Nagar  (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Rabindra Nagar  (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Rabindra Nagar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...
👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...
👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...
 
Just Call Vip call girls Mysore Escorts ☎️9352988975 Two shot with one girl (...
Just Call Vip call girls Mysore Escorts ☎️9352988975 Two shot with one girl (...Just Call Vip call girls Mysore Escorts ☎️9352988975 Two shot with one girl (...
Just Call Vip call girls Mysore Escorts ☎️9352988975 Two shot with one girl (...
 
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
 
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night StandCall Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
 
DATA SUMMIT 24 Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24  Building Real-Time Pipelines With FLaNKDATA SUMMIT 24  Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24 Building Real-Time Pipelines With FLaNK
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
 
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night StandCall Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
 
Abortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get CytotecAbortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get Cytotec
 
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men 🔝Bangalore🔝 Esc...
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men  🔝Bangalore🔝   Esc...➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men  🔝Bangalore🔝   Esc...
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men 🔝Bangalore🔝 Esc...
 
Just Call Vip call girls roorkee Escorts ☎️9352988975 Two shot with one girl ...
Just Call Vip call girls roorkee Escorts ☎️9352988975 Two shot with one girl ...Just Call Vip call girls roorkee Escorts ☎️9352988975 Two shot with one girl ...
Just Call Vip call girls roorkee Escorts ☎️9352988975 Two shot with one girl ...
 
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 

Demystifying Differentiable Neural Computers and Their Brain Inspired Origin with Luis Leal

  • 1. Luis Leal, Xoom a PayPal service Demystifying differentiable neural computers #DLSAIS14
  • 4. DNC basic idea •Memory augmented neural network •Neural network with I/O access to external memory •I/O operations are learned instead of programmed 4#DLSAIS14
  • 5. DNC basic idea •Von Neumann computer architecture: •CPU: in the DNC the CPU is a neural network •Memory: separate external memory bank accessed by CPU via read/write operations 5#DLSAIS14
  • 6. Neuroscience meets AI and CS •Basic architecture and memory allocation(release and assign) based in computer science. •Memory access(read) and retrieval based on neuroscience(hippocampus) 6#DLSAIS14
  • 7. High level architecture 7#DLSAIS14 •A neural network called controller (CPU) performs computation on input data •Read/Write heads perform I/O from and to memory •The controller interacts with the read/write heads to use “memories” for computation.
  • 8. DNC vs Neural Network •Neural networks excel at pattern recognition ,perception tasks, sensory recognition and reactive decision making(map inputs X to outputs Y) but they can’t be used for: •Planning and reasoning tasks •Use “memories” and facts from previous events •Store useful information for future usage •Generalize knowledge to new tasks(AGI) •Work with complex data structures , like associative ones(graphs or trees) 8#DLSAIS14
  • 9. DNC vs Neural Network •The DNC tries to solve this by mixing the best of both worlds(memory based architecture and machine learning): •Perception and pattern recognition capabilities from machine learning •Planning and reasoning based on previous memories and knowledge •Usage of complex associative data structures •Like a computer it can organize knowledge , data and facts as well as links between them but like a neural network it needs no explicit programming because it can learn to do so from examples(data). 9#DLSAIS14
  • 10. Knowledge retrieval •The DNC decides which “memories” to retrieve based on “attention mechanisms” which can be described from both computational as well as neuro-science perspectives,specially hippocampal synapses. •Foundations of Human Memory , from Michael Kahana provides key human memory concepts which the DNC has analogies with. 10#DLSAIS14 Neuro-science Computational Neuro-science Which external memory locations to read and write How does the brain retrieves and relates stored “memories” ?
  • 11. Memory(attribute vectors) •The external memory it’s a real number matrix(NxW). •Attribute theory: every human memory is represented by a list of attributes which describe the memory itself,and the context. 11#DLSAIS14 Computational Neuro-science RAM with N positions and word-size W Human memories are represented as a list of W attributes.
  • 13. Content based(similarity) access •The controller(CPU) can emit a key vector and retrieve from the memory(or write to) locations that best matches the key. •Neuro-science proposes a model were :we can remember events when exposed to a similar experience 13#DLSAIS14 Computational Neuro-science Retrieve a weigthed sum of memory values,weighted by similarity to some specific value. Similarity can be cosine similarity We recall(or reinforce) past experiences when exposed to similar ones.
  • 15. Time ordered access(temporal links) •The system records the order in which memory locations are written. •Temporal Context Model: its easier for us to remember and recall events in the order they occurred(try to say all alphabet characters in random order vs ordered) 15#DLSAIS14 Computational Neuro-science Linked list of memory position written ,ordered by time. Recall/retrieve memories in the order they occurred.
  • 16. Time ordered access(temporal links) 16#DLSAIS14
  • 17. Short term and Long Term Memory •Although not mandatory, the controller can be a LSTM(long short term memory) neural network which provides short-term memory. •Search of associative memory(SAM): SAM model proposes that our memory is a dual store, a shor-term store and a long-term store. 17#DLSAIS14 Computational Neuro-science Short-term memory provided by LSTM neural network controller. SAM model of dual memories storage.
  • 18. Short term and Long Term Memory 18#DLSAIS14
  • 19. Dynamic Memory Allocation •Additionally to writing by content, the DNC can assign and release memory as a computer does, based on memory usage percentage and read orderings. •The DNC can choose to write on new locations , update existing ones(reinforce memories) or not write at all. 19#DLSAIS14 Computational Neuro-science Dynamic memory administration. Add new memories or reinforce existing ones.
  • 23. Complete architecture 23#DLSAIS14 At each time-step(clock cycle) the DNC: • Gets an input(data) and calculates an output that it’s a weighted sum of its inputs and the “memories” retrieved from memory. •The DNC decides how to interact with the memory (where and what to read and write) via an “interface vector”. •The DNC sends the “memories” read to the next time-step.
  • 24. Complete architecture 24#DLSAIS14 Thus, the output of the DNC its a function of it’s input history,and what it decided to read from memory. Y = f(X,memory)
  • 25. How the DNC decides I/O 25#DLSAIS14 How the DNC learns and decides how to interact with memory? •The differentiable part of the DNC. •Every component of the system uses weights similar to those of a neural network •Thus it can be trained via gradient descent and multi-variate calculus optimization. •Using samples(data) the system learns how to behave optimally.
  • 26. Potential applications 26#DLSAIS14 •Problems that require reasoning and knowledge usage. •Data structure based problems(graphs)
  • 27. Potential applications 27#DLSAIS14 •Reasoning in Natural language processing instead of probabilistic models •Chatbots that analyze and do reasoning? •Successful test in bAbi dataset
  • 28. Potential applications 28#DLSAIS14 •Graph reasoning problems. •DeepMind trained the DNC on many random graphs: •It learned to use it’s memory to navigate through the graph. •Then 2 specific graphs were fed: - The London underground graph - A family tree -Surprisingly it was able to generalize without re-training( AGI ?)
  • 29. Potential applications 29#DLSAIS14 •Reinforcement learning •It was tested on a grid game where: •The player(agent) is given a set of goals and constraints per goal. •It is then requested to satisfy a single goal •It has to plan and reason how to achieve the goal. •It stored the goals and constraints in memory
  • 30. Thanks for your attention 30#DLSAIS14 •My contact: -Linkedin: https://www.linkedin.com/in/luis-fernando-leal-hernandez-9a736276/ -Email: wichofer89@gmail.com -Github: https://github.com/llealgt/DNC/ •References and illustrations thanks to: •“Hybrid computing using a neural network with dynamic external memory", Nature 538, 471–476 (October 2016) doi:10.1038/nature20101. •“Implementation and Optimization of Differentiable Neural Computers” ,Carol Hsin,Stanford University •“Differentiable memory and the brain”,Sam Greydanus,https://greydanus.github.io/2017/02/27/differentiable-memory-and-the-brain/