Abstract
Human emotion is an extremely complex social phenomenon that dominates many social phenomena. The paper proposes a method of emotional modeling in the context of complex systems based on the container model, which is more intuitive and can be solved than the conventional emotional modeling methods. Meanwhile the container algorithm also has the advantages of high parallelism, so it has practical significance for the simulation and analysis of emotions.
Introduction
General theory of emotion
Human psychology is an extremely complex phenomenon in all respects and the artificial emotion (AE) [1] is essentially a computer science method through the theoretical foundation of anthropology, psychology, neuroscience, and information science. It is a cross-cutting attempt to study human emotions.
From the perspective of complex systems, it is more focused on the mechanism of emotional formation and evolution and its complex phenomena as emerging in multiple cases. Emotional theory has many different opinions and the mechanism for the formation of emotion is not uniform. Although different genre psychology studies have given various explanations but it is also a relatively unified part: the human psychological process is usually divided into three processes as a mutual integration: the cognitive process, the emotional process and the will process. Cognitive process is an external event (as stimulus) on human ontology. The will process which reflects the active regulations (quantity, degree, duration, etc.) of people’s psychological processes and meanwhile the emotional process is a specific experience (attitude of experience). A psychological process associates with a specific behavioral response.
Specifically, emotion can be understood as a wake-up model of emotion [2]: a process of combining (specific or unspecified) stimulation in the context of recent emotions and the experience of early years (long-term emotional background), which is the root of all current actions. Through cognition and comparison it will trigger the corresponding physiological reactions (by the endocrine system and the motor system) and the priming of emotional expression. When the comparison result is consistent with the original expected judgment, the current mood or status will not change. But if it is inconsistent a change in mood will produce.
Firstly the study of emotions should clarify the compositional dimensions of emotions. (as an inherent compositional structures)A clear measure of emotional degree and composition is a precondition for quantifying the emotion. As an example, the PAD model proposed by Mehrabian and Russell in 1974 is representative. This theory decomposes emotions (in fact it also applies to emotional research) into three dimensions: pleasure, activation, and dominance, where ‘P’ stands for Pleasure-displeasure (positive or negative expression of the subject’s emotional state). ‘A’ stands for activation (arousal-no arousal, which indicates the level of neurophysiologic activation of the subject). And ‘D’ stands for Dominance-submissiveness (which represents the subject’s control state for the situation and others).
These three dimensions can be used to represent specific emotions and emotions. Schlosberg gave a three-dimensional theory of emotions in 1954 as: pleasant-unpleasant, attention-rejection and activation level. The emotional model proposed by Plutchic in 1970 advocated that emotion is with intensity and similarity as three dimensions and two polarities.In 1980 Russell proposed a circular pattern for emotional classification, which divides emotion into two relative dimensions: happiness and intensity.
Emotional (prone) classification is presented by OCC model [3] which classifies emotions into 22 categories. But in terms of classification’s dominant position is the model done by Ekman, which divides emotions into 6 categories: anger, happy, fear, disgust, sadness, and surprise.
It is to simulation and analysis by such methods as hidden Markova Chain in usual practice using, Grey System and fuzzy mathematics. Each method has its advantages and disadvantages. Hidden Markov Chain (HMM) [4] is a common state transition model. It has strong ability to model the emotional states and their transition but it is not easy to describe emotion as a value (degree) behavior; Grey system (GM) [5] is sensitive to the changing of emotional degree, but it can not able to model the change of emotional state; Fuzzy mathematics method has good modeling ability for both emotional state and degree, but the whole modeling process is too subjective.
Background of complex system
In terms of evolutionary category, individual emotional characteristic is a comprehensive reflection of individual history and social environment, which is a complex system itself. Uncertainty and complexity occur simultaneously in complex systems. Human physical and psychological processes conform to the general characteristics of container, so container algorithm can be used to simulate and analyze human emotion.
Methodologies
Container algorithm
Basic definition of CUP
The container (CUP) system [6] is a new framework for modeling the complex system by the concern of container’s(s’) overflowing phenomenon. When its content is higher than the capacity the container will overflow. At the volume of 1 (as it is called standard container), the container and are compatible with uniform distribution. Individual’s emotion can be thought of as a container combination of child emotions, and crowd emotions can be thought of as a container combination of individual emotions.
The two levels on container system by their structure: the primitive one and the paternal one. The primitive container will not be regarded as consisting of any smaller unit of cups. In this issue the container at the primitive level can be regarded as either individual emotion or group emotion. This definition of emotion is flexible. They can be defined by a unified form as:
The letters here are defined as follows: l is the indexing parameter of level. u, b ∈ B is the indexing parameter of layer inner ones. c is the container’s content level and v is the volume of the container.
A primitive container‘s container has a 0 level indexing parameter l.The paternal level CUP container is constructed by (lower level) atomic ones or containers. The level 0(primitive) CUP is defined as follows:
Emotion can be considered as an evolutionary process that is constantly influenced by external inputs. x and o are sequences of input and the output which are indexed by the l. Primitive container’s input process is defined by (t is time tick):
Its process of output is:
The paternal level container (when its l is larger than or equal to 1) is defined as:
Index number set of Paternal container’s child (children) is Q. Parent container can be thought of as a combination or organization of smaller emotions. The paternal container level is similar to the primitive level from the evolution process. The only difference is in its input and output processing. The paternal container‘s input process is defined as:
Allocation function A which is determines how lower level (child) container(s) will get the input from paternal container. Different problems will give different allocations.
Paternal container ‘s output process is:
Amplification factor αl,u is some small integer (float is also useful) in usual. It can be used to describe the non-linear characteristics of emotions of different individuals.
Fitting algorithm
In order to get the useful mode of a sequence as emotion fitting algorithm will will used. The fitting system which is done by container system is the centre-partial (CP) mode fitting system. Define a CUP tuple CP. CP is composed by a central CUP C and m partial CUPs
For individuals, emotion is a physical and mental process, and for groups, it also has a clear direction of action. Therefore, the CP algorithm is applicable. The input x will be put into the centre container C, and it will make the evolution by time tick and its output will be get. Then that centre container’s output ol,b,c (t) will be put as the inputs xl,b,j (t) of each P by some way, then the evolution of everyone of partial container will be generated and their outputs are also be obtained. Main output y is done the sum of all the outputs of each P:
The weighting factor q
j
(t) of each P’s output can be fitted to the value y * (t) which has the minimum error distance to the true valuez (t), which can be get as:
The fitting result (show by Fig. 1) of container algorithm, the target series is part of the Lorentz curve, a typical representative of complex system. It used the candidate coefficient set {0.0, 0.5, 1.0} (there are only three elements). Accuracy can be improved by further increasing the scale of candidate coefficients (in more detail), but it will consume more computing resources.

The result of container fitting.

The result of emotion evolution by container.

The result of stock market evolution.
The fitting result meets the needs basically.
CUP’s input and output process can be coded to states by an interval range splitting algorithm, and the states sequence S = {s j |0 ⩽ j ⩽ u} will be obtained. Being constructed by traversing the result of fitting to the CP structure and input-output sequence, it will obtain different peripheral coefficients of output corresponding to each central output state as a table:
Here q uv is frequency of the v-th coefficients combinations Qa,b corresponding to the state s u . Sequences can be probabilized by ST tables. The problem of state transition can be effectively dealt with by Markov chain equal probability method.
Artificial emotion modeling based by container algorithm
Emotion recognition is the process of recognizing emotion through external representations (such as facial expression, emotional vocabulary, etc.). This paper does not deal with the part of emotional recognition, but only focuses on the process of emotional evolution and its fitting and simulation. The result of emotion recognition can be handled as the some input (known or unknown) can be classified into two categories: the amount or the states. Emotion is a complex systemic phenomenon that is constantly affected by various factors at any time. In addition, emotional varies greatly between different individuals. The application of container models for emotional modeling has high response and scalability by the model of STMS.
STMS model
The emotional modeling the paper introduced by the container algorithm is called
From the point of view of container modeling it is not to distinguish the state between emotions by form clearly. Partial containers can be considered as different emotional types (states) or different constituent structures.
The latter point of view is adopted in this paper. In order to maintain compatibility of state and value (degree) synchronously, STMS takes the corresponding specific spillover as a sign of state changing. The key problem which that makes the common methods difficult to model emotion(s) is state and value cannot be operated together while CUP system can do it well: by ST table the degree of emotion can be transformed into the states. And the process of fitting can give the information which analysis of emotion needs.
Group emotion phenomenon
Another issue of emotional simulation and analysis is the study of group emotions.Emotionalization of the crowd is very obvious but not easy to fitting and describing. Emotionalization of the crowd drives most of the social phenomena. Because of the fractal symmetry of container model, there is no distinction between individual emotion and group emotion in the modeling of group emotion. It establishes a multi-level emotional driving structure based on fractal unification by container: the group is the parent container of the individual, and the individual is the child container(s) of the group.
Results and discussion
Evolution
The simulation experiment uses the CP fitting algorithm of the container model: there are six partial containers and one core container and the the evolution coefficient of the outer containers is the multiple of 0.5(by the index number of partial container);The input here is a constant base value (0.3) pulsing a random value between 0 and 0.05 by uniform distribution.
From the simulation experiment, we can see that the basic mood of human is also changing at any time, even if it is only a very small disturbance (0.3 as a maintenance input).
Fitting and analysis
It uses the evolution of financial markets as an example of emotion modeling by CUP. In the classical financial theory, investors are rational and they do not have emotions, the prediction of the future by them is unbiased. So relatively, in the financial market we can define the mood as the return of future equity investment is too optimistic or too pessimistic biased estimates. The theory is a model of DSSW noise traders, established by De Long and others in 1990, which theoretically proves that overly optimistic emotional investors tend to buy too much, leading to higher asset prices and subsequent collapses brought about by the bursting of the bubble. Financial market is the concentrated expression of people’s emotion and it is a typical complex system. In order to avoid affecting the intuitiveness of modeling, this paper describes the financial market in the following ways (as it is by the price’s open, close, high and low):
Fitting parameters: the candidate coefficients set is from 0.0 to 10.0 by the step 0.5; there are 3 partial container with volumes of 0.5, 1.0 and 1.5 by the amplification factors 1.0, 2.0 and 3.0.
And through fitting it can get the ST table as:
Conclusion
CUP method is essentially a numerical method, but because of the construction of ST table, it also has the ability to model the complex system events by probability. Therefore CUP method is both numerical and probabilistic. It is compatible with two different methods of complex system modeling. At the same time the computational strength of CUP (fitting) algorithm can be controlled according to different computational requirements. Because of its weak coupling modeling characteristics, its parallelism is also fine.
