{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,30]],"date-time":"2026-09-30T19:11:28Z","timestamp":1790795488341,"version":"4.1.0"},"reference-count":26,"publisher":"IOP Publishing","issue":"4","license":[{"start":{"date-parts":[[2023,12,28]],"date-time":"2023-12-28T00:00:00Z","timestamp":1703721600000},"content-version":"vor","delay-in-days":27,"URL":"http:\/\/creativecommons.org\/licenses\/by\/4.0"},{"start":{"date-parts":[[2023,12,28]],"date-time":"2023-12-28T00:00:00Z","timestamp":1703721600000},"content-version":"tdm","delay-in-days":27,"URL":"https:\/\/iopscience.iop.org\/info\/page\/text-and-data-mining"}],"funder":[{"name":"European Union Horizon 2020","award":["GA No 952215"],"award-info":[{"award-number":["GA No 952215"]}]},{"DOI":"10.13039\/501100016386","name":"Conselleria de Innovaci\u00f3n, Universidades, Ciencia y Sociedad Digital, Generalitat Valenciana","doi-asserted-by":"crossref","award":["PROMETEO\/2018\/002"],"award-info":[{"award-number":["PROMETEO\/2018\/002"]}],"id":[{"id":"10.13039\/501100016386","id-type":"DOI","asserted-by":"crossref"}]}],"content-domain":{"domain":["iopscience.iop.org"],"crossmark-restriction":false},"short-container-title":["Mach. Learn.: Sci. Technol."],"published-print":{"date-parts":[[2023,12,1]]},"abstract":"<jats:title>Abstract<\/jats:title>\n               <jats:p>Explainable artificial intelligence (XAI) is a growing field that aims to increase the transparency and interpretability of machine learning (ML) models. The aim of this work is to use the categorical properties of learning algorithms in conjunction with the categorical perspective of the information in the datasets to give a framework for explainability. In order to achieve this, we are going to define the enriched categories, with decorated morphisms, <jats:inline-formula>\n                     <jats:tex-math\/>\n                     <mml:math xmlns:mml=\"http:\/\/www.w3.org\/1998\/Math\/MathML\" overflow=\"scroll\">\n                        <mml:mpadded width=\"0\">\n                           <mml:mrow>\n                              <mml:mi class=\"MJX-tex-calligraphic\">L<\/mml:mi>\n                              <mml:mi class=\"MJX-tex-calligraphic\">e<\/mml:mi>\n                              <mml:mi class=\"MJX-tex-calligraphic\">a<\/mml:mi>\n                              <mml:mi class=\"MJX-tex-calligraphic\">r<\/mml:mi>\n                              <mml:mi class=\"MJX-tex-calligraphic\">n<\/mml:mi>\n                           <\/mml:mrow>\n                        <\/mml:mpadded>\n                        <mml:mrow>\n                           <mml:mrow>\n                              <mml:mi class=\"MJX-tex-calligraphic\">L<\/mml:mi>\n                              <mml:mi class=\"MJX-tex-calligraphic\">e<\/mml:mi>\n                              <mml:mi class=\"MJX-tex-calligraphic\">a<\/mml:mi>\n                              <mml:mi class=\"MJX-tex-calligraphic\">r<\/mml:mi>\n                              <mml:mi class=\"MJX-tex-calligraphic\">n<\/mml:mi>\n                           <\/mml:mrow>\n                        <\/mml:mrow>\n                     <\/mml:math>\n                     <jats:inline-graphic xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\" xlink:href=\"mlstad1534ieqn1.gif\" xlink:type=\"simple\"\/>\n                  <\/jats:inline-formula>, <jats:inline-formula>\n                     <jats:tex-math\/>\n                     <mml:math xmlns:mml=\"http:\/\/www.w3.org\/1998\/Math\/MathML\" overflow=\"scroll\">\n                        <mml:mpadded width=\"0\">\n                           <mml:mrow>\n                              <mml:mi class=\"MJX-tex-calligraphic\">P<\/mml:mi>\n                              <mml:mi class=\"MJX-tex-calligraphic\">a<\/mml:mi>\n                              <mml:mi class=\"MJX-tex-calligraphic\">r<\/mml:mi>\n                              <mml:mi class=\"MJX-tex-calligraphic\">a<\/mml:mi>\n                           <\/mml:mrow>\n                        <\/mml:mpadded>\n                        <mml:mrow>\n                           <mml:mrow>\n                              <mml:mi class=\"MJX-tex-calligraphic\">P<\/mml:mi>\n                              <mml:mi class=\"MJX-tex-calligraphic\">a<\/mml:mi>\n                              <mml:mi class=\"MJX-tex-calligraphic\">r<\/mml:mi>\n                              <mml:mi class=\"MJX-tex-calligraphic\">a<\/mml:mi>\n                           <\/mml:mrow>\n                        <\/mml:mrow>\n                     <\/mml:math>\n                     <jats:inline-graphic xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\" xlink:href=\"mlstad1534ieqn2.gif\" xlink:type=\"simple\"\/>\n                  <\/jats:inline-formula> and <jats:inline-formula>\n                     <jats:tex-math\/>\n                     <mml:math xmlns:mml=\"http:\/\/www.w3.org\/1998\/Math\/MathML\" overflow=\"scroll\">\n                        <mml:mpadded width=\"0\">\n                           <mml:mrow>\n                              <mml:mi class=\"MJX-tex-calligraphic\">M<\/mml:mi>\n                              <mml:mi class=\"MJX-tex-calligraphic\">N<\/mml:mi>\n                              <mml:mi class=\"MJX-tex-calligraphic\">e<\/mml:mi>\n                              <mml:mi class=\"MJX-tex-calligraphic\">t<\/mml:mi>\n                           <\/mml:mrow>\n                        <\/mml:mpadded>\n                        <mml:mrow>\n                           <mml:mrow>\n                              <mml:mi class=\"MJX-tex-calligraphic\">M<\/mml:mi>\n                              <mml:mi class=\"MJX-tex-calligraphic\">N<\/mml:mi>\n                              <mml:mi class=\"MJX-tex-calligraphic\">e<\/mml:mi>\n                              <mml:mi class=\"MJX-tex-calligraphic\">t<\/mml:mi>\n                           <\/mml:mrow>\n                        <\/mml:mrow>\n                     <\/mml:math>\n                     <jats:inline-graphic xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\" xlink:href=\"mlstad1534ieqn3.gif\" xlink:type=\"simple\"\/>\n                  <\/jats:inline-formula> of learners, parameterized functions, and neural networks over metric spaces respectively. The main idea is to encode information from the dataset via categorical methods, see how it propagates, and lastly, interpret the results thanks again to categorical (metric) information. This means that we can attach numerical (computable) information via enrichment to the structural information of the category. With this, we can translate theoretical information into parameters that are easily understandable. We will make use of different categories of enrichment to keep track of different kinds of information. That is, to see how differences in attributes of the data are modified by the algorithm to result in differences in the output to achieve better separation. In that way, the categorical framework gives us an algorithm to interpret what the learning algorithm is doing. Furthermore, since it is designed with generality in mind, it should be applicable in various different contexts. There are three main properties of category theory that help with the interpretability of ML models: formality, the existence of universal properties, and compositionality. The last property offers a way to combine smaller, simpler models that are easily understood to build larger ones. This is achieved by formally representing the structure of ML algorithms and information contained in the model. Finally, universal properties are a cornerstone of category theory. They help us characterize an object, not by its attributes, but by how it interacts with other objects. Thus, we can formally characterize an algorithm by how it interacts with the data. The main advantage of the framework is that it can unify under the same language different techniques used in XAI. Thus, using the same language and concepts we can describe a myriad of techniques and properties of ML algorithms, streamlining their explanation and making them easier to generalize and extrapolate.<\/jats:p>","DOI":"10.1088\/2632-2153\/ad1534","type":"journal-article","created":{"date-parts":[[2023,12,13]],"date-time":"2023-12-13T22:22:27Z","timestamp":1702506147000},"page":"045061","update-policy":"https:\/\/doi.org\/10.1088\/crossmark-policy","source":"Crossref","is-referenced-by-count":6,"title":["Exploring explainable AI: category theory insights into machine learning algorithms"],"prefix":"10.1088","volume":"4","author":[{"ORCID":"https:\/\/orcid.org\/0009-0005-5104-514X","authenticated-orcid":true,"given":"Ares","family":"Fabregat-Hern\u00e1ndez","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Javier","family":"Palanca","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-6507-2756","authenticated-orcid":true,"given":"Vicent","family":"Botti","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"266","published-online":{"date-parts":[[2023,12,28]]},"reference":[{"key":"mlstad1534bib1","article-title":"Compositional algorithms on compositional data: deciding sheaves on presheaves","author":"Althaus","year":"2023"},{"key":"mlstad1534bib2","article-title":"Analytical bounds on the local lipschitz constants of relu networks","author":"Avant","year":"2021"},{"key":"mlstad1534bib3","article-title":"Topos and stacks of deep neural networks","author":"Belfiore","year":"2021"},{"key":"mlstad1534bib4","article-title":"Geometric deep learning: grids, groups, graphs, geodesics, and gauges","author":"Bronstein","year":"2021"},{"key":"mlstad1534bib5","article-title":"Structured versus decorated cospans","author":"Baez","year":"2021"},{"key":"mlstad1534bib6","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1007\/s44007-022-00021-2","article-title":"An enriched category theory of language: from syntax to semantics","volume":"1","author":"Bradley","year":"2022","journal-title":"La Mat."},{"key":"mlstad1534bib7","doi-asserted-by":"crossref","DOI":"10.1145\/3514094.3534162","article-title":"Gender bias in word embeddings: a comprehensive analysis of frequency, syntax, and semantics","author":"Caliskan","year":"2022"},{"key":"mlstad1534bib8","first-page":"pp 567","article-title":"What made you do this? Understanding black-box decisions with sufficient input subsets","author":"Carter","year":"2019"},{"key":"mlstad1534bib9","first-page":"pp 37","article-title":"The algebra of directed acyclic graphs","author":"Fiore","year":"2013"},{"key":"mlstad1534bib10","first-page":"1096","article-title":"Decorated cospans","volume":"30","author":"Fong","year":"2015","journal-title":"Theory Appl. Categories"},{"key":"mlstad1534bib11","first-page":"pp 1","article-title":"Backprop as functor: a compositional perspective on supervised learning","author":"Fong","year":"2019"},{"key":"mlstad1534bib12","article-title":"On the properties of the softmax function with application in game theory and reinforcement learning","author":"Gao","year":"2017"},{"key":"mlstad1534bib13","doi-asserted-by":"publisher","first-page":"5917","DOI":"10.1109\/TSP.2018.2870353","article-title":"A non-Euclidean gradient descent framework for non-convex matrix factorization","volume":"66","author":"Hsieh","year":"2018","journal-title":"IEEE Trans. Signal Process."},{"key":"mlstad1534bib14","article-title":"A compositional framework for convex model predictive control","author":"Hanks","year":"2023"},{"key":"mlstad1534bib15","volume":"vol 64","author":"Kelly","year":"1982"},{"key":"mlstad1534bib16","doi-asserted-by":"publisher","first-page":"135","DOI":"10.1007\/BF02924844","article-title":"Metric spaces, generalized logic and closed categories","volume":"43","author":"William Lawvere","year":"1973","journal-title":"Rendiconti del Semin. Mat. e Fis. di Milano"},{"key":"mlstad1534bib17","author":"Milewski","year":"2019"},{"key":"mlstad1534bib18","author":"MacLane","year":"2012"},{"key":"mlstad1534bib19","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1145\/3457607","article-title":"A survey on bias and fairness in machine learning","volume":"54","author":"Mehrabi","year":"2021","journal-title":"ACM Comput. Surv."},{"key":"mlstad1534bib20","volume":"vol 24","author":"Riehl","year":"2014"},{"key":"mlstad1534bib21","author":"Riehl","year":"2017"},{"key":"mlstad1534bib22","article-title":"Category theory in machine learning","author":"Shiebler","year":"2021"},{"key":"mlstad1534bib23","doi-asserted-by":"publisher","first-page":"379","DOI":"10.1002\/j.1538-7305.1948.tb01338.x","article-title":"A mathematical theory of communication","volume":"27","author":"Elwood Shannon","year":"1948","journal-title":"Bell Syst. Tech. J."},{"key":"mlstad1534bib24","doi-asserted-by":"publisher","DOI":"10.1088\/2632-2153\/ac2c5d","article-title":"Categorical representation learning: morphism is all you need","volume":"3","author":"Sheshmani","year":"2021","journal-title":"Mach. Learn.: Sci. Technol."},{"key":"mlstad1534bib25","doi-asserted-by":"publisher","first-page":"4793","DOI":"10.1109\/TNNLS.2020.3027314","article-title":"A survey on explainable artificial intelligence (XAI): toward medical XAI","volume":"32","author":"Tjoa","year":"2020","journal-title":"IEEE Trans. Neural Netw. Learn. Syst."},{"key":"mlstad1534bib26","first-page":"669","article-title":"Distance-based classification with lipschitz functions","volume":"5","author":"von Luxburg","year":"2004","journal-title":"J. Mach. Learn. Res."}],"container-title":["Machine Learning: Science and Technology"],"original-title":[],"link":[{"URL":"https:\/\/iopscience.iop.org\/article\/10.1088\/2632-2153\/ad1534","content-type":"text\/html","content-version":"am","intended-application":"text-mining"},{"URL":"https:\/\/iopscience.iop.org\/article\/10.1088\/2632-2153\/ad1534\/pdf","content-type":"application\/pdf","content-version":"am","intended-application":"text-mining"},{"URL":"https:\/\/iopscience.iop.org\/article\/10.1088\/2632-2153\/ad1534","content-type":"text\/html","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/iopscience.iop.org\/article\/10.1088\/2632-2153\/ad1534\/pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/iopscience.iop.org\/article\/10.1088\/2632-2153\/ad1534\/pdf","content-type":"application\/pdf","content-version":"am","intended-application":"syndication"},{"URL":"https:\/\/iopscience.iop.org\/article\/10.1088\/2632-2153\/ad1534\/pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"syndication"},{"URL":"https:\/\/iopscience.iop.org\/article\/10.1088\/2632-2153\/ad1534\/pdf","content-type":"application\/pdf","content-version":"am","intended-application":"similarity-checking"},{"URL":"https:\/\/iopscience.iop.org\/article\/10.1088\/2632-2153\/ad1534\/pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2023,12,28]],"date-time":"2023-12-28T10:52:47Z","timestamp":1703760767000},"score":1,"resource":{"primary":{"URL":"https:\/\/iopscience.iop.org\/article\/10.1088\/2632-2153\/ad1534"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2023,12,1]]},"references-count":26,"journal-issue":{"issue":"4","published-online":{"date-parts":[[2023,12,28]]},"published-print":{"date-parts":[[2023,12,1]]}},"URL":"https:\/\/doi.org\/10.1088\/2632-2153\/ad1534","relation":{},"ISSN":["2632-2153"],"issn-type":[{"value":"2632-2153","type":"electronic"}],"subject":[],"published":{"date-parts":[[2023,12,1]]},"assertion":[{"value":"Exploring explainable AI: category theory insights into machine learning algorithms","name":"article_title","label":"Article Title"},{"value":"Machine Learning: Science and Technology","name":"journal_title","label":"Journal Title"},{"value":"paper","name":"article_type","label":"Article Type"},{"value":"\u00a9 2023 The Author(s). Published by IOP Publishing Ltd","name":"copyright_information","label":"Copyright Information"},{"value":"2023-05-04","name":"date_received","label":"Date Received","group":{"name":"publication_dates","label":"Publication dates"}},{"value":"2023-12-11","name":"date_accepted","label":"Date Accepted","group":{"name":"publication_dates","label":"Publication dates"}},{"value":"2023-12-28","name":"date_epub","label":"Online publication date","group":{"name":"publication_dates","label":"Publication dates"}}]}}