{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,16]],"date-time":"2026-11-16T18:57:22Z","timestamp":1794855442476,"version":"4.9.1"},"publisher-location":"Cham","reference-count":19,"publisher":"Springer Nature Switzerland","isbn-type":[{"value":"9783032401076","type":"print"},{"value":"9783032401083","type":"electronic"}],"license":[{"start":{"date-parts":[[2026,10,16]],"date-time":"2026-10-16T00:00:00Z","timestamp":1792108800000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"},{"start":{"date-parts":[[2026,10,16]],"date-time":"2026-10-16T00:00:00Z","timestamp":1792108800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"}],"content-domain":{"domain":["link.springer.com"],"crossmark-restriction":false},"short-container-title":[],"published-print":{"date-parts":[[2027]]},"abstract":"<jats:title>Abstract<\/jats:title>\n                  <jats:p>\n                    Large Language Models (LLMs) are being employed widely to automate tasks across the software development life-cycle. It is, however, unclear whether these tasks are performed consistently with respect to the semantics of the artefacts being handled. This question is particularly under-researched concerning architectural design specification. In this paper, we address this question for High-level Message Sequence Charts (HMSCs). These are visual models with a rigorous formal semantics that have been used for various purposes, including as a foundation for Sequence Diagrams in the Unified Modelling Language (UML). We examine whether LLMs \u201cunderstand\u201d the semantics of HMSCs by examining three LLMs (Gemini-3, GPT-5.4, and Qwen-3.6) on how they perform 129 semantic tasks ranging from querying basic semantic constructs in HMSCs (i.e., events and their ordering) to semantic-preserving abstractions and compositions, and calculating the set of traces and trace-equivalent labelled transition systems (LTSs). The results show that LLMs only have a modest understanding of the formal semantics of HMSCs (\n                    <jats:inline-formula>\n                      <jats:alternatives>\n                        <jats:tex-math>$$\\sim $$<\/jats:tex-math>\n                        <mml:math xmlns:mml=\"http:\/\/www.w3.org\/1998\/Math\/MathML\">\n                          <mml:mo>\u223c<\/mml:mo>\n                        <\/mml:math>\n                      <\/jats:alternatives>\n                    <\/jats:inline-formula>\n                    52% overall accuracy), with great variability across different semantic concepts: while LLMs seem to understand the basic semantic concepts of MSCs (\n                    <jats:inline-formula>\n                      <jats:alternatives>\n                        <jats:tex-math>$$\\sim $$<\/jats:tex-math>\n                        <mml:math xmlns:mml=\"http:\/\/www.w3.org\/1998\/Math\/MathML\">\n                          <mml:mo>\u223c<\/mml:mo>\n                        <\/mml:math>\n                      <\/jats:alternatives>\n                    <\/jats:inline-formula>\n                    88% accuracy), they struggle with semantic reasoning in tasks involving abstraction and composition (\n                    <jats:inline-formula>\n                      <jats:alternatives>\n                        <jats:tex-math>$$\\sim $$<\/jats:tex-math>\n                        <mml:math xmlns:mml=\"http:\/\/www.w3.org\/1998\/Math\/MathML\">\n                          <mml:mo>\u223c<\/mml:mo>\n                        <\/mml:math>\n                      <\/jats:alternatives>\n                    <\/jats:inline-formula>\n                    36% accuracy) and traces and LTSs (\n                    <jats:inline-formula>\n                      <jats:alternatives>\n                        <jats:tex-math>$$\\sim $$<\/jats:tex-math>\n                        <mml:math xmlns:mml=\"http:\/\/www.w3.org\/1998\/Math\/MathML\">\n                          <mml:mo>\u223c<\/mml:mo>\n                        <\/mml:math>\n                      <\/jats:alternatives>\n                    <\/jats:inline-formula>\n                    42% accuracy). In particular, all three LLMs struggle with the notions of co-region and explicit causal dependencies and never employed them in semantic-preserving transformations.\n                  <\/jats:p>","DOI":"10.1007\/978-3-032-40108-3_8","type":"book-chapter","created":{"date-parts":[[2026,10,16]],"date-time":"2026-10-16T09:43:29Z","timestamp":1792143809000},"page":"126-146","update-policy":"https:\/\/doi.org\/10.1007\/springer_crossmark_policy","source":"Crossref","is-referenced-by-count":0,"title":["(How) Do Large Language Models Understand High-Level Message Sequence Charts?"],"prefix":"10.1007","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-4869-6794","authenticated-orcid":false,"given":"Mohammad Reza","family":"Mousavi","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"297","published-online":{"date-parts":[[2026,10,16]]},"reference":[{"key":"8_CR1","volume-title":"The Unified Modeling Language user guide","author":"G Booch","year":"1999","unstructured":"Booch, G., Rumbaugh, J., Jacobson, I.: The Unified Modeling Language user guide. Addison Wesley Longman Publishing Co., Inc, USA (1999)"},{"key":"8_CR2","doi-asserted-by":"publisher","unstructured":"Cheung, K.S., Kaul, M., Jahangirova, G., Mousavi, M.R., Zie, E.: Comparative analysis of carbon footprint in manual vs. LLM-assisted code development. In: Proceedings of the 1st International Workshop on Responsible Software Engineering, ResponsibleSE 2025, Trondheim, Norway, June 23-28, 2025. pp. 13\u201320. ACM (2025). https:\/\/doi.org\/10.1145\/3711919.3728678, https:\/\/doi.org\/10.1145\/3711919.3728678","DOI":"10.1145\/3711919.3728678"},{"key":"8_CR3","doi-asserted-by":"publisher","first-page":"65","DOI":"10.1007\/978-3-032-24216-7_4","volume-title":"Software Architecture as the Backbone of Software Quality","author":"F Elberzhager","year":"2026","unstructured":"Elberzhager, F., Gerbershagen, M., Ginkel, J.: Using LLMs to evaluate architecture documents - results from a digital marketplace environment. In: Dorner, M., Ramler, R., Winkler, D., Bergsmann, J. (eds.) Software Architecture as the Backbone of Software Quality, pp. 65\u201381. Springer Nature Switzerland, Cham (2026)"},{"key":"8_CR4","doi-asserted-by":"publisher","unstructured":"Gr\u00f6pler, R., et al.: The future of generative AI in software engineering: A vision from industry and academia in the european Genius project. In: 2nd IEEE\/ACM International Conference on AI-powered Software, AIware 2025, Seoul, Republic of Korea, November 19-20, 2025. pp. 170\u2013181. IEEE (2025).https:\/\/doi.org\/10.1109\/AIWARE69974.2025.00026, https:\/\/doi.org\/10.1109\/AIware69974.2025.00026","DOI":"10.1109\/AIWARE69974.2025.00026"},{"key":"8_CR5","doi-asserted-by":"publisher","unstructured":"Guerra, L.P.F., Ernst, N.: Assessing LLMs for front-end software architecture knowledge. In: 2025 IEEE\/ACM International Workshop on Designing Software (Designing). p. 6\u201310. IEEE Press (2025).https:\/\/doi.org\/10.1109\/Designing66910.2025.00007, https:\/\/doi.org\/10.1109\/Designing66910.2025.00007","DOI":"10.1109\/Designing66910.2025.00007"},{"key":"8_CR6","unstructured":"Hooda, A., Christodorescu, M., Allamanis, M., Wilson, A., Fawaz, K., Jha, S.: Do large code models understand programming concepts? counterfactual analysis for code predicates. In: Proceedings of the 41st International Conference on Machine Learning. ICML\u201924, JMLR.org (2024)"},{"key":"8_CR7","unstructured":"Message sequence chart (MSC). ITU-T: Recommendation Z, vol. 120 (1993)"},{"key":"8_CR8","doi-asserted-by":"publisher","unstructured":"Laneve, C., Span\u00f2, A., Ressi, D., Rossi, S., Bugliesi, M.: Understanding code semantics: a benchmark study of LLMs. Int. J. Softw. Tools Technol. Transfer (2026). https:\/\/doi.org\/10.1007\/s10009-026-00842-4","DOI":"10.1007\/s10009-026-00842-4"},{"key":"8_CR9","unstructured":"Ma, W., Liu, S., Lin, Z., Wang, W., Hu, Q., Liu, Y., Zhang, C., Nie, L., Li, L., Liu, Y.: Lms: Understanding code syntax and semantics for code analysis (2024). https:\/\/arxiv.org\/abs\/2305.12138"},{"key":"8_CR10","unstructured":"Nikiema, S.L., Samhi, J., Kabor\u00e9, A.K., Klein, J., Bissyand\u00e9, T.F.: The code barrier: What LLMs actually understand? (2025). https:\/\/arxiv.org\/abs\/2504.10557"},{"key":"8_CR11","doi-asserted-by":"publisher","unstructured":"North, M., Atapour-Abarghouei, A., Bencomo, N.: Beyond syntax: How do LLMs understand code? In: 2025 IEEE\/ACM 47th International Conference on Software Engineering: New Ideas and Emerging Results (ICSE-NIER). pp. 86\u201390 (2025).https:\/\/doi.org\/10.1109\/ICSE-NIER66352.2025.00023","DOI":"10.1109\/ICSE-NIER66352.2025.00023"},{"key":"8_CR12","unstructured":"Ouyang, S., Zhang, J.M., Gong, J., Jahangirova, G., Mousavi, M.R., Johns, J., Lee, B.S., Ziolkowski, A., Virginas, B., Noppen, J.: Benchmarking and evaluating VLMs for software architecture diagram understanding (2026). https:\/\/arxiv.org\/abs\/2604.04009"},{"key":"8_CR13","doi-asserted-by":"publisher","unstructured":"Salles, A., Evers, K., Farisco, M.: Anthropomorphism in AI. AJOB Neurosci. 11(2), 88\u201395 (2020). https:\/\/doi.org\/10.1080\/21507740.2020.1740350","DOI":"10.1080\/21507740.2020.1740350"},{"key":"8_CR14","unstructured":"Schmid, L., et al.: Software architecture meets LLMs: a systematic literature review (2025). https:\/\/arxiv.org\/abs\/2505.16697"},{"key":"8_CR15","doi-asserted-by":"publisher","first-page":"99","DOI":"10.1007\/978-3-032-02138-0_7","volume-title":"Software Architecture","author":"M Soliman","year":"2026","unstructured":"Soliman, M., Ashraf, E., Abdelsalam, K.M.K., Keim, J., Venkatesh, A.P.S.: LLMs for software architecture knowledge: A comparative analysis among seven LLMs. In: Andrikopoulos, V., Pautasso, C., Ali, N., Soldani, J., Xu, X. (eds.) Software Architecture, pp. 99\u2013115. Springer Nature Switzerland, Cham (2026)"},{"key":"8_CR16","doi-asserted-by":"publisher","unstructured":"Soliman, M., Keim, J.: Do large language models contain software architectural knowledge?\u202f: an exploratory case study with gpt. In: 2025 IEEE 22nd International Conference on Software Architecture (ICSA), pp. 13\u201324. (2025). https:\/\/doi.org\/10.1109\/ICSA65012.2025.00012","DOI":"10.1109\/ICSA65012.2025.00012"},{"key":"8_CR17","doi-asserted-by":"crossref","unstructured":"Spiess, C., Devanbu, P., Barr, E.T.: How robustly do LLMs understand execution semantics? (2026). https:\/\/arxiv.org\/abs\/2604.16320","DOI":"10.1145\/3805760.3814919"},{"key":"8_CR18","doi-asserted-by":"publisher","unstructured":"Wei, A., et al.: EquiBench: benchmarking large language models\u2019 reasoning about program semantics via equivalence checking. In: Christodoulopoulos, C., Chakraborty, T., Rose, C., Peng, V. (eds.) Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing. pp. 33868\u201333881. Association for Computational Linguistics, Suzhou, China (Nov 2025). https:\/\/doi.org\/10.18653\/v1\/2025.emnlp-main.1718, https:\/\/aclanthology.org\/2025.emnlp-main.1718\/","DOI":"10.18653\/v1\/2025.emnlp-main.1718"},{"key":"8_CR19","doi-asserted-by":"crossref","unstructured":"Zhou, X., et al.: Using LLMs in generating design rationale for software architecture decisions. ACM Trans. Softw. Eng. Methodol. (2025)","DOI":"10.1145\/3785010"}],"container-title":["Lecture Notes in Computer Science","Leveraging Applications of Formal Methods, Verification and Validation. Rigorous Engineering of Collective Adaptive Systems"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/978-3-032-40108-3_8","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,10,16]],"date-time":"2026-10-16T09:43:31Z","timestamp":1792143811000},"score":1,"resource":{"primary":{"URL":"https:\/\/link.springer.com\/chapter\/10.1007\/978-3-032-40108-3_8"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,10,16]]},"ISBN":["9783032401076","9783032401083"],"references-count":19,"URL":"https:\/\/doi.org\/10.1007\/978-3-032-40108-3_8","relation":{"is-part-of":[{"id-type":"doi","id":"https:\/\/doi.org\/10.1007\/978-3-032-40108-3","asserted-by":"object"}]},"ISSN":["0302-9743","1611-3349"],"issn-type":[{"value":"0302-9743","type":"print"},{"value":"1611-3349","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,10,16]]},"assertion":[{"value":"16 October 2026","order":1,"name":"first_online","label":"First Online","group":{"name":"ChapterHistory","label":"Chapter History"}},{"value":"ISoLA","order":1,"name":"conference_acronym","label":"Conference Acronym","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"International Symposium on Leveraging Applications of Formal Methods","order":2,"name":"conference_name","label":"Conference Name","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"Kos","order":3,"name":"conference_city","label":"Conference City","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"Greece","order":4,"name":"conference_country","label":"Conference Country","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"2026","order":5,"name":"conference_year","label":"Conference Year","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"24 October 2026","order":7,"name":"conference_start_date","label":"Conference Start Date","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"28 October 2026","order":8,"name":"conference_end_date","label":"Conference End Date","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"13","order":9,"name":"conference_number","label":"Conference Number","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"isola2026","order":10,"name":"conference_id","label":"Conference ID","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"https:\/\/2026-isola.isola-conference.org\/","order":11,"name":"conference_url","label":"Conference URL","group":{"name":"ConferenceInfo","label":"Conference Information"}}]}}