WOF: Towards Behavior Analysis and Representation of Emotions in Adaptive Systems

  • Ilham AllouiEmail author
  • Flavien Vernier
Conference paper
Part of the Communications in Computer and Information Science book series (CCIS, volume 868)


With the increasing use of new technologies such as Communicating Objects (COT) and the Internet of Things (IoT) in our daily life (connected objects, mobile devices, etc.), designing Intelligent Adaptive Distributed software Systems (DIASs) has become an important research issue. Human face the problem of mastering the complexity and sophistication of such systems as those require an important cognitive load for end-users who usually are not expert. Starting from the principle that it is to technology-based systems to adapt to end-users and not the reverse, we address the issue of how to help developers design and produce such systems. We then propose WOF, an object oriented Framework founded on the concept of Wise Object (WO), a metaphor to refer to human introspection and learning capabilities.

To make systems able to learn by themselves, we designed introspection, monitoring and analysis software mechanisms such that WOs can learn and construct their own knowledge. We then define a WO as a software-based entity able to learn by itself on itself (i.e. on services it is intended to provide) and also on the others (i.e. the way others use its services). A WO is seen as an avatar of either a physical or a logical object (e.g. device/software component).

In this paper, we introduce the main requirements for DIASs as well as the design principles of WOF. We detail the WOF conceptual architecture and the Java implementation we built for it. To provide application developers with relevant support, we designed WOF with the minimum intrusion in the application source code. Adaptation and distribution related mechanisms defined in WOF can be inherited by application classes. In our Java implementation of WOF, object classes produced by a developer inherit the behavior of Wise Object (WO) class. An instantiated system is a Wise Object System (WOS) composed of WOs that interact through an event bus. In the first version of WOF, a WO was able to use introspection and monitoring built-in mechanisms to construct knowledge on: (a) services it is intended to render; (b) the usage done of its services. In the current version, we integrated an event-based WO simulator and a set of Analyzer classes to provide a WO with the possibility to use different analysis models and methods on its data. Our major goal is that a WO can be able to identify common usage of its services and to detect unusual usage. We use the metaphor of emotions to refer to unusual behavior (stress, surprise, etc.). We show in the paper a first experiment based on a statistical analysis method founded on stationary processes to identify usual/unusual behavior.


Object oriented design Architecture models Adaptive systems Introspection Decentralized control Behavior analysis Emotion representation 


  1. 1.
    Abuseta, Y., Swesi, K.: Design patterns for self adaptive systems engineering. CoRR abs/1508.01330 (2015)CrossRefGoogle Scholar
  2. 2.
    Weiser, M., Brown, J.S.: Designing calm technology. PowerGrid J. 1(01) (1996)Google Scholar
  3. 3.
    Amber Case: Amber case 2011, we are all cyborgs now. TED Talk (2010)Google Scholar
  4. 4.
    Bass, L., Clements, P., Kazman, R.: Software Architecture in Practice. Addison-Wesley, Reading (c1998). Online version: Bass, L.: Software Architecture in Practice. Addison-Wesley, Reading c1998 (OCoLC)605442178Google Scholar
  5. 5.
    Wooldridge, M.: An Introduction to MultiAgent Systems, 2nd edn. Wiley Publishing, Hoboken (2009)Google Scholar
  6. 6.
    Roventa, E., Spircu, T.: Management of Knowledge Imperfection in Building Intelligent Systems. Studies in Fuzziness and Soft Computing. Springer, Heidelberg (2008). Scholar
  7. 7.
    Huebscher, M.C., McCann, J.A.: A survey of autonomic computing—degrees, models, and applications. ACM Comput. Surv. 40, 7:1–7:28 (2008)CrossRefGoogle Scholar
  8. 8.
    Salehie, M., Tahvildari, L.: Self-adaptive software: landscape and research challenges. ACM Trans. Auton. Adapt. Syst. 4, 14:1–14:42 (2009)CrossRefGoogle Scholar
  9. 9.
    IBM: An architectural blueprint for autonomic computing. Technical report, IBM (2005)Google Scholar
  10. 10.
    Brun, Y., Desmarais, R., Geihs, K., Litoiu, M., Lopes, A., Shaw, M., Smit, M.: A design space for self-adaptive systems. In: de Lemos, R., Giese, H., Müller, H.A., Shaw, M. (eds.) Software Engineering for Self-adaptive Systems II. LNCS, vol. 7475, pp. 33–50. Springer, Heidelberg (2013). Scholar
  11. 11.
    Alloui, I., Vernier, F.: A wise object framework for distributed intelligent adaptive systems. In: ICSOFT 2017, Madrid, Spain (2017)Google Scholar
  12. 12.
    Weyns, D., et al.: On patterns for decentralized control in self-adaptive systems. In: de Lemos, R., Giese, H., Müller, H.A., Shaw, M. (eds.) Software Engineering for Self-adaptive Systems II. LNCS, vol. 7475, pp. 76–107. Springer, Heidelberg (2013). Scholar
  13. 13.
    Moreaux, P., Sartor, F., Vernier, F.: An effective approach for home services management. In: 20th Euromicro International Conference on Parallel, Distributed and Network-Based Processing (PDP), Garching, pp. 47–51. IEEE (2012)Google Scholar
  14. 14.
    Gamma, E., Helm, R., Johnson, R., Vlissides, J.: Design Patterns: Elements of Reusable Object-Oriented Software. Addison-Wesley Longman Publishing Co. Inc., Boston (1995)zbMATHGoogle Scholar
  15. 15.
    Lindgren, G.: Stationary Stochastic Processes: Theory and Applications. Texts in Statistical Science. Chapman and Hall, New York (2012)zbMATHGoogle Scholar
  16. 16.
    Kiczales, G., Lamping, J., Mendhekar, A., Maeda, C., Lopes, C., Loingtier, J.-M., Irwin, J.: Aspect-oriented programming. In: Akşit, M., Matsuoka, S. (eds.) ECOOP 1997. LNCS, vol. 1241, pp. 220–242. Springer, Heidelberg (1997). Scholar
  17. 17.
    Holzinger, A.: Interactive machine learning for health informatics: when do we need the human-in-the-loop? Brain Inform. 3, 119–131 (2016)CrossRefGoogle Scholar
  18. 18.
    Holzinger, A., Plass, M., Holzinger, K., Crişan, G.C., Pintea, C.-M., Palade, V.: Towards interactive machine learning (iML): applying ant colony algorithms to solve the traveling salesman problem with the human-in-the-loop approach. In: Buccafurri, F., Holzinger, A., Kieseberg, P., Tjoa, A.M., Weippl, E. (eds.) CD-ARES 2016. LNCS, vol. 9817, pp. 81–95. Springer, Cham (2016). Scholar

Copyright information

© Springer International Publishing AG, part of Springer Nature 2018

Authors and Affiliations

  1. 1.LISTICUniv. Savoie Mont BlancAnnecyFrance

Personalised recommendations