Some Characteristics of Spiking Neural P Systems with Anti-Spikes Kamala Krithivasan Department of Computer Science and Engineering Indian Institute of.

Slides:



Advertisements
Similar presentations
CT455: Computer Organization Logic gate
Advertisements

Other Gate Types COE 202 Digital Logic Design Dr. Aiman El-Maleh
컴퓨터구조론 교수 채수환. 교재 Computer Systems Organization & Architecture John D. Carpinelli, 2001, Addison Wesley.
Digital Circuits. Review – Getting the truth table The first step in designing a digital circuit usually is to get the truth table. That is, for every.
Combinational Circuits
Functions and Functional Blocks
1 Fundamentals of Computer Science Sequential Circuits.
WMC8 – Thessaloniki, Greece Some Applications of Spiking Neural P Systems Mihai Ionescu 1 & Dragoş Sburlan 2 1 URV, Research Group on Mathematical Linguistics,
Cosc 2150: Computer Organization Chapter 3: Boolean Algebra and Digital Logic.
Simulation of Spiking Neural P Systems Using Pnet Lab Authors Padmavati Metta Kamala Krithivasan Deepak Garg.
Logic Gate Level Part 2. Constructing Boolean expression from truth table First method: write nonparenthesized OR of ANDs Each AND is a 1 in the result.
1 Digital Logic
EECS 40 Spring 2003 Lecture 11S. Ross and W. G. OldhamCopyright Regents of the University of California TO REVIEW AMPLIFIERS… Prove formulas for various.

Copyright © Cengage Learning. All rights reserved. CHAPTER 2 THE LOGIC OF COMPOUND STATEMENTS THE LOGIC OF COMPOUND STATEMENTS.
Chapter 12 Digital Logic Circuit Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Logic Gates Combinational Circuits
+ CS 325: CS Hardware and Software Organization and Architecture Exam 1: Study Guide.
Digital Logic Design Adil Waheed. BOOLEAN ALGEBRA AND LOGIC SIMPLIFICATION AND gate F = A.B OR gate F = A + B NOT gate F = A NAND gate F = A.B NOR gate.
Computer Organization
Introduction to Digital Logic Design Appendix A of CO&A Dr. Farag
Some Useful Circuits Lecture for CPSC 5155 Edward Bosworth, Ph.D. Computer Science Department Columbus State University.
Combinational Circuits Chapter 3 S. Dandamudi To be used with S. Dandamudi, “Fundamentals of Computer Organization and Design,” Springer, 2003.
Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. Terms of Use (Hyperlinks are active in View Show mode) Terms of Use Lecture 12 – Design Procedure.
1 Boolean Algebra & Logic Gates. 2 Objectives Understand the relationship between Boolean logic and digital computer circuits. Learn how to design simple.
Course contents Chapter 1 - section 1.6 Chapter 2 - all sections Chapter – 4.7, and 4.12 Chapter , Chapter 6 - all sections.
Digital Logic Problems (II) Prof. Sin-Min Lee Department of Mathematics and Computer Science.
CPS3340 COMPUTER ARCHITECTURE Fall Semester, /05/2013 Lecture 4: Basics of Logic Design Instructor: Ashraf Yaseen DEPARTMENT OF MATH & COMPUTER.
Lecture 22: 11/19/2002CS170 Fall CS170 Computer Organization and Architecture I Ayman Abdel-Hamid Department of Computer Science Old Dominion University.
Exclusive OR Gate. Logically, the exclusive OR (XOR) operation can be seen as either of the following operations:exclusive OR (XOR) 1. A AND NOT B OR.
4. Computer Maths and Logic 4.2 Boolean Logic Logic Circuits.
Chapter 7 Logic Circuits 1.State the advantages of digital technology compared to analog technology. 2. Understand the terminology of digital circuits.
Linear Algebra. Circuits The circuits in computers and other input devices have inputs, each of which is either a 0 or 1, the output is also 0s and 1s.
ES 244: Digital Logic Design Chapter 4 Chapter 4: Combinational Logic Uchechukwu Ofoegbu Temple University.
Implementation of SOP/POS Expressions
EE2174: Digital Logic and Lab Professor Shiyan Hu Department of Electrical and Computer Engineering Michigan Technological University CHAPTER 8 Arithmetic.
CHAPTER 1 SETS, FUNCTIONs, ELEMENTARY LOGIC & BOOLEAN ALGEBRAs
CS/COE0447 Computer Organization & Assembly Language
Logic Design / Processor and Control Units Tony Diep.
Chapter 4 Fundamentals of Computer Logic 1 Chapter 4: Fundamental of Computer Logic - IE337.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Binary Numbers For digital systems, the.
Department of Electrical and Computer Engineering University of Minnesota Presenter: Chi-Yun Cheng Digital Logic with Molecular Reactions.
Logic Design EE-2121 Manesh T. Digital Systems  Introduction  Binary Quantities and Variables  Logic Gates  Boolean Algebra  Combinational Logic.
Module 11.  In Module 9, we have been introduced to the concept of combinational logic circuits through the examples of binary adders.  Meanwhile, in.
Logic Gates Ghader Kurdi Adapted from the slides prepared by DEPARTMENT OF PREPARATORY YEAR.
ECE DIGITAL LOGIC LECTURE 5: BINARY LOGIC AND DIGITAL LOGIC GATES Assistant Prof. Fareena Saqib Florida Institute of Technology Fall 2016, 01/28/2016.
ECE DIGITAL LOGIC LECTURE 15: COMBINATIONAL CIRCUITS Assistant Prof. Fareena Saqib Florida Institute of Technology Fall 2015, 10/20/2015.
Logic Simplification-Using Boolean Laws Logic Design Laboratory EE 2121 Lectures By Manesh T EE2121-In Charge
ELECTRICAL ENGINEERING: PRINCIPLES AND APPLICATIONS, Third Edition, by Allan R. Hambley, ©2005 Pearson Education, Inc. Chapter 7 Logic Circuits.
School of Computer and Communication Engineering, UniMAP DKT 122/3 - DIGITAL SYSTEM I Chapter 0: Introduction Mohd ridzuan mohd nor
THEME 6: Frequency dividers. Digital counters with reduced counting modulus. Programmable digital counters. If the input pulses are more than K, the counter.
Solving Numerical NP-complete Problems with Spiking Neural P Systems Dipartimento di Informatica, Sistemistica e Comunicazione Università degli Studi di.
WORKING PRINCIPLE OF DIGITAL LOGIC
Chapter 3 Boolean Algebra and Digital Logic T103: Computer architecture, logic and information processing.
Lecture 3 Boolean Algebra and Digital Logic Lecture Duration: 2 Hours.
COMBINATIONAL AND SEQUENTIAL CIRCUITS Guided By: Prof. P. B. Swadas Prepared By: BIRLA VISHVAKARMA MAHAVDYALAYA.
Chapter 3 Boolean Algebra and Digital Logic T103: Computer architecture, logic and information processing.
1 CS/COE0447 Computer Organization & Assembly Language Logic Design Appendix C.
Dr. ClincyLecture Slide 1 CS6020- Chapter 3 (3A and ) Dr. Clincy Professor of CS First Exam - Tuesday, September 6th Coverage: All subjects up to.
Matrix Representation of Spiking Neural P Systems with Delay Kamala Krithivasan and Ajeesh Ramanujan Department of Computer Science and Engineering Indian.
Digital Logic.
Computer Science 210 Computer Organization
UNIVERSAL GATES.
Universal gates.
ECB2212-Digital Electronics Boolean algebra
DIGITAL ELECTRONICS B.SC FY
XOR Function Logic Symbol  Description  Truth Table 
Copyright © Cengage Learning. All rights reserved.
Department of Electronics
Boolean Algebra By: Asst Lec. Besma Nazar Nadhem
Presentation transcript:

Some Characteristics of Spiking Neural P Systems with Anti-Spikes Kamala Krithivasan Department of Computer Science and Engineering Indian Institute of Technology, India Co-authors Padmavati Metta Deepak Garg

Outline Spiking Neural P (or SN P) system SN P system with anti-spikes (or SN PA system) SN PA system ◦ As generator / transducer ◦ Example ◦ Simulating Boolean circuits ◦ Simulating Binary Arithmetic operations Conclusion References 2Padmavati Metta, Kamala Krithivasan and Deepak Garg CMC 2010

Spiking Neural P system is a computational model that has been inspired by neurobiology Distributed and parallel computing model Variant of Membrane System (P System) Uses one type of object called spike ( a ) Computationally complete Spiking Neural P system Ionescu, M., P ă un, Gh., Yokomori, T.: Spiking Neural P Systems, Fund. Infor. 71, (2006). 3Padmavati Metta, Kamala Krithivasan and Deepak Garg CMC 2010

O = { a, ā }, the alphabet. a is called spike and ā is called anti-spike. m neurons - σ 1, σ 2, σ 3,..., σ m Syn - Synapses among the neurons. Spike/anti-spike emitted by a neuron i will pass immediately to all neurons j connected to i through synapses. i 0 – Output neuron Spiking Neural P system with anti-spikes Π =(O, σ 1, σ 2, σ 3,..., σ m, syn, i 0 ) Linqiang, P., P ă un, Gh.: Spiking Neural P Systems with Anti-Spikes, Int. J. of Computers, Communications and Control 4, , (2009). 4Padmavati Metta, Kamala Krithivasan and Deepak Garg CMC 2010

Each neuron σ i contains ◦ n i -- initial number of spikes/ anti-spikes ◦ R i -- finite set of rules of the form SN P system with anti-spikes (contd.) 1.Spiking Rules E / b r → b’ – used when a neuron has n spikes/anti-spikes such that b n ∈ L(E) and n ≥ r where b, b’ ∈ { a, ā }, E is a regular expression over { a} or {ā } r ≥ 0, number of b ’s are consumed and a b’ is sent to all neighbouring neurons. They cannot of the form ā r → ā. E is omitted if L(E)=b r., we write b r /b r → b’ as b r → b’ 5Padmavati Metta, Kamala Krithivasan and Deepak Garg CMC 2010

SN P system with anti-spikes (contd.) 2.Forgetting Rules b s →λ - used when a neuron has s number of b’s s ≥ 0, number of b ’s are forgotten by the neuron. b s should not be in L(E) for any spiking rule E/b r → b’ in R i. 3.Annihilation Rule It is implicitly present in each neuron Whenever a spikes and anti-spike meet in a neuron they annihilate each other using the rule aā →λ and The rule has the highest priority and takes no time. 6Padmavati Metta, Kamala Krithivasan and Deepak Garg CMC 2010

A global clock is there and all neurons work in parallel but each neuron can use one rule at a time. There can be more than one rule enabled at any time, then a rule is chosen in a non-deterministic way. At any time a neuron can have either spikes or anti-spikes. After receiving spikes/anti-spikes from neighbouring neurons, if a neuron has r spikes and s anti-spikes, it will be left with r-s spikes if r>s or s-r anti-spikes if s>r. The configuration of a system at any time is, where n i is the number of spikes present in neuron σ i if n i >0 or n i anti-spikes if n i <0, 1 ≤ i ≤ m. SN P system with anti-spikes (contd.) 7Padmavati Metta, Kamala Krithivasan and Deepak Garg CMC 2010

One of the neuron is considered as output neuron From the output neuron, spike/anti-spike is sent to the environment. The moments of time when a spike is emitted by the output neuron are marked with 1, the moments when it emits an anti-spike is marked with 0. The no output moments are ignored. The sequence is called the spike train of the system. The spike train can be the output generated by the system. With a spike train we can also associate various numbers, which can be considered as computed (we also say generated) by an SN P system.  For example distance between the first two spikes of a spike train  Number of spikes present in the output neurons at the end of a halting computation (reaching a configuration where no rule can be used) 8Padmavati Metta, Kamala Krithivasan and Deepak Garg CMC 2010 SN PA system as Generator

SN PA System as generator– Example Evolution 11, 21 - ā 11, 22 - a 1 2 Output ā r21 : a 2 / a  ā r11 : ā  a r22 : a 2  a a 2 9Padmavati Metta, Kamala Krithivasan and Deepak Garg CMC 2010

SN PA System as generator– at time t=1 Evolution 11, 21 - ā 11, 22 - a 1 2 Output If the neuron 2 uses the first rule the system will be in the same configuration ā r21 : a 2 / a  ā r11 : ā  a r22 : a 2  a aaā a ā 10Padmavati Metta, Kamala Krithivasan and Deepak Garg CMC 2010

SN PA System as generator– at any time t Evolution 11, 21 - ā 11, 22 - a 1 2 Output If the neuron 2 uses the second rule the system halts. ā r21 : a 2 / a  ā r11 : ā  a r22 : a 2  a aa a The system generates 0*1, which cannot be generated using simple SN P systems. Ibarra, O. H., Woodworth, S.: Spiking Neural P Systems: Some Characterizations, FCT 2007, LNCS, vol. 4639, pp , Springer, Heidelberg (2007). 11Padmavati Metta, Kamala Krithivasan and Deepak Garg CMC 2010

SN PA system is used as Transducer The system has one or more input and one output neuron. Boolean values 1 and 0 are encoded as spikes and anti-spike respectively. To input 0/1, anti-spike /spike is introduced in the input neurons. The output is 0/1 (hence false/true) if an anti- spike/spike is sent out of the output neuron. 12Padmavati Metta, Kamala Krithivasan and Deepak Garg CMC 2010

Universal Gates The NAND and NOR gates are universal gates. advantageous since NAND and NOR gates are economical and easier to fabricate and are the basic gates used in all IC digital logic families. Padmavati Metta, Kamala Krithivasan and Deepak Garg CMC

SN PA system simulating 2-input NAND gate a 4  ā a 3  a a 2  a 1 2 ā  a a  λ ā  a a  a 3 ā  a a  λ ā  a a  a 4 The output is available after three steps ā  a a  ā ā aā a 5 output Input 1 Input 2 in 1in 2 n5out aaa4a4 ā aāa3a3 a āaa3a3 a āāa2a2 a 14Padmavati Metta, Kamala Krithivasan and Deepak Garg CMC

SN PA system simulating 2-input NOR gate Simulation of 2-input NOR gate is similar to NAND gate but replace all rules in neuron 5 with a 4  ā, a 3  ā and a 2  a to output a spike(1) if both the inputs are anti- spikes(0). 15Padmavati Metta, Kamala Krithivasan and Deepak Garg CMC 2010 The output of the gate is false (0) only if all the inputs are true(1) and is true if any of the inputs is false. The minimum number of spikes received by the output neuron is n (if all inputs are anti-spikes) and maximum will be 2n (if all inputs are spikes). The rule a 2n  ā in the output neuron fires if all inputs are spikes (1). SN PA system simulating n-input NAND gate

a 2n  ā a 2n-1  a a 2n-2  a a n  a 1 2 ā  a a  λ ā  a a  a 2n-1 ā  a a  λ ā  a a  a 2n ā  a a  ā ā aā a 5 output Input 1 Input n 16Padmavati Metta, Kamala Krithivasan and Deepak Garg CMC

Simulation of Boolean formula in SOP form Boolean function can be represented in sum-of-product (SOP) and product-of-sum forms (POS). SOP forms can be implemented using only NAND gates, while POS forms can be implemented using only NOR gates. In either case, implementation requires two levels. The first level is for each term and second level for product or sum of the terms. Consider the Boolean function ¬(x 1  x 2 )  (x 3  x 4 ). It is written in SOP from as ¬x 1  ¬x 2  (x 3  x 4 ) Padmavati Metta, Kamala Krithivasan and Deepak Garg CMC

SN PA system for SN PA system for ¬x 1  ¬x 2  (x 3  x 4 ) 18Padmavati Metta, Kamala Krithivasan and Deepak Garg CMC 2010 x4x4 ¬ x2¬ x2 ¬ x1¬ x1 x3x3 ∏ NAND (1) ∏ (2) ∏ (3) NAND ∏ (4) NAND

SN PA system simulating 2’s complement a 3 a 4 /a  a a 2  ā a  ā ā  a ā aā a a  ā ā aā a outputInput A simple way to find the 2’s complement of a number is to start from the least significant bit keeping every 0 as it is until you reach the first 1 and then complement the rest of the bits after the first 1. 19Padmavati Metta, Kamala Krithivasan and Deepak Garg CMC 2010

stepinputneuron 2 neuron3output t =0-a3a3 -- t =1ā (0)a3a3 -- t =2ā (0)a4a4 -- t =3a (1)a4a4 a- t =4a (1)a2a2 aā (0) t =5ā (0)āā t =6aaa (1) t =7āā (0) t =8a (1) a 3 a 4 /a  a a 2  ā a  ā ā  a 1 3 ā aā a a  ā ā aā a 2 inputoutput Moves of the SN PA system for the input SN PA system simulating 2’s complement 20Padmavati Metta, Kamala Krithivasan and Deepak Garg CMC 2010

SN PA system simulating binary addition a 5 /a 4  a a 4 /a 3  ā a 3  a a 2  ā a  a 1 The output is available after three steps 5 output 21Padmavati Metta, Kamala Krithivasan and Deepak Garg CMC ā  a a  λ ā  a a  a 3 ā  a a  λ ā  a a  a 4 ā  a a  ā ā aā a Input 1 Input 2

carryin1in2 n5Rule usedoutcarry 00 0 a2a2 a 2  ā a3a3 a 3  a a3a a4a4 a 4 /a 3  ā a3a3 a 3  a a4a4 a 4 /a 3  ā a4a a5a5 a 5 /a 4  a a a  a 10 SN PA system simulating binary addition A spike is left in the output neuron to represent the carry 22Padmavati Metta, Kamala Krithivasan and Deepak Garg CMC 2010

Conclusion Spiking neural P systems are used to simulate fundamental gates in, Ionescu, M., Sburlan, D.: Some Applications of Spiking Neural P systems, J. of Computing and Informatics (2008). with two spikes emitting out of the system encoded as 1 and one spike as 0. SN P system with anti-spikes provides a natural way to represent the binary digits using spike and anti-spike. Simulating a Boolean circuit with universal gates does not require synchronizing module. Some languages that cannot be generated using simple SN P systems can be generated using SN PA systems. Here we also consider SN P system with anti-spikes as simple arithmetic device that can perform the arithmetic operations like 2’s complement, addition and subtraction with input and output in binary form. 23Padmavati Metta, Kamala Krithivasan and Deepak Garg CMC 2010

References Gutiérréz-Naranjo, M. A., Leporati, A.: First Steps Towards a CPU Made of Spiking Neural P Systems, Int. J. of Computers, Communications and Control (2009). Ibarra, O. H., Woodworth, S.: Spiking Neural P Systems: Some Characterizations, FCT 2007, LNCS, vol. 4639, pp , Springer, Heidelberg (2007). Ionescu, M., Păun, Gh., Yokomori, T.: Spiking Neural P Systems, Fund. Infor. 71, (2006). Ionescu, M., Sburlan, D.: Some Applications of Spiking Neural P systems, J. of Computing and Informatics (2008). Linqiang, P., Păun, Gh.: Spiking Neural P Systems with Anti-Spikes, Int. J. of Computers, Communications and Control 4, , (2009). Păun, Gh.: Spiking Neural P Systems Used as Acceptors and Transducers, CIAA, LNCS, vol. 4783, pp. 1-4, Springer, Heidelberg (2007). 24Padmavati Metta, Kamala Krithivasan and Deepak Garg CMC 2010

Thank you !