Professional Documents
Culture Documents
313
REASONING
TAKAGI
School of Science Yokohama 227, and Engineering, Tokyo Institute of
Department of Systems Science, Graduate Technology, 4259 Nagatsuta, Midori-ku, Received May 1981 Revised December 1981
Japan
This paper suggests a method of multi-dimensional fuzzy reasoning concerned with both modus ponens and modus tollens. It also discusses an example to show how the method works. Keywords: Lukasiewiczs infinite dimensional fuzzy reasoning. valued logic, Fuzzy logic, Fuzzy implication, Multi-
1. Introduction A considerable number of studies on fuzzy reasoning, have been reported, e.g. [l, 2,3,5], since Zadeh presented the compositional rule of inference. Fuzzy reasoning has been especially applied for fuzzy control and diagnosis, and lately for fuzzy modelling. However there have been few discussions on it in the multi-dimensional case. This paper suggests a method of multi-dimensional fuzzy reasoning which is of great importance particularly when we deal with fuzzy modelling of systems. It also shows numerical examples which claim the validity of the proposed method. In general there are two methods, as is well known, on fuzzy reasoning: one is based on the compositional rule of inference and the other on fuzzy logic with such and such a base logic, e.g. Tsukamotos method [4]. Since a multi-dimensional implication such as if (x is A, y is B) then *z is C where A, B and C are fuzzy sets is not merely a collection of one-dimensional implications, a conventional interpretation is usually taken in the multidimensional case. For example in the compositional rule of inference, the above two-dimensional implication is translated into (1) if x is A and y is B then z is C, or (2) if x is A then if y is B then z is C. In Tsukamotos method, it is decomposed into (1) if x is A then z is C, and (2) if y is B then z is C, and the intersection C fl C, where C is the inferred value from the first implication and C that from the second implication, is taken for the consequence of reasoning. It is clear that those methods do not always express real situations, 01650114/83/0000-0000/$03.00 0 1983 North-Holland
314
M. Sugeno,
T. Takagi
since a pair of propositions (x is A, y is B) could be any fuzzy relation (x, y) is R with respect to x and y. For example there might be a functional relation such that z = x*y behind a fuzzy implication. Further, in the multi-dimensional case we have some difficulties in applying the compositional rule of inference, because we have to deal with multi-dimensional fuizy relations. So we use in this paper Tsukamotos method by which we can do without the fuzzy relational matrix and present an algorithm of fuzzy reasoning in the general case. The algorithm is very similar to that we use to approximate a function f(x, y) by a linear function.
2. Fuzzilied Lukasiewiczs
In this section we shall briefly introduce Tsukamotos method of fuzzy reasoning. The truth value of implication in Lukasiewieczs infinite-valued logic is expressed as /A-,B/=(l-/A/+/B/)/\l, (1)
where /A/E [0, l] is the truth value of a proposition A. Let P, Q be fuzzy propositions and 1, Q be linguistic truth values that are fuzzy subsets of [0, l] as usual. Then P + Q z derived by the extension principle from (l), P-,Q=(l-E+Q)/\l.
(2)
In (2) the symbols -, + and A are the extended ones. In the sequel we shall use the extended operations for fuzzy sets without a comment. For calculation it is better to take a strong a-cut of (2). We have
P-,Q,=(l-p,+Q,bl (3)
where 5 ={u 1 f+(u)> (Y} and h&u), IA E [O, 11, is the membership function of 2. When P+ Q and _P are given, (3 is easily obtained by solving (3). In many cases we can assume that P + Q is normal, its membership function is non-decreasing in its domain [0, l] and also _P is normal and convex. Denote R = P + Q. Then it follows from the above assumptions that
% = (rb), 11,
po = h(a), P*(d),
(4)
(5)
+ 40~) - 1) v (All.
suppose an
Multi-dimensional
fuzzy reasoning
315
equation R, = -Pm + Q,. If we directly solve Q, according to extended operaMore simply it is not even true that tions, we do not have & = R,+P,. . So we should transfer P, from the right-hand side to the left Q-p,)+p,=Q, in (3). This sort of problem will be also discussed in the Appendix. The solution in (6) is the same to that obtained by solving fust (1) and then applying the extension principle. Now ho is drawn since (6) implies that h,- is a non-decreasing function. Fuzzy reasoning based on modus ponens is carried out as follows, where modus ponens is written P, P+Q
Q'
* _P is
(7)
_p = &wL
where hp is the extension of hp for a fuzzy set P. (2) Calculate Q from c and P 4 Q which is assumed to be given. (3) Set Q = Q is Q. Then Q is the consequence of fuzzy reasoning. qualification, Q is obtained as
Q' = h,(Q),
where h< is also the extended one. Let us consider a special case where R is u-true and P is a singleton we have in (4)
r(a) = a
and from (5) and (7) pi(a) = hp(xo) Substituting for all cxE [0, 1). (10)
these into (6), it follows from (8) that + 1) A 1 (11) i.e. fuzzy reasoning based on modus
Q', P-,Q
P .
assumptions.
(12)
Q 2
The algorithm
= (q,(a), q,(a)).
(13)
316
M. Sugeno, T. Takagi
particular
yO, we have
(14)
3. ~Multi-dimensional
reasoning
As stated in the introduction, we suggest in this section a method of multidimensional fuzzy reasoning. Unfortunately we have not had a general method in the multi-dimensional case so far. Of course we can use the compositional rule Of inference. However there are two difficulties: one is to identify or construct a fuzzy relation not merely as, for example, a Cartesian product of some number of fuzzy sets, and the other is to calculate a multi-dimensional fuzzy relational composition, for example, in order to compute a fuzzy control algorithm in real time. The idea suggested here is quite simple and reasonable, which is very similar to linear interpolation. We should first consider that we cannot logically infer anything from a single implication, say, A + B unless the same premise to A is given. This is also somewhat true in fuzzy reasoning. This is the reason why there are some persons who translate A 4 B into a fuzzy relation R = A + B and not A 4 V where V is the universe of discourse of B. Suppose x is big* y is small. Then no one can infer the value of y from this single implication when, for example, x is medium. We should have at least two different implications, Ai + B, and A24 B2 for one-dimensional reasoning. What we can do then is to infer something when we are given a premise lying between A1 and AZ. This reasoning must anyhow be carried out using some method like interpolation. Apart from computational technique, it is sufficient for the purpose to discuss two-dimensional case. Thus we can start with 4 implications such that (x (x (x (x is is is is Ai, Al, A*, Aa, y y y y is is is is
B,) --, z is C1r,
BJ+ t is Ci2,
B,)+ z is Ctl, B2) + z is C,,.
The important point we want to stress is that we cannot translate (x is A, y is B) into, for example, (x, y) is A X B where A X B is Cartesian product, since generally a pair of two propositions (x is A, y is B) could be any relation as mentioned also in the introduction. This means that we should deal with (x is A, y is B) directly without modification. The situation of 4 implications is shown in Fig. 1. Our problem is to infer z is C from a given premise (x is A, y is B) where A is assumed to be between A1 and A2 and also B between Br and B2. When we apply fuzzy reasoning introduced in the previous section to this problem, we face a difficulty to find T such that (x is A, y is B) = (x is Al, y is B,) is 7, where r is a linguistic truth value. It is impossible to solve the above semantical equation
Multi-dimensional
fuzzy
reasoning
317
I y b-T -cc11 BI I *I
I T %*2 x
B+-i-t ;--s--r-T-4 i
A2
Fig. 2. Outline of algorithm.
unless the relation between x and y is given. That is, generally the truth value of a pair of propositions is expressed using those of individual propositions as (A,, &I =f(At, -- B,) a function f of arbitrary Ai and B, is unknown. Our method can do f. outline of the algorithm is shown in Fig. 2. First let us infer the value of z point (A,, B) from (A,, B,) as indicated by an arrow in Fig. 2. Modus is written (x is Al, y is B), (x is Ai, y is BJ+ 2 is Cl1 z is Cl1
Here Cl1 is easily obtained by one-dimensional reasoning shown in the previous section since Al is fixed along the arrow. That is, set (x is Al, y is B)=(x then clearly yisB=yisBrisr
(16)
is Ai, y is B,) is r
(15)
for the same r. Let us next infer z at the same point (A,, B) this time from (A,, B,). That is (x is Al, B), Now let Dl=f(c;,+c;*). Then we obtain a new implication (x is Al, y is B)+ (17) with respect to the point (A,, B) such that (x is Ai, BJ +- z is Cl* z is Cl*
z is D1.
Here D1 may be obtained in another way: D1 = C;, tl Ci2. For the point (AZ, B) we can also obtain an implication such that (x is AZ, y is B) += z is D2. Finally if we follow the same procedure along the dotted arrows in Fig. 2, we can infer the value of z at (A, B). So the method is just like linear interpolation. In the following section we shall show how well the method works.
318
M.
Sugeno,
T.
Takagi
-Al
Let us consider the inverse problem such as finding x when y is B and z is C are given. The first half part of the algorithm is the same as in the previous case. We start from the part where Q and D2 in Fig. 2 have been obtained. That is, we have two implications (x is A,, y is B)-+ z is D,, (x is A*, y is B) + z is I&. The second half of the algorithm is illustrated Fig. 3. Now consider the following modus tollens: z is C, (x is Al, y is B) + z is Q (x is A;, y is B) this time in the (y, z) plane as in
Since y is B is fixed, the problem is also reduced to one-dimensional modus tollens. So x is A; can be inferred, which is shown by the lower arrow in Fig. 3. Along the upper arrow, x is A; is also obtained. By setting A = (A i + A;)/2, x is A is finally inferred from (y is B, z is C).
4. Illmlrative
example
4.1. Reasoning based on modus ponens Let us consider the following linear functional
z=x+ay
relation
(18)
to examine the validity of the method. This relation is understood ing relation which we want to express by a set of fuzzy implications. fuzzy variables used in implications are chosen as PI(X) =& x +;, x E [-z, a],
as an underlyFor simplicity
(1%
(20)
N,(x) = P1(-x>,
PAY)=&
WY)
y+3,
YEL-7, Yl,
(21) (22)
= M-y),
Multi-dimensional
fuzzy reasoning
319
Fig. 4. Membership
Fig. 5. Membership
where P and N imply positive and negative, respectively, and Pi(x) is membership function of Pi. Those are shown in Figs. 4 and 5. In the sequel membership function of a fuzzy set A will be written A(x). Let us further assume that the value of z, for example, at the point (x is Pi, PJ is precisely given according to the underlying relation shown in (18). Then have an implication (x is PI, y is PJ -+ z is PI + aPz. Denote P3 =Pl+aP,, then follows by a simple calculation
.
the the y is we
PJz)=(P1+aP*)(z)=
(23)
The method of calculation such as P, + aP, is discussed in the Appendix. In a similar manner, we have implications for the other three points as is shown in Fig. 6. They are (x (x (x (x where PJz)= N(z)
2(x + aj3
is is is is
y is NJ + y is P2) + y is NJ + y is PZ) +
z+;,
(24) (25)
(26)
N,(z) = PA-z),
(27)
and a7 + ff # 0, ajj -2 # 0 are assumed of course. Now let us consider a special premise such as (x is x0, y is yo) where x0 and y, are singletons. What we expect by this is to obtain z. = x0+ aye from our fuzzy reasoning. According to the algorithm described in the previous section, we have two m.odus ponens along the lines reaching (x is P,, y is y,) in Fig. 6 such that (PI, Yo), (PI, Pd --, P3 , 6 (PI, YO), (p,, NJ --* N4 . W
M. Sugeno, T. Takagi I
pz-
I -I----p3-
Ye-y--tI3
Nl
N-N 2
yx0
Pl
Assuming that the truth values of all the implications are u-true, that is, r(a)=& in (4), we obtain from the procedure of fuzzy reasoning shown in Section 2 p;(z) = P3(z) + 1 - P*(Yo) 1 1 z-ycJ+ 1, = 2(@ + f) 27
(28)
0
(a-il$yo
(a-W
Let
(30)
(31)
=y 0
Multi-dimensional
fuzzy
reasoning
321
We have also two modus ponens for the point (N,, yO) such that WI, Yo), WI, PA + p4 9 p; Let H = $(P; + N;), then we also obtain H(z)= -&(z-2f-ay,) (33) (32) UC YCJ, w,, Nz) + N3 N;
(x is P,, y is yO) + z is K, (x is Nr, y is yJ-+ z is H. Finally we have the following modus ponens along the dotted lines in Fig. 6. , as (34) (35)
(xc,, YO), WI, YO)+ H
(x0, Yoh
(PI, Yo)+ K
H(Z) = H(z) - N,(x,) + 1. They are shown in Fig. 10. Let L = ;(K+ H),
then L is the final consequence of fuzzy reasoning, singleton as is shown in Fig. 11. That is L=x,+ay,,
which gives the precise value of z at (x,, y,,). Thus we can state that our method of multi-dimensional fuzzy reasoning represents precisely a linear functional relation. We should recall that we have used only 4 implications at all.
-;-g------T@0 I
1 ----I;;--
aat% -x
I ayo+xo+Ti
322
M. Sugeno, T. Takagi
based on modus tollens
4.2. Reasoning
Now let us consider the inverse problem of that discussed in the previous section. Our problem is to And x when (y is yo, z is zo) is given. According to the algorithm, we can start from Fig. 12.
4
I yQ-H-KI Nl
I I Pl
We have already obtained two implications (x is IV,, y is yo) ---, z is H, (x is PI, y is yo) + 2 is K,
where H and K are given in (32) and (30). When (yo, zo) is given, we can consider the following 20, (PI, Yo) + H UT Yo) 20, WI, yo) + K WY> Yo) .
(39)
(40)
(41)
Multi-dimensional
fuzzy
reasoning
323
Conclusions We have discussed some problems concerned with multi-dimensional fuzzy reasoning and proposed a method. The method enables us to precisely represent any linear functional relation. On the other hand it is very difficult to find a fuzzy relation in a compositional rule of inference which can represent a linear functional relation under the condition that four implications, for example, are given as discussed in the paper. The purpose of our research is to give a new mathematical tool to describe systems, or in other words to give a way to fuzzy modelling of systems. It is of crucial importance for general purpose to examine the ability of the description of such and such a mathematical tool. So we have discussed our method in detail.
Appendix. monotone
with linear
Here we deal with extended operations in a special class of fuzzy numbers. Suppose a class of fuzzy sets as are shown in Fig. 14.
(4
Fig. 14.
P(x)=-&2
N(Y)
= -A 2
(x- 4,
(Y
1
x Era,, 419
Y
- bJ>
Elib,, &I.
and N-.
a E [O, 1).
There are two types of fuzzy numbers, P and N, in the class. A singleton is considered as a special case of P or N. It is well known that a set of fuzzy numbers with an operation addition does not form a group. For example, let
X=P+N.
324
M.Sugeno, T. Takagi
According
a21
Y2b) +
a,].
This implies that Y = P since yl(a) = P-*(a) and y2(a) = u2 are obtained. Now we present new extended operations in a class of fuzzy numbers with linear monotone membership functions which give a group structure. Addition :
Inverse :
x = -P t-, X-'(a)
= -P-'(a).
Multi-dimensional
fuzzy reasoning
325
The results of these operations belong to the same class; the operations are closed. It is valid that (P + N) - P = N, 2P-P = P and 3P = 2P + P, etc. It is easily seen that this class of fuzzy numbers with addition yields a commutative group.
References
[l] J.F. Baldwin, A model of fuzzy reasoning through multi-valued logic and set theory, Int. J. Man-Machine Studies 11 (1979) 351-380. [2] J.F. Baldwin, Fuzzy logic and approximate reasoning for mixed input arguments, Int. J. ManMachine Studies 11 (1979) 381-396. [3] S. Fukami, M. Mizumoto and K. Tanaka, Some considerations on fuzzy conditional inference, Fuzzy Sets and Systems 4 (1980) 243-273. [4] Y. Tsukamoto, An approach to fuzzy rsasoning method, in: M.M. Gupta, Ed. Advances in Fuzzy Set Theory and Applications (North-Holland), Amsterdam, 1979) 137-149. [5] L.A. Zadeh, Fuzzy logic and approximate reasoning, Synthese 30 (1975) 407-428.