An Estimation of Favorite Value in Emotion Generating Calculation by Fuzzy Petri Net ††thanks: ©2013 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works.
Emotion Generating Calculations (EGC) method based on the Emotion Eliciting Condition Theory can decide whether an event arouses pleasure or not and quantify the degree under the event. An event in the form of Case Frame representation is classified into 12 types of calculations. However, the weak point in EGC is Favorite Value () as the personal taste information. In order to improve the problem, this paper challenges to establish a learning method to learn speaker’s taste information from dialog. Especially, the learning method employs Fuzzy Petri Net to find an appropriate to a word which has the unknown . This paper discusses the effective learning method to improve a weak point of EGC when a missing value of exists.
Our research group proposed an estimation method to calculate the agent’s emotion from the contents of utterances and to express emotions which are aroused in computer agent by using synthesized facial expression [1, 2, 3]. Emotion Generating Calculations (EGC) method  based on the Emotion Eliciting Condition Theory  can decide whether an event arouses pleasure or not and quantify the degree of pleasure under the event.
Calculated emotions by EGC will change the mood of the agent. Ren  describes Mental State Transition Network (MSTN) which is the basic concept of approximating to human psychological and mental responses. The assumption of discrete emotion state is that human emotion is classified into some kinds of stable discrete states, called “mental state,” and the variance of emotions occurs in the transition from a state to other state with an arbitrary probability. Mera and Ichimura [6, 7] developed a computer agent that can transit a mental state in MSTN based on analysis of emotion by EGC method. EGC calculates emotion and the type of the aroused emotion is used to transit mental state .
However, the weak point in EGC is Favorite Value () as the personal taste information. In order to improve the problem, Mera et al. challenged to establish a method to learn speaker’s taste information from dialog . The learning method consists of four following parts:(1)Directly expression according to the degree of like/dislike, (2)Decision Making based on the speaker’s environment, (3)Relevance to the degree of displeasure to the object, and (4)Backward calculation from the emotional expression. The method seems to be effective in theory, but the procedure (2) is still an theoretical query into emotions, because it does not include the reasoning model. In this paper, the learning method employs Fuzzy Petri Net (FPN) to find an appropriate for a word which has the unknown . The given by the method can change the value itself according to the meaning or intent of discourse in a dialog. Moreover, the reasoning method can control the degree of changing , because the threshold value in FPN varies as the mood in MSTN changes. This paper discusses the effective learning method to improve a weak point of EGC when a missing value of exists.
The remainder of this paper is organized as follows. In the section II, the brief explanation to understand the EGC is described. Section III explains to MSTN to measure the current mental state by the stimulus of the EGC. Section IV describes the Fuzzy Petri Net model and Section V proposes the reasoning method and learning method of modification. In Section VI, we give some discussions to conclude this paper.
Ii Emotion Generating Calculations
Ii-a An Overview of Emotion Generating Process
Fig.1 shows the emotion generating process where the user’s utterance is transcribed into a case frame representation based on the results of morphological analysis and parsing. The agent works to determine the degree of pleasure/displeasure from the event in case frame representation by using EGC. EGC consists of 2 or 3 terms such as subject, object and predicate, which have Favorite Value (), the strength of the feelings described in section II-B.
Then, the agent divides this simple emotion (pleasure/displeasure) into 20 various emotions based on the Elliott’s “Emotion Eliciting Condition Theory.” Elliott’s theory requires judging conditions such as “feeling for another,” “prospect and confirmation,” and “approval/disapproval.” The detail of this classification method is described in the section II-D.
Ii-B Favorite Value Database
Which an event is pleasure or displeasure is determined by using . is a positive/negative number to an object when the user likes/dislikes it, respectively. is predefined a real number in the range . There are two types of s, personal and initial . Personal is stored in a personal database for each person who the agent knows well, and it shows the degree of like/dislike to an object from the person’s viewpoint. On the other hand, initial shows the common degree of like/dislike to an object that the agent feels. Generally, it is generated based on the agent’s own preference information according to the result of some questionnaires. Both personal and initial s are stored in the user own database. An initial value of is determined beforehand on the basis of ‘corpus’ of its applied field. The s of the objects are gained from a questionnaire. However, there are countless objects in the world. In this paper, we limit the objects that have initial into the frequently appeared words in dialog.
Ii-C Equation of EGC
We assume an emotional space as three-dimensional space. Therefore, we present a method to distinguish pleasure/displeasure from an event by judging the existence of ‘synthetic vector”.
Table I shows the correspondence between the case element in EGC equations and the axis in the three-dimensional model. In Table I, ‘V(S,*)’ is the type of event (verb) and ‘A(S,*)’ is the type of attribute (adjective). the variables denoted in Table I are expressed as follows.
: of Subject
: of Object-From
: of Object-Mutual
: of Object-Content
: of Object
: of Object-To
: of Object-Source
: of Predicate
: of Instrument or tool
Table II shows the relation between the sign of axis in each dimension and the pleasure/displeasure of generated emotion. When the vector is on the axis, the event does not raise any emotion. When we calculate the synthetic vectors of the events which do not have elements, we supply a dummy , as element. We tentatively defined as . Fig.2 is an example of emotion space of event type . There are three elements, Subject, Object, and Predicate, in the event type, and the orthogonal vectors by the elements construct a rectangular solid.
Ii-D Complicated Emotion Eliciting Method
Based on emotion values calculated by EGC method and their situations, the pleasure/displeasure is classified into 20 types of emotion. We consider only 20 emotion types, which are classified into six emotional groups as follows, “joy” and “distress” as a group of “Well-Being,” “happy-for,” “gloating,” “resentment,” and “sorry-for” as a group of “Fortunes-of-Others,” “hope” and “fear” as a group of “Prospect-based,” “satisfaction,” “relief,” “fears-confirmed,” and “disappointment” as a group of “Confirmation,” “pride,” “admiration,” “shame,” and “disliking” as a group of “Attribution,” “gratitude,” “anger,” “gratification,” and “remorse” as a group of “Well-Being/Attribution” . Fig.3 shows the dependency among the groups of emotion types.
Iii Mental State Transition Learning Network
Iii-a Mental State Transition Network
MSTN, proposed by Ren, represents the basic concept of approximating to human physiological and mental responses. The method focuses not only information included in the elements of phonation, facial expressions, and speech, but also human psychological characteristics based on the latest achievements of brain science and psychology in order to derive transition networks for human psychological states. The assumption of discrete emotion state is that human emotions are classified into some kinds of stable discrete states, called “mental state”, and the variance of emotions occurs in the transition from a state to other state with a probability. The probability of transition is called “transition cost” and it does not have the same one. Moreover, with no stimulus from the external world, the probability may converge to fall into a certain value as if the confusion of the mind leaves and is relieved. On the contrary, with a stimulus from external world and/or attractive thought in internal world, the continuous accumulated emotional energy cannot jump to the next mental state and remains in its mental state still. The simulated model of mental state transition network describes the simple relations among some kinds of stable emotions and the corresponding transition probability. The probability was calculated from analysis of many statistical questionnaire data.
In , six kinds of mental states and quiet state are considered for questionnaire. That is, the transition table of , , is prepared. The experiment for participants was examined without stimulus from external world. Each participant fills in the numerical value from 1 to 10 that means the strength of relation among mental states. Moreover, the same questionnaire was examined under the condition with the stimulus from external world. The 200 participants answered the questionnaire. The numerical values in Table III show the statistical analysis results. The symbols in Table III mean =‘happy’, =‘quiet’, =‘sad’, =‘surprise’, =‘angry’, =‘fear’, =‘disgust’, respectively. The transition cost from each current state to the next state is summarized to .
Iii-B EGC in MSTN
Even if there are not any signal from external world, the mental state will not change. In this case, the transition probabilities represented in Table III are adopted to calculate by using EGC. In this paper, we assume that the stimulus from external world is the utterance of the user and the transition cost is calculated as follows.
where is the number of transition from mental state , to , . The transition cost is calculated by using the total of for all mental state. Eq.(1) means that the higher transition cost is, the less transition occurs.
Eq.(2) calculates the next mental state from the current mental state by using the emotion vector.
The emotion vector consists of 9 kinds of emotion groups which are classified 28 kinds of emotions as shown in Table IV. Fig.5 shows the MSTN by using EGC. The circled numbers in Fig.5 are the number in the left side of Table IV. The shows the strength of emotion group and takes the maximum value of elements belonged in each set as follows.
|gloating, hope, satisfaction, relief, pride,|
|1||admiration, liking, gratitude, gratification,love, shy|
|3||sorry-for, shame, remorse|
|4||fear-confirmed, disappointment, sadness|
|7||resentment, reproach, anger|
The in Eq.(3) calculates the maximum emotion group according to the transition cost between current state and next state.
where is next mental state from the current state by selecting emotion group .
Iv Fuzzy Petri Net
The interactive system for tourist concierge is implemented by the goal driven reasoning. The inference technique which uses IF-Then rules to repetitively breaks a goal into smaller sub-goals. It is an efficient way to solve problems that can be modeled as “structured selection problems.” The aim of the system is to pick the choice from many enumerated possibilities.
The goal driven reasoning can deduce the user’s requirement from the conversation in the specified goal driven reasoning such as tourist information system. Then, IF-THEN rules for the interactive system as knowledge representations are prepared according to the sightseeing spots and goods.
A fuzzy production rule is a rule which describes the fuzzy relation between 2 proposition. Let b a set of fuzzy production rule . The general form of the th fuzzy production rule is as follows:
where is a finite set of places, is a finite set of transitions, is a finite set of propositions, and . is the input function, a mapping from transition to bags of places. is the output function, a mapping from transition to bags of places. is an association function, a mapping from transitions to real values in [0, 1]. is an association function, a mapping from places to real values in [0,1]. is an association function, a bijective mapping from laces to propositions.
Let be a set of directed arcs. If , then there exists a directed arc from the place to the transition . if , then there exists a directed arc from the transition to place . If , , then the transition is said to be associated with a real value . If , then the place is said to be associated with the proposition .
The token value in a place is denoted by , where . If and , then it indicates that the degree of truth of proposition is .
By using a FPN, the fuzzy production rule such as Eq.(4) can be modeled as shown in Fig.6. The FPN model has places, transitions, and tokens. A transition may be enabled to fire. A transition is enabled if for all , where is a threshold value in . A transition fires by removing the tokens from its input places and then depositing one token into each of its output places. The token value in an output place of is calculated by using Eq.(6).
If there are 2 or more fuzzy variables in the antecedent part of rules, the production of of them and the transition by the fuzzy reasoning as follows.
Furthermore, the following 4 types of IF-THEN rules by extending Eq.(4) are defined in Eq.(8). Fig.7 shows the FPN model of Eq.(8). However, Type4 cannot derive clear implication, and then we don’t consider in this paper. By Eq.(9), the token values are calculated respectively.
V A learning of Personal Favorite Value
V-a 4 learning procedures of FV
Although EGC is an effective method to estimate the user’s emotion, the weak point in EGC is Favorite Value () itself as the personal taste information. In order to improve the problem, Mera et al. challenged to establish a method to learn speaker’s taste information from dialog . The learning method consists of four following parts:(1)Directly expression according to the degree of like/dislike, (2)Decision Making based on the speaker’s environment, (3)Relevance to the degree of displeasure to the object, and (4)Backward calculation from the emotional expression. The method seems to be effective in theory, but the procedure (2) is still an theoretical query into emotions, because it does not include the reasoning model. In this paper, the learning method employs Fuzzy Petri Net (FPN) to find an appropriate for a word which has the unknown . The given by the method can change the value itself according to the meaning or intent of discourse in a dialog.
For the extraction of from the utterance, we should pay attention to the words including “like” and “dislike”. These words are used to find one’s impression about some objects. In the method, when the predicate in the sentence includes like/dislike, for the object is set to a positive/negative value.
Change of Speaker’s Feeling in his/her situation (Decision Making based on the speaker’s environment)
increases naturally if an object is something useful or is favorable to the agent. On the contrary, it decreases, if an object is something harmful or is unfavorable to the agent. for a predicate of an event is assigned a pre-determined numerical value in . However, the method in  is unclear, because the 3rd rule, called ‘Favorable Value Changing Situation’, does not have the reasoning model.
Relevance to displeasure
An object that people feels in something displeasant tends to be disliked because it associates the past displeasant events. If a person encounters some unpleasant events, he/she will hate the objects in such an event. The is reduced by such an idea, when the word appears in a unpleasant utterance.
If the emotional expression includes in the sentence, is given by the backward calculation of EGC.
V-B Improvement of Learning Method
The change of speaker’s feeling originates from the exchange of ideas via conversation. Because EGCs are the equations to measure the emotion value in the form of case frame representation in a dialog, the reasoning rule of the equation is given in the form of FPN model as shown in Fig.7. However, the reasoning model has only 2 types, Type 1 and Type 2, because the EGC equation is a simple rule. In case of Type 2, the consequent parts in the rule are transformed to divide into 2 or more rules which are in a consequent part, and then we can consider the Type 1 rule only. Table V shows the FPN rules for EGC in case frame representation. The in Table V is selected from the transition cost in MSTN in Fig.5 and the classification of generated emotion in TableIV.
|:||IF S and V THEN|
|:||IF S and V and OF THEN|
|:||IF S and V and OT THEN|
|:||IF S and V and OM THEN|
|:||IF (S or OS) and V and OS THEN|
|:||IF S and V and O THEN|
|:||IF V and O and (OF or OT) THEN|
|:||IF V and O and (OT or OF) THEN|
|:||IF V and O and OM THEN|
|:||IF V and O THEN|
|:||IF O and OC THEN|
In Table V, , and rules are divided into 2 rules, respectively. That is, , , , , , and are given as follows.
|:||IF S and V THEN LIKE,|
|:||IF OS and V THEN LIKE,|
|:||IF V and O and OF THEN LIKE,|
|:||IF V and O and OT THEN LIKE,|
|:||IF V and O and OF THEN LIKE,|
|:||IF V and O and OT THEN LIKE,|
The main role of learning method of is the solution for the unknown , because the is set to when the is not given the degree of like/dislike to the corresponding word. On the other hand, even if the has been already known, it is suitable to change its value according to the situation in emotional environment.
As mentioned in Section II-B, the range of is . Because the unknown is , we consider that the center of emotion value is and the positive/negative emotional space expands to 1.0 bidirectionally. Then, the normalized range and the positive/negative sign are required to backward calculation.
V-B1 is unknown
The token in is the agreement value as the antecedent part in Type1 in Fig.7(a) and then, the minimum value among them is calculated by Eq.(7). If the place which takes the minimum value have an unknown , the agreement value is . In the case, the corresponding the word will be modified by Eq.(10).
where is the output of the rule, is the place which takes the minimum value, and is the user’s real emotion value. The update is implemented by Eq.(11). is the learning parameter.
If the of place is known, but the other places have unknown , the is modified by Eq.(12).
where is the place with unknown . The update is implemented by Eq.(13).
V-B2 is already known
Even if the unknown does not included in the sentence, sometimes the learning of is required, and then the will be changed according to current mood in the speaker’s environment. In the case, the corresponding the word will be modified by Eq.(14). That it, Eq.(14) change only which takes the minimum value and does not modify the other . The modification rule is executed except the case of 2 words of negative s.
The learning method of speaker’s taste information from dialog in  was divided into four types and was implemented by using grammatical knowledge and already known favorable values. The three types except “Change of Speaker’s Feeling in his/her situation” can find the appropriate , even if of the word is unknown. However, it is difficult for the learning method in  to perceive the delicate change of mode in conversation, because EGC can measure the emotion value by of word in a dialog. MSTN can measure not only the temporary change of emotion but also long-term variation. The learning method proposed in this paper employs Fuzzy Petri Net (FPN) to find an appropriate to a word which has the unknown . The empirical studies are required to be fine tuning for the FPN rules and the definition of .
This work was supported by JSPS KAKENHI Grant Number 25330366.
-  T.Ichimura, T.Yamashita, K.Mera et al., ‘Emotion orientated intelligent systems’, In Internet-based Intelligent Information Processing Systems, R.J.Howlett, N.S.Ichalkaranje, L.C.Jain, G Tonfoni Eds., pp.183-226, World Scientific Publishing Company ,2003.
-  K.Mera, T.Ichimura et al. Invoking Emotions in a Dialog System based on Word-Impressions, Journal of Japan Society of Artificial Intelligence, Vol.17, No.3, pp.186-195, 2002. (Japanese)
-  K.Mera. Emotion Orientated Intelligent Interface, Doctoral Dissertation, Tokyo Metropolitan Institute of Technology, Graduate School of Engineering, 2003.
-  C.Elliott. The Affective Reasoner: A process model of emotions in a multi-agent system, Ph.D thesis, Northwestern University, The Institute for the Learning Sciences, Technical Report No.32, 1992.
-  F.Ren. Recognizing Human Emotion based on appearance information and Mental State Transition Network, IPSJ SIG Technical Report, pp. 43-48, 2006. (Japanese)
-  K.Mera, T.Ichimura, Y.Kurosawa, and T.Takezawa, ‘Mood Calculating Method for Speech Interface Agent by using Emotion Generating Calculation Method and Mental State Transition Network’, Journal of Japan Society for Fuzzy Theory and Intelligent Informatics, Vol.22, No.1, pp.10-24, 2010. (Japanese)
-  T.Ichimura and K.Mera, Emotion Oriented Agent in Mental State Transition Learning Network, Intl. J. Computational Intelligence Studies, (to appear in 2013)
-  K.Mera, S.Kawamoto, K.Ono, T.Ichimura, T.Yamashita, and T.Aizawa, A learning method of individual’s taste information, Proc. of the 5th International Conference on Knowledge-Based Intelligent Engineering Systems & Allied Technologies (KES2001), Vol.1, pp.1217-1221(2001)
-  Fillmore, C.J., The Case for Case, In Bach and Harms (Ed.), Universals in Linguistic Theory, New York: Holt, Rinehart, and Winston, 1-88, 1968.
-  T.Ichimura, K.Tanabe, and I.Tachibana, Tourist Navigation in Android Smartphone by using Emotion Generating Calculations and Mental State Transition Networks, Proc. of SCIS-ISIS 2012, pp.1578-1583, 2012.
-  S.M.Chen, J.S.Ke, and J.F.Chang. Knowledge Representation using Fuzzy Petri Nets, IEEE Trans. on Knowledge and Data Eng’g. Vol.2, No.3, pp.311-319, 1991.