2008: natural computing: the virtual laboratory and two real-world applications
DESCRIPTION
CONAIS 2008 (Congreso Internacional de Informática y Sistemas), Villahermosa, MexicoTRANSCRIPT
Natural ComputingNatural Computing: : The Virtual Laboratory and The Virtual Laboratory and
Two Real-World ApplicationsTwo Real-World Applications
Leandro Nunes de Castro
[email protected]; [email protected]
Mackenzie University
NatComp – From Nature to Business
Natural Computing - CONAIS 2008 Dr. Leandro Nunes de Castro
2
AgendaAgenda
• Natural Computing– Introduction and Motivation– Computing Inspired by Nature– Synthesis of Nature by Means of Computing– Novel Computing Devices
• The Virtual Laboratory on Natural Computing– Main Features and Where to Find
• Two Real World Applications– A Grain Classifier– Container Scheduling
Natural ComputingNatural Computing
Motivation and An Overview
Natural Computing - CONAIS 2008 Dr. Leandro Nunes de Castro
4
Imagine a world where computers can create new universes, and within these universes there are natural forms that reproduce, grow and adapt. Imagine natural patterns, mountains, ant colonies, immune systems and brains, all learning and evolving, and becoming increasingly more adapted to the environment. Imagine if our computers could contain new forms of life. Think how this would affect our lives. Maybe we could automatically create house and music design, new forms of protecting computers against invaders, new forms of solving complex problems, new organisms and new forms of computing.
Now stop imagining.Welcome to Computing in the New Millennium. Welcome to the Natural Computing age!
Adapted from Digital Biology, by P. Bentley.
Natural Computing - CONAIS 2008 Dr. Leandro Nunes de Castro
5
Current Computer TechnologyCurrent Computer Technology
• Turing Machines (TM)– Computational device idealized by A. Turing in 1936– If a problem can be computed, then it can be computed by a
Turing Machine
• J. von Neumman architecture
Natural Computing - CONAIS 2008 Dr. Leandro Nunes de Castro
6
Main Features of Current ComputersMain Features of Current Computers
• General-purpose machines• Manipulate precisely precise information*• Address-based memory• Serial processing*• Are not capable of generalizing• Are not fault tolerant (robust)• Are not adaptable*• …
Natural Computing - CONAIS 2008 Dr. Leandro Nunes de Castro
7
Questions Natural Computing help to AnswerQuestions Natural Computing help to Answer• How to solve intractable problems?• How to realistically synthesize natural phenomena?• What computing devices will come next?
N.
of
ato
ms
per
bit
2020: 1 atom per bit
Natural Computing - CONAIS 2008 Dr. Leandro Nunes de Castro
8
Natural Computing: An OverviewNatural Computing: An Overview• Nature x Computing• Natural computing is the terminology used to
encompass three paradigms:– Computing inspired by nature– The simulation and emulation of natural phenomena in
computers– Computing with natural materials
Natural Computing - CONAIS 2008 Dr. Leandro Nunes de Castro
9
Natural Computing: An OverviewNatural Computing: An Overview
Natural Computing - CONAIS 2008 Dr. Leandro Nunes de Castro
10
Computing Inspired by Nature Computing Inspired by Nature
• Nature has evolved through ages in order to solve complex real-world problems
• Examples abound: nest building, nest cleaning, main senses (hearing, seeing, touching, smelling, tasting), etc.
• Computer algorithms based or inspired by nature have been developed for some time:– Either to model nature,– Or to solve complex real-world problems
Natural Computing - CONAIS 2008 Dr. Leandro Nunes de Castro
11
Computing Inspired by NatureComputing Inspired by Nature• Neurocomputing• Evolutionary Computing• Swarm Intelligence• Immunocomputing• etc.
Natural Computing - CONAIS 2008 Dr. Leandro Nunes de Castro
12
Synthesis of Nature by Means of ComputingSynthesis of Nature by Means of Computing
• Biosciences: reductionist approach to understanding life• Artificial Life & Fractal Geometry: bottom-up approach to
synthesize life patterns and behaviors• Focus on the computational synthesis of natural patterns
and behaviors, not problem solving• Widely used in computer graphics and movie making• What is life?
– “The property or quality that distinguishes living organisms from dead organisms and inanimate matter, manifested in functions such as metabolism, growth, reproduction, and response to stimuli or adaptation to the environment originating from within the organism.” (Dictionary.com)
Natural Computing - CONAIS 2008 Dr. Leandro Nunes de Castro
13
Synthesis of Nature by Means of ComputingSynthesis of Nature by Means of Computing• Artificial Life and Fractal Geometry
Natural Computing - CONAIS 2008 Dr. Leandro Nunes de Castro
14
Novel Computing DevicesNovel Computing Devices
• If current computing technology will reach its limit in the near future, what would be the alternative material with which to compute?
• New computing methods based on other natural material than silicon:– Molecules– Membranes– Quantum systems
Natural Computing - CONAIS 2008 Dr. Leandro Nunes de Castro
15
Novel Computing DevicesNovel Computing Devices
Quantum bit: |x = c1|0 + c2|1
Natural Computing - CONAIS 2008 Dr. Leandro Nunes de Castro
16
Fundamentals of Natural ComputingFundamentals of Natural Computing
• Some ideas that form the basis of natural computing:– Capacity of dealing with complex
problems– The use of sets of candidate solutions– Capacity of dealing imprecisely with
imprecise information– Robustness– Distributivity– Self-repair– etc.
The Virtual Laboratory on Natural The Virtual Laboratory on Natural ComputingComputing
LVCoN
Natural Computing - CONAIS 2008 Dr. Leandro Nunes de Castro
18
Virtual LaboratoriesVirtual Laboratories
• A virtual laboratory is a tool for distance learning and/or experimentation that allows people to share knowledge, data, voice, video, tools, and many other resources. It provides a suitable environment to extend, improve, integrate, refine, and assist the learning and/or experimentation process of many subjects, thus contributing to an increase of the effectiveness of scientific research and widening the use of scarce or costly equipments.
Natural Computing - CONAIS 2008 Dr. Leandro Nunes de Castro
19
The Virtual Laboratory on Natural ComputingThe Virtual Laboratory on Natural Computing
• Didactic contents – Biological motivation, theoretical contents, pictures, references
and pseudocodes.
• Simulations– Java applets simulators available with a brief tutorial.
• Exercises with responses – Sets of exercises with their respective answers to allow the
students/instructors to evaluate themselves.
http://lsin.unisantos.br/lvcon. .
Natural Computing - CONAIS 2008 Dr. Leandro Nunes de Castro
20
The Virtual Laboratory on Natural ComputingThe Virtual Laboratory on Natural Computing
A Grain Classification MachineA Grain Classification Machine
NatComp – From Nature to Business
Natural Computing - CONAIS 2008 Dr. Leandro Nunes de Castro
22
Automatic Grain ClassificationAutomatic Grain Classification• Actors involved:
– Producers;– Local and global consumers;– Cooperatives;– Banks;– Stock Market.
• Motivation:– Automatic certification of quality;– Avoid classification conflicts;– No equivalent machine available***;– Standardization.
Natural Computing - CONAIS 2008 Dr. Leandro Nunes de Castro
23
Examples of Grain DefectsExamples of Grain Defects
Natural Computing - CONAIS 2008 Dr. Leandro Nunes de Castro
24
The Grain Classifier ProjectThe Grain Classifier Project• Public Investor, several commercial partners• The Development Cycle:
Natural Computing - CONAIS 2008 Dr. Leandro Nunes de Castro
25
Computer VisionComputer Vision
• Image Capture:– Double face capture
• Feature Extraction:– Color, Texture and Shape
attributes– Based on the RGB
histograms– Total of 70 attributes
extracted per grain
Natural Computing - CONAIS 2008 Dr. Leandro Nunes de Castro
26
Feature Selection and ClassificationFeature Selection and Classification
• Feature Selection:– Filter and Wrapper
• Classification:– Naïve Bayes– KNN– Support Vector Machines– Multi-Layer Perceptrons– aiNet+RBF– SRABNET: Supervised RABNET
Natural Computing - CONAIS 2008 Dr. Leandro Nunes de Castro
27
Experimental ResultsExperimental Results
• Estimating the Weight
ICS-RBF = aiNet+RBF
Str: average deviation from the desired value (training)Etr:average estimation error for training (training)
Natural Computing - CONAIS 2008 Dr. Leandro Nunes de Castro
28
Experimental ResultsExperimental Results• Classification Performance
Etr% Ete%
ECV% Std
MLP 8,80 1,814
SVM 10,60 3,31
k-NN 15,10 3,00
Natural Computing - CONAIS 2008 Dr. Leandro Nunes de Castro
29
DiscussionDiscussion
• The immune system approach demonstrated to be competitive
• Experiment with binary classification followed by defect classification
• Experiment hierarchical classification• Possibility of automating the classification of grains• Benchmark classification performance for humans: 95%
Operation Planning in a Container Operation Planning in a Container Terminal (CONTER)Terminal (CONTER)
NatComp – From Nature to Business
Natural Computing - CONAIS 2008 Dr. Leandro Nunes de Castro
31
The Importance of Container TerminalsThe Importance of Container Terminals
• Most World commerce is performed using containers
• The operation of a CONTER is a very complicated and challenging task, involving space and equipment constraints, short time spans for ship docking, pre-specified ship plans, customs procedures, etc.
Natural Computing - CONAIS 2008 Dr. Leandro Nunes de Castro
32
A Typical Problem: Scheduling RTGsA Typical Problem: Scheduling RTGs
• When a Ship Plan is received in the terminal, the operators have to search and load the selected containers into the ship.
• The RTGs (Rubber Tyred Gantry Crane) are typical container handling equipments and move in three directions: x, y, and z.
• The less movements the RTGs make, the faster and cheaper becomes the ship loading.
Natural Computing - CONAIS 2008 Dr. Leandro Nunes de Castro
33
RTGs Movements: ProductiveRTGs Movements: Productive
(a) (b) (c)
(c) (d) (e)
Natural Computing - CONAIS 2008 Dr. Leandro Nunes de Castro
34
RTGs Movements: Improductive (Set-Up)RTGs Movements: Improductive (Set-Up)
(a) (b)
(c) (d)
Natural Computing - CONAIS 2008 Dr. Leandro Nunes de Castro
35
Cost to Remove ContainersCost to Remove Containers
TTz
zz
y
yy
x
xx ntV
nl
V
nl
V
nlQi
N
iiQC
1
where nx, ny and nz is the number of movements in direction X, Y and Z, respectively; Vx, Vy and Vz is the RTG velocity in direction X, Y and Z, respectively; tT is the time spent to lock or unlock the spreader and nT is the number of spreader locking/unlocking.
Natural Computing - CONAIS 2008 Dr. Leandro Nunes de Castro
36
The copt-aiNet AlgorithmThe copt-aiNet Algorithm
Natural Computing - CONAIS 2008 Dr. Leandro Nunes de Castro
37
A Demo on the RTG Scheduling ProblemA Demo on the RTG Scheduling Problem
Natural Computing - CONAIS 2008 Dr. Leandro Nunes de Castro
38
RTG Scheduling DiscussionRTG Scheduling Discussion
• Copt-aiNet was originally used for gene ordering• Possibility of using other heuristics• A few minutes are available to suggest the removal
schedule• This type of problem was rarely perceived as a ‘problem’
in container terminals• Promotes over 40% reduction in set-up movements and
time
Natural Computing - CONAIS 2008 Dr. Leandro Nunes de Castro
39
Applied AIS: DiscussionApplied AIS: Discussion
• Vast number of applications available• Great potential for further applications and developments• Some issues that still deserve investigation:
– Formal aspects– Comparison (theoretical and empirical) with other approaches– Loads of testing: validation– Real benefits– How far to stretch the metaphor?– Scalability– Robustness to high dimensions
Natural Computing - CONAIS 2008 Dr. Leandro Nunes de Castro
40
How Far Can We Go?How Far Can We Go?
THANK YOU FOR THE ATTENTION!THANK YOU FOR THE ATTENTION!
QUESTIONS?QUESTIONS?