WHAT IS IT?

This is a model that explores interactions between set set of simple emotion types. Interactions occur as a result of “compatibility” between an emotion type combination in two or more agents. The interaction itself is manifested by agents moving in the world: higher compatibility leads to movement towards, lower compatibility leads to movement away.

HOW IT WORKS

Emotion Model

The emotion model is extremely simple: there are just two emotions (arbitrarily labeled “positive” and “negative”).

Attraction Model

As with the emotion model itself, the attraction model is very simple: agents with postive emotions attract other agents with positive emtotions; negative likewise. Agents with differing emotions repulse.

Agent Interactions

When any two agents are within an arbitrary (configurable) distance, the degree to which they are attracted or repulsed is based upon the “visibility” parameter that is set in the interface, this being the radius (number of patches distant) one agent is from another.

HOW TO USE IT

Click “Setup” and then “Go” to watch the default number of agents with the default emotion normal distribution interact with each other.

THINGS TO NOTICE

The expected resuilt with such a simple model is the collapse of like-to-like into clusters. However, outliers that aren’t pulled into clusters of agents with similar emotions do something unexpected: they disrupt clusters and will cause them to disintegrate. With the default settings, you will see this happen in the model if you let it run for a while, with a positive emotion outlier causing negative emotion clusters to split apart and then prevent them from clustering, even after 10,000+ ticks.

THINGS TO TRY

EXTENDING THE MODEL

Different Emotion Attraction Models

This model’s definition is very simple; there is a great deal of research that has gone into emotional modling over the last 20 years, and some interesting theories which are not computationally expensive. Some of these have been linked in the references section, and offer interesting possibilities for model extension. In particular, the paper “A Model for Personality and Emotion Simulation” offers explicit examples integrating personality and emotion that would require the model to be updated with the following:

NETLOGO ISSUES AND MISSING FUNCTIONS

  1. This model was developed using Netlogo 6.1, which has a bug preventing the in-radius function from performing correctly under various circumstances. The Github issue for the bug mentions another ticket which provides a workaround for this problem. That workaround was applied in this project (the procedure was named in-radius2).
  2. This model uses the __includes feature in order to better manage source code in separate files. It was noticed that updates to the separate source files required reloading the model twice via the File -> Recent Files menu.
  3. While the histogram function was very convenient in the development of this model, there were noted absences of other functions, in particular the frequencies function from Clojure. This was implemented in Netlogo (as well as a sorted tuples function) for better introspection of data. You may review the functions by viewing the src/netlogo/util/general.nls file.
  4. Some basic set theoretic functions were absent from Netlogo, so these were implemented as well (see the same file as above).

RELATED MODELS

  1. Wilensky, U. (1998). NetLogo Flocking model. http://ccl.northwestern.edu/netlogo/models/Flocking. Center for Connected Learning and Computer-Based Modeling, Northwestern University, Evanston, IL.
  2. Stonedahl, F., Wilensky, U., Rand, W. (2014). NetLogo Heroes and Cowards model. http://ccl.northwestern.edu/netlogo/models/HeroesandCowards. Center for Connected Learning and Computer-Based Modeling, Northwestern Institute on Complex Systems, Northwestern University, Evanston, IL.

HOW TO CITE

If you mention this model in a publication, we ask that you include the citation below.

McGreggor, D. (2019). NetLogo Personality, Emotion, and Mood Bearing Agents. https://github.com/oubiwann/abm-personality-and-emotions/tree/master/project.

REFERENCES

  1. Egges, A., Kshirsagar, S., & Magnenat-Thalmann, N. (2003). A Model for Personality and Emotion Simulation. Lecture Notes in Computer Science Knowledge-Based Intelligent Information and Engineering Systems, 453-461. http://doi.org/10.1007/978-3-540-45224-9_63
  2. Deyoung, C. G., Hirsh, J. B., Shane, M. S., Papademetris, X., Rajeevan, N., & Gray, J. R. (2010). Testing Predictions From Personality Neuroscience. Psychological Science, 21(6), 820–828. http://doi.org/10.1177/0956797610370159
  3. Hatfield, E., Rapson, R. L., & Le, Y. L. (2009). Emotional Contagion and Empathy. The Social Neuroscience of Empathy, 19-30. http://doi.org/10.7551/mitpress/9780262012973.003.0003
  4. Deyoung, C. G., & Gray, J. R. (n.d.). Personality neuroscience: Explaining individual differences in affect, behaviour and cognition. The Cambridge Handbook of Personality Psychology, 323-346. http://doi.org/10.1017/cbo9780511596544.023
  5. Gerlach, M., Farb, B., Revelle, W., & Amaral, L. A. (2018). A robust data-driven approach identifies four personality types across four large data sets. Nature Human Behaviour, 2(10), 735-742. http://doi.org/10.1038/s41562-018-0419-z
  6. Mulders, P., Llera, A., Tendolkar, I., Eijndhoven, P. V., & Beckmann, C. (2018). Personality Profiles Are Associated with Functional Brain Networks Related to Cognition and Emotion. Scientific Reports, 8(1). http://doi.org/10.1038/s41598-018-32248-x

COPYRIGHT AND LICENSE

Copyright © 2019 Duncan McGreggor.

Licensed under the Apache License, Version 2.0 (the “License”);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.