Processing math: 100%

Type-1 and Interval Type-2 Fuzzy Systems

The basic concepts of T1 and IT2 fuzzy sets and systems.

Authors | Affiliations

Dongrui Wu, Huazhong University of Science and Technology, Wuhan, China

Ruimin Peng, Huazhong University of Science and Technology, Wuhan, China

Jerry M. Mendel, University of Southern California, Los Angeles, CA USA

Date of Publication

Nov. 6, 2022

Interactive Element
Indicates interactive elements.

I. Introduction

Introduction

Imagine you and your friend are driving on a highway in two separate cars, and you want to follow your friend's car at about 50 meters behind. You can observe your distance to your friend's car (e.g., far, close, or okay), and your relative speed to it (e.g., fast, slow, or okay). Then, how would you adjust your acceleration (gas pedal), so that the distance is kept at roughly 50 meters?

Some intuitive rules would apply, e.g.,

IF the distance is far AND your relative speed is slow, THEN your acceleration should be positive;

IF the distance is close AND your relative speed is fast, THEN your acceleration should be negative;

IF the distance is okay AND your relative speed is okay, THEN your acceleration should be about zero;

and so on. A human driver can adjust the acceleration intuitively, without using any mathematics.

Then, how about designing a car following controller for this task? How would you transform the above knowledge (rules) into mathematical formulas, so that the controller can calculate the appropriate acceleration based on the distance and speed?

Fuzzy systems are in this regard very suitable tools. Next, we will introduce how they can be used to solve this problem.

II. Type-1 Fuzzy Sets and Fuzzy Systems

Type-1 Fuzzy Sets and Fuzzy Systems

A. Type-1 Fuzzy Sets

Type-1 Fuzzy Sets

Type-1 (T1) fuzzy set was first introduced by Zadeh in 1965 and has been successfully applied in a multitude of areas, including modeling and control , data mining , pattern recognition , decision making , finance , medicine , energy , brain-computer interfaces , etc.

Definition 1

Type-1 Fuzzy Sets Definition 1

equation1 A T1 fuzzy set X is comprised of a domain DX of real numbers (also called the universe of discourse of X) together with a membership function (MF) uX(x): DX[0,1], i.e.,

X=DXuX(x)/x. (1)

(1) is a fuzzy set notation, introduced by Zadeh, as a shorthand in which denotes the collection of all points xDX with associated membership grade uX(x).

A trapezoidal T1 fuzzy set is shown in Figure 1.

Figure1
Alternative text in case the image cannot be loaded.
Figure 1:
A trapezoidal T1 fuzzy set.

The membership grade of x can be computed as:

uX(x)={xaba,x(a,b)1,x[b,c]dxdc,x(c,d)0,otherwise

(2)


A triangular T1 fuzzy set is a special case of a trapezoidal T1 fuzzy set, when b=c.

Figure 2 shows a specific example of a T1 fuzzy set "Moderate". When only integer numbers are considered in the domain, the T1 fuzzy set can be represented as {0/1,0.5/2,1/3,1/4,0.5/5,0/6}, where 0/1 means that x=1 has a membership grade of 0 in Moderate, and 0.5/2 means x=2 has a membership grade of 1 in Moderate. Figure 2 shows that there is a complete agreement (certainty) for x[0,1][3,4][6,+), and a partial agreement for x(1,3)(4,6). In contrast, for a crisp set, the membership grade of each element in it is either 0 or 1; there is no value (e.g., 0.3) in between, i.e., a crisp set cannot model a partial agreement.

Figure 2
Interactive Element
Try to drag the blue dot and change the membership grade of x.
0123456780.00.20.40.60.81.01.21.4uModeratex3.01.0
Figure 2: An example of a T1 fuzzy set.

B. T1 Fuzzy System

Type-1 Fuzzy Systems

Figure 3 shows the diagram of a typical T1 fuzzy system, which consists of four components: fuzzifier, rulebase, inference engine, and defuzzifier. The fuzzifier transforms crisp inputs into T1 fuzzy sets. The inference engine performs inference on the T1 fuzzy sets, combining the outputs of the rules in the rulebase into a new T1 fuzzy set. The defuzzifier converts the mapped T1 fuzzy set into a crisp output.

Figure 3
Diagram of a T1 fuzzy system.
Figure 3: Diagram of a T1 fuzzy system.

There are two kinds of rules for fuzzy systems, Zadeh (Mamdani), in which rule consequents are words modeled by T1 fuzzy sets , and Takagi-Sugeno-Kang (TSK), in which rule consequents are mathematical formulas . The latter is popular due to their simplicity and flexibility.

T1 TSK rules are:

Rk: IF X1 is Xk,1 AND  AND Xd is Xk,d, THEN yk(x)=di=1ak,ixi+bk,k=1,...,K


where d is the input dimensionality, K is the number of rules, Xk,i is a linguistic term (modeled by a T1 fuzzy set) for linguistic variable Xi (i=1,...,d) in the kth rule, xi is the crisp input for Xi, and ak,i and bk (k=1,...,K) are adjustable regression coefficients. Many times all ak,i are set to 0, i.e., each rule consequent is a constant.

For the car following example, d=2, X1 denotes Distance, X2 denotes Relative Speed, K=9 if both Distance and Relative Speed have three linguistic terms (T1 fuzzy sets), and x1 and x2 are the current input values of Distance and Relative Speed, respectively.

For a particular input x=(x1,...,xd), the operations in a TSK fuzzy system are:

Units

  1. Fuzzification:

    Compute uXk,i(xi), the membership grade of xi on Xk,i (k=1,...,K; i=1,...,d).

  2. Inference:

    Compute the firing level of each rule:

    fk(x)=uXk,1(x1)××uXk,d(xd),


    Note that the minimum operation could also be used to replace the multiplication above. The inference engine output is:

    Units y(x)=Kk=1fk(x)yk(x)Kk=1fk(x). (3)

  3. Defuzzification:

    Since the inference output is already a crisp number, no defuzzification is needed in a T1 TSK fuzzy system. The inference output y(x) is the final output.

    However, for Mamdani T1 fuzzy systems, since the rule consequents are words modeled by T1 fuzzy sets, the inference output is also a T1 fuzzy set, which must be defuzzified to obtain a crisp output. One popular defuzzification approach is to compute the centroid of that T1 fuzzy set.

(3) fuses the consequents of multiple rules to give an output. If we view each rule as an expert, then a TSK fuzzy system is functionally equivalent to a mixture of expert model . Alternatively, if we view each rule as a base model, then a TSK fuzzy system may also be understood as an adaptive ensemble model .

C. Car Following Example

Type-1 Fuzzy example

This subsection presents a simple example to illustrate the computations in a T1 TSK fuzzy system. Consider the car following example introduced at the beginning of this paper.

Assume the distance has three linguistic terms (modeled by T1 fuzzy sets), Close, Okay and Far, as depicted in Figure 4(a), and the relative speed also has three linguistic terms (modeled by T1 fuzzy sets), Slow, Okay and Fast, as depicted in Figure 4(b). Note that the same word "Okay" for the distance and the relative speed could have different T1 FS definitions.

Figure4(a) Figure4(b)
Diagram of a T1 fuzzy system.
(a)
Diagram of a T1 fuzzy system.
(b)
Figure 4:
T1 fuzzy sets for the distance and the relative speed, in the car following example.


There are nine rules, whose consequents are crisp numbers:

  • R1: IF distance is Close AND relative speed is Slow, THEN acceleration is y1=0

  • R2: IF distance is Close AND relative speed is Okay, THEN acceleration is y2=5

  • R3: IF distance is Close AND relative speed is Fast, THEN acceleration is y3=10

  • R4: IF distance is Okay AND relative speed is Slow, THEN acceleration is y4=3

  • R5: IF distance is Okay AND relative speed is Okay, THEN acceleration is y5=0

  • R6: IF distance is Okay AND relative speed is Fast, THEN acceleration is y6=3

  • R7: IF distance is Far AND relative speed is Slow, THEN acceleration is y7=10

  • R8: IF distance is Far AND relative speed is Okay, THEN acceleration is y8=5

  • R9: IF distance is Far AND relative speed is Fast, THEN acceleration is y9=0

Assume the current distance to the front car is 47 meters, and the relative speed is 4 KM/h. The membership grades of the corresponding T1 fuzzy sets are shown in Figure 5:

uClose(47)=0.60 uOkay(47)=0.40 uFar(47)=0.00


uSlow(4)=0.00 uOkay(4)=0.20 uFast(4)=0.80

Figure5
Interactive Element
Try to drag the dots to change the distance and relative speed values. The membership grades and all subsequent calculations will be updated accordingly.
4550550.00.20.40.60.81.01.21.4uCloseOkayFarDistance(m)470.60.4
(a)
-5050.00.20.40.60.81.01.21.4uSlowOkayFastRelative Speed (KM/h)40.20.8
(b)
Figure 5:
Membership grades on the T1 fuzzy sets. (a) Distance is 47 meters, the membership interval on Close is 0.60, on Okay is 0.40, and on Far is 0.00; (b) Relative speed is 4 KM/h, the membership interval on Slow is 0.00, on Okay is 0.20, and on Fast is 0.80.

The firing levels of the nine rules are:

  • R1:f1( 47 , 4 )=uClose( 47 )×uSlow( 4 )= 0.60 × 0.00 = 0.00
  • R2:f2( 47 , 4 )=uClose( 47 )×uOkay( 4 )= 0.60 × 0.20 = 0.12
  • R3:f3( 47 , 4 )=uClose( 47 )×uFast( 4 )= 0.60 × 0.80 = 0.48
  • R4:f4( 47 , 4 )=uOkay( 47 )×uSlow( 4 )= 0.40 × 0.00 = 0.00
  • R5:f5( 47 , 4 )=uOkay( 47 )×uOkay( 4 )= 0.40 × 0.20 = 0.08
  • R6:f6( 47 , 4 )=uOkay( 47 )×uFast( 4 )= 0.40 × 0.80 = 0.32
  • R7:f7( 47 , 4 )=uFar( 47 )×uSlow( 4 )= 0.00 × 0.00 = 0.00
  • R8:f8( 47 , 4 )=uFar( 47 )×uOkay( 4 )= 0.00 × 0.20 = 0.00
  • R9:f9( 47 , 4 )=uFar( 47 )×uFast( 4 )= 0.00 × 0.80 = 0.00

T1 output

The output acceleration is:

equation1 ( 47 , 4 )=9k=1fk( 47 , 4 )yk÷9k=1fk( 47 , 4 )

=[ 0.00 × 0 + 0.12 ×( -5 )+ 0.48 ×( -10 )+ 0.00 × 3 + 0.08 × 0 + 0.32 ×( -3 )+ 0.00 × 10 + 0.00 × 5 + 0.00 × 0 ]

÷ [ 0.00 + 0.12 + 0.48 + 0.00 + 0.08 + 0.32 + 0.00 + 0.00 + 0.00 ]

= -6.36
(4)


i.e., the car should have a decelaration to maintain the distance at 50 meters. This is intuitive, as the current distance is shorter than 50 meters, and the relative speed is fast.

The above nine rules are summarized in Table 1. The corresponding input-output mapping is shown in Figure 6, which can be changed by modifying the rule consequents in Table 1.

rulebase
Table 1:
Rulebase of the T1 TSK fuzzy system in the car following example. The numbers are rule consequents, i.e., acceleration (KM/h2). Any numbers can be used for rule consequents, and the T1 TSK fuzzy system can always give an output. However, the suggested range is [-10, 10]. For reasonableness, the rule consequents in the same row should increase from the left to the right, e.g., when Distance is Close, as Relative Speed increases, Acceleration should become more negative, i.e., y1y2y3. The rule consequents in the same column should increase from the top to the bottom, e.g., when Relative Speed is Slow, as Distance increases, Acceleration should also increase, i.e., y1y4y7.

DistanceRelative Speed Slow Okay Fast
Close y1= y2= y3=
Okay y4= y5= y6=
Far y7= y8= y9=



Figure 6
Interactive Element
Try to change the rule consequent values in Table 1 by direct typing or clicking on the sidebar arrows. After adjusting the rulebase, click the "Update" button to update all calculations.
Figure 6:
Input-output mapping of the T1 fuzzy system. The figure can be zoomed and rotated by using the mouse or the top right buttons.

III. Interval Type-2 Fuzzy Sets and Fuzzy Systems

Interval Type-2 (IT2) Fuzzy Sets and Fuzzy Systems

Despite having a name which carries the connotation of uncertainty, research has shown that there are limitations in the ability of T1 fuzzy sets to model and minimize the effect of uncertainties . This is because a T1 fuzzy set is certain in the sense that its membership grades are crisp values.

For example, different drivers may have different understanding of the linguistic term Far in the motivating example, and hence may provide different T1 fuzzy sets for it. Type-2 fuzzy sets can be used to incorporate these inter-personal uncertainties.

A. IT2 Fuzzy Sets

IT2 Fuzzy Sets

Interval type-2 (IT2) fuzzy sets , a special case of type-2 fuzzy sets, are currently the most widely used type-2 fuzzy sets, for their reduced computational cost.

Definition 2

IT2 fuzzy set Definition 2

An IT2 fuzzy set ˜X is defined as

equation1

˜X=xD˜Xu[0,1]1/(x,u)=xD˜X[u[0,1]1/u]/x (5)

where x, called the primary variable, is in domain D˜X; u[0,1] is the secondary variable; and, the secondary grade of ˜X equals 1 for xD˜X and u[0,1].

An example of an IT2 fuzzy set ˜X is shown in Figure 7. Observe that unlike a T1 fuzzy set, whose membership for each x is a number, the membership of an IT2 fuzzy set is an interval. For example, the membership of x=3 is [0.25,1], and the membership of x=5 is [0.75,1]. A membership interval [0.25,1] means that some people think the membership of x=3 is 0.25, some think the membership is 1, and others may think the membership is any value between 0.25 and 1, i.e., an IT2 fuzzy set can model inter-personal uncertainties, whereas a T1 fuzzy set cannot.

Figure 7 shows that an IT2 fuzzy set is bounded from the above and below by two T1 fuzzy sets, which are called upper MF (UMF) and lower MF (LMF). The area between the LMF and the UMF is the footprint of uncertainty (FOU).

equation1
Interactive Element
Try to drag the blue or green dot to change the membership interval of x.
0123456780.00.20.40.60.81.01.21.4uxUMFLMFFOU41.000.5
Figure 7:
Example of an IT2 fuzzy set. When the input x= 4, the membership interval is [0.50, 1.00], represented by the red dashed line.

B. IT2 Fuzzy System

IT2 Fuzzy System

Figure 8 shows the schematic diagram of an IT2 fuzzy system. It is similar to its T1 counterpart, with the major difference being that at least one of the fuzzy sets in the rulebase is an IT2 fuzzy set. Hence, the outputs of the inference engine are IT2 fuzzy sets, and a type-reducer is usually needed (it can be bypassed , too) to convert them into a T1 fuzzy set before defuzzification can be carried out.

Figure1
An IT2 fuzzy system
Figure 8:
An IT2 fuzzy system.

Assume the rulebase of an IT2 TSK fuzzy system consisting of K rules in the following form:

˜Rk: IF x1 is ˜Xk,1 AND  AND xd is ˜Xk,d, THEN Yk(x)=[y_k, ¯yk],k=1,...,K

where ˜Xk,i (i=1,,d) are IT2 fuzzy sets, and Yk(x)=[y_k, ¯yk] is an interval, which can be understood as the centroid of a consequent IT2 fuzzy setThe rule consequents can be IT2 fuzzy sets; however, when the popular center-of-sets type-reducer is used, these consequent IT2 fuzzy sets are replaced by their centroids in the computation; so, it is more convenient to represent the rule consequents as intervals directly.. In many applications we use y_n=¯yn, i.e., each rule consequent is a crisp number.

For a particular input x=(x1,...,xd), the output of the IT2 TSK fuzzy system is computed as:

  1. Fuzzification:

    Compute the membership interval [uX_k,i(xi),u¯Xk,i(xi)] of xi on each ˜Xk,i (k=1,...,K; i=1,...,d).

  2. Inference:

    Compute the firing interval of the kth rule, Fk(x):

    equation1

    Fk(x)=[uX_k,1(x1)××uX_k,d(xd),u¯Xk,1(x1)××u¯Xk,d(xd)][f_k,¯fk],k=1,...,K (6)

    Note that the minimum operation could also be used to replace the multiplication above. Inference is performed by:

    Y(x)=fkFk(x)ykYk(x)Kk=1fkykKk=1fk. (7)

    (7)is a direct extension of (3), when all fk(x) and yk(x) in (3) become intervals.

  3. Type-reduction:

    Many different approaches can be used to compute (7). When the popular center-of-sets type-reducer is used, the type-reduced output is:

    Y(x)=[yl, yr], (8)

    where:

    yl=minl[1,K1]lk=1¯fky_k+Kk=l+1f_ky_klk=1¯fk+Kk=l+1f_kLk=1¯fky_k+Kk=L+1f_ky_kLk=1¯fk+Kk=L+1f_k, (9)

    yr=maxr[1,K1]rk=1f_k¯yk+Kk=r+1¯fk¯ykrk=1f_k+Kk=r+1¯fkRk=1f_k¯yk+Kk=R+1¯fk¯ykRk=1f_k+Kk=R+1¯fk, (10)

    in which the switch points L and R are determined by

    y_Lyly_L+1, (11)

    ¯yRyr¯yR+1, (12)

    and {y_k}Kk=1 and {¯yk}Kk=1 have been sorted in ascending order, separately.

    yl and yr can be computed using the original Karnik-Mendel algorithms , the enhanced Karnik-Mendel algorithms , the iterative algorithm with stop condition (IASC), or the enhanced IASC (EIASC) , all of which have been included in the official Matlab Fuzzy Logic Toolboxhttps://www.mathworks.com/help/fuzzy/type-2-fuzzy-inference-systems.html. See, also for other algorithms.

  4. Defuzzification:

    The defuzzified crisp output is:

    y=yl+yr2. (13)

C. Type-Reduction Explained

Type-Reduction Explained

Essentially, yl is the minimum of Kk=1fkykKk=1fk, and yr is the maximum, when each fk and yk can assume value in an interval.

Clearly, the minimum of yk, y_k, should be used in computing yl; and, the maximum of yk, ¯yk, should be used in computing yr, as yk only appears in the numerator of (6).

Intuitively, to compute yl (the minimum), a large fk (¯fk) should be used for a small y_k, and a small fk (f_k) should be used for a large y_k. Assume {y_k}Kk=1 has been sorted in ascending order. Then, the switch point, l, determines when we should switch from ¯fk to f_k. yr (the maximum) is computed in a similar way, but the switch point r determines when we should switch from f_k to ¯fk.

The switch points l and r, and the corresponding yl and yr, do not have a closed-form solution. They are computed by the iterative type-reduction algorithms. One of the most efficient type-reduction algorithm, EIASC , is shown in Table 2.

rulebase
Table 2:
The EIASC . Note that {y_k}Kk=1 and {¯yk}Kk=1 have been sorted in ascending order.

Step For computing yl For computing yr
1 Initialize Initialize
a=Kk=1y_kf_k a=Kk=1¯ykf_k
b=Kk=1f_k b=Kk=1f_k
L=0 R=K
2 Compute Compute
L=L+1 a=a+¯yR(¯fRf_R)
a=a+y_L(¯fLf_L) b=b+¯fRf_R
b=b+¯fLf_L yr=a/b
yl=a/b R=R1
3 If yly_L+1, stop; If yr¯yR, stop;
otherwise, go to Step 2. otherwise, go to Step 2.


The main idea of EIASC is to find the switch points for yl and yr. Take yl for examples, yl is the minimum of (7). Since y_k increases from the left to the right along the horizontal axis of Figure 9(a), we should choose a large weight (upper membership grade) for y_k on the left and a small weight (lower membership grade) for y_k on the right. EIASC finds the switch point L. For kL, the upper membership grades are used to calculate yl; for k>L, the lower membership grades are used. This ensures yl is the minimum.

Figure9(a) Figure9(b)
Distance.
(a)
Speed.
(b)
Figure 9:
Illustration of the switch points L and R in computing yl and yr, respectively. (a) Computing yl: the used firing level in (9) switches from the upper firing level to the lower firing level, shown as the blue curve; (b) computing yr: the used firing level in (10) switches from the lower firing level to the upper firing level, shown as the blue curve.

D. Example of IT2 TSK Fuzzy System

Example of IT2 TSK Fuzzy System

This subsection uses the car following example again to illustrate the computations in an IT2 TSK fuzzy system.

Assume the distance has three linguistic terms (modeled by IT2 fuzzy sets), Close, Okay and Far, as depicted in Figure 10(a), and the relative speed also has three IT2 linguistic terms (modeled by IT2 fuzzy sets), Slow, Okay and Fast, as depicted in Figure 10(b). Note again that the word "Okay" for the distance and the relative speed has different IT2 fuzzy set representations.

Figure10(a) Figure10(b)
Diagram of a IT2 fuzzy system.
(a)
Diagram of a T1 fuzzy system.
(b)
Figure 10:
IT2 fuzzy sets for the distance and the relative speed, in the car following example.

There are again nine rules, whose consequents are intervals:

  • ˜R1: IF distance is Close AND relative speed is Slow, THEN acceleration is Y1=[1,1]
  • ˜R2: IF distance is Close AND relative speed is Okay, THEN acceleration is Y2=[6,4]
  • ˜R3: IF distance is Close AND relative speed is Fast, THEN acceleration is Y3=[11,9]
  • ˜R4: IF distance is Okay AND relative speed is Slow, THEN acceleration is Y4=[2,4]
  • ˜R5: IF distance is Okay AND relative speed is Okay, THEN acceleration is Y5=[1,1]
  • ˜R6: IF distance is Okay AND relative speed is Fast, THEN acceleration is Y6=[4,2]
  • ˜R7: IF distance is Far AND relative speed is Slow, THEN acceleration is Y7=[9,11]
  • ˜R8: IF distance is Far AND relative speed is Okay, THEN acceleration is Y8=[4,6]
  • ˜R9: IF distance is Far AND relative speed is Fast, THEN acceleration is Y9=[1,1]

Assume the current distance to the front car is 47 meters, and the relative speed is 4 KM/h. Let Close_ and ¯Close be the LMF and UMF of Close, respectively. LMFs and UMFs of other words are denoted in a similar way. The membership grades on the corresponding LMFs and UMFs are shown in Figure 11:

[uClose_( 47 ),u¯Close( 47 )]=[ 0.20 , 0.60 ] [uOkay_( 47 ),u¯Okay( 47 )]=[ 0.00 , 0.67 ] [uFar_( 47 ),u¯Far( 47 )]=[ 0.00 , 0.00 ]


[uSlow_( 4 ),u¯Slow( 4 )]=[ 0.00 , 0.00 ] [uOkay_( 4 ),u¯Okay( 4 )]=[ 0.00 , 0.43 ] [uFast_( 4 ),u¯Fast( 4 )]=[ 0.40 , 0.80 ]


Figure11
Interactive Element
Try to drag the dots to change the distance and relative speed values. The membership intervals and all subsequent calculations will be updated accordingly.
41434547485052535557590.00.20.40.60.81.01.21.4uCloseOkayFarDistance(m)470.60.20.670
(a)
-7-5-3-2023570.00.20.40.60.81.01.21.4uSlowOkayFastRelative Speed (KM/h)40.4300.80.4
(b)
Figure 11:
Membership intervals on the IT2 fuzzy sets. For each fuzzy set, the UMF is less saturated, and the LMF is more saturated. (a) Distance is 47 meters, the membership interval on Close is [0.20, 0.60], on Okay is [0.00, 0.67], and on Far is [0.00, 0.00]; (b) Relative speed is 4 KM/h, the membership interval on Slow is [0.00, 0.00], on Okay is [0.00, 0.43], and on Fast is [0.40, 0.80].

The firing intervals of the nine rules are:

Rule No.: Firing Interval Consequent
˜R1: [f_1,¯f1]=[uClose_( 47 )×uSlow_( 4 ),u¯Close( 47 )×u¯Slow( 4 )]
=[ 0.20 × 0.00 , 0.60 × 0.00 ]=[ 0.00 , 0.00 ]
[y_1,¯y1]=[1,1]
˜R2: [f_2,¯f2]=[uClose_( 47 )×uOkay_( 4 ),u¯Close( 47 )×u¯Okay( 4 )]
=[ 0.20 × 0.00 , 0.60 × 0.43 ]=[ 0.00 , 0.26 ]
[y_2,¯y2]=[6,4]
˜R3: [f_3,¯f3]=[uClose_( 47 )×uFast_( 4 ),u¯Close( 47 )×u¯Fast( 4 )]
=[ 0.20 × 0.40 , 0.60 × 0.80 ]=[ 0.08 , 0.48 ]
[y_3,¯y3]=[11,9]
˜R4: [f_4,¯f4]=[uOkay_( 47 )×uSlow_( 4 ),u¯Okay( 47 )×u¯Slow( 4 )]
=[ 0.00 × 0.00 , 0.67 × 0.00 ]=[ 0.00 , 0.00 ]
[y_4,¯y4]=[2,4]
˜R5: [f_5,¯f5]=[uOkay_( 47 )×uOkay_( 4 ),u¯Okay( 47 )×u¯Okay( 4 )]
=[ 0.00 × 0.00 , 0.67 × 0.43 ]=[ 0.00 , 0.29 ]
[y_5,¯y5]=[1,1]
˜R6: [f_6,¯f6]=[uOkay_( 47 )×uFast_( 4 ),u¯Okay( 47 )×u¯Fast( 4 )]
=[ 0.00 × 0.40 , 0.67 × 0.80 ]=[ 0.00 , 0.54 ]
[y_6,¯y6]=[4,2]
˜R7: [f_7,¯f7]=[uFar_( 47 )×uSlow_( 4 ),u¯Far( 47 )×u¯Slow( 4 )]
=[ 0.00 × 0.00 , 0.00 × 0.00 ]=[ 0.00 , 0.00 ]
[y_7,¯y7]=[9,11]
˜R8: [f_8,¯f8]=[uFar_( 47 )×uOkay_( 4 ),u¯Far( 47 )×u¯Okay( 4 )]
=[ 0.00 × 0.00 , 0.00 × 0.43 ]=[ 0.00 , 0.00 ]
[y_8,¯y8]=[4,6]
˜R9: [f_9,¯f9]=[uFar_( 47 )×uFast_( 4 ),u¯Far( 47 )×u¯Fast( 4 )]
=[ 0.00 × 0.40 , 0.00 × 0.80 ]=[ 0.00 , 0.00 ]
[y_9,¯y9]=[1,1]

Using EIASC, the type-reduced output is computed as:

Y( 47 , 4 )=9k=1Fk( 47 , 4 )Yk÷9k=1Fk( 47 , 4 ) =[ -11.00 , -3.93 ][yl,yr] (14)

Finally, the crisp output of the IT2 TSK fuzzy system is:

y=yl+yr2=[( -11.00 )+( -3.93 )]÷2= -7.46 .

Note that this output is different from the output of the T1 fuzzy system in Section II-C; however, the output of the T1 fuzzy system, y(47,4) in (4), is included in the output interval of the IT2 fuzzy system, Y(47,4) above.

For clarity, the nine rules are also summarized in Table 3. The corresponding input-output mapping is shown in Figure 12(a), which can be changed by modifying the rule consequents in Table 3. The input-output mapping of the IT2 fuzzy system is more complex than its T1 counterpart in Figure 6, as evidenced by the difference between their input-output mappings in Figure 12(b). Observe also that Figure 12(b) looks smoother than Figure 6, suggesting that the IT2 controller will provide a smoother ride.

rulebase2
Table 3:
Rulebase of the IT2 TSK fuzzy system in the car following example. The intervals are rule consequents, i.e., acceleration (KM/h2). Any interval, as long as the left end-point is smaller than or equal to the right end-point (y_i¯yi), can be used for rule consequent, and the IT2 TSK fuzzy system can always give an output. However, The suggested range of each end-point is [-10, 10]. For reasonableness, the rule consequents in the same row should increase from the left to the right, e.g., when Distance is Close, as Relative Speed increases, Acceleration should become more negative, i.e., y_1y_2y_3 and ¯y1¯y2¯y3. The rule consequents in the same column should increase from the top to the bottom, e.g., when Relative Speed is Slow, as Distance increases, Acceleration should also increase, i.e., y_1y_4y_7 and ¯y1¯y4¯y7.

DistanceRelative Speed Slow Okay Fast
Close Y1=[y_1,¯y1]=
[ , ]
Y2=[y_2,¯y2]=
[ , ]
Y3=[y_3,¯y3]=
[ , ]
Okay Y4=[y_4,¯y4]=
[ , ]
Y5=[y_5,¯y5]=
[ , ]
Y6=[y_6,¯y6]=
[ , ]
Far Y7=[y_7,¯y7]=
[ , ]
Y8=[y_8,¯y8]=
[ , ]
Y9=[y_9,¯y9]=
[ , ]



Figure 12
Interactive Element
Try to change the rule consequent values in Table 1 and Table 3 by direct typing or clicking the sidebar arrows. After adjusting the rulebases, click the "Update" button to automatically update all calculations.
(a)
−2−1.5−1−0.500.511.52Difference between IT2 fuzzy system and the T1 fuzzy system.
(b)
Figure 12:
(a) Input-output mapping of the IT2 fuzzy system; (b) difference between the input-output mappings of the IT2 fuzzy system and the T1 fuzzy system. The figure can be zoomed and rotated by using the mouse or the top right buttons.

E. Fuzzy System Optimization

IT2 Fuzzy System Optimization

A fuzzy system should be optimized for each specific task. For example, in the car following fuzzy controller, for fast and accurate response, the input membership functions and/or the rule consequents may need to be tuned.

Generally, there are three different strategies for optimizing a T1 fuzzy system:

  1. Evolutionary computing .

    The antecedent and consequent parameters are encoded as chromosomes in a population; genetic operators, e.g., selection, crossover, mutation, and reproduction, can then be used to generate the next (better) generation. The best chromosome in the final generation is selected as the best parameter set.

  2. Gradient descent.

    For example, back-propagation can be used to iteratively find the optimal antecedent and consequent parameters. Recently, inspired by the equivalence/similarity between TSK fuzzy systems and neural networks and mixture of expert models , effective optimization techniques for the latter have been extended to fuzzy system optimization .

  3. Gradient descent and least squares estimation.

    For example, in adaptive-network-based fuzzy inference system (ANFIS) , the antecedent parameters are optimized by gradient descent, and the consequent parameters by least squares estimation.

There are generally two different strategies for optimizing an IT2 fuzzy system:

  1. Evolutionary computing
    For example, genetic algorithms , particle swarm optimization , and their combination , have been used.

  2. Gradient descent
    For example, gradient descent has been used to optimize self-evolving interval type-2 fuzzy neural networks , and a hybrid of decoupled extended Kalman filter and gradient descent has been used to optimize interval type-2 intuitionistic fuzzy logic systems .

F. Main Differences between IT2 and T1 Fuzzy Systems

Main Differences between IT2 and T1 Fuzzy Systems

A challenging question is: What are the main differences between IT2 and T1 fuzzy systems? Once the differences are clear, we can better understand the advantages of IT2 fuzzy systems and hence better make use of them. In the literature there has been considerable efforts devoted to answering this challenging and fundamental question. Some important arguments are :

  1. An IT2 fuzzy set can model inter-personal uncertainties, which are intrinsic to human language, because its membership is an interval, instead of a crisp number in a T1 fuzzy set. For example, different people may have different understandings of the linguistic terms (Close, Okay, Far, Slow, Okay, Fast) in the car following example, and hence they may provide different T1 fuzzy sets for each word. An IT2 fuzzy set can be used to aggregate the T1 fuzzy sets from different people.

  2. IT2 fuzzy sets reduce the rulebase size , as each IT2 fuzzy set models more uncertainties than a T1 fuzzy set, so that the input/output domains can be covered by fewer fuzzy sets.

  3. An IT2 fuzzy controller gives a smoother control surface than its T1 counterpart, especially in the region around the steady state (e.g., when both the distance and the relative speed approach 0, in the car following example) . The Proportional-Integral (PI) gains of the IT2 fuzzy controller also change with the inputs, which cannot be achieved by the baseline T1 fuzzy controller.

Wu also explained two fundamental differences between IT2 and T1 fuzzy systems, i.e., adaptiveness and novelty. Since explaining them requires deeper understanding of IT2 fuzzy sets and systems, which is beyond the scope of this tutorial, we suggest that interested readers refer to for details.

IV. Conclusion

Conclusion

Fuzzy sets are suitable for modeling human linguistic uncertainties, and the resulting fuzzy systems can then be used to perform inferences based on a linguistic rulebase. This paper has introduced the basic concepts of T1 and IT2 fuzzy sets and systems, and illustrated their computations using a car following example. Fuzzy systems have been used in numerous applications, particularly controls, from cement kiln in Denmark to Sendai Subway in Japan, from rice cookers to air conditioners. Researchers who want to learn more about T1 and IT2 fuzzy sets and systems are suggested to read .

Footnotes

  1. The rule consequents can be IT2 fuzzy sets; however, when the popular center-of-sets type-reducer is used, these consequent IT2 fuzzy sets are replaced by their centroids in the computation; so, it is more convenient to represent the rule consequents as intervals directly.[↩]
  2. https://www.mathworks.com/help/fuzzy/type-2-fuzzy-inference-systems.html[↩]

References

  1. Fuzzy sets
    Zadeh, L.A., 1965. Information and Control, Vol 8, pp. 338-353.
  2. Fuzzy Models--What are They, and Why?
    Bezdek, J., 1993. IEEE Trans. on Fuzzy Systems, Vol 1(1), pp. 1-5.
  3. Neural Fuzzy Systems: a Neuro-Fuzzy Synergism to Intelligent Systems
    Lin, C. and Lee, C.S.G., 1996. Prentice Hall.
  4. A Course in Fuzzy Systems and Control
    Wang, L., 1997. Prentice Hall.
  5. Database Discovery Using Fuzzy Sets
    Yager, R., 1996. International Journal of Intelligent Systems, Vol 11, pp. 691-712.
  6. Fuzzy computing for data mining
    Hirota, K. and Pedrycz, W., 1999. Proc. IEEE, Vol 87(9), pp. 1575-1600.
  7. Selecting fuzzy if-then rules for classification problems using genetic algorithms
    Ishibuchi, H., Nozaki, K., Yamamoto, N. and Tanaka, H., 1995. IEEE Trans. on Fuzzy Systems, Vol 3(3), pp. 260-270.
  8. Fuzzy models and algorithms for pattern recognition and image processing
    Bezdek, J.C., Keller, J., Krisnapuram, R. and Pal, N., 1999. , Vol 4. Springer Science \& Business Media.
  9. A linguistic approach to decisionmaking with fuzzy sets
    Tong, R.M. and Bonissone, P.P., 1980. IEEE Trans. on Systems, Man, and Cybernetics, Vol 10(11), pp. 716--723.
  10. A review of fuzzy sets aggregation connectives
    Dubois, D. and Prade, H., 1985. Information Sciences, Vol 36, pp. 85-121.
  11. A 2-Tuple Fuzzy Linguistic Representation Model for Computing with Words
    Herrera, F. and Martinez, L., 2000. IEEE Trans. on Fuzzy Systems, Vol 8(6), pp. 746-752.
  12. The Ordered Weighted Averaging Operators: Theory and Applications
    Yager, R. and Kacprzyk, J., 1997. Kluwer.
  13. Fuzzy logic for business, finance, and management
    Bojadziev, G. and Bojadziev, M., 2007. , Vol 23. World Scientific.
  14. Fuzzy logic and its applications in medicine
    Phuong, N.H. and Kreinovich, V., 2001. Int'l journal of Medical Informatics, Vol 62(2-3), pp. 165--173.
  15. Applications of fuzzy logic in renewable energy systems--a review
    Suganthi, L., Iniyan, S. and Samuel, A.A., 2015. Renewable and Sustainable Energy Reviews, Vol 48, pp. 585--607.
  16. Spatial Filtering for EEG-Based Regression Problems in Brain-Computer Interface (BCI)
    Wu, D., King, J., Chuang, C., Lin, C. and Jung, T., 2018. IEEE Trans. on Fuzzy Systems, Vol 26(2), pp. 771-781.
  17. On Fuzzy Mapping and Control
    Chang, S.S.L. and Zadeh, L.A., 1972. IEEE Trans. on Systems, Man, and Cybernetics, Vol SMC-2(1), pp. 30-34.
  18. Fuzzy Identification of Systems and its Application to Modeling and Control
    Takagi, T. and Sugeno, M., 1985. IEEE Trans. on Systems, Man, and Cybernetics, Vol 15, pp. 116-132.
  19. Adaptive mixtures of local experts
    Jacobs, R.A., Jordan, M.I., Nowlan, S.J. and Hinton, G.E., 1991. Neural Computation, Vol 3(1), pp. 79-87.
  20. On the Functional Equivalence of TSK Fuzzy Systems to Neural Networks, Mixture of Experts, CART, and Stacking Ensemble Regression
    Wu, D., Lin, C., Huang, J. and Zeng, Z., 2020. IEEE Trans. on Fuzzy Systems, Vol 28(10), pp. 2570--2580.
  21. Uncertain rule-based fuzzy systems: introduction and new directions
    Mendel, J.M., 2017. Springer.
  22. Type-2 FLCs: A New Generation of Fuzzy Controllers
    Hagras, H., 2007. IEEE Computational Intelligence Magazine, Vol 2(1), pp. 30-43.
  23. The concept of a linguistic variable and its application to approximate reasoning-1
    Zadeh, L.A., 1975. Information Sciences, Vol 8, pp. 199-249.
  24. Towards an efficient type-reduction method for interval type-2 fuzzy logic systems
    Nie, M. and Tan, W.W., 2008. Proc. IEEE Int'l Conf. on Fuzzy Systems, pp. 1425-1432.
  25. Enhanced Karnik-Mendel Algorithms
    Wu, D. and Mendel, J.M., 2009. IEEE Trans. on Fuzzy Systems, Vol 17(4), pp. 923-934.
  26. Approaches for Reducing the Computational Cost of Interval Type-2 Fuzzy Logic Systems: Overview and Comparisons
    Wu, D., 2013. IEEE Trans. on Fuzzy Systems, Vol 21(1), pp. 80-99.
  27. A Comprehensive Study of the Efficiency of Type-Reduction Algorithms
    Chen, C., Wu, D., Garibaldi, J.M., John, R., Twycross, J. and Mendel, J., 2021. IEEE Trans. on Fuzzy Systems, Vol 29(6), pp. 1556-1566.
  28. Optimize TSK Fuzzy Systems for Regression Problems: Mini-Batch Gradient Descent with Regularization, DropRule and AdaBound (MBGD-RDA)
    Wu, D., Yuan, Y., Huang, J. and Tan, Y., 2020. IEEE Trans. on Fuzzy Systems, Vol 28(5), pp. 1003-1015.
  29. Learning representations by back-propagating errors
    Rumelhart, D.E., Hinton, G.E. and Williams, R.J., 1986. Nature, Vol 323, pp. 533-536.
  30. Optimize TSK Fuzzy Systems for Classification Problems: Mini-Batch Gradient Descent with Uniform Regularization and Batch Normalization
    Cui, Y., Huang, J. and Wu, D., 2020. IEEE Trans. on Fuzzy Systems, Vol 28(12), pp. 3065-3075.
  31. Layer Normalization for TSK Fuzzy System Optimization in Regression Problems
    Cui, Y., Xu, Y., Peng, R. and Wu, D., 2022. IEEE Trans. on Fuzzy Systems.
  32. ANFIS: adaptive-network-based fuzzy inference system
    Jang, J.R., 1993. IEEE Trans. on Systems, Man, and Cybernetics, Vol 23(3), pp. 665-685.
  33. A comparative experimental study of type-1/type-2 fuzzy cascade controller based on genetic algorithms and particle swarm optimization[link]
    Oh, S., Jang, H. and Pedrycz, W., 2011. Expert Systems with Applications, Vol 38(9), pp. 11217-11229. Pergamon Press, Inc. DOI: http://dx.doi.org/10.1016/j.eswa.2011.02.169
  34. Type-1 and type-2 fuzzy inference systems as integration methods in modular neural networks for multimodal biometry and its optimization with genetic algorithms
    Hidalgo, D., Castillo, O. and Melin, P., 2009. Information Sciences, Vol 179(13), pp. 2123-2145.
  35. Parameter optimization of interval Type-2 fuzzy neural networks based on PSO and BBBC methods
    Wang, J. and Kumbasar, T., 2019. IEEE/CAA Journal of Automatica Sinica, Vol 6(1), pp. 247-257.
  36. Type-1 and Type-2 fuzzy logic controller design using a Hybrid PSO-GA optimization method
    Martinez-Soto, R., Castillo, O. and Aguilar, L.T., 2014. Information Sciences, Vol 285, pp. 35-49.
  37. Simplified Interval Type-2 Fuzzy Neural Networks
    Lin, Y., Liao, S., Chang, J. and Lin, C., 2014. IEEE Trans. on Neural Networks and Learning Systems, Vol 25(5), pp. 959-969.
  38. Hybrid Learning for Interval Type-2 Intuitionistic Fuzzy Logic Systems as Applied to Identification and Prediction Problems
    Eyoh, I., John, R., De Maere, G. and Kayacan, E., 2018. IEEE Trans. on Fuzzy Systems, Vol 26(5), pp. 2672-2685.
  39. On the Fundamental Differences between Interval Type-2 and Type-1 Fuzzy Logic Controllers
    Wu, D., 2012. IEEE Trans. on Fuzzy Systems, Vol 20(5), pp. 832-848.
  40. A Simplified Type-2 Fuzzy Controller for Real-Time Control
    Wu, D. and Tan, W.W., 2006. ISA Trans., Vol 15(4), pp. 503-516.
  41. Interval Type-2 Fuzzy Logic Congestion Control for Video Streaming Across IP Networks
    Jammeh, E.A., Fleury, M., Wagner, C., Hagras, H. and Ghanbari, M., 2009. IEEE Trans. on Fuzzy Systems, Vol 17(5), pp. 1123-1142.