WOF: Towards Behavior Analysis and Representation of Emotions in Adaptive Systems
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.
KeywordsObject oriented design Architecture models Adaptive systems Introspection Decentralized control Behavior analysis Emotion representation
- 2.Weiser, M., Brown, J.S.: Designing calm technology. PowerGrid J. 1(01) (1996)Google Scholar
- 3.Amber Case: Amber case 2011, we are all cyborgs now. TED Talk (2010)Google Scholar
- 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.Wooldridge, M.: An Introduction to MultiAgent Systems, 2nd edn. Wiley Publishing, Hoboken (2009)Google Scholar
- 9.IBM: An architectural blueprint for autonomic computing. Technical report, IBM (2005)Google Scholar
- 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). https://doi.org/10.1007/978-3-642-35813-5_2CrossRefGoogle Scholar
- 11.Alloui, I., Vernier, F.: A wise object framework for distributed intelligent adaptive systems. In: ICSOFT 2017, Madrid, Spain (2017)Google Scholar
- 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). https://doi.org/10.1007/978-3-642-35813-5_4CrossRefGoogle Scholar
- 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
- 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). https://doi.org/10.1007/978-3-319-45507-5_6CrossRefGoogle Scholar