NATURAL ALGORITHMS Joshua J. Arulanandham, PhD student. Prof. Cristian S. Calude and Dr. Michael J. Dinneen, Supervisors. Department of Computer Science,

Slides:



Advertisements
Similar presentations
Heuristic Search techniques
Advertisements

CS 345: Chapter 9 Algorithmic Universality and Its Robustness
Lecture 19: Parallel Algorithms
Signals and Systems March 25, Summary thus far: software engineering Focused on abstraction and modularity in software engineering. Topics: procedures,
Perceptron Learning Rule
Michael Alves, Patrick Dugan, Robert Daniels, Carlos Vicuna
LECTURE 4 DIODE LED ZENER DIODE DIODE LOGIC
Part2 AI as Representation and Search
Chapter 10 Algorithmic Thinking. Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Learning Objectives List the five essential.
Chapter 2 Matrices Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.
Introducing Natural Algorithms. A passionate affair Nature and Numbers – Friends for ever! I started it !
Entropy Rates of a Stochastic Process
Algorithmic Complexity Nelson Padua-Perez Bill Pugh Department of Computer Science University of Maryland, College Park.
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 219 Bell Hall 1.
Pattern Classification All materials in these slides were taken from Pattern Classification (2nd ed) by R. O. Duda, P. E. Hart and D. G. Stork, John Wiley.
Lecture 14 Go over midterm results Algorithms Efficiency More on prime numbers.
Transfer Functions Convenient representation of a linear, dynamic model. A transfer function (TF) relates one input and one output: The following terminology.
Transfer Functions Convenient representation of a linear, dynamic model. A transfer function (TF) relates one input and one output: The following terminology.
Chapter 6: Multilayer Neural Networks
Mathematics Algebra 1 The Meaning of Numbers Choosing the Correct Equation(s) Mathematics is a language. It is used to describe the world around us. Can.
Lecture 3. Boolean Algebra, Logic Gates
Finite Mathematics & Its Applications, 10/e by Goldstein/Schneider/SiegelCopyright © 2010 Pearson Education, Inc. 1 of 86 Chapter 2 Matrices.
CSI 101 Elements of Computing Spring 2009 Lecture #1 – From Math to Computers Wednesday, January 21, 2009.
Chapter 3 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
MANE 4240 & CIVL 4240 Introduction to Finite Elements
Analysis of Algorithms Spring 2015CS202 - Fundamentals of Computer Science II1.
Regression Analysis British Biometrician Sir Francis Galton was the one who used the term Regression in the later part of 19 century.
Lecture 3. Boolean Algebra, Logic Gates Prof. Sin-Min Lee Department of Computer Science 2x.
Illuminating Computer Science CCIT 4-6Sep
CPSC 171 Introduction to Computer Science 3 Levels of Understanding Algorithms More Algorithm Discovery and Design.
Neurons, Neural Networks, and Learning 1. Human brain contains a massively interconnected net of (10 billion) neurons (cortical cells) Biological.
Artificial Intelligence Lecture No. 28 Dr. Asad Ali Safi ​ Assistant Professor, Department of Computer Science, COMSATS Institute of Information Technology.
Introduction Chapter 0. Three Central Areas 1.Automata 2.Computability 3.Complexity.
Natural Algorithms Joshua J. Arulanandham Supervisors: Professor Cristian S. Calude and Dr. Michael J. Dinneen.
Back Propagation and Representation in PDP Networks Psychology 209 February 6, 2013.
Introduction to Programming (in C++) Loops Jordi Cortadella, Ricard Gavaldà, Fernando Orejas Dept. of Computer Science, UPC.
Linear Interpolation (for curve 01).  This chapter discusses straight lines and flat surfaces that are defined by points.  The application of these.
Big Ideas Differentiation Frames with Icons. 1. Number Uses, Classification, and Representation- Numbers can be used for different purposes, and numbers.
Solution of a System of ODEs with POLYMATH and MATLAB, Boundary Value Iterations with MATLAB For a system of n simultaneous first-order ODEs: where x is.
Chapter 10 Algorithm Analysis.  Introduction  Generalizing Running Time  Doing a Timing Analysis  Big-Oh Notation  Analyzing Some Simple Programs.
Electronic Analog Computer
ADALINE (ADAptive LInear NEuron) Network and
Multiplication. Standards Third Grade Common Core 3.3 NBT Multiply one-digit whole numbers by multiples of 10 in the range 10–90 (e.g., 9 × 80, 5 × 60)
Cellular Automata Based Hamming Hash Family : Synthesis and Application CELLULAR AUTOMATA BASED HAMMING HASH FAMILY : SYNTHESIS AND APPLICATION Niloy Ganguly.
1 Motion Fuzzy Controller Structure(1/7) In this part, we start design the fuzzy logic controller aimed at producing the velocities of the robot right.
CS355 - Theory of Computation Regular Expressions.
ERT 210/4 Process Control & Dynamics DYNAMIC BEHAVIOR OF PROCESSES :
Onlinedeeneislam.blogspot.com1 Design and Analysis of Algorithms Slide # 1 Download From
EKT 441 MICROWAVE COMMUNICATIONS CHAPTER 3: MICROWAVE NETWORK ANALYSIS (PART 1)
© 2016 Pearson Education, Ltd. Linear Equations in Linear Algebra LINEAR MODELS IN BUSINESS, SCIENCE, AND ENGINEERING.
OUTPUT PRIMITIVES A.Aruna/Faculty of Information technology/SNSCE13/19/2016.
Computer Graphics CC416 Lecture 04: Bresenham Line Algorithm & Mid-point circle algorithm Dr. Manal Helal – Fall 2014.
Next Contents Back. Next Contents Back The Integers are natural numbers including 0 (0, 1, 2, 3,...) and their negatives (0, −1, −2, −3,...). They are.
More on Digital Logic Devices and Circuits Trac D. Tran ECE Department The Johns Hopkins University Baltimore, MD
God, Physics and the Natural-Computer Natural Algorithms Joshua Arulanandham Computer Science.
An unconventional computational model.
Transfer Functions Convenient representation of a linear, dynamic model. A transfer function (TF) relates one input and one output: The following terminology.
Character Animation Forward and Inverse Kinematics
EKT 356 MICROWAVE COMMUNICATIONS
Image Warping (Geometric Transforms)
Recent from Dr. Dan Lo regarding 12/11/17 Dept Exam
Computer Programming LAB 1 Tejalal Choudhary Asst. Prof, CSE Dept.
Hidden Markov Models Part 2: Algorithms
8.1.1 Solving Simple Equations
Chapter 6 Network Flow Models.
A Dynamic System Analysis of Simultaneous Recurrent Neural Network
Recent from Dr. Dan Lo regarding 12/11/17 Dept Exam
Lecture One: Automata Theory Amjad Ali
WJEC GCSE Computer Science
Notes Over 6.1 Graphing a Linear Inequality Graph the inequality.
Presentation transcript:

NATURAL ALGORITHMS Joshua J. Arulanandham, PhD student. Prof. Cristian S. Calude and Dr. Michael J. Dinneen, Supervisors. Department of Computer Science, The University of Auckland, New Zealand.

A passionate affair Nature and Numbers – “Friends” for ever! I started it !

Describing nature with mathematics The universe is written in the language of mathematics, and its characters are triangles, circles, and other geometric figures

Describing nature with computation The universe is written in the language of Cellular Automata, and its characters are tiny cells with discrete states.

How about describing computation with nature ? To those who study her, Nature reveals herself as extraordinarily fertile in devising means … Joseph Wood Krutch, nature writer

A merry-go-round can “sort” I too can sort! Huh !

Beads fall down in sorted order The SORT “gate” “raw” vector v sorted vector v

Bead-Sort Sorting {3, 1, 2} 2. Drop 1 bead 3. Drop 2 beads 1. Drop 3 beads (Remember, always from left-to-right) 1 2 3

Bead-Sort Sorting {1, 3, 2, 4} 2. Drop 3 beads 3. Drop 2 beads 1. Drop 1 bead (Remember, always from left-to-right) 4. Drop 4 beads

Level_Count Bead-Sort: s equential implementation Two linear arrays used. Rod_Count keeps track of number of beads in each rod. Level_Count records number of beads in each level. Level_Count would contain sorted data, in the end. Rod_Count 2 1 1

Bead-Sort: digital representation Presence of bead = 1-state Absence of bead = 0-state Flip-flops

1  2  3  V2 V1 V3 Trim v1v1v1v1 v2v2v2v2 v3v3v3v3 Increase voltage by 1 unit every time a ‘1’ is sent 110 (strings of 1’s similar to balls) DATA ENTRY Calculating current flow Resistor chain 1: I1 = V1/R = 3/(1+2+3) = 1/2 A Resistor chain 2: I2 = V2/R = 2/(1+2+3) = 1/3 A Resistor chain 3: I3 = V3/R = 1/(1+2+3) = 1/6 A (no.2) (no. 1) (no. 3) /2 A1/3 A1/6 A 0.5 V 1 V 1.5 V 0.3 V 0.7 V 1 V 0.2 V 0.3 V 0.5 V ‘Trim’ Voltage level: Trim( v ) = 1 if v >= otherwise 1 V 2 V 3 V sorted dataAnalogrepresentation

000 CA implementation initial configuration {2,1,3} final configuration {1,2,3} Simple CA rules

A natural computational model

A self-regulating balance XY X + Y infinite source x, y x + y input pan (fixed weight) output pan (adjustable weight)

XY + ? X - Y = ?  X = Y + ? (assume, x > y) Subtraction

Average, division & multiplication a a 2a input aa a a 4a x, y a a a = (x + y) / 2 x, y, z, w aa aa a = (x + y + z + w) / 4

Solving simultaneous equations X + Y = 5 X – Y = 3 xy 5 Represents X + Y = 5 y 3 x Represents X – Y = 3

Principles for designing natural algorithms  Principle of Preferred States A natural system has a set of preferred states due to the presence of inherent properties and laws, thus restraining the “degrees of freedom” of the system.  Principle of Bilateral Symmetry Some natural (physical) systems can facilitate both “forward” and “backward” directions of information-flow, for the same “price”: it is possible to compute what possible input(s) might lead to a particular output.  Principle of Automatic Constraint Satisfaction If the constraints in a problem are “hard-wired” into the natural system (representing the problem), then, the preferred state is the desired solution (state).

or The “bias” in nature Sliders

Automatic constraint satisfaction - A simple demonstration l1l1 l2l2 l3l3 (l 1 + l 2 + l 3 ) / 3 Liquids finding the same level due to atmospheric pressure

Start Goal The problem space Combinatorial explosion need not matter

Natural algorithm - Natural algorithm - shortest path A B (Source) C D E (Destination) E (Destination)Shortestpath

THANK YOU! Special thanks are due to Dr. Alan Creak, Honorary Researcher, Dept. of Computer Science Prof. Boris Pavlov, Professor, Dept. of Mathematics Prof. Garry Tee, Research Fellow, Dept. of Mathematics Mr. Jasvir Nagra, PhD Student, Dept. of Computer Science Mr. Damien Duff, MSc Student, Dept. of Computer Science Mr. Andrew Paxie, MSc Student, Dept. of Computer Science Mr. Dong Qiang, former MSc Student, Dept. of Computer Science Mr. Philip Chiang, PhD Student, Dept. of Computer Science Mr. Chi-kou Shu, PhD Student, Dept. of Computer Science Mr. Ming Li, MSc Student, Dept. of Computer Science for their invaluable suggestions and comments.

Bead Sort Sorting {2, 3, 1} 2. Drop 3 beads 3. Drop 1 beads 1. Drop 2 beads (Remember, always from left-to-right) 1 2 3

Bead Sort Sorting {1, 3, 2} 2. Drop 3 beads 3. Drop 2 beads 1. Drop 1 bead (Remember, always from left-to-right) 1 2 3

Bead Sort Sorting {2, 4, 3, 2} 2. Drop 4 beads 3. Drop 3 beads 1. Drop 2 beads (Remember, always from left-to-right) 4. Drop 2 beads

, 700 degrees of freedom (100 cells with three 1’s) “squeeze” OR 100C 3 degrees of freedom 2 possible states entropy loss = HUGE !