83
Biomimetics Pattern Recogni Biomimetics Pattern Recogni tion and tion and Machine Thinking in Image Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institut e of Semiconductors, CAS ( 中中中中中 中中中中中中中中中中中中中 ) Wang Shoujue( 中中中 ) 2004.6

Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

Embed Size (px)

Citation preview

Page 1: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

Biomimetics Pattern Recognition aBiomimetics Pattern Recognition a

ndnd

Machine Thinking in ImageMachine Thinking in Image

Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors, CAS

( 中科院半导体所神经网络与形象思维实验室 )

Wang Shoujue(王守觉 )

2004.6

Page 2: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

1. Development of 1. Development of Information Information

sciences in recent sciences in recent five decadesfive decades

Page 3: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

Comparison between 1950 and 2000

Page 4: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

computing speed, storage capacity, computing speed, storage capacity, quality of intelligencequality of intelligence

computing speed : thousands billion calculation per second, corresponds to about 1012 times of human brain, as 100 times of total number of human being all over the world.

storage capacity : a 100G hard disk corresponds to all information included in a library with 100000 books.

quality of intelligence : not even comparable with an animal

Page 5: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

aa 、、 Thinking in LogicThinking in Logic b b 、、 Thinking in ImageThinking in Image

Two kinds of thinking in human brain

Page 6: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

3.14159265358… ?whole life paid for ‘’ calculating

Page 7: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

Baby recognizes its mother

but doesn’t know 1+1=?

Page 8: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

the Way to Solve the Image problemthe Way to Solve the Image problem

to solve image problem by

symbolic logic description

to solve image problem by connectionism computing ( artificial neural networks)

Page 9: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

2. Discussion on a 2. Discussion on a Basic Problem of Basic Problem of

Information SciencesInformation Sciences

Page 10: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

(( 11 )) What’s What’s InformationInformation

Page 11: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

In digital world, any In digital world, any information should be described information should be described

as large amounts of digital as large amounts of digital numbersnumbers

Page 12: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

a picture, a photo, a picture, a photo, a speech, a knowledge a speech, a knowledge

each of them corresponds each of them corresponds to a point in the High to a point in the High Dimensional SpaceDimensional Space

Page 13: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

Basic general problem in Basic general problem in

information sciences ——information sciences ——

Point Set Analysis in the Point Set Analysis in the

High Dimensional SpaceHigh Dimensional Space

Page 14: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

(2) A brief review of (2) A brief review of conventional concepts , conventional concepts , from point set analysis in from point set analysis in

the High Dimensional the High Dimensional SpaceSpace

Page 15: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

signal in time domain corresponds to a point in high dimensional space

Page 16: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

(x1,x2,……xn)

A signal in time domain—large amount of digital numbers — a point in the High Dimensional Space

x1 x5

nx

x

a point in Rn

Page 17: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

Fourier Transformation

Page 18: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

0 20 40 60 80 100-1

-0.6

-0.2

0.2

0.6

1

0 20 40 60 80 100-1

-0.6

-0.2

0.2

0.6

1

0 20 40 60 80 100-1

-0.6

-0.2

0.2

0.6

1

0 20 40 60 80 100-1

-0.6

-0.2

0.2

0.6

1

0 20 40 60 80 100-1

-0.6

-0.2

0.2

0.6

1

0 20 40 60 80 100-1

-0.6

-0.2

0.2

0.6

1

......

......

sin, sin2, sin3, …...

cos, cos2, cos3, …...

O

Page 19: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

“there are no more than n lines existed, which perpendicular to each

other, in n-dimensional space”

Page 20: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

Nyquist Sampling Theorem Theorem

Page 21: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,
Page 22: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

Principal Component Analysis

( P C A )

Page 23: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

(( 33 )) high dimensional high dimensional geometrical concepts are geometrical concepts are useful for developing new useful for developing new algorithms for Point Sets algorithms for Point Sets

AnalysisAnalysis

Page 24: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

CCA

BBCCA

A

XBXB

BC

n

iii

BC

n

iii

BCA

n

iiAB

BCDEA

21

21

1

2

...

)()(

)(

)(

作为点作原点,以以

值计算

Page 25: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

...

1

21

2

223

21

1

112

21

1

1

1

2

1

.......,,

...................................................

)(AAA

)(AAA

)(AAA

BCDEAm

BXAmm

mB

BE

n

iii

BEA

BD

n

iii

BDA

BC

n

iii

BCA

A

AA

A

EDC

EEA

DDA

CCA

m

BXmA

循环运算直至

-=-=

-=-=

-=-=令

Page 26: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

A

A

B

C

D

AA

A

1

123

4

Page 27: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

O fI

A

CB

H

d

gK

e

J

m

Page 28: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

A new method to get A new method to get sharper picture from sharper picture from

a blur picturea blur picture

Page 29: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

Original picture( blur )

Final picture( sharper )

Page 30: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,
Page 31: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

blur sharper

Page 32: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,
Page 33: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

3. 3. Biomimetics Pattern Biomimetics Pattern RecognitionRecognition ————

application of High Dimensional Geometricaapplication of High Dimensional Geometrical Point Set Analysis in pattern recognitionl Point Set Analysis in pattern recognition

Page 34: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

(1) discussing a (1) discussing a basic conceptionbasic conception

Page 35: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

What’s the job of What’s the job of Pattern RecognitionPattern Recognition

Page 36: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

(2) The Conceptional Start Point of Biomimetics Pattern

Recognition

Page 37: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

Pattern Recognition classification separation

( conventional

Pattern Recognition )

cognition ( Biomimetics Pattern Recognition )

(( better close to the fact of human better close to the fact of human beingbeing ))

Page 38: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,
Page 39: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

(3) Theoretical starting point of the Biomimetics Pattern Recognition

The Principle of HomologThe Principle of Homology-Continuity (PHC).y-Continuity (PHC).

Page 40: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

The difference between two The difference between two samples of the same class samples of the same class must be gradually changed. must be gradually changed. So every sample in the So every sample in the gradually changing sequence gradually changing sequence between two samples, must be between two samples, must be belonging to the same class.belonging to the same class.

Page 41: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

The Mathematical Description of PHC:

If A is a point set including all samples in class A in feature space, there must be a set B:

B={ x1, x2, x3, …, xn| x1= x, xn= y, n N,

ρ(xm, xm+1) <ε, ε> 0, n-1 m 1, m N } ,

B A

Page 42: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

Conventional Pattern Recognition——oConventional Pattern Recognition——optimal classification of many classes ptimal classification of many classes

Biomimetics Pattern Recognition —— Biomimetics Pattern Recognition ——cognizing different classes one by one, cognizing different classes one by one, by the connectivity of samples in the saby the connectivity of samples in the sa

me classme class(point set analysis in the High Dimensio(point set analysis in the High Dimensio

nal Space)nal Space)

Page 43: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

(4) Actual results of(4) Actual results of BiBiomimetics Pattern Reomimetics Pattern Recognitioncognition compared wi compared with SVM (Support Vectth SVM (Support Vect

or Machine )or Machine )

Page 44: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

(a) Experiments on recognition of o(a) Experiments on recognition of omnidirectionally oriented rigid objectmnidirectionally oriented rigid object

s on a planes on a plane

Page 45: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

objects for recognition objects for recognition

Page 46: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

objects for rejection testing objects for rejection testing

Page 47: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

procedure in experimentprocedure in experiment

number of training samples: number of training samples: 338 338 ~ ~ 169 169

totally for totally for 88 objects objects

testing sample set A: testing sample set A: 3200 samples for 8 3200 samples for 8

objects ( training samples included )objects ( training samples included )

testing sample set B: testing sample set B: 3200 samples for 8 3200 samples for 8

objects ( no training samples included )objects ( no training samples included )

testing sample set C: testing sample set C: 2400 samples for 6 2400 samples for 6

objects for correct rejection test objects for correct rejection test

Page 48: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,
Page 49: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

(( bb )) human face human face recognizing recognizing

Page 50: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

Olivetti Research Laboratory face database

40 persons, 10 pictures per each

Page 51: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

ten pictures from one human face in ORL face database

Page 52: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

35 persons, 3 pictures / each

105 pictures as training set

Page 53: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

testing set A: remained 7 pictures per each of the 35 persons.

7 × 35 = 245 pictures

testing set B: 10 pictures per each of the remained 5 persons.

10 × 5 = 50 picturesfor correct rejection testing

Page 54: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

Results comparison of different Results comparison of different recognition methodsrecognition methods

methods

correct recognition test

correct rejection test

testing set A

error rate

testing set B

error rate

Minimum Distance

( RBF )4.90% 22%

Support Vector Machine ( SVM)

1.64% 10%

Biomimetics PatterBiomimetics Pattern Recognition ( BPn Recognition ( BP

R )R )0.81% 2%

Page 55: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

4. Tools forTools for point set point set analysis in the High Danalysis in the High D

imensional Spaceimensional Space

Page 56: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

( 1 ) High DimensionHigh Dimensionalal descriptive geometrydescriptive geometry

Page 57: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,
Page 58: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,
Page 59: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

23

4

5

6

78

9

10

Page 60: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,
Page 61: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,
Page 62: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,
Page 63: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

)12( OF

Nwhen

Page 64: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

(( 22 )) multi-weight neural netmulti-weight neural networks for high dimensional poiworks for high dimensional poi

nt set computing nt set computing

Page 65: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

mathematicalmathematical model of neuron in the CASSANmodel of neuron in the CASSANN-II neurocomputerN-II neurocomputer

'

'

'i i i

i i i

mSW X W

i i iW X WY f W X W

Wi : DIRECTION weight

Wi’: KERN weight

mathematical model of a conventional neuron mathematical model of a conventional neuron

)( neuronABFXWfY ii neuron)(

2RBFWXfY ii

Page 66: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

Generalized mathematical model of Generalized mathematical model of an artificial neuronan artificial neuron

]),,([1

'

n

iiii XWWfY

0]),,([1

'

n

iiii XWW

Y = F { distance from X to a manifoldY = F { distance from X to a manifold }}

the equation of the manifoldthe equation of the manifold is as follows: is as follows:

Page 67: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

Display in three Display in three dimension casedimension case

'

'

'i i i

i i i

mSW X W

i i iW X WY f W X W

Page 68: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,
Page 69: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

in 100 dimensional feature space

if D2 = D1

L = 5D1

V1 V2 times hundred billion billion billion( 1029 )

1

2 D2

D1L

Page 70: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

5. Make MachineThinking in Image

Page 71: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

Recognition of Imperfect Pictures

Page 72: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,
Page 73: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

Experiment 1

For random Imperfection

0%

5% 10% 15% 20% 25%

30% 35% 40% 45% 50%

Page 74: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

拒识率%

判别阈值

误识率%

Page 75: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

拒识率%

误识率%

判别阈值

Page 76: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

Experiment 2

For Imperfection in the middle

0% 4.35% 8.70% 13.04% 17.39% 21.74%

26.09% 30.43% 34.78% 39.13% 43.48% 47.83%

成片缺损比例

Page 77: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

拒识率%

误识率%

判别阈值

Page 78: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

拒识率%

误识率%

判别阈值

Page 79: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

Experiment 3

For Imperfection on one side

0% 4.35% 8.70% 13.04% 17.39% 21.74%

26.09% 30.43% 34.78% 39.13% 43.48% 47.83%

成片缺损比例

Page 80: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

拒识率%

误识率%

判别阈值

Page 81: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

拒识率%

误识率%

判别阈值

Page 82: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

6. Conclusion6. Conclusion(1) Geometrical method of point set analysis in thpoint set analysis in th

e High Dimensional Space may be a new tool e High Dimensional Space may be a new tool for making “ machine thinking in image” for making “ machine thinking in image”

(2)(2) Biomimetics Pattern Recognition ( BPR ), an aBiomimetics Pattern Recognition ( BPR ), an application of point set analysis in the High Dipplication of point set analysis in the High Dimensional Space, is much better than conventimensional Space, is much better than conventional pattern recognition such as SVM, RBF, etonal pattern recognition such as SVM, RBF, etc. c.

Page 83: Biomimetics Pattern Recognition and Machine Thinking in Image Lab of Artificial Neural Networks & Machine Thinking in Image, Institute of Semiconductors,

Thank you for Thank you for your attention!your attention!