Skip to main content
Log in

Generating adaptation rule-specific neural networks

  • Foundations for Mastering Change
  • Special Section: Rigorous Engineering of Collective Adaptive Systems
  • Published:
International Journal on Software Tools for Technology Transfer Aims and scope Submit manuscript

Abstract

There have been a number of approaches to employ neural networks in self-adaptive systems; in many cases, generic neural networks and deep learning are utilized for this purpose. When this approach is to be applied to improve an adaptation process initially driven by logical adaptation rules, the problem is that (1) these rules represent a significant and tested body of domain knowledge, which may be lost if they are replaced by a neural network, and (2) the learning process is inherently demanding given the black-box nature and the number of weights in generic neural networks to be trained. In this paper, we introduce the rule-specific neural network method that makes it possible to transform the guard of an adaptation rule into a rule-specific neural network, the composition of which is driven by the structure of the logical predicates in the guard. Our experiments confirmed that the black box effect is eliminated, the number of weights is significantly reduced, and much faster learning is achieved whilst the accuracy is preserved. This text is an extended version of the paper presented at the ISOLA 2022 conference (Bureš et al. in Proceedings of ISOLA 2022, Rhodes, Greece, pp. 215–230, 2022).

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. Bureš, T., Hnětynka, P., Kruliš, M., Plášil, F., Khalyeyev, D., Hahner, S., Seifermann, S., Walter, M., Heinrich, R.: Attuning adaptation rules via a rule-specific neural network. In: Proceedings of ISOLA 2022, Rhodes, Greece, pp. 215–230 (2022)

    Google Scholar 

  2. Goodfellow, I., Bengio, Y., Courville, A.: Deep Learning. MIT Press, Cambridge (2016). http://www.deeplearningbook.org

    MATH  Google Scholar 

  3. Saputri, T.R.D., Lee, S.-W.: The application of machine learning in self-adaptive systems: a systematic literature review. IEEE Access 8, 205948–205967 (2020)

    Article  Google Scholar 

  4. Muccini, H., Vaidhyanathan, K.: A machine learning-driven approach for proactive decision making in adaptive architectures. In: Companion Proc. of ICSA 2019, Hamburg, Germany (2019)

    Google Scholar 

  5. Bureš, T., Gerostathopoulos, I., Hnětynka, P., Pacovský, J.: Forming ensembles at runtime: a machine learning approach. In: Proc. of ISOLA 2020, Rhodes, Greece (2020)

    Google Scholar 

  6. Gabor, T., Sedlmeier, A., Phan, T., Ritz, F., Kiermeier, M., Belzner, L., Kempter, B., Klein, C., Sauer, H., Schmid, R., Wieghardt, J., Zeller, M., Linnhoff-Popien, C.: The scenario coevolution paradigm: adaptive quality assurance for adaptive systems. Int. J. Softw. Tools Technol. Transf. 22(4) (2020)

  7. Van Der Donckt, J., Weyns, D., Quin, F., Van Der Donckt, J., Michiels, S.: Applying deep learning to reduce large adaptation spaces of self-adaptive systems with multiple types of goals. In: Proc. of SEAMS 2020, Seoul, Korea (2020)

    Google Scholar 

  8. Al-Ali, R., Bures, T., Hartmann, B.-O., Havlik, J., Heinrich, R., Hnetynka, P., Juan-Verdejo, A., Parizek, P., Seifermann, S., Walter, M.: Use Cases in Dataflow-Based Privacy and Trust Modeling and Analysis in Industry 4.0 Systems. Technical Report 1000085169, Karlsruher Institut für Technologie (2018) https://publikationen.bibliothek.kit.edu/1000085169

  9. Weyns, D., et al.: Towards better adaptive systems by combining MAPE, control theory, and machine learning. In: Proc. of SEAMS 2021, Madrid, Spain (2021)

    Google Scholar 

  10. Hochreiter, S., Bengio, Y., Frasconi, P., Schmidhuber, J.: Gradient flow in recurrent nets: the difficulty of learning long-term dependencies. In: A Field Guide to Dynamical Recurrent Neural Networks (2001)

    Google Scholar 

  11. Mańdziuk, J., Macukow, B.: A neural network performing Boolean logic operations. Opt. Mem. Neural Netw. 2(1), 17–35 (1993)

    Google Scholar 

  12. Schwenker, F., Kestler, H.A., Palm, G.: Three learning phases for radial-basis-function networks. Neural Netw. 14(4) (2001)

  13. Paper results replicaton package. https://github.com/smartarch/attuning-adaptation-rules-replication-package

  14. Runeson, P., Höst, M.: Guidelines for conducting and reporting case study research in software engineering. Empir. Softw. Eng. 14(2), 131–164 (2009)

    Article  Google Scholar 

  15. Li, H., Qin, K., Xu, Y.: Dynamic neural networks for logic formula. In: Proc. of the 8th International Conference on Information Processing (2001)

    Google Scholar 

  16. Riegel, R., Gray, A., Luus, F., Khan, N., Makondo, N., Akhalwaya, I.Y., Qian, H., Fagin, R., Barahona, F., Sharma, U., Ikbal, S., Karanam, H., Neelam, S., Likhyani, A., Srivastava, S.: Logical Neural Networks (2020). arXiv:2006.13155 [cs]

  17. Shi, S., Chen, H., Zhang, M., Zhang, Y.: Neural Logic Networks. (2019). arXiv:1910.08629 [cs, stat]

    Google Scholar 

  18. Mohammadi Rouzbahani, H., Karimipour, H., Rahimnejad, A., Dehghantanha, A., Srivastava, G.: Anomaly detection in cyber-physical systems using machine learning. In: Handbook of Big Data Privacy (2020)

    Google Scholar 

  19. Luo, Y., Xiao, Y., Cheng, L., Peng, G., Yao, D.D.: Deep learning-based anomaly detection in cyber-physical systems: progress and opportunities (2021). arXiv:2003.13213 [cs, eess]

  20. Goh, J., Adepu, S., Tan, M., Lee, Z.S.: Anomaly detection in cyber physical systems using recurrent neural networks. In: Proc. of HASE 2017, Singapore (2017)

    Google Scholar 

  21. Kravchik, M., Shabtai, A.: Detecting cyber attacks in industrial control systems using convolutional neural networks. In: Proc. of CPS-SPC ’18, Toronto, Canada (2018)

    Google Scholar 

  22. Su, Y., Zhao, Y., Niu, C., Liu, R., Sun, W., Pei, D.: Robust anomaly detection for multivariate time series through stochastic recurrent neural network. In: Proc. of KDD’19, East Lansing, MI, USA (2019)

    Google Scholar 

  23. Anaya, I.D.P., Simko, V., Bourcier, J., Plouzeau, N., Jézéquel, J.-M.: A prediction-driven adaptation approach for self-adaptive sensor networks. In: Proc. of SEAMS 2014, Hyderabad, India (2014)

    Google Scholar 

  24. Chen, T., Bahsoon, R.: Self-adaptive and online QoS modeling for cloud-based software services. IEEE Trans. Softw. Eng. 43(5) (2017)

  25. Ghahremani, S., Adriano, C.M., Giese, H.: Training prediction models for rule-based self-adaptive systems. In: Proc. of ICAC 2018, Trento, Italy (2018)

    Google Scholar 

  26. Bierzynski, K., Lutskov, P., Assmann, U.: Supporting the self-learning of systems at the network edge with microservices. In: Smart Systems Integration; 13th Int. Conf. and Exhibition on Integration Issues of Miniaturized Systems (2019)

    Google Scholar 

  27. Stein, A., Tomforde, S., Diaconescu, A., Hähner, J., Müller-Schloer, C.: A concept for proactive knowledge construction in self-learning autonomous systems. In: Proc. of FAS*W 2018, Trento, Italy (2018)

    Google Scholar 

  28. Jamshidi, P., Pahl, C., Mendonça, N.C.: Managing uncertainty in autonomic cloud elasticity controllers. IEEE Cloud Comput. 3(3) (2016)

  29. Zhao, T., Zhang, W., Zhao, H., Jin, Z.: A reinforcement learning-based framework for the generation and evolution of adaptation rules. In: Proc. of ICAC 2017, Columbus, OH, USA (2017)

    Google Scholar 

Download references

Funding

This work has been funded by the DFG (German Research Foundation) – project number 432576552, HE8596/1-1 (FluidTrust), supported by the Czech Science Foundation project 20-24814J, partially supported by Charles University institutional funding SVV 260698/2023 and funding from the topic Engineering Secure Systems of the Helmholtz Association (HGF) and by KASTEL Security Research Labs, and partially supported by the Charles University Grant Agency project 408622.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Tomáš Bureš.

Additional information

Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Bureš, T., Hnětynka, P., Kruliš, M. et al. Generating adaptation rule-specific neural networks. Int J Softw Tools Technol Transfer 25, 733–746 (2023). https://doi.org/10.1007/s10009-023-00725-y

Download citation

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10009-023-00725-y

Keywords

Navigation