{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,1,12]],"date-time":"2026-01-12T18:36:02Z","timestamp":1768242962238,"version":"3.49.0"},"reference-count":29,"publisher":"Springer Science and Business Media LLC","issue":"1","license":[{"start":{"date-parts":[[2025,12,8]],"date-time":"2025-12-08T00:00:00Z","timestamp":1765152000000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"},{"start":{"date-parts":[[2026,1,12]],"date-time":"2026-01-12T00:00:00Z","timestamp":1768176000000},"content-version":"vor","delay-in-days":35,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"}],"funder":[{"name":"\u65e5\u672c\u5b66\u8853 \u632f\u8208\u4f1a,\u65e5\u672c","award":["JP25K03532"],"award-info":[{"award-number":["JP25K03532"]}]}],"content-domain":{"domain":["link.springer.com"],"crossmark-restriction":false},"short-container-title":["Discov Artif Intell"],"abstract":"<jats:title>Abstract<\/jats:title>\n                  <jats:p>Enhancing the intelligibility and interpretability of machine learning is a crucial task in responding to the demand for Explicability as an AI principle, and in promoting the better social implementation of AI. The aim of our research is to contribute to this improvement by reformulating machine learning models through the lens of category theory, thereby developing a semantic framework for structuring and understanding AI systems. Our categorical modeling in this paper clarifies and formalizes the structural interplay between residuals and parameters in supervised learning. The present paper focuses on the multiple linear regression model, which represents the most basic form of supervised learning. By defining two Lawvere-enriched categories corresponding to parameters and data, along with an adjoint pair of functors between them, we introduce our categorical formulation of supervised learning. We show that the essential structure of this framework is captured by what we call the Gauss-Markov Adjunction. Within this setting, the dual flow of information can be explicitly described as a correspondence between variations in parameters and residuals. The ordinary least squares estimator for the parameters and the minimum residual are related via the preservation of limits by the right adjoint functor. Furthermore, we position this formulation as an instance of extended denotational semantics for supervised learning, and propose applying a semantic perspective developed in theoretical computer science as a formal foundation for Explicability in AI.<\/jats:p>","DOI":"10.1007\/s44163-025-00707-w","type":"journal-article","created":{"date-parts":[[2025,12,8]],"date-time":"2025-12-08T06:46:55Z","timestamp":1765176415000},"update-policy":"https:\/\/doi.org\/10.1007\/springer_crossmark_policy","source":"Crossref","is-referenced-by-count":0,"title":["The Gauss-Markov adjunction provides categorical semantics of residuals in supervised learning"],"prefix":"10.1007","volume":"6","author":[{"given":"Moto","family":"Kamiura","sequence":"first","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"297","published-online":{"date-parts":[[2025,12,8]]},"reference":[{"key":"707_CR1","doi-asserted-by":"publisher","unstructured":"Abbott V, Xu T, Maruyama Y. (2024). Category theory for artificial general intelligence, In: Artificial general intelligence AGI 2024 lecture notes in computer science, 14951. Springer. https:\/\/doi.org\/10.1007\/978-3-031-65572-2_13","DOI":"10.1007\/978-3-031-65572-2_13"},{"key":"707_CR2","unstructured":"Asilomar AI Principles (2017). https:\/\/futureoflife.org\/open-letter\/ai-principles\/"},{"key":"707_CR3","unstructured":"Awodey S. 2010(2nd)) Category theory. Oxford University Press; 2008."},{"key":"707_CR4","volume-title":"Principles of biomedical ethics","author":"TL Beauchamp","year":"1979","unstructured":"Beauchamp TL, Childress JF. Principles of biomedical ethics. Oxford University Press; 1979."},{"key":"707_CR5","doi-asserted-by":"publisher","DOI":"10.7551\/mitpress\/12549.001.0001","volume-title":"AI Ethics","author":"M Coeckelbergh","year":"2020","unstructured":"Coeckelbergh M. AI Ethics. MIT Press; 2020."},{"key":"707_CR6","doi-asserted-by":"publisher","unstructured":"Cruttwell GSH, Gavranovi\u0107, B., Ghani, N, Wilson, P., and Zanasi, F. (2021). Categorical foundations of gradient-based learning, arXiv:2103.01931https:\/\/doi.org\/10.48550\/arXiv.2103.01931","DOI":"10.48550\/arXiv.2103.01931"},{"key":"707_CR7","doi-asserted-by":"crossref","unstructured":"Harville DA. 2008(2nd)) Matrix algebra from a statistician\u2019s perspective. Springer; 1997.","DOI":"10.1007\/b98818"},{"key":"707_CR8","doi-asserted-by":"publisher","unstructured":"He K, Zhang X, Ren S, Sun J. Deep residual learning for image recognition. In: Proceedings of the IEEE conference on computer vision and pattern recognition (CVPR). 2016;770\u2013778. https:\/\/doi.org\/10.1109\/CVPR.2016.90.","DOI":"10.1109\/CVPR.2016.90"},{"key":"707_CR9","doi-asserted-by":"crossref","unstructured":"Heunen C and Vicary J. (2019). Categories for quantum theory: an introduction. Oxford University Press.","DOI":"10.1093\/oso\/9780198739623.001.0001"},{"issue":"3","key":"707_CR10","doi-asserted-by":"publisher","first-page":"303","DOI":"10.1007\/s11023-008-9113-7","volume":"18","author":"L Floridi","year":"2008","unstructured":"Floridi L. The method of levels of abstraction. Minds Mach. 2008;18(3):303\u201329. https:\/\/doi.org\/10.1007\/s11023-008-9113-7.","journal-title":"Minds Mach"},{"key":"707_CR11","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1007\/s13347-019-00345-y","volume":"32","author":"L Floridi","year":"2019","unstructured":"Floridi L. What the near future of artificial intelligence could be. Philos Technol. 2019;32:1\u201315. https:\/\/doi.org\/10.1007\/s13347-019-00345-y.","journal-title":"Philos Technol"},{"key":"707_CR12","doi-asserted-by":"publisher","first-page":"689","DOI":"10.1007\/s11023-018-9482-5","volume":"28","author":"L Floridi","year":"2018","unstructured":"Floridi L, Cowls J, Beltrametti M, Chatila R, Chazerand P, Dignum V, et al. AI4People-an ethical framework for a good ai society: opportunities. Risks Principles Recommend Minds Mach. 2018;28:689\u2013707. https:\/\/doi.org\/10.1007\/s11023-018-9482-5.","journal-title":"Risks Principles Recommend Minds Mach"},{"key":"707_CR13","doi-asserted-by":"publisher","DOI":"10.1162\/99608f92.8cd550d1","author":"L Floridi","year":"2019","unstructured":"Floridi L, Cowls J. A unified framework of five principles for AI in society. Harvard Data Sci Rev. 2019. https:\/\/doi.org\/10.1162\/99608f92.8cd550d1.","journal-title":"Harvard Data Sci Rev"},{"key":"707_CR14","doi-asserted-by":"publisher","unstructured":"Fong B, Spivak DI, and Tuy\u00e9ras R (2019) Backprop as functor: a compositional perspective on supervised learning, arXiv:1711.10455https:\/\/doi.org\/10.48550\/arXiv.1711.10455","DOI":"10.48550\/arXiv.1711.10455"},{"key":"707_CR15","doi-asserted-by":"publisher","unstructured":"Gavranovi\u0107 B, Lessard P, Dudzik A, von Glehn T, JGM Araujo, Veli\u010dkovi\u0107 P (2024). Position: categorical deep learning is an algebraic theory of all architectures, arXiv:2402.15332https:\/\/doi.org\/10.48550\/arXiv.2402.15332","DOI":"10.48550\/arXiv.2402.15332"},{"key":"707_CR16","unstructured":"IEEE initiative on ethics of autonomous and intelligent systems: ethically aligned design: a vision for prioritizing human well-being with autonomous and intelligent systems, Version 2. (2017). https:\/\/standards.ieee.org\/wp-content\/uploads\/import\/documents\/other\/ead_v2.pdf"},{"issue":"2","key":"707_CR17","doi-asserted-by":"publisher","first-page":"103","DOI":"10.5406\/21521123.62.2.01","volume":"62","author":"M Kamiura","year":"2025","unstructured":"Kamiura M. The four fundamental components for intelligibility and interpretability in AI ethics. Am Philos Quart. 2025;62(2):103\u201312. https:\/\/doi.org\/10.5406\/21521123.62.2.01.","journal-title":"Am Philos Quart"},{"key":"707_CR18","unstructured":"Kelly GM. Basic concepts of enriched category theory, London Mathematical Society Lecture Note Series, 64. Cambridge University Press; 1982."},{"key":"707_CR19","volume-title":"Introduction to higher order categorical logic","author":"J Lambek","year":"1988","unstructured":"Lambek J, Scott PJ. Introduction to higher order categorical logic. Cambridge University Press; 1988."},{"key":"707_CR20","doi-asserted-by":"publisher","first-page":"135","DOI":"10.1007\/BF02924844","volume":"43","author":"FW Lawvere","year":"1973","unstructured":"Lawvere FW. Metric spaces, generalized logic, and closed categories. Rendiconti del seminario matematico e fisico di Milano. 1973;43:135\u201366. https:\/\/doi.org\/10.1007\/BF02924844.","journal-title":"Rendiconti del seminario matematico e fisico di Milano"},{"key":"707_CR21","doi-asserted-by":"crossref","unstructured":"Mac Lane S 1998(2nd)). Categories for the working mathematician: Springer; 1978.","DOI":"10.1007\/978-1-4757-4721-8"},{"key":"707_CR22","doi-asserted-by":"publisher","unstructured":"Pan W (2024). Token space: a category theory framework for AI computations, arXiv:2404.11624https:\/\/doi.org\/10.48550\/arXiv.2404.11624","DOI":"10.48550\/arXiv.2404.11624"},{"key":"707_CR23","doi-asserted-by":"publisher","DOI":"10.1088\/2632-2153\/ac2c5d","volume":"3","author":"A Sheshmani","year":"2021","unstructured":"Sheshmani A, You Y-Z. Categorical representation learning: morphism is all you need. Machine learning science and technology. 2021;3:015016. https:\/\/doi.org\/10.1088\/2632-2153\/ac2c5d.","journal-title":"Machine learning science and technology"},{"key":"707_CR24","doi-asserted-by":"publisher","unstructured":"Shiebler D, Gavranovi\u0107 B, and Paul Wilson P (2021). Category theory in machine learning, arXiv:2106.07032https:\/\/doi.org\/10.48550\/arXiv.2106.07032","DOI":"10.48550\/arXiv.2106.07032"},{"key":"707_CR25","unstructured":"Slonneger K and Kurtz BL (1994) Formal syntax and semantics of programming languages: a laboratory based approach, Addison-Wesley Publishing."},{"key":"707_CR26","doi-asserted-by":"publisher","DOI":"10.1007\/s44443-025-00010-9","author":"W Steingartner","year":"2025","unstructured":"Steingartner W. Perspectives of semantic modeling in categories. J King Saud Univ Comput Info Sci. 2025. https:\/\/doi.org\/10.1007\/s44443-025-00010-9.","journal-title":"J King Saud Univ Comput Info Sci"},{"key":"707_CR27","doi-asserted-by":"publisher","first-page":"173","DOI":"10.1007\/s00481-023-00761-x","volume":"35","author":"F Ursin","year":"2023","unstructured":"Ursin F, Lindner F, Ropinski T, Salloch S, Timmermann C. Levels of explicability for medical artificial intelligence: what do we normatively need and what can we technically reach? Ethik in der Medizin. 2023;35:173\u201399. https:\/\/doi.org\/10.1007\/s00481-023-00761-x.","journal-title":"Ethik in der Medizin"},{"key":"707_CR28","doi-asserted-by":"publisher","unstructured":"Vaswani A, Shazeer N, Parmar N, Uszkoreit J, Jones L, Gomez AN, Kaiser L, and Polosukhin I (2017). Attention is all you need, In: Proceedings of the 31st international conference on neural information processing systems 2017, 6000-6010. https:\/\/doi.org\/10.5555\/3295222.3295349","DOI":"10.5555\/3295222.3295349"},{"key":"707_CR29","doi-asserted-by":"publisher","unstructured":"Xu T and Maruyama Y (2022). Neural string diagrams: a universal modelling language for categorical deep learning, In: Artificial general intelligence AGI 2021 lecture notes in computer science, 13154. Springer. https:\/\/doi.org\/10.1007\/978-3-030-93758-4_32","DOI":"10.1007\/978-3-030-93758-4_32"}],"container-title":["Discover Artificial Intelligence"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s44163-025-00707-w.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/article\/10.1007\/s44163-025-00707-w","content-type":"text\/html","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s44163-025-00707-w.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,1,12]],"date-time":"2026-01-12T15:11:03Z","timestamp":1768230663000},"score":1,"resource":{"primary":{"URL":"https:\/\/link.springer.com\/10.1007\/s44163-025-00707-w"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,12,8]]},"references-count":29,"journal-issue":{"issue":"1","published-online":{"date-parts":[[2026,12]]}},"alternative-id":["707"],"URL":"https:\/\/doi.org\/10.1007\/s44163-025-00707-w","relation":{},"ISSN":["2731-0809"],"issn-type":[{"value":"2731-0809","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,12,8]]},"assertion":[{"value":"25 June 2025","order":1,"name":"received","label":"Received","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"21 November 2025","order":2,"name":"accepted","label":"Accepted","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"8 December 2025","order":3,"name":"first_online","label":"First Online","group":{"name":"ArticleHistory","label":"Article History"}},{"order":1,"name":"Ethics","group":{"name":"EthicsHeading","label":"Declarations"}},{"value":"The authors declare no conflict of interest.","order":2,"name":"Ethics","group":{"name":"EthicsHeading","label":"Conflict of interest"}},{"value":"Not applicable.","order":3,"name":"Ethics","group":{"name":"EthicsHeading","label":"Consent to publish"}},{"value":"Not applicable.","order":4,"name":"Ethics","group":{"name":"EthicsHeading","label":"Consent to participate"}},{"value":"Not applicable.","order":5,"name":"Ethics","group":{"name":"EthicsHeading","label":"Ethical approval"}}],"article-number":"21"}}