{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,5,13]],"date-time":"2026-05-13T16:16:34Z","timestamp":1778688994408,"version":"3.51.4"},"reference-count":40,"publisher":"Springer Science and Business Media LLC","issue":"4","license":[{"start":{"date-parts":[[2026,4,1]],"date-time":"2026-04-01T00:00:00Z","timestamp":1775001600000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"},{"start":{"date-parts":[[2026,4,7]],"date-time":"2026-04-07T00:00:00Z","timestamp":1775520000000},"content-version":"vor","delay-in-days":6,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"}],"funder":[{"DOI":"10.13039\/501100005727","name":"Universidade de Coimbra","doi-asserted-by":"crossref","id":[{"id":"10.13039\/501100005727","id-type":"DOI","asserted-by":"crossref"}]}],"content-domain":{"domain":["link.springer.com"],"crossmark-restriction":false},"short-container-title":["Mach Learn"],"published-print":{"date-parts":[[2026,4]]},"abstract":"<jats:title>Abstract<\/jats:title>\n                  <jats:p>In the context of machine learning, classification is the procedure of predicting the class to which each element of a population belongs to. Most classification functions, for real world problems, are imperfect and thus require rigorous analysis for use in safety-critical applications such as health care. This paper proposes a software architecture for improving the trustworthiness and explainability of AI-based classifiers. The architecture combines a search-based approach with machine-learned explanations and satisfiability solving, to provide an indication of classification confidence and counterfactual explanation rules that are deductively verified to be consistent with the classifier. An implementation of the proposed architecture is evaluated on a medical case study of prognosis of Acute Coronary Syndrome (ACS). The evaluation shows that the proposed architecture is consistently able to complement each individual classification with an indication of confidence and an explanation, which is formally verified for consistency with the classifier. This contributes to foster trustworthy and explainable classification.<\/jats:p>","DOI":"10.1007\/s10994-026-07006-0","type":"journal-article","created":{"date-parts":[[2026,4,7]],"date-time":"2026-04-07T06:11:45Z","timestamp":1775542305000},"update-policy":"https:\/\/doi.org\/10.1007\/springer_crossmark_policy","source":"Crossref","is-referenced-by-count":0,"title":["A software architecture for verifiable and explainable classification"],"prefix":"10.1007","volume":"115","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-2916-7571","authenticated-orcid":false,"given":"Raul","family":"Barbosa","sequence":"first","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-4404-4147","authenticated-orcid":false,"given":"Salvatore","family":"Rinzivillo","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-3604-4294","authenticated-orcid":false,"given":"Jacques","family":"Robin","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-8531-9325","authenticated-orcid":false,"given":"Andrea","family":"Beretta","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-8146-4664","authenticated-orcid":false,"given":"Henrique","family":"Madeira","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"297","published-online":{"date-parts":[[2026,4,7]]},"reference":[{"key":"7006_CR1","doi-asserted-by":"publisher","first-page":"82","DOI":"10.1016\/j.inffus.2019.12.012","volume":"58","author":"AB Arrieta","year":"2020","unstructured":"Arrieta, A. B., D\u00edaz-Rodr\u00edguez, N., Del Ser, J., Bennetot, A., Tabik, S., Barbado, A., & Herrera, F. (2020). Explainable artificial intelligence (XAI): Concepts, taxonomies, opportunities and challenges toward responsible AI. Information Fusion, 58, 82\u2013115.","journal-title":"Information Fusion"},{"key":"7006_CR2","doi-asserted-by":"crossref","unstructured":"Bansal, G., Nushi, B., Kamar, E., Lasecki, W. S., Weld, D. S., & Horvitz, E. (2019). Beyond accuracy: The role of mental models in human-ai team performance. In: Proceedings of the AAAI Conference on Human Computation and Crowdsourcing","DOI":"10.1609\/hcomp.v7i1.5285"},{"key":"7006_CR3","unstructured":"Barrett, C., Fontaine, P., & Tinelli, C. (2016). The Satisfiability Modulo Theories Library (SMT-LIB). www.SMT-LIB.org."},{"key":"7006_CR4","unstructured":"Barrett, C., Stump, A., & Tinelli, C. (2010). The smt-lib standard: Version 2.0. In: Proceedings of the 8th international workshop on satisfiability modulo theories (Edinburgh, UK)"},{"key":"7006_CR5","doi-asserted-by":"crossref","unstructured":"Belani, H., Vukovic, M., & Car \u017d. (2019). Requirements engineering challenges in building ai-based complex systems. In: 2019 IEEE 27th Int. Requirements Engineering Conference Workshops (REW), IEEE, 252\u2013255.","DOI":"10.1109\/REW.2019.00051"},{"key":"7006_CR6","doi-asserted-by":"crossref","unstructured":"Bhatt, U., Xiang, A., Sharma, S., Weller, A., Taly, A., Jia, Y., & Eckersley, P. (2020). Explainable machine learning in deployment. In: Proceedings of FAT 2020. ACM, New York, NY, USA, FAT*","DOI":"10.1145\/3351095.3375624"},{"issue":"5","key":"7006_CR7","first-page":"262","volume":"2","author":"T Bhuvaneswari","year":"2013","unstructured":"Bhuvaneswari, T., & Prabaharan, S. (2013). A survey on software development life cycle models. International Journal of Computer Science and Mobile Computing, 2(5), 262\u2013267.","journal-title":"International Journal of Computer Science and Mobile Computing"},{"issue":"CSCW1","key":"7006_CR8","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1145\/3449287","volume":"5","author":"Z Bu\u00e7inca","year":"2021","unstructured":"Bu\u00e7inca, Z., Malaya, M. B., & Gajos, K. Z. (2021). To trust or to think: Cognitive forcing functions can reduce overreliance on ai in ai-assisted decision-making. Proceedings of the ACM on Human-Computer Interaction, 5(CSCW1), 1\u201321.","journal-title":"Proceedings of the ACM on Human-Computer Interaction"},{"key":"7006_CR9","doi-asserted-by":"crossref","unstructured":"Bussone, A., Stumpf, S., & O\u2019Sullivan, D. (2015). The role of explanations on trust and reliance in clinical decision support systems. In: 2015 International Conference on Healthcare Informatics, IEEE, 160\u2013169.","DOI":"10.1109\/ICHI.2015.26"},{"key":"7006_CR10","doi-asserted-by":"crossref","unstructured":"Cai, C.J., Winter, S., Steiner, D., Wilcox, L., & Terry, M. (2019) .\" hello ai\": uncovering the onboarding needs of medical practitioners for human-ai collaborative decision-making. Proceedings of the ACM on Human-computer Interaction 3(CSCW):1\u201324.","DOI":"10.1145\/3359206"},{"key":"7006_CR11","doi-asserted-by":"crossref","unstructured":"Cok, D.R .(2011). Openjml: Jml for java 7 by extending openjdk. In: NASA Formal Methods Symposium, Springer, 472\u2013479.","DOI":"10.1007\/978-3-642-20398-5_35"},{"issue":"1","key":"7006_CR12","doi-asserted-by":"publisher","first-page":"114","DOI":"10.1037\/xge0000033","volume":"144","author":"BJ Dietvorst","year":"2015","unstructured":"Dietvorst, B. J., Simmons, J. P., & Massey, C. (2015). Algorithm aversion: People Erroneously avoid algorithms after seeing them err. Journal of Experimental Psychology: General, 144(1), 114.","journal-title":"Journal of Experimental Psychology: General"},{"key":"7006_CR13","doi-asserted-by":"crossref","unstructured":"Forsberg, K., & Mooz, H. (1991). The relationship of system engineering to the project cycle. In: INCOSE Int. Symposium, Wiley Online Library, 57\u201365.","DOI":"10.1002\/j.2334-5837.1991.tb01484.x"},{"issue":"4","key":"7006_CR14","doi-asserted-by":"publisher","first-page":"8","DOI":"10.1109\/MITP.2020.3005640","volume":"22","author":"F Gossen","year":"2020","unstructured":"Gossen, F., Margaria, T., & Steffen, B. (2020). Towards explainability in machine learning: The formal methods way. IT Prof, 22(4), 8\u201312. https:\/\/doi.org\/10.1109\/MITP.2020.3005640","journal-title":"IT Prof"},{"issue":"6","key":"7006_CR15","doi-asserted-by":"publisher","first-page":"8","DOI":"10.1109\/MITP.2021.3123495","volume":"23","author":"F Gossen","year":"2021","unstructured":"Gossen, F., Margaria, T., & Steffen, B. (2021). Formal methods boost experimental performance for explainable AI. IT Prof, 23(6), 8\u201312. https:\/\/doi.org\/10.1109\/MITP.2021.3123495","journal-title":"IT Prof"},{"issue":"19","key":"7006_CR16","doi-asserted-by":"publisher","first-page":"2345","DOI":"10.1001\/archinte.163.19.2345","volume":"163","author":"CB Granger","year":"2003","unstructured":"Granger, C. B., Goldberg, R. J., Dabbous, O., Pieper, K. S., Eagle, K. A., & Cannon, C. P. (2003). Predictors of hospital mortality in the global registry of acute coronary events. Archives of Internal Medicine, 163(19), 2345\u20132353.","journal-title":"Archives of Internal Medicine"},{"issue":"6","key":"7006_CR17","doi-asserted-by":"publisher","first-page":"14","DOI":"10.1109\/MIS.2019.2957223","volume":"34","author":"R Guidotti","year":"2019","unstructured":"Guidotti, R., Monreale, A., Giannotti, F., Pedreschi, D., Ruggieri, S., & Turini, F. (2019). Factual and counterfactual explanations for black box decision making. IEEE Intelligent Systems, 34(6), 14\u201323. https:\/\/doi.org\/10.1109\/MIS.2019.2957223","journal-title":"IEEE Intelligent Systems"},{"issue":"11","key":"7006_CR18","doi-asserted-by":"publisher","first-page":"5562","DOI":"10.3390\/ijerph18115562","volume":"18","author":"Y Harada","year":"2021","unstructured":"Harada, Y., Katsukura, S., Kawamura, R., & Shimizu, T. (2021). Effects of a differential diagnosis list of artificial intelligence on differential diagnoses by physicians: An exploratory analysis of data from a randomized controlled study. International Journal of Environmental Research and Public Health, 18(11), 5562.","journal-title":"International Journal of Environmental Research and Public Health"},{"issue":"10","key":"7006_CR19","doi-asserted-by":"publisher","first-page":"576","DOI":"10.1145\/363235.363259","volume":"12","author":"CAR Hoare","year":"1969","unstructured":"Hoare, C. A. R. (1969). An axiomatic basis for computer programming. Communications of the ACM, 12(10), 576\u2013583.","journal-title":"Communications of the ACM"},{"issue":"10","key":"7006_CR20","doi-asserted-by":"publisher","first-page":"576","DOI":"10.1145\/363235.363259","volume":"12","author":"CAR Hoare","year":"1969","unstructured":"Hoare, C. A. R. (1969). An axiomatic basis for computer programming. Communications of the ACM, 12(10), 576\u2013580. https:\/\/doi.org\/10.1145\/363235.363259","journal-title":"Communications of the ACM"},{"key":"7006_CR21","unstructured":"ISO. (2020). ISO\/IEC TR 24028:2020: Information technology \u2013 Artificial intelligence \u2013 Overview of trustworthiness in artificial intelligence. International Organization for Standardization"},{"key":"7006_CR22","doi-asserted-by":"crossref","unstructured":"Ishikawa, F., & Yoshioka, N. (2019). How do engineers perceive difficulties in engineering of machine-learning systems?-questionnaire survey. In: 2019 IEEE\/ACM Joint 7th Int. CESI and 6th Int. SER&IP Workshops, IEEE.","DOI":"10.1109\/CESSER-IP.2019.00009"},{"issue":"1","key":"7006_CR23","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1038\/s41398-021-01224-x","volume":"11","author":"M Jacobs","year":"2021","unstructured":"Jacobs, M., Pradier, M. F., McCoy, T. H., Perlis, R. H., Doshi-Velez, F., & Gajos, K. Z. (2021). How machine-learning recommendations influence clinician treatment selections: The example of antidepressant selection. Translational Psychiatry, 11(1), 1\u20139.","journal-title":"Translational Psychiatry"},{"key":"7006_CR24","volume-title":"Mental models: Towards a cognitive science of language, inference, and consciousness","author":"PN Johnson-Laird","year":"1983","unstructured":"Johnson-Laird, P. N. (1983). Mental models: Towards a cognitive science of language, inference, and consciousness. Harvard University Press."},{"key":"7006_CR25","volume-title":"Fundamentals of dependable computing for software engineers","author":"J Knight","year":"2012","unstructured":"Knight, J. (2012). Fundamentals of dependable computing for software engineers. CRC Press."},{"issue":"3","key":"7006_CR26","doi-asserted-by":"publisher","first-page":"159","DOI":"10.1007\/s10462-007-9052-3","volume":"26","author":"SB Kotsiantis","year":"2006","unstructured":"Kotsiantis, S. B., Zaharakis, I. D., & Pintelas, P. E. (2006). Machine learning: A review of classification and combining techniques. Artificial Intelligence Review, 26(3), 159\u2013190.","journal-title":"Artificial Intelligence Review"},{"issue":"1","key":"7006_CR27","doi-asserted-by":"publisher","first-page":"50","DOI":"10.1518\/hfes.46.1.50.30392","volume":"46","author":"JD Lee","year":"2004","unstructured":"Lee, J. D., & See, K. A. (2004). Trust in automation: Designing for appropriate reliance. Human Factors, 46(1), 50\u201380.","journal-title":"Human Factors"},{"key":"7006_CR28","doi-asserted-by":"crossref","unstructured":"Leino, K.R.M. (2010). Dafny: An automatic program verifier for functional correctness. In: International conference on Logic for Programming Artificial Intelligence and Reasoning, Springer, 348\u2013370.","DOI":"10.1007\/978-3-642-17511-4_20"},{"key":"7006_CR29","doi-asserted-by":"crossref","unstructured":"Levy, A., Agrawal, M., Satyanarayan, A., & Sontag, D. (2021). Assessing the impact of automated suggestions on decision making: Domain experts mediate model errors but take less initiative. In: Proceedings of the 2021 CHI Conference on Human Factors in Computing Systems, 1\u201313.","DOI":"10.1145\/3411764.3445522"},{"issue":"2","key":"7006_CR30","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1145\/3487043","volume":"31","author":"S Mart\u00ednez-Fern\u00e1ndez","year":"2022","unstructured":"Mart\u00ednez-Fern\u00e1ndez, S., Bogner, J., Franch, X., Oriol, M., Siebert, J., Trendowicz, A., & Wagner, S. (2022). Software engineering for AI-based systems: A survey. ACM Transactions on Software Engineering and Methodology (TOSEM), 31(2), 1\u201359.","journal-title":"ACM Transactions on Software Engineering and Methodology (TOSEM)"},{"key":"7006_CR31","unstructured":"Mateen, A., Tabassum, M., & Rehan, A. (2017). Combining agile with traditional v model for enhancement of maturity in software development. arXiv preprint arXiv:1702.00126."},{"key":"7006_CR32","unstructured":"Meyer, B. (1997). Object-Oriented Software Construction (2nd ed.). Prentice Hall."},{"key":"7006_CR33","doi-asserted-by":"crossref","unstructured":"Moura, L.d, Bj\u00f8rner, N. (2008). Z3: An efficient smt solver. In: International Conference on Tools and Algorithms for the Construction and Analysis of Systems, Springer, 337\u2013340.","DOI":"10.1007\/978-3-540-78800-3_24"},{"key":"7006_CR34","unstructured":"Norman, D. (2013).The design of everyday things: Revised and expanded edition. Basic books."},{"key":"7006_CR35","doi-asserted-by":"crossref","unstructured":"Panigutti, C., Beretta, A., Giannotti, F., & Pedreschi, D. (2022). Understanding the impact of explanations on advice-taking: a user study for ai-based clinical decision support systems. In: ACM CHI, 1\u20139.","DOI":"10.1145\/3491102.3502104"},{"issue":"01","key":"7006_CR36","first-page":"1","volume":"1","author":"A Rawal","year":"2021","unstructured":"Rawal, A., Mccoy, J., Rawat, D. B., Sadler, B. M., & Amant, R. S. (2021). Recent advances in trustworthy explainable artificial intelligence: Status, challenges and perspectives. IEEE Transactions on Artificial Intelligence, 1(01), 1\u20131.","journal-title":"IEEE Transactions on Artificial Intelligence"},{"key":"7006_CR37","unstructured":"Tomsett, R., Braines, D., Harborne, D., Preece, A., & Chakraborty, S. (2018). Interpretable to whom? A role-based model for analyzing interpretable machine learning systems. CoRR arXiv:1806.07552."},{"key":"7006_CR38","doi-asserted-by":"crossref","unstructured":"Toreini, E., Aitken, M., Coopamootoo, K., Elliott, K., Zelaya, C. G., & Van Moorsel, A. (2020). The relationship between trust in ai and trustworthy machine learning technologies. In: Proc. of the 2020 Conference on Fairness, Accountability, and Transparency, 272\u2013283.","DOI":"10.1145\/3351095.3372834"},{"key":"7006_CR39","unstructured":"Urban, C., & Min\u00e9, A. (2021). A review of formal methods applied to machine learning. arXiv preprint arXiv:2104.02466."},{"key":"7006_CR40","unstructured":"Vogel, D.A. (2011). Medical device software verification, validation and compliance. Artech House."}],"container-title":["Machine Learning"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s10994-026-07006-0.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/article\/10.1007\/s10994-026-07006-0","content-type":"text\/html","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s10994-026-07006-0.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,5,13]],"date-time":"2026-05-13T16:03:23Z","timestamp":1778688203000},"score":1,"resource":{"primary":{"URL":"https:\/\/link.springer.com\/10.1007\/s10994-026-07006-0"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,4]]},"references-count":40,"journal-issue":{"issue":"4","published-print":{"date-parts":[[2026,4]]}},"alternative-id":["7006"],"URL":"https:\/\/doi.org\/10.1007\/s10994-026-07006-0","relation":{},"ISSN":["0885-6125","1573-0565"],"issn-type":[{"value":"0885-6125","type":"print"},{"value":"1573-0565","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,4]]},"assertion":[{"value":"1 August 2022","order":1,"name":"received","label":"Received","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"10 January 2025","order":2,"name":"revised","label":"Revised","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"31 January 2026","order":3,"name":"accepted","label":"Accepted","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"7 April 2026","order":4,"name":"first_online","label":"First Online","group":{"name":"ArticleHistory","label":"Article History"}},{"order":1,"name":"Ethics","group":{"name":"EthicsHeading","label":"Declarations"}},{"value":"The authors have no Conflict of interest to declare that are relevant to the content of this article.","order":2,"name":"Ethics","group":{"name":"EthicsHeading","label":"Conflict of interest"}}],"article-number":"92"}}