<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Inference Methods for Mamdani-Type Systems Based on Fuzzy Truth Value</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Vasily G. Sinuk</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Sergey V. Kulabukhov</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Belgorod State Technological University named after V. G. Shukhov, Department of Software Engineering for Computers and Computer-Based Systems</institution>
          ,
          <addr-line>Belgorod</addr-line>
          ,
          <country country="RU">Russia</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2020</year>
      </pub-date>
      <abstract>
        <p>The article introduces inference methods for Mamdani-type fuzzy systems, which can be implemented with polynomial computational complexity for any t-norms and multiple fuzzy inputs. Center average and center of gravity defuzzification methods were used for case of multiple rules in rule base. Network architectures of systems corresponding to inference methods introduced in the article are provided. Mamdani's approach addresses the question of interpretation of the expression “if  is  then  is  ”, where  and  are linguistic variables,  and  are linguistic values of  and  respectively. The source of uncertainty consists in the fact that “if  is  then  is  ” can be interpreted in two diferent ways. First, the most obvious way is to consider this expression as “ is  and  is  ”, or as ( ,  ) is  ×  , where  ×  is a Cartesian product of fuzzy sets  and  . Hence, with this interpretation “if  is  then  is  ” is a joint constraint on  and  . An alternative way consists in understanding “if  is  then  is  ” as a conditional constraint or, equivalently, an implication. Many diferent implications are known. This way was considered in [Mik18] for systems with multiple inputs. The subject of this article is the development of Mamdani's approach. For systems with multiple fuzzy inputs, which represent a formalization of terms of linguistic variables or inaccurate measurements, inference methods based on max-min and maxproduct composition operations are known [Rut10]. Operators min (taking minimum) and product (arithmetical product) are t-norms [Als06] that correspond to Mamdani's [Mam74] and Larsen's [Lar80] inference rules respectively. But for other t-norms, replacement of which can be necessary for learning of fuzzy systems, implementation of inference for multiple fuzzy inputs with polynomial computational complexity is impossible. In this article, methods that solve this problem are considered. The statement of the problem and estimation of complexity of fuzzy inference is made in section 2. In section 3, an inference method using a measure of possibility for each input of a multiple-input system is considered. Section 4 introduces an inference method based on fuzzy Russian Advances in Artificial Intelligence: selected contributions to the Russian Conference on Artificial intelligence (RCAI 2020), October 10-16, 2020, Moscow, Russia " vgsinuk@mail.ru (V.G. Sinuk); qlba@ya.ru (S.V. Kulabukhov)</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>truth value. Sections 5 and 6 consider inference for a rule base with use of center average and
center of gravity methods respectively.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Statement of the problem</title>
      <p>A linguistic model is represented by a fuzzy rule base   ,  = 1,  of the form:
  ∶ If  1 is  1 and  2 is  2 and … and   is   then  is   ,
where  is the number of fuzzy rules,   ⊆   ,  = 1, ,   ⊆  are fuzzy sets, defined by
membership functions    (  ) and    ( ) respectively;  1,  2, … ,   are input variables of the
linguistic model, while
(1)
(2)
(3)
[ 1,  2, … ,   ]T =  ∈  1 ×  2 × ⋯ ×   .</p>
      <p>Symbols   ,  = 1,  and  stand for input and output variables spaces respectively.</p>
      <p>Let us denote  =  1 ×  2 × ⋯ ×   and   =  1 ×  2 × ⋯ ×   , whereas
   ( ) = T1    (  ),</p>
      <p>=1,
where T1 is an arbitrary t-norm, then rule (1) can be represented in the form of fuzzy implication
  ∶   →   ,  = 1,  .</p>
      <p>Rule   can be formalized as a fuzzy relation, defined over set  ×  , i.e.   ⊆  ×  is a fuzzy
set with membership function</p>
      <p>( ,  ) =    →  ( ,  ).</p>
      <p>Mamdani’s model defines the function    →  ( ,  ) based on known membership functions
   ( ) and    ( ) as follows [Rut10, Peg09]:</p>
      <p>T2
   →  ( ,  ) = T2(   ( ),    ( ))=    ( ) ∗    ( ),
where T2 is an arbitrary t-norm.</p>
      <p>The problem consists in defining fuzzy inference  ′ ⊆  for a system, represented in the
form (1), if the inputs are assigned fuzzy sets  ′ =  ′1 ×  ′2 × ⋯ ×  ′ ⊆  or “ 1 is  ′1 and  2 is
 ′2 and … and   is  ′ ” with the corresponding membership function   ′( ), which is defined
as
  ′( ) = T3   ′(  ),</p>
      <p>=1,
 ′ =  ′◦(  →   ),
or, at the level of membership functions,
where T3 is an arbitrary t-norm.</p>
      <p>According to fuzzy modus ponens rule [Zad73], fuzzy set  ′ is defined by the composition of
fuzzy set  ′ and relation   , i.e.</p>
      <p>′ ( ) = su∈p {  ′( ) T∗4 (   ( ) T∗2    ( ))}, (4)
where T4 is an arbitrary t-norm. Computational complexity of expression (4) equals  (| |×| |).
3. Inference method based on possibility measure for each
input
Let us consider the inference (4) when</p>
      <p>T1 = T2 = T3 = T4 = T,
then</p>
      <p>{ T T }
  ′ ( ) = su∈p   ′( ) ∗ (   ( ) ∗    ( )) .</p>
      <p>Due to associativity of t-norms, the expression (6) can be transformed into</p>
      <p>{ T } T
  ′ ( ) = su∈p   ′( ) ∗    ( ) ∗    ( ).</p>
      <p>Using (2) and (3) we can further transform (7):
(5)
(6)
(7)
{  ′1( 1) T∗   ′2( 2) T∗ … T∗   ′ (  ) T∗   1 ( 1) T∗   2 ( 2) T∗ … T∗    (  )
} T
∗    ( ).
  ′ ( ) =  s1u∈p1
 2∈ 2</p>
      <p>⋯
  ∈ 
  ′ ( ) =  s1u∈p1
 2∈ 2</p>
      <p>⋯
  ∈ 
Associativity and commutativity of t-norms enables us to rearrange   ′(  ) and    (  ), which
allows us to obtain
{</p>
      <p>(  ′1( 1) T∗   1 ( 1)) T∗ (  ′2( 2) T∗   2 ( 2)) T∗ … T∗ (  ′ (  ) T∗    (  ))} T∗    ( ),
and, since t-norms are non-decreasing,
  ′ ( ) =  s1u∈p1{  ′1( 1) T∗   1 ( 1)} T∗  s2u∈p2{  ′2( 2) T∗   2 ( 2)} T∗ … T∗  su∈p {  ′ (  ) T∗    (  )} T∗    ( ),
what can be written as
{</p>
      <p>T
  ′ ( ) =  =T1, s u∈p {  ′(  ) ∗    (  )}
} T
∗    ( ) = T
 =1,
{
Π  | ′
} T
∗    ( ),
(8)
where</p>
      <p>T
Π  | ′ = sup{  ′(  ) ∗    (  )}</p>
      <p>∈ 
is a scalar value which, according to its definition in [Dub90], is a measure of possibility for
 -th input, meaning how much  ′ corresponds to   (or vice versa).</p>
      <p>Thus, we have proved that inference method (8) is possible if all four t-norms are similar (5).
In contrast to [Rut10], this t-norm may be arbitrary.</p>
    </sec>
    <sec id="sec-3">
      <title>4. Inference method based on fuzzy truth value</title>
      <p>Applying the truth modification rule [Bor82]</p>
      <p>′( ) =    | ′(   ( )),
where    | ′( ⋅ ) denotes the fuzzy truth value of a fuzzy set   with respect to  ′, representing
a compatibility membership function  (  ,  ′) of   relatively to  ′, while  ′ is considered
as true [Zad78, Dub90]:
   | ′( ) =   (  ,  ′)( ) =</p>
      <p>sup {  ′( )},  ∈ [0; 1],
   ( )=
 ∈
let us denote  =    ( ). Then we get:
Hence fuzzy modus ponens rule for systems with  inputs can be represented as follows:
  ′( ) =    | ′(   ( ))=    | ′( ).
  (  ,  ′)( ) = T̃ 1   (  ,  ′)(  ) =</p>
      <p>=1,
=(  (  1,  ′1)( 1) T̃ 1   (  2,  ′2)( 2))T̃ 1   (  3,  ′3)( 3) T̃ 1 … T̃ 1   (  ,  ′ )(  ),
where T̃ 1 is an extended according to the extension principle  -ary t-norm [Dub90] and
  (  ,  ′)(  ) =</p>
      <p>{  ′(  )}.</p>
      <p>sup
   (  )= 
  ∈ 
Particularly, if  = 2, then
  (  ,  ′)( ) = T̃ 1   (  ,  ′)(  ) =
 =1,2</p>
      <p>sup
 1 T1  2 = 
( 1, 2)∈[0;1]2
{  (  1,  ′1)( 1) T3   (  2,  ′2)( 2)}.</p>
      <p>Computational complexity of the latter expression has order of  (| |2). In case T4 = T2 = T,
then associativity of t-norms allows us to transform (9) into
where  = 1,  and</p>
      <p>T
Π  | ′ = sup {   | ′( ) ∗  }
 ∈[0;1]
(9)
(10)
(11)
is a scalar value which represents a generalization of an expression defined in [Yag83] and
means how much terms   of rule  correspond to input values  ′ (or vice versa).</p>
      <p>This means that using fuzzy truth values in (9) makes its computational complexity
polynomial and does not impose restrictions onto t-norms (5).</p>
      <p>In case   =  ′, then    | ′ ( ) =  , i.e.  (  ,  ′) is “true”. Hence
what indicates the fulfillment of the first criterion of correspondence of an inference method
to approximate reasoning [Rut10].</p>
      <p>Let us consider inference based on (10), which belongs to so-called FITA-approaches (First
Inference, Then Aggregate), i.e. when inference for every rule is performed prior to aggregation
of the result. Aggregation for Mamdani model is implemented by means of S-norms [Rut04].
For example, let us use the Lukasiewicz t-norm [Als06] in (10), which could not be used in
inference before due to the computational complexity:
   (  ) = sup{   ( )} = 1</p>
      <p>∈</p>
      <p>T
Π  | ′ ∗    ( ) = {0, Π  | ′ +    ( ) − 1}.</p>
      <p>FITA-fuzzy process based on (12) is illustrated in figure 1, where three fuzzy sets   ,  = 1, 3
with Gaussian membership functions are depicted subsequently. Here we assume that these
fuzzy sets are normal, i.e. sup {   ( )} = 1. Each of  ′ is derived from a particular rule
according to formula (11) from fuzzy set   by pushing it down. The membership function
obtained as union of fuzzy sets  ′ ,  = 1, 3 using maximum operation is depicted at the bottom
of the figure. The maximum operation is an example of S-norms.</p>
      <p>Let us compare the shapes of fuzzy sets  ′ , derived with the use of Lukasiewicz’s t-norm,
to ones that were obtained using minimum and arithmetical product operations. In the first
case, membership functions are being “truncated”, in the second case they are being “scaled”
[Kru01].
5. Fuzzy system based on center average defuzzification
method
Let us consider the systems introduced in section 4 having fuzzy inputs and using the center
average defuzzification method [Rut04]. In this case, the crisp output value is defined by the
following formula:
 =
∑ =1,   ′ (  )
where  is the crisp output of a system, consisting of  rules;   are centers of membership
functions    ( ),  = 1,  , i.e. points, for which
(12)
(13)
(14)
 = ∑ =1,   ⋅ sup ∈[0;1] {   | ′( ) T∗4 ( T∗2    (  ))} .</p>
      <p>∑ =1, sup ∈[0;1]    | ′( ) T∗4 ( ∗    (  ))</p>
      <p>T2
}




(15)
because a t-norm meets boundary condition T( ; 1) =  by definition. Substituting (16) into
(15), we get
 =
∑ =1,   ⋅ Π  | ′ .</p>
      <p>∑ =1, Π  | ′
Therefore the result  does not depend on the specific t-norm T2 when using the center average
defuzzification method for systems with fuzzy inputs.</p>
      <p>Let us consider the inference with crisp input data, hence
   | ′( ) =  ( −   ) =
{
1, if  =   ,
0, if  ≠   ,
  = T1    (  ),  = 1,  ,</p>
      <p>=1,
Π  | ′ = sup
 ∈[0;1]
{</p>
      <p>( −   ) T∗2  } =   ,
where
in which   ,  = 1,  are crisp input values, and T1 is a t-norm formalizing the conjunction in
 -th rule’s antecedent. Then
considering that T2(1;   ) =   . Therefore, the output value is defined as follows:
(16)
(17)
(18)
what turns out to be the zero order Takagi-Sugeno’s fuzzy inference algorithm [Kru01]. Thus,
system output does not depend on t-norms T2 and T4 in the case of crisp input data and the
center average defuzzification method. The structure of a fuzzy system that is described by
expression (17) is shown in figure 2.
6. Fuzzy system based on the center of gravity defuzzification
method
Let us consider those systems introduced in section 4 having fuzzy inputs and using a discrete
variant of the center of gravity defuzzification method [Rut04]
 =
∑ =1,   ⋅  
∑ =1,</p>
      <p>,
 =
 ′
where  is the crisp output value, and</p>
      <p>are the centers of membership functions    ( ),  =
using the maximum operator or any other S-norm, i.e.
1,  , defined by expression (14). Fuzzy set  ′ is derived by the union of fuzzy sets  ′ ,  = 1, 
From (18), (9) and (19) we get
  ′ ( ) =
 =1,</p>
      <p>S</p>
      <p>′ ( ).
 =
∑ =1,   ⋅  =1,</p>
      <p>S</p>
      <p>S
∑ =1,  =1,
{
{
sup
(19)
(20)
Let us denote    (  ) =   . From (14) follows   =    (  ) = 1. According to (12), the S-norm
can be written as follows:
(22)
(23)
In this case the network architecture of the system takes the form represented in figure 4. If
  ≈ 0
for ,  = 1,  , 
≠ ,
then expressions (21) and (22) will take the form of (17), and the network architectures given
in figures 3 and 4 take the form of the architecture depicted in figure 2. Figure 5 provides an
example of fuzzy sets   ,  = 1,  that meet condition (23). Therefore, the center average and
center of gravity (defined by expression (13)) defuzzification methods lead to same results for
the same input data.</p>
    </sec>
    <sec id="sec-4">
      <title>7. Conclusion</title>
      <p>Inference based on fuzzy truth value enables us to spread Mamdani’s approach onto systems
with multiple fuzzy inputs regardless of the t-norms used, thereby eliminating exponential
computational complexity.</p>
      <p>Moreover, the most important advantage of using the concept of fuzzy truth value is the
fact that the relation between the premise and fact is represented as a fuzzy set, in contrast to
methods [Rut10, Als06], which reduce this relation to a scalar value.</p>
      <p>Representing all the relationships between the premises and facts within the same space of
truthfulness reduces the computational complexity of the inference result from exponential to
polynomial.</p>
      <p>Expressions of output values for fuzzy systems utilizing measure of possibility
generalization (11) with the use of center average and center of gravity defuzzification methods were
introduced in the article.</p>
      <p>Formulas (17), (20), (21), (22) were used to build network structures. Using learning
algorithms for their parameters they can be transformed into neuro-fuzzy systems.</p>
    </sec>
    <sec id="sec-5">
      <title>Acknowledgments</title>
      <p>This work is partially supported by RFBR (grant №20-07-00030).</p>
      <p>′1
 ′2
where   = sup {   | ′( ) T∗4 (</p>
      <p>Copulas. World Scientific, Singapore (2006)
[Als06] Alsina, C., Frank, M. J., Schweizer, B.: Associative Functions: Triangular Norms and
[Bor82] Borisov, A. N., Alekseev, A. V., Krunberg, O. A. et al.: Decision Making Models Based
on Linguistic Variable (in Russian). Zinatne, Riga (1982)
[Dub90] Dubois, D., Prade A.: Possibility Theory. Application to Knowledge Representation
in Informatics (in Russian). Radio and Communication, Moscow (1990)
[Kru01] Kruglov, V. V., Dli, M. I., Golunov, R. Yu.: Fuzzy Logic and Artificial Neural Networks
(in Russian). Physmathlit, Moscow (2001)
[Kut15] Kutsenko, D. A., Sinuk, V. G.: Inference Methods for Systems with Multiple Fuzzy
Inputs (in Russian). Bulletin of Russian Academy of Sciences: Control Theory and
Systems 3, 49–57 (2015)
[Lar80] Larsen, P. M.: Industrial Applications of Fuzzy Logic Control. International Journal
[Mam74] Mamdani, E. H.: Applications of Fuzzy Algorithm for Control a Simple Dynamic
of Man-Machine Studies 1(12), 3–10 (1980)
Plant. Proc. IEEE. 12(121), 1585–1588 (1974)
T2
∗   )}</p>
      <p>S
S
S
5
 1
 
1
1
1
6
Σ
÷
7

 ′1
 ′2
S
5
 1
 
1
1
1
6
Σ
÷
7

[Mik18] Mikhelev, V. V., Sinuk, V. G.: Fuzzy Inference Methods Based on Fuzzy Truth Value
for Logical-Type Systems (in Russian). Bulletin of Russian Academy of Sciences:
Control Theory and Systems 3, 157–164 (2018)
[Peg09] Pegat, A.: Fuzzy Modelling and Control (in Russian). BINOM, Laboratory of
Knowl[Rut04] Rutkowska, D., Pilinsky, M., Rutkowsky, L.: Neural Networks, Genetic Algorithms
and Fuzzy Systems (in Russian). Hot Line — Telecom, Moscow (2004)
[Rut10] Rutkowsky, L.: Methods and Technologies of Artificial Intelligence (in Russian). Hot</p>
      <p>Line — Telecom, Moscow (2010)
[Sin16] Sinuk, V. G., Polyakov, V. M., Kutsenko, D. A.: New Fuzzy Truth Value Based
Inference Methods for Non-singleton MISO Rule-Based Systems. In: Proceedings of the
First International Scientific Conference “Intelligent Information Technologies for
Industry” (IITI ’16), vol. 1, pp. 395–405. Springer, Cham (2016)
[Yag83] Yager, R. R.: Some relationships between possibility, truth and certainty. Fuzzy Sets
and Systems 11, 151–156 (1983)
[Zad73] Zadeh, L. A.: Outline of a New Approach to the Analysis of Complex Systems and
Decision Processes. IEEE Transactions on Systems, Man and Cybernetics 1(3), 28–44
(1973)
[Zad78] Zadeh, L. A.: PRUF — A Meaning Representation Language for Natural Language.</p>
      <p>Intern. J. Man-Machine Studies 10, 395–460 (1978)</p>
    </sec>
  </body>
  <back>
    <ref-list />
  </back>
</article>