t2 fs talk

37
Fuzzy Set Type-2 Theory, Applications and Examples Mahmoud Alish Noha El-Prince Nouf Al Alawi

Upload: noha-elprince

Post on 07-Dec-2014

384 views

Category:

Technology


1 download

DESCRIPTION

 

TRANSCRIPT

Page 1: T2 fs talk

Fuzzy Set Type-2 Theory, Applications and Examples

Mahmoud Alish Noha El-Prince Nouf Al Alawi

Page 2: T2 fs talk

Agenda •  Introduction to type-2 fuzzy set.

o  Interval Type-2 & General Type-2 o  Type-2 Terminologies

•  Type-2 fuzzy set Theory & Systems o  Theory & operation o  Inference System o  Example (Image Edge Detection)

•  Application (Computing With Words) o  Computing with Words (CWW) o  Perceptual Computing (Per-C) o  Example of Per-C: Journal Publishing Judgment Advisor (JPJA) o  Analysis of Per-C o  Conclusion

Page 3: T2 fs talk

Introduction •  Introduced by Zadeh as theoretical concept in 1975 to

handles the uncertainty that Type-1 cannot handle.

•  Three sources of uncertainties –  The meanings of the words used in the antecedents & consequents

•  words mean different things to different people

–  The noise associated with Measurements of activating in the fuzzy system.

–  The noise associated with data that are used to tune the parameters in the fuzzy system.

Page 4: T2 fs talk

Introduction

•  Able to model and minimize the effects of uncertainties in the fuzzy logic systems.

•  The grades of membership are fuzzy not crisp like Type-1 –  Called a “fuzzy-fuzzy set.”

•  Fuzzy set of type-2 denoted by ( ) •  If all uncertainty disappears è Type-2 reduces to a Type-1

Page 5: T2 fs talk

Interval & General Type-2 Fuzzy Set

•  The membership function is three-dimensional (model uncertainty). –  More difficult to use and understand. –  Third dimension difficult to draw. –  Not easy to collect simple well-defined terms for the third dimension –  The use of type-2 is computationally more complicated.

•  There are two types of fuzzy set type-2 –  General Type-2 Fuzzy Set –  Interval Type-2 Fuzzy set

Page 6: T2 fs talk

Interval & General Type-2 Fuzzy Set

General Type-2 IntervalType-2

•  Primary Membership (2D Domain) •  Secondary Membership (3D Domain)

•  The third dimension value is constant everywhere è ignored

Page 7: T2 fs talk

The Terminologies

•  FOU: Footprint of uncertainty. •  UMF & LMF: Upper and lower membership functions

Page 8: T2 fs talk

Agenda •  Introduction to type-2 fuzzy set.

o  Interval Type-2 & General Type-2 o  Type-2 Terminologies

•  Type-2 fuzzy set Theory & Systems o  Theory & operation o  Inference System o  Example (Image Edge Detection)

•  Application (Computing With Words) o  Computing with Words (CWW) o  Perceptual Computing (Per-C) o  Example of Per-C: Journal Publishing Judgment Advisor (JPJA) o  Analysis of Per-C o  Conclusion

Page 9: T2 fs talk

Type-2 Theory

•  Two representations: –  The vertical-slice

•  The basis for most computations

–  The wavy-slice •  The basis for most theoretical

derivations

Page 10: T2 fs talk

Type-2 Theory

•  Both representations called covering theorems –  Union of all vertical slices

–  Union of all embedded Type-1 that

cover the entire FOU.

•  known as the Mendel-John Representation Theorem (RT)

Page 11: T2 fs talk

Operations

Union Intersection Complement

Page 12: T2 fs talk

Type-2 Fuzzy System

•  Type Reduction

Page 13: T2 fs talk

Type-2 Fuzzy System

Page 14: T2 fs talk

Type-2 Fuzzy System

•  Singleton Type-2 Fuzzy Logic Systems –  Based on Mandani –  Uncertainties in the antecedents or consequents

•  Non-singleton Fuzzy Logic Systems –  Based on Mandani –  Uncertainties in both the antecedents, consequents and input

measurement –  More complicated.

•  Sugeno Type-2 Fuzzy Systems –  Based on Takagi and Sugeno

Page 15: T2 fs talk

The Use of Interval Type-2 Fuzzy Logic as a Method for Edge Detection using Gaussian as MF •  Detecting the edges allows feature extraction & construction of input

vectors for neural networks with aims of image recognition

•  Traditional Methods –  The gradient methods like Roberts, Prewitt and Sobel for detect edges.

•  Looking for maximum and minimum in first derived –  The Laplacian methods like Marrs-Hildreth

•  Finding the zeros of second derived

Page 16: T2 fs talk

The Use of Interval Type-2 Fuzzy Logic as a Method for Edge Detection using Gaussian as MF

Inputs Inputs equation Rules

DH: Derivative Horizontal

If (DH is LOW) and (DV is LOW) then (EDGES is LOW) If (DH is MEDIUM) and (DV is MEDIUM) then (EDGES is HIGH) If (DH is HIGH) and (DV is HIGH) then (EDGES is HIGH) If (DH is MEDIUM) and (HP is LOW) then (EDGES is HIGH) If (DV is MEDIUM) and (HP is LOW) then (EDGES is HIGH) If (M is LOW) and (DV is MEDIUM) then (EDGES is LOW) If (M is LOW) and (DH is MEDIUM) then (EDGES is LOW)

DV: Derivative

Vertical

HP: high-pass

filter M:

low-pass filter

Page 17: T2 fs talk

The Use of Interval Type-2 Fuzzy Logic as a Method for Edge Detection using Gaussian as MF

Page 18: T2 fs talk

The Use of Interval Type-2 Fuzzy Logic as a Method for Edge Detection using Gaussian as MF

•  By using Type-2 fuzzy more than half of the pixels were cleared without depreciating the image

–  reduce in drastic form the cost of training in a neural network.

Page 19: T2 fs talk

Agenda •  Introduction to type-2 fuzzy set.

o  Interval Type-2 & General Type-2 o  Type-2 Terminologies

•  Type-2 fuzzy set Theory & Systems o  Theory & operation o  Inference System o  Example (Image Edge Detection)

•  Application (Computing With Words) o  Computing with Words (CWW) o  Perceptual Computing (Per-C) o  Example of Per-C: Journal Publishing Judgment Advisor (JPJA) o  Analysis of Per-C o  Conclusion

Page 20: T2 fs talk

Computing with Words (CWW) CWW    is  :  

“A  methodology  in  which  words  are  used  

   in  place  of  numbers  for  compu7ng  and    

   reasoning..”

Ann  lives  near  Mary  Distance  =  

500  

Example:  consider  the  proposi<ons:    p1  =  Ann  lives  near  Mary    p2  =  Mary  lives  near  Clara.      Query  :  “How  far  is  Ann  from  Clara?,”        Answer:  Ann  lives  not  far  from  Clara.  

(Zadeh, 1996- Ref[4])

Fig. Compute with numbers vs. compute with words

20

Page 21: T2 fs talk

Perceptual Computer (Per-C)

•  Words mean different things to different People = uncertainty in words = FL •  Uncertainty a person has about the meaning of a word (intra-personal

uncertainty)=> T1 FL •  Uncertainties that a group of people have about the meaning of the word

(inter-personal uncertainty) => T2 FL

Encoder

Decoder

CWW Engine (T2 FLS)

Words (perceptions)

Words (word, rank, class)

IT2 FS

IT2 FS

Fig. Architecture of a Per-C (Mendel Ref[5],2002)

[Ref 6]

21

Page 22: T2 fs talk

Perceptual Computer (Per-C) cont. Encoder: Words --------------- > IT2 FSs (Code Book = Words + their FOUs) q  Encoding Approaches:

Ø  Person FOU

Ø  Interval End-points

Ø  IA Approach (mostly practically used)

Encoding Approach

22

Page 23: T2 fs talk

q  IA Approach: (1) Collect interval end point data for a word

from a group of persons. (2) After removing outliers, intervals

are classified as either : interior, left-shoulder, right-shoulder IT1FS.

(3) Each word’s data intervals is mapped into its respective T1 interior, left shoulder or right shoulder MF (4) Interpret the MFs as an embedded T1 FS. Using Representation theorem and take their union.

Perceptual Computer (Per-C) cont.

23

(5) Result is a FOU for an IT2FS model of the word. (6) The words + their FOUs constitute a codebook.

Page 24: T2 fs talk

24

Perceptual Computer (Per-C) cont. v  Code Book Sample:

v  FOUs of 4 words

Page 25: T2 fs talk

25

Perceptual Computer (Per-C) cont. q  CWW Engine

(a) Linguistic Weighted Average (LWA)

= data features

= The weights

Encoder

Decoder

CWW Engine (T2 FLS)

Words (perceptions)

Words (word, rank, class)

IT2 FS

IT2 FS

There are different kinds of CWW engines:

Page 26: T2 fs talk

26

(b) Perceptual Reasoning (PR) Given : A rule base with K rules, each of the form:

Perceptual Computer (Per-C) cont.

Where and are words modeled by IT2 FSs

new input = (j = 1,...,p) are also words modeled by IT2 FSs

Output: where Firing level

of Rk

q  CWW Engine

Jaccard similarity for IT2 FSs

and are upper and lower MFs of

Page 27: T2 fs talk

27

Perceptual Computer (Per-C) cont. q Decoder

Recomm. Type

Decoder Type

Word

Similarity is calculated between the CWW o/p and all the words in the codebook. The o/p is the word with max. similarity.

Rank

A centroid-based ranking method for IT2 FSs can be used to select the best alternative.

Class

A decision category is the o/p made by a classifier e.g. Average subsethood

Encoder

Decoder

CWW Engine (T2 FLS)

Words (perceptions)

Words (word, rank, class)

IT2 FS

IT2 FS

•  Three Types of decoders according to three types of recommendations:

Page 28: T2 fs talk

Application of Perceptual Computing

28

q The Journal Publishing Judgment Advisor (JPJA)

Page 29: T2 fs talk

29

Application of Perceptual Computing

Ø Step#1: Modify Paper review form

q The Journal Publishing Judgment Advisor (JPJA)

Page 30: T2 fs talk

30

Application of Perceptual Computing

Ø Step#2: Design the Encoder Two code books are needed : ( words (used by the reviewer), weights )

Fig. FOUs for the five-word Sub-codebook R1

Fig. FOUs for the three-word Sub-codebook R2

I. Codebook for the reviewer

q The Journal Publishing Judgment Advisor (JPJA)

Page 31: T2 fs talk

31

Application of Perceptual Computing

Ø Step#2: Design the Encoder – cont.

Fig. FOUs for the three-word Sub-codebook W1

Fig. FOUs for the four-word Sub-codebook W2

II. Codebook for the weights Weights correspond to Importance (W ̃I), Content (W ̃Co) and Depth (W ̃D).

Weights correspond to Weights correspond to Style (W ̃S), Organization (W ̃O), Clarity (W ̃Cl) and Reference (W ̃R).

Weights correspond to Weights correspond to Weights correspond to Technical Merit (W ̃T ) and Presentation ( W ̃P ) .

Fig. FOUs for the two-word Sub-codebook W3

q The Journal Publishing Judgment Advisor (JPJA)

Page 32: T2 fs talk

32

LWAs are used : all assessments and weights are words (or FOUs)

q The Journal Publishing Judgment Advisor (JPJA) Ø  Step#3: Design the CWW Engine

Application of Perceptual Computing

Page 33: T2 fs talk

33

•  The decoder for the JPJA is a classifier: it classifies the overall paper quality

into 3 classes: Accept, Rewrite, or reject.

•  A decoding codebook is needed to store the FOUs for these 3 words.

q The Journal Publishing Judgment Advisor (JPJA)

•  2 approaches for constructing such a codebook: a.) using a survey (used in JPJA) b.) using training examples.

Application of Perceptual Computing

Ø  Step#4: Design the decoder

•  O/p:

Page 34: T2 fs talk

Analysis of Per-C

34

q  Advantages

o  Very good tool for hierarchal decision making.

o  Diverse i/ps can be aggregated across different hierarchies

o  Uncertainties associated with these i/p s are preserved and

propagate into the final evaluation. q  Limitations

o  Not data adaptive o  Inputs (Interval end points) needs human interaction.

Page 35: T2 fs talk

Conclusion

35

•  Type-2 fuzzy set enables us to model the effect of uncertainty in (FLS)

better than Type-1 fuzzy set as it combines uncertainty about the

membership function into fuzzy set theory.

•  Type-2 fuzzy set is used when there is uncertainty about the

membership grades or difficult to determine the membership

functions of fuzzy logic system.

•  Per-C is a very useful tool for hierarchal and distributed decision making

and has great potential in solving complex decision-making problems.

Page 36: T2 fs talk

Questions ?

Page 37: T2 fs talk

References •  [1] Oscar Castillo and Patricia Melin. Type-2 Fuzzy Logic: Theory and Applications. 223, 2008

Springer-Verlag Berlin Heidelberg. July 2007. •  [2] Jerry M. Mendel and Robert I. Bob John. Type-2 Fuzzy Sets Made Simple. IEEE

TRANSACTIONS ON FUZZY SYSTEMS, VOL. 10, NO. 2, APRIL 2002. •  [3] Jerry M Mendel. Type-2 fuzzy sets and system: an overview. IEEE computational intelligent

magazine, vol 2, no. 1, pp. 20-29. February 2007.

•  [4] L.A. Zadeh, Fuzzy logic = computing with words, IEEE Trans. on Fuzzy Systems 4 (1996) 103-111.

•  [5] J.M. Mendel, An architecture for making judgments using computing with words, Int. J. Appl. Math. Comput. Sci. 12 (3) (2002) 325–335.

•  [6] J.M.Mendel, Perceptual Computing, Willey, 2010.

37