Abstract
Goal models have been a popular subject of study by researchers in requirements engineering, due to their ability to capture and analyze alternative solutions through which a software system can achieve business objectives. A plethora of analysis methods for automated identification of optimal alternatives have been proposed. However, such methods often assume an idealized reality where all tasks are successfully performed when attempted and all goals are eventually satisfied with certainty when pursued according to a solution. In reality, some tasks run the risk of failure while others produce chance outcomes. In this paper, we extend the standard goal modeling language to allow representation and reasoning about both uncertainty and preferential utility in goals. Tasks are extended to allow for probabilistic effects and preferential statements of stakeholders are captured and translated into utilities over possible effects. Moreover, solutions are not mere specifications (functions, quality constraints, and assumptions), but rather policies, that is sequences of situational action decisions, through which stakeholder goals can be fulfilled. An AI reasoning tool is adapted and used for identifying optimal policies with respect to the value they offer to stakeholders measured against their probability of failure. Evaluation of the approach includes a simulation study and scalability experiments to assess the applicability of automated reasoning for larger problems.
Similar content being viewed by others
Notes
DT-Golog’s definition of a policy is slightly different from the usual concept of a nonstationary Markov policy [50], which is a function mapping each state and a decision epoch to an action. In particular, DT-Golog policies prescribe an action only in those states that are reachable from the initial state (that corresponds to the initial situation \(S_0\)).
References
Ali, R., Dalpiaz, F., Giorgini, P.: A goal-based framework for contextual requirements modeling and analysis. Requir. Eng. 15(4), 439–458 (2010). https://doi.org/10.1007/s00766-010-0110-z
Amyot, D., Ghanavati, S., Horkoff, J., Mussbacher, G., Peyton, L., Yu, E.S.K.: Evaluating goal models within the goal-oriented requirement language. Int. J. Intell. Syst. 25(8), 841–877 (2010)
Amyot, D., Mussbacher, G.: User requirements notation: the first ten years, the next ten years (Invited Paper). J. Softw. (JSW) 6(5), 747–768 (2011)
Angelopoulos, K., Papadopoulos, A.V., Silva Souza, V.E., Mylopoulos, J.: Model predictive control for software systems with CobRA. In: Proceedings of the 11th International Symposium on Software Engineering for Adaptive and Self-Managing Systems (SEAMS’16), pp. 35–46. Madrid, Spain (2016). https://doi.org/10.1145/2897053.2897054
Bencomo, N., Belaggoun, A.: Supporting decision-making for self-adaptive systems: from goal models to dynamic decision networks. In: Proceedings of the 19th International Working Conference on Requirements Engineering: Foundation for Software Quality, pp. 221–236. Essen, Germany (2013)
Bencomo, N., Belaggoun, A., Issarny, V.: Dynamic decision networks for decision-making in self-adaptive systems: a case study. In: Proceedings of the 8th International Symposium on Software Engineering for Adaptive and Self-Managing Systems (SEAMS), pp. 113–122. San Francisco, CA (2013). https://doi.org/10.1109/SEAMS.2013.6595498
Boland, P.J.: Statistical and Probabilistic Methods in Actuarial Science. Chapman and Hall, London (2007)
Boutilier, C., Bacchus, F., Brafman, R.I.: UCP-networks: a directed graphical representation of conditional utilities. In: Proceedings of the 17th Conference in Uncertainty in Artificial Intelligence (UAI’01), pp. 56–64 (2001)
Boutilier, C., Reiter, R., Soutchanski, M., Thrun, S.: Decision-theoretic, high-level agent programming in the situation calculus. In: Proceedings of the 17th Conference on Artificial Intelligence (AAAI-00), pp. 355–362. AAAI Press, Austin, TX (2000). http://www.cs.toronto.edu/cogrobo/Papers/dtgologaaai00.ps.Z
Dalpiaz, F., Franch, X., Horkoff, J.: iStar 2.0 Language Guide. The Computing Research Repository (CoRR) abs/1605.0 arXiv:1605.07767 (2016)
Dell’Anna, D., Dalpiaz, F., Dastani, M.: Validating goal models via Bayesian networks. In: Proceedings of the 5th International Workshop on Artificial Intelligence for Requirements Engineering (AIRE), pp. 39–46. Banff, AB, Canada (2018). https://doi.org/10.1109/AIRE.2018.00012
Dell’Anna, D., Dalpiaz, F., Dastani, M.: Requirements-driven evolution of sociotechnical systems via probabilistic reasoning and hill climbing. Autom. Softw. Eng. 26(3), 513–557 (2019). https://doi.org/10.1007/s10515-019-00255-5
Durán, F., Rocha, C., Salaün, G.: Stochastic analysis of BPMN with time in rewriting logic. Sci. Comput. Program. 168, 1–17 (2018). https://doi.org/10.1016/j.scico.2018.08.007
Félix Solano, G., Diniz Caldas, R., Nunes Rodrigues, G., Vogel, T., Pelliccione, P.: Taming uncertainty in the assurance process of self-adaptive systems: a goal-oriented approach. In: Proceedings of the 14th IEEE/ACM International Symposium on Software Engineering for Adaptive and Self-Managing Systems (SEAMS), pp. 89–99. Montreal, Canada (2019). https://doi.org/10.1109/SEAMS.2019.00020
Ferrein, A., Fritz, C., Lakemeyer, G.: On-line decision-theoretic Golog for unpredictable domains. In: Proceedings of the 27th Annual German Conference on AI (KI 2004), pp. 322–336. Ulm, Germany (2004)
Filieri, A., Ghezzi, C., Tamburrelli, G.: Run-time efficient probabilistic model checking. In: Proceedings of the 33rd ACM International Conference on Software Engineering, ICSE ’11, pp. 341–350. Waikiki, Honolulu, HI (2011)
Fowler, M., Scott, K.: UML Distilled. Addison Wesley, London (1997)
Garcia Paucar, L.H., Bencomo, N.: Knowledge base K models to support trade-offs for self-adaptation using Markov processes. In: Proceedings of the 13th IEEE International Conference on Self-Adaptive and Self-Organizing Systems (SASO), pp. 11–16. Umeå, Sweden (2019). https://doi.org/10.1109/SASO.2019.00011
Giorgini, P., Mylopoulos, J., Nicchiarelli, E., Sebastiani, R.: Formal reasoning techniques for goal models. In: Spaccapietra, S., March, S., Aberer, K. (eds.) Journal on Data Semantics I, pp. 1–20. Springer, Berlin (2003)
Heaven, W., Letier, E.: Simulating and optimising design decisions in goal models. In: Proceedings of 19th IEEE International Requirements Engineering Conference (RE 2011). Trento, Italy (2011)
Herbert, L.T., Hansen, Z.N.L., Jacobsen, P.: SBOAT: a stochastic BPMN analysis and optimisation tool. In: M.G. Karlaftis, N.D. Lagaros, M. Papadrakakis (eds.) Proceedings of the 1st International Conference on Engineering and Applied Sciences Optimization (OPT-i), pp. 1136–1152. Kos Island, Greece (2014). http://www.opti2014.org/
Hinton, A., Kwiatkowska, M., Norman, G., Parker, D.: PRISM: a tool for automatic verification of probabilistic systems. In: Proceedings of the 12 International Conference on Tools and Algorithms for the Construction and Analysis of Systems (TACAS 2006), Lecture Notes in Computer Science (LNCS), vol. 3920, pp. 441–444. Vienna, Austria (2006)
Horkoff, J., Salay, R., Chechik, M., Di Sandro, A.: Supporting early decision-making in the presence of uncertainty. In: Proceedings of the 22nd International Requirements Engineering Conference (RE’14), pp. 33–42. Karlskrona, Sweden (2014). https://doi.org/10.1109/RE.2014.6912245
Horkoff, J., Yu, E.: Comparison and evaluation of goal-oriented satisfaction analysis techniques. Requir. Eng. 18(3), 199–222 (2011)
Ishizaka, A., Nemery, P.: Multi-criteria Decision Analysis: Methods and Software. Wiley, London (2013)
Karlsson, J., Ryan, K.: A cost-value approach for prioritizing requirements. IEEE Softw. 14(5), 67–74 (1997)
Lapouchnian, A., Lespérance, Y.: Using the ConGolog and CASL Formal Agent Specification Languages for the Analysis, Verification, and Simulation of i* Models. In: Borgida, A.T., Chaudhri, V.K., Giorgini, P., Yu, E.S. (eds.) Conceptual modeling: foundations and applications: essays in honor of John Mylopoulos, pp. 483–503. Springer, Berlin (2009)
Letier, E., van Lamsweerde, A.: Reasoning about partial goal satisfaction for requirements and design engineering. In: Proceedings of the 12th International Symposium on the Foundation of Software Engineering (FSE-04), pp. 53–62. ACM Press, Newport Beach, CA (2004). http://www2.info.ucl.ac.be/people/eletier/
Levesque, H.J., Reiter, R., Lespérance, Y., Lin, F., Scherl, R.B.: GOLOG: a logic programming language for dynamic domains. The Journal of Logic Programming 31(1–3), 59–83 (1997). https://doi.org/10.1016/S0743-1066(96)00121-5
Liaskos, S., Jalman, R., Aranda, J.: On eliciting preference and contribution measures in goal models. In: Proceedings of the 20th International Requirements Engineering Conference (RE’12), pp. 221–230. Chicago (2012)
Liaskos, S., Khan, S.M., Litoiu, M., Jungblut, M.D., Rogozhkin, V., Mylopoulos, J.: Behavioral adaptation of information systems through goal models. Inf. Syst. 37(8), 767–783 (2012)
Liaskos, S., Khan, S.M., Mylopoulos, J.: Replication data for: modeling and reasoning about uncertainty in goal models: a decision-theoretic approach (2021). https://doi.org/10.5683/SP3/R8PGP8
Liaskos, S., Khan, S.M., Soutchanski, M., Mylopoulos, J.: Modeling and Reasoning with Decision-Theoretic Goals. In: Proceedings of the 32th International Conference on Conceptual Modeling, (ER’13), pp. 19–32. Hong-Kong, China (2013)
Liaskos, S., McIlraith, S.a., Mylopoulos, J.: Towards augmenting requirements models with preferences. In: Proceedings of the 24th IEEE/ACM International Conference on Automated Software Engineering (ASE’09), pp. 565–569. Auckland, New Zealand (2009). https://doi.org/10.1109/ASE.2009.91. http://ieeexplore.ieee.org/lpdocs/epic03/wrapper.htm?arnumber=5431732
Liaskos, S., McIlraith, S.A., Sohrabi, S., Mylopoulos, J.: Integrating preferences into goal models for requirements engineering. In: Proceedings of the 10th IEEE International Requirements Engineering Conference (RE’10). Sydney, Australia (2010)
Llerena, Y.R.S., Su, G., Rosenblum, D.S.: Probabilistic model checking of perturbed MDPs with applications to cloud computing. In: Proceedings of the 2017 11th Joint Meeting on Foundations of Software Engineering (ESEC/FSE 2017), pp. 454–464. Paderborn, Germany (2017)
Ma, Q., de Kinderen, S.: Goal-based decision making. In: M. Daneva, O. Pastor (eds.) Proceedings of the 22nd International Working Conference on Requirements Engineering: Foundation for Software Quality (REFSQ 2016), pp. 19–35. Göteborg, Sweden (2016)
Moreno, G.A., Cámara, J., Garlan, D., Schmerl, B.: Proactive self-adaptation under uncertainty: a probabilistic model checking approach. In: Proceedings of the 10th Joint Meeting on Foundations of Software Engineering (ESEC/FSE 2015), pp. 1–12. Association for Computing Machinery, Bergamo, Italy (2015). https://doi.org/10.1145/2786805.2786853
Mura, P.L., Shoham, Y.: Expected utility networks. In: K.B. Laskey, H. Prade (eds.) In Proceedings of the 15th Conference on Uncertainty in Artificial Intelligence (UAI ’99), pp. 366–373. Morgan Kaufmann, Stockholm, Sweden (1999)
Mylopoulos, J., Chung, L., Liao, S., Wang, H., Yu, E.: Exploring alternatives during requirements analysis. IEEE Softw. 18(1), 92–96 (2001)
Nau, D.S., Au, T.C., Ilghami, O., Kuter, U., Murdock, J.W., Wu, D., Yaman, F.: SHOP2: an HTN planning system. J. Artif. Intell. Res. 20, 379–404 (2003)
Nelson, H.J., Poels, G., Genero, M., Piattini, M.: A conceptual modeling quality framework. Softw. Qual. J. 20, 201–228 (2012)
Nguyen, C.M., Sebastiani, R., Giorgini, P., Mylopoulos, J.: Multi-objective reasoning with constrained goal models. Requir. Eng. 23(2), 189–225 (2018). https://doi.org/10.1007/s00766-016-0263-5
Object Management Group: Business Process Model and Notation (v2.0). Technical report (2011)
Paucar, L.H.G., Bencomo, N.: ARRoW: Tool support for automatic runtime reappraisal of weights. In: Proceedings of the 25th IEEE International Requirements Engineering Conference (RE), pp. 458–461. Lisbon, Portugal (2017). https://doi.org/10.1109/RE.2017.58
Regan, K., Boutilier, C.: Regret-based reward elicitation for Markov decision processes. In: Proceedings of the 25th Conference on Uncertainty in Artificial Intelligence (UAI’09), pp. 444–451. Montreal, QC, Canada (2009)
Reiter, R.: Knowledge in Action. Logical Foundations for Specifying and Implementing Dynamical Systems. MIT Press, London (2001)
Soutchanski, M.: An on-line decision-theoretic Golog interpreter. In: Proceedings of the 17th International Joint Conference on Artificial Intelligence (IJCAI-2001), pp. 19–24. Seattle, Washington (2001). http://www.cs.toronto.edu/cogrobo/Papers/onlinedtgi.ps
Soutchanski, M.: High-Level Robot Programming in Dynamic and Incompletely Known Environments. Ph.D. thesis, Department of Computer Science, University of Toronto (2003)
Sutton, R.S., Barto, A.G.: Reinforcement Learning: An Introduction. MIT Press, London (2018)
Yu, E.S.: GRL-Goal-oriented Requirement Language. http://www.cs.toronto.edu/km/GRL/
Yu, E.S.K.: Towards modelling and reasoning support for early-phase requirements engineering. In: Proceedings of the 3rd IEEE International Symposium on Requirements Engineering (RE’97), pp. 226–235. Annapolis, MD (1997)
Author information
Authors and Affiliations
Corresponding author
Additional information
Communicated by J. Araujo, A. Moreira, G. Mussbacher, and P. Sánchez.
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Liaskos, S., Khan, S.M. & Mylopoulos, J. Modeling and reasoning about uncertainty in goal models: a decision-theoretic approach. Softw Syst Model 21, 1–24 (2022). https://doi.org/10.1007/s10270-021-00968-w
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10270-021-00968-w