{"contenttype":"article","language":"en","availableLanguages":"de,en,es,fr,it,pl","rcn":"435398","id":"435398-explaining-an-algorithm-s-output","title":"Explaining an algorithm\u2019s output","teaser":"Before algorithms can be used in critical operations like air traffic control, human users must be able to trust them. Explanations, called certificates, on why an algorithm\u2019s output is correct, could serve as a foundation for building this trust.","body":"\r\n    \u003Csection\u003E\r\n      \u003CsectionBody\u003EAlgorithms are a set of rules or instructions that tell a computer what to do. While these processes play an essential role helping software developers create efficient and error-free programmes, they do have their limitations \u2013 one of the main ones being they often cannot provide any tangible proof of their results. \r\n\r\nAccording to https:\/\/shaull.cswp.cs.technion.ac.il (Shaull Almagor), an assistant professor of Computer Science at http:\/\/www.technion.ac.il\/en\/home-2\/ (Technion), this lack of certification presents a real challenge, especially in designing the cyber-physical systems of tomorrow. \r\n\r\n\u201cTake for example a robotic planning algorithm, where a robot is asked to undertake a task like finding a key and opening a door,\u201d he explains. \u201cNow suppose that the algorithm tells the user that no such plan exists for the robot \u2013 how can the user know this answer is correct?\u201d\r\n\r\nOr what if the algorithm does find a plan, but it is very complicated. How can the user trust the plan? \u201cThis problem is extremely important in settings where a human supervisor must approve a safety-critical operation, such as in air traffic control or in an industrial factory,\u201d says Almagor. \u201cIn such settings, it would be ideal if the algorithm could provide a simple explanation on why its output is correct.\u201d\r\n\r\nWith the support of the EU-funded ALGOCERT project, Almagor set out to devise such explanations, which he calls certificates.\u003C\/sectionBody\u003E\r\n    \u003C\/section\u003E\r\n    \u003Csection\u003E\r\n      \u003CsectionTitle\u003ETailoring certificates to specific contexts\u003C\/sectionTitle\u003E\r\n      \u003CsectionBody\u003EAs Almagor explains, to be meaningful, these certificates must be tailored to specific contexts. \u201cIn order to define meaningful notions of certificates, we must build upon the specific properties of the planning task,\u201d he adds. \u201cOnly then can we attempt to devise certifiable algorithms.\u201d\r\n\r\nTake for instance the reachability problem for linear https:\/\/en.wikipedia.org\/wiki\/Dynamical_system (dynamical systems), which represent the evolution in time of vectors. Although these systems use simple mathematical rules, they can give rise to very complex behaviours. \r\n\r\n\u201cIf the evolution reaches a target, this is easy to certify \u2013 just provide the reaching time,\u201d explains Almagor. \u201cBut if it doesn\u2019t reach the target, it\u2019s not clear how to give a certificate.\u201d \r\n\r\nBased on this, the project proposed a notion of certificates for non-reaching scenarios. \u201cWe synthesise a set that contains the entire evolution of the system but that does not intersect the target,\u201d adds Almagor.\r\n\r\nAnother problem addressed by the project is that of multi-agent pathfinding, or MAPF. According to Almagor, MAPF represents a fundamental problem in robotic planning, including such robotic applications as automated warehouses and vehicles. \r\n\r\n\u201cThese applications require multiple agents being able to concurrently follow established paths without colliding into each other,\u201d notes Almagor.\r\n\r\nHere the project proposed a scheme that explains the correctness of an MAPF plan to a human user. \u201cWe convince the user that the plan has no risk of collision by decomposing it into a sequence of images, with the paths of the agents being disjointed in each image,\u201d Almagor says. \u201cThis really is an intuitive way of explaining non-collision.\u201d\u003C\/sectionBody\u003E\r\n    \u003C\/section\u003E\r\n    \u003Csection\u003E\r\n      \u003CsectionTitle\u003EAn important stepping stone\u003C\/sectionTitle\u003E\r\n      \u003CsectionBody\u003EThese are just a few of the problems addressed during the https:\/\/ec.europa.eu\/research\/mariecurieactions\/ (Marie Sk\u0142odowska-Curie Actions) supported ALGOCERT project, many of which have been fully explained in various papers and presentations. \r\n\r\n\u201cThe notion of explainability has gained a lot of attention over the past few years,\u201d concludes Almagor. \u201cAlthough I can\u2019t say that our methods are the holy grail of algorithm certification, I do believe they represent an important stepping stone along the way.\u201d\u003C\/sectionBody\u003E\r\n    \u003C\/section\u003E\r\n  ","keywords":"ALGOCERT, algorithms, explanations, certificates, certification, software, cyber-physical systems, robot, safety-critical operation, dynamical systems, mathematical, multi-agent pathfinding","contentCreationDate":"2021-12-10 16:09:39","contentUpdateDate":"2021-12-10 16:04:03","lastUpdateDate":"2025-01-28 15:22:23","relations":{"categories":[{"language":"en","availableLanguages":"de,en,es,fr,it,pl","code":"ict","title":"Digital Economy","displayCode":"\/Digital Economy","attributes":{"classification":"applicationDomain","type":"isApplicableIn"}},{"language":"en","availableLanguages":"de,en,es,fr,it,pl","code":"brief","title":"Result in Brief","description":"Article: Classic and enhanced","displayCode":"\/Result in Brief","attributes":{"classification":"collection","type":"belongsTo"}},{"language":"en","availableLanguages":"de,en,es,fr,it,pl","code":"editorial","title":"CORDIS Editorial","description":"Written by CORDIS","displayCode":"\/CORDIS Editorial","attributes":{"classification":"source","type":"isProvidedBy"}}],"associations":[{"availableLanguages":"es","rcn":"3763515","id":"edit-klensni","contenttype":"person","attributes":{"source":"editorial","type":"isWrittenBy"}},{"availableLanguages":"en","rcn":"222673","id":"837327","acronym":"ALGOCERT","teaser":"One of the main challenges in the development of complex computerized systems lies in verification -\u2013 the process of ensuring the systems\u0027 correctness. Model checking is an approach for system verification in which one uses mathematical reasoning to conduct an algorithmic...","title":"Devising certifiable and explainable algorithms for verification and planning in cyber-physical systems","relations":{"categories":[{"language":"en","availableLanguages":"de,en,es,fr,it,pl","code":"project","title":"Project","description":"Project factsheets","displayCode":"\/Project","attributes":{"classification":"collection","type":"belongsTo"}},{"language":"en","availableLanguages":"en","code":"MSCA-IF","title":"Marie Sk\u0142odowska-Curie Individual Fellowships (IF)","description":"Marie Sk\u0142odowska-Curie Individual Fellowships (IF)","displayCode":"\/Marie Sk\u0142odowska-Curie Individual Fellowships (IF)","attributes":{"classification":"projectFundingSchemeCategory","type":"relatedProjectFundingSchemeCategory"}},{"language":"en","availableLanguages":"de,en,es,fr,it,pl","code":"corda","title":"CORDA","description":"RTD research data warehouse","displayCode":"\/CORDA","attributes":{"classification":"source","type":"isProvidedBy"}}],"associations":[{"availableLanguages":"de,en,es,fr,it,pl","rcn":"664109","code":"H2020-EU.1.3.","frameworkProgramme":"H2020","pga":"H2020-EU.1.3.","title":"EXCELLENT SCIENCE - Marie Sk\u0142odowska-Curie Actions","shortTitle":"Marie-Sklodowska-Curie Actions","parent":{"rcn":"664091\/664087\/664086","code":"H2020-EU.1.\/H2020-EC\/H2020"},"relations":{"categories":[{"language":"en","code":"legalbasis","title":"Legal Basis","description":"Programme: Legal basis for research funding","displayCode":"\/Legal Basis","attributes":{"classification":"collection","type":"belongsTo"}},{"language":"en","code":"editorial","title":"CORDIS Editorial","description":"Written by CORDIS","displayCode":"\/CORDIS Editorial","attributes":{"classification":"source","type":"isProvidedBy"}}]},"contenttype":"programme","attributes":{"source":"corda","type":"relatedLegalBasis","uniqueProgrammePart":"true"}},{"availableLanguages":"de,en,es,fr,it,pl","rcn":"664113","code":"H2020-EU.1.3.2.","frameworkProgramme":"H2020","pga":"H2020-EU.1.3.2.","title":"Nurturing excellence by means of cross-border and cross-sector mobility","shortTitle":"MSCA Mobility","parent":{"rcn":"664109\/664091\/664087\/664086","code":"H2020-EU.1.3.\/H2020-EU.1.\/H2020-EC\/H2020"},"relations":{"categories":[{"language":"en","code":"legalbasis","title":"Legal Basis","description":"Programme: Legal basis for research funding","displayCode":"\/Legal Basis","attributes":{"classification":"collection","type":"belongsTo"}},{"language":"en","code":"editorial","title":"CORDIS Editorial","description":"Written by CORDIS","displayCode":"\/CORDIS Editorial","attributes":{"classification":"source","type":"isProvidedBy"}}]},"contenttype":"programme","attributes":{"source":"corda","type":"relatedLegalBasis"}},{"availableLanguages":"en","rcn":"704519","code":"MSCA-IF-2018","frameworkProgramme":"H2020","title":"Individual Fellowships","parent":{"rcn":"20200","code":"H2020-Topics"},"relations":{"categories":[{"language":"en","code":"topic","title":"Topic","description":"Programme: Part of the Commission work programme implementing legal basis","displayCode":"\/Topic","attributes":{"classification":"collection","type":"belongsTo"}},{"language":"en","code":"corda","title":"CORDA","description":"RTD research data warehouse","displayCode":"\/CORDA","attributes":{"classification":"source","type":"isProvidedBy"}}]},"contenttype":"programme","attributes":{"source":"corda","type":"relatedTopic"}}]},"contenttype":"project","attributes":{"source":"editorial","type":"relatedProject"}},{"language":"en","availableLanguages":"de,en,es,fr,it,pl,any","uri":"\/docs\/results\/images\/2021-12\/435398.jpg","mimetype":"image\/jpeg","size":"749603","copyright":"\u00a9 Asset data, Shutterstock","contenttype":"webItem","attributes":{"represents":"article","source":"editorial","type":"relatedImage"}}],"regions":[{"name":"Israel","rcn":"307661352","nutsCode":"IL","euCode":"IL","isoCode":"IL","attributes":{"source":"editorial","type":"relatedRegion"}}]},"modelVersion":"132","icaVersion":"20.0.0-48f81e07"}