Hostname: page-component-78c5997874-mlc7c Total loading time: 0 Render date: 2024-11-18T17:46:11.605Z Has data issue: false hasContentIssue false

Robotic safe adaptation in unprecedented situations: the RoboSAPIENS project

Published online by Cambridge University Press:  29 October 2024

A response to the following question: How to ensure safety of learning-enabled cyber-physical systems?

Peter G. Larsen*
Affiliation:
Aarhus University, Aarhus, Denmark
Shaukat Ali
Affiliation:
Simula Research Lab, Oslo, Norway
Roland Behrens
Affiliation:
Fraunhofer IFF, Magdeburg, Germany
Ana Cavalcanti
Affiliation:
University of York, York, UK
Claudio Gomes
Affiliation:
Aarhus University, Aarhus, Denmark
Guoyuan Li
Affiliation:
Norwegian University of Science and Technology, Trondheim, Norway
Paul De Meulenaere
Affiliation:
University of Antwerp, Antwerp, Belgium
Mikkel L. Olsen
Affiliation:
Danish Technological Institute, Taastrup, Denmark
Nikolaos Passalis
Affiliation:
Aristotle University of Thessaloniki, Thessaloniki, Greece
Thomas Peyrucain
Affiliation:
PAL Robotics, Barcelona, Spain
Jesús Tapia
Affiliation:
ISDI Accelerator, Madrid, Spain
Anastasios Tefas
Affiliation:
Aristotle University of Thessaloniki, Thessaloniki, Greece
Houxiang Zhang
Affiliation:
Norwegian University of Science and Technology, Trondheim, Norway
*
Corresponding author: Peter G. Larsen; Email: [email protected]
Rights & Permissions [Opens in a new window]

Abstract

The robots of tomorrow should be endowed with the ability to adapt to drastic and unpredicted changes in their environment and interactions with humans. Such adaptations, however, cannot be boundless: the robot must stay trustworthy. So, the adaptations should not be just a recovery into a degraded functionality. Instead, they must be true adaptations: the robot must change its behaviour while maintaining or even increasing its expected performance and staying at least as safe and robust as before. The RoboSAPIENS project will focus on autonomous robotic software adaptations and will lay the foundations for ensuring that they are carried out in an intrinsically trustworthy, safe and efficient manner, thereby reconciling open-ended self-adaptation with safety by design. RoboSAPIENS will transform these foundations into ‘first time right’-design tools and platforms and will validate and demonstrate them.

Type
Impact Paper
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2024. Published by Cambridge University Press

Introduction

Whenever autonomy is introduced in physical systems that can potentially harm the environment, including humans, it is essential to provide the necessary evidence to assure the safety. Different standards are used in different domains to ensure the trustworthiness of such autonomous systems. The area of robotics is governed by what is called the machinery directiveFootnote 1. One requirement in the machinery directive prevents any robot that includes any learned element in its control system from being legally used. We believe that this requirement is too strict: our hypothesis is that in some cases it is possible to provide the necessary safety evidence. Our goal is to prove this hypothesis. To achieve this overall goal, the RoboSAPIENS projectFootnote 2 will extend the state-of-the-art by pursuing four main objectives:

  1. 1. Enable robotic open-ended self-adaptation in response to unprecedented system structural and environmental changes;

  2. 2. Advance safety-engineering techniques to assure robotic safety not only before but also during and after adaptation;

  3. 3. Advance deep learning (DL) techniques to actively reduce uncertainty in robotic self-adaptation;

  4. 4. Assure trustworthiness of systems that use both deep-learning and computational architectures for robotic self-adaptation.

To achieve these objectives, RoboSAPIENS will extend techniques such as MAPE-K (Monitor, Analyse, Plan, Execute, Knowledge) (Kephart and Chess Reference Kephart and Chess2003) (see Figure 1) and DL to set up generic adaptation procedures, including also for the social sciences and humanities (SSH) dimension of a robotic system. RoboSAPIENS will demonstrate a novel approach to trustworthy robotic self-adaptation on four industry-scale use cases: an industrial disassembly robot, a warehouse robotic swarm, a prolonged hull of an autonomous vessel and an application that requires interaction between humans and robots.

Figure 1. MAPE-K loop in an autonomic element.

This article is a first response to the question: “How to ensure safety of learning-enabled cyber-physical systems?” (Paoletti and Woodcock Reference Paoletti and Woodcock2023). This is accomplished by (see Figure 2): (1) adding an additional Legitimate step (validate and verify) of the safety of the suggested plan in a MAPE-K context (to become MAPLE-K); (2) adding a run-time trustworthiness checker to the actual robotics controller; and (3) establishing “continous” communication between the autonomic manager and the physical robot.

Figure 2. RoboSAPIENS impact in yielding robotic systems with advanced capabilities.

After this introduction an overview of the envisaged RoboSAPIENS approach is presented. This is followed by a description of a small academic case study and four industrial scale case studies tested with the RoboSAPIENS technology. Finally, the paper is concluded with looking into what research will be conducted in the future in the framework of the RoboSAPIENS project.

The RoboSAPIENS approach

To reconcile the opposite requirements for open-ended self-adaptation on the one hand, and safe and trustworthy behaviour of robotic systems even in circumstances not considered at design time on the other, RoboSAPIENS will provide the following extensions to the MAPE-K loop (see Figure 2):

  1. (1) To “guarantee” the safety and trustworthiness of a self-adapting robot, RoboSAPIENS will add a Legitimate step (including validation and verification) to the MAPE-K loop (adjusting it to become a MAPLE-K loop)Footnote 3. After the Monitor has detected a change in the robot or its environment, after having Analysed it, and after having Planned possible adaptations, the new Legitimate step will validate and verify whether all expected functionality can still be met safely (under the explicit assumptions mentions and taking the uncertainties into account). This includes not only a priori defined performance expectations (such as, correct execution of tasks, accuracy, velocity, etc), but also safety and other trustworthiness requirements. For these validation and verification tasks, experiments need to be conducted. Therefore, RoboSAPIENS will rely on a digital twin capability to conduct virtual experiments, and on real experiments (semi-)automatically defined by the Legitimate step and conducted on the robot itself.

  2. (2) A second addition to achieve open-ended, safe and trustworthy self-adaptation, will be the MAPLE-K Trustworthiness Checker also explicitly checking the assumptions. Any interaction between the MAPLE-K Loop and the managed robot must pass via this checker, at least for changes initiated to reduce knowledge uncertainty. For example, the Analyser may not have sufficient data to conclude with certainty the cause of an anomaly. So, the MAPLE-K loop may request the robot to execute sufficiently exploratory experiments to enable further analysis of the assumed change. The execution of such experiments may only be done under safe conditions and the results from such experiment should be trustworthy as well. For example, in the ship motion prediction case study (see below), the ship needs to be driven in a zig-zag path, to gather sufficient data to perform the self-adaptation. Such experiment can only be conducted with sufficient clearance of nearby objects and structures. At first one may think that when a plan already has been verified in the Legitimate step there is no need to have such an additional trustworthiness checker but the assumptions taken into account in the Legitimate step could still be wrong. Thus, we have opted for including this because the knowledge about the situation the robot is in may be different than the perception reached from the sensors.

The MAPLE-K Trustworthiness Checker, therefore, contains a set of monitors to check whether elementary trustworthiness rules are respected under all circumstances, according to the domain’s trustworthiness requirements. One of the fundamental problems solved by the trustworthiness checker is: how can it be established that the relevant verification and validation activities have been carried out by the MAPLE-K Loop? For this purpose, the trustworthiness checker can rely on the partial observations of its interactions with the managed element, on historical data, on the use of models, as well as on the presentation of verification certificates. RoboSAPIENS will apply formal verification methods to accurately delineate the safe operation boundaries of the robot based on the readily available information. It is expected that this will be closely related to Run-Time Verification techniques (Falcone et al. Reference Falcone, Havelund and Reger2013).

  1. (3) To achieve true self-adaptation, i.e., to deal with a broad range of unforeseen environments and structural changes, RoboSAPIENS will rely on two complementary solutions. The first is DL as a powerful self-adaptation technique. This takes place in the Planner, and it is expected that it will open up a plethora of robot adaptation possibilities. Nevertheless, it remains possible that some of the proposed changes are disapproved by the Legitimate step or deemed not trustworthy by the MAPLE-K Trustworthiness Checker. Therefore RoboSAPIENS will foresee the possibility of manual version updates of the autonomic manager. Besides validation failures, this manual update can also be applied in case of updates to the Knowledge base (such as the addition of new robot or human models).

Trustworthiness and safety assurance

A key aspect in an autonomic manager is its knowledge about the managed element and the world. Based on that knowledge, the MAPE-K (or MAPLE-K) loop monitors the managed element and its environment, including humans, and, when an anomaly is detected, constructs and executes plans based on the data gathered about the anomaly. In Figure 2 our suggested adjustment is sketched where an additional step is included between the plan and the execute elements. This step is indicated as Legitimate and consider this extension of the conventional MAPE-K architecture.

Trustworthiness in the context of RoboSAPIENS refers to the degree to which robots featuring the MAPLE-K architecture are perceived as robust, safe and capable of performing tasks as expected during runtime. This includes their compliance to ethical or legal boundaries and their inability to cause harm to humans, living creatures or the environment. The concept entails the following aspects that will be integrated into the RoboSAPIENS’ MAPLE-K loop as internalised norms that are tightly linked to the ethics guidelines for trustworthy Artificial Intelligence (AI) of the European UnionFootnote 4. A second extension in our proposal is also visible in Figure 2 as a trustworthiness checker connected directly to the control software.

Levels of adaptivity

Robot self-adaptation has been thoroughly studied, with different techniques and processes proposed to calculate control actuation following changes in a robot’s environment, either predicted or monitored, to secure better customisation and performance. However, only a few attempts consider structural and functional changes, where functionality or hardware are upgraded or newly integrated (Alattas et al. Reference Alattas, Patel and Sobh2019; Silva et al. Reference Silva, Duarte, Correia, Oliveira and Christensen2016). Evolutionary robotics has been introduced as a discipline to design and study autonomous adaptive modular robots (Alattas et al. Reference Alattas, Patel and Sobh2019; Tolley et al. Reference Tolley, Hiller and Lipson2011). Structural and functional changes to the robot add an extra dimension to the design complexity of self-adaptive robots, so that the adaptation space can be exponential with respect to the size of the newly added functionality. This makes safety verification and validation immensely challenging (White et al. Reference White, Zykov, Bongard and Lipson2005; Auerbach et al. Reference Auerbach, Aydin, Maesani, Kornatowski, Cieslewski, Heitz, Fernando, Loshchilov, Daler and Floreano2014) and that is exactly what RoboSAPIENS targets to improve.

Correctness of techniques

Across Europe, there are significant efforts to adapt and enhance modern Software Engineering techniques to robotics (Cavalcanti et al. Reference Cavalcanti, Barnett, Baxter, Carvalho, Filho, Miyazawa, Ribeiro, Sampaio, Cavalcanti, Dongol, Hierons, Timmis and Woodcock2021), including the application of formal, mathematically based approaches (Luckcuck et al. Reference Luckcuck, Farrell, Dennis, Dixon and Fisher2019).

A key part of a robust software development is the adoption of a robust architecture (Ahmad and Babar Reference Ahmad and Babar2016). There are many more for robotic applications and many proposed architectures (Siciliano and Khatib Reference Siciliano and Khatib2016, Chap. 12). There are, however, no clear definitions of these architectures and certainly no formalisation. In terms of formal approaches, the focus is on specific aspects of a system or even of just a component: reaction, time, neural network, uncertainty, or planning, for instance. This is particularly true for the verification of neural networks including DL: the techniques and tools are concerned with proofs of properties defined with respect to mathematical definitions of the input or output space, rather than system-level properties.

For the MAPE-K architecture, probabilistic model checking based on Markov chains to capture knowledge has been extensively used to improve the Analysis and Knowledge components (Fang et al. Reference Fang, Calinescu, Paterson and Wilson2022). For runtime verification, where a software monitor is deployed that checks the system behaviour against a specification (Bartocci et al. Reference Bartocci, Deshmukh, Donzé, Fainekos, Maler, Nickovic, Sankaranarayanan, Bartocci and Falcone2018), a system approach is naturally adopted and can handle collections of adaptive systems (Calinescu et al. Reference Calinescu, Gerasimou, Banks, Egyed and Schaefer2015); existing work relies on the definition of mathematical models by hand and does not support for DL (Calisnescu et al. Reference Calisnescu, Ghezzi, Kwiatkowska and Mirandola2012). Formal techniques are popular in handling uncertainty (Hezavehi et al. Reference Hezavehi, Weyns, Avgeriou, Calinescu, Mirandola and Perez-Palacin2021). The approach presented in this paper makes use of formal techniques in order to ensure trustworthiness and safety concerns in the new L element of the suggested MAPLE-K approach.

Deep learning

Attempts to bridge the gap between perception and action have been made recently; active perception is a prominent example (Bajcsy et al. Reference Bajcsy, Aloimonos and Tsotsos2018; Tosidis et al. Reference Tosidis, Passalis and Tefas2022). DL is also gradually shifting away from the traditional static training paradigm and delving into continual learning (De Lange et al. Reference De Lange, Aljundi, Masana, Parisot, Jia, Leonardis, Slabaugh and Tuytelaars2021), wherein DL models are designed to be capable of adapting as they receive more training data.

Several difficulties arise in continual learning and adaptation setups, such as catastrophic forgetting (Kemker et al. Reference Kemker, McClure, Abitino, Hayes and Kanan2018), which can significantly deteriorate the performance of models if countermeasures are not taken. Anomaly detection methods (Pang et al. Reference Pang, Shen, Cao and Van Den Hengel2021), which are capable of identifying situations that have not been encountered in the past, have also seen significant advances. However, despite the progress in the aforementioned areas, little work has been done on developing complete self-adaptive pipelines on top of DL models, as also seen for traditional Machine Learning approaches (Saputri and Lee Reference Saputri and Lee2020). The approach presented in this article builds on the existing attempts of using DL in an autonomous robot setting without the need to re-certify the robot.

Active uncertainty reduction

Uncertainty quantification for DL models helps ensure their decisions’ trustworthiness. To this end, there are two mainstream approaches: Bayesian and ensemble-based (Abdar et al. Reference Abdar, Pourpanah, Hussain, Rezazadegan, Liu, Ghavamzadeh, Fieguth, Cao, Khosravi, Acharya, Makarenkov and Nahavandi2021), which have been applied to various tasks, e.g., medical imaging and natural language processing. Related to self-adaptive systems, recent works (Catak et al. Reference Catak, Yue and Ali2021, Reference Catak, Yue and Ali2022) propose a novel uncertainty quantification metric for DL models specifically trained for object detection in the context of self-driving cars. This metric was used to quantify the uncertainty in a DL model to evaluate the prediction’s reliability, which was then improved by retraining. These works focus on classification tasks and have not been used to quantify the uncertainty of embedded DL models in self-adaptive systems. Instead, the data produced was used to train DL models for uncertainty quantification. In the RoboSAPIENS approach, it is targeted to provide “guarantees” in the presence of uncertainties and propose methodologies for actively trying to reduce uncertainty and increase trustworthiness. This is to be used both inside the L part of the MAPLE-K loop, as well as inside the Trustworthiness checker.

The RoboSAPIENS case studies

This section starts with introducing an academic case study to demonstrate the proof of concept of the RoboSAPIENS approach. Afterwards, four industrial-scale case studies from RoboSAPIENS are described.

An academic case study

A small academic case study based on a TurtleBot 4 has been defined. This will be used to illustrate the different RoboSAPIENS technologies as it is being developed and to be used in subsequent publications.

TurtleBot 4 is an open-source robotics platform designed for education and research. It comes equipped with an iRobot® Create3 mobile base, a Raspberry Pi 4 running ROS 2, an OAK-D spatial AI stereo camera and a 2D LiDAR.

The robot, without any support from the MAPLE-K, should be able to autonomously navigate an unknown map using simultaneous localisation and mapping (SLAM) and a planner (referred to as the local planner to distinguish from the MAPLE-K Loop planner). Additionally, it must estimate the remaining useful life of the battery, assuming that the map floor is uniform.

With RoboSAPIENS technology, the aim is to demonstrate how this navigation can be improved for example to handle the following anomalies:

  • Non-uniform floors, which cause the robot to consume more energy in certain areas.

  • Partial obstruction of the LIDAR sensor.

  • High vibration zones that should be avoided when the robot is carrying a load (to be implemented later as a demonstration of MAPLE-K continuous delivery).

To achieve these improvements, RoboSAPIENS will implement a MAPLE-K loop that complements the robot’s local planner through multiple extension points. For example, rewards and punishments can be provided to influence the local planner’s decision-making. Additionally, the sensor data accessible to the local planner can be modified by the MAPLE-K loop to enhance map information.

Regarding trustworthiness and safety, RoboSAPIENS envisions conducting formal verification on the local planner offline, covering a wide range of operational scenarios (though not necessarily the adaptations provided by the MAPLE-K loop). This verification will serve as the foundation for runtime verification during the validation of MAPLE-K loop activities. The trustworthiness checker will ensure that the MAPLE-K adheres to the best practices of mobile robots, and the legitimate block will employ simulation and model checking for validating new robot configurations.

Robotic remanufacturing

This case study, provided by the Danish Technological Institute (DTI), focuses on the remanufacturing process, where used products are repaired and restored to a like-new condition, maintaining the same quality, performance and warranty. The remanufacturing process involves six steps: disassembly, cleaning, inspection, restoration, reassembly and testing. This study emphasises the disassembly task, which is often the most time-consuming and labor-intensive phase. Traditionally, manual work is required for complex disassembly tasks involving high levels of uncertainty (Vongbunyong et al. Reference Vongbunyong, Kara and Pagnucco2013). Tasks such as unscrewing, un-snap fitting and destructive disassembly demand precision and adaptive control. While collaborative robots can be programmed by demonstration, their effectiveness highly depends on the task type and the expertise of the demonstrator. These robots are efficient for repetitive tasks but struggle with tasks requiring force-based control to compensate for inaccuracies.

The RoboSAPIENS project aims to bridge the gap between labor-intensive remanufacturing and adaptable robotic automation using the MAPLE-K framework. This technology enables robots to adapt to new and unforeseen situations while ensuring safety and trustworthiness.

In this context, the MAPLE-K framework is employed to enhance the adaptability and efficiency of robotic disassembly. The robot continuously monitors its environment and the state of the disassembly process using sensors and cameras. Upon detecting an anomaly, such as a difficult-to-remove screw, the system analyses the situation to determine the cause of the failure, leveraging historical data and real-time sensor inputs. Based on this analysis, the robot formulates a new plan to address the detected issue, such as switching tools or adjusting its force application strategy.

Before executing the new plan, the system validates and verifies it through simulations. This step ensures that the new plan will not compromise safety or performance. The validated plan is then executed by the robot, which adapts its behaviour in real-time to successfully complete the disassembly task, maintaining overall efficiency and safety. The outcomes of the executed plan are recorded and added to the system’s knowledge base, enhancing future adaptations and sharing knowledge across different robots to improve their performance.

A demonstration of this use case will be set up at DTI’s lab, involving a robot cell designed to disassemble electronic consumer waste, such as laptops. The demonstration will showcase the robot’s ability to handle complex manipulations and adapt to unforeseen challenges using the MAPLE-K framework.

Autonomous mobile robots on manufacturing floor

Automated-guided vehicles (AGVs) operating on shop floors are ad-hoc machines that require specific distribution and means of transport. Advancement towards Industry 4.0, however, calls for the use of autonomous mobile robots (AMRs), a more versatile and affordable option than AGVs, consisting of robots equipped with a mobile base and even robotic arms, allowing them to autonomously navigate and perform dexterous tasks without the support of additional physical equipment. It is envisioned that these robots will be deployed as a fleet on the shop floor, able to navigate freely and safely, while taking into account changes in the fleet and the surroundings (e.g. change to the number of robots and blockages by humans) based on self and environmental awareness. RoboSAPIENS will provide a solution to dynamically adapt the work assigned to each member of the fleet and the navigation through paths when such changes occur. Such adaptation will take dynamic parameters into account, such as disconnected robots, battery status, proximity to goals, past human behaviour, etc.

The case study will use a fleet of robots from the TIAGo family developed by PAL Robotics, the TIAGo OMNI Base. This mobile base is equipped with omnidirectional mecanum wheels that allow the robot to move in any direction, two LIDAR sensors for an unobstructed 360º FOV and 2 depth camera to complement the other sensors and detect stairs, tables, etc. The scenario involve these robots set in a shop floor, controlled via a fleet management system. During their operation, one or more robots may come and go (e.g. due to low battery), communication between robots and the fleet management may drop, emergency exits may be blocked (due to stopped or malfunctioning robots cutting supply chains and endangering humans), or the floor plan itself may change.

Such anomalies will trigger the MAPLE-K at the fleet level, and the state of the fleet and the environment will be re-evaluated. The TIAGo robots are capable of SLAM, and their sensor readings are used to update the map and inform the fleet manager. The planning phase is carried out by adopting a genetic algorithm to reschedule tasks and paths of the robots. After the system is validated through simulation, and the self-adaptation process is deemed trustworthy, the model is deployed to the fleet manager.

At the robot level another MAPLE-K loop will be integrated. It will be a human tracker based on the sensing capabilities of the robot platform. The robot will be able to adapt its path and avoid humans at a socially acceptable distance while keeping track of the uncertainty of the human switching predicted path and crossing the robot planned path. Via RoboSAPIENS legitimate capability the new plan is then assessed and if it is decided as trustworthy, the updated path is then executed by the TIAGo OMNI base.

Autonomous ship motion prediction

Estimating the motion of a ship in the immediate future, either from a dynamic model, or a data-driven one using adequate historical data, could support autopilots and thus improve the safety of autonomous ships. However, deploying the prediction system to new ships without sufficient prior knowledge of their dynamic behaviour deteriorates navigation capability, especially in the presence of environmental uncertainties such as wind, currents and waves. Identifying model parameters via sea trials or collecting the needed data for ship motion modelling will take a relatively long time. In this case study, RoboSAPIENS leverages the dynamic model from a reference ship and the limited available data from the target ship to build up a transferrable model that can represent the target ship motion.

RoboSAPIENS will use the Norwegian University of Science and Technology (NTNU)’s Gunnerus research vessel as a case study. Gunnerus has gone through a thruster refit in 2015 and been extended by 5m in length in 2018. While there is a high-precision dynamic model of the original vessel, it cannot directly be used for the longer vessel, for which there are limited data available. In such a context, three objectives are considered in this case study, from dynamic system identification, to transfer learning of identified systems, to online model adaptation. RoboSAPIENS will first obtain a rough dynamic model of the longer vessel based on the dynamic model of the original vessel and then apply DL to the longer vessel, by combining the rough dynamic model with the limited real-motion data to generate a ship predictor.

In the MAPLE-K loop, a motion calibrator will be created based on the motion discrepancy from the hybrid predictor and real data and further incorporated into that predictor for motion prediction. When the ship’s motion predictor underperforms a monitor is triggered. Data is recorded from the trigger time to a predefined later time for generation of a new dataset in runtime, at the aims of analysing the main factor of prediction error in the analyse phase and updating the transferred prediction model trained using DL in the plan phase. If a better prediction performance is validated via RoboSAPIENS legitimate capability and it is deemed trustworthy, the updated model is deployed and executed, otherwise the system goes back to the plan phase. RoboSAPIENS will investigate what a suitable amount of data is needed for the transferable model, the impact on the prediction performance and the generalisation of the transfer modelling.

Dynamic risk model for cobots in industry 4.0

Risk assessment is a mandatory procedure in human–robot interaction for cobots. It is an iterative process that systematically identifies hazards and specifies measures to reduce these hazards’ probability. The procedure and requirements are specified in the Machinery Directive 2006/42/EC and harmonised safety standards.

The current manually operated and strongly heuristic practice contradicts the paradigm of Industry 4.0. Ignoring data during the risk assessment leads to a loss of efficiency in safety engineering and, most importantly, an unnecessarily decreased robot productivity. This is particularly evident in production systems featuring human–robot collaboration, where people and machines work closely together. In this case study, RoboSAPIENS will use system and sensor data in a dynamic human–robot safety model to automatically and continuously assess the risk, to improve the overall production system’s efficiency and to significantly reduce the costs associated with risk assessment.

An experimental production line will serve to test the benefits of the MAPLE-K loop technology in an industrial setting. The production line includes human workers, mobile platforms, a collaborative robot and various safety sensors that monitor positions, movements and states of human workers. The data from the safety sensors and the digital twins of the robots will be continuously analysed for incomplete data and changes, such as those that can occur when a human abruptly moves in another direction. In case of such abnormalities, the robots’ motions and activities will be newly planned. The planning result will then be legitimated in simulations under worst-case conditions. Once this part of the MAPLE-K loop has evidently concluded that the newly planned robot motions will not lead to obvious or additional health risks, the new plan will be transmitted to the production line’ management system and there executed if the Trustworthiness Checker confirms that all requirements from applicable standards, laws and other rules are fulfilled.

Thanks to RoboSAPIENS technology based on the MAPLE-K loop architecture, a dynamic risk management will be realised for a production system that includes multiple robots and, of course, freely-moving humans. Whenever a deviation from original assumptions or even abnormalities is detected, the production system will automatically adapt by itself to mitigate current risks. Only if any self-adaptation is deemed trustworthy, the production system will finally implement and execute the measures planned.

Concluding remarks and future work

We believe that RoboSAPIENS to a large extent is set up to answer the research question ‘How to ensure safety of learning-enabled cyber-physical systems?” asked in the Cambridge University Press journal called “Research Directions: Cyber-Physical Systems”. The RoboSAPIENS focus is naturally autonomous robots but it is expected that some of the research results that will be delivered will be of more general nature. The expectation is that more detailed publications will be published for the RoboSAPIENS technology, initially using the academic case study. Subsequently, it is expected that the usefulness of the conducted research will be demonstrated in the four industrial-scale case studies and separate publications will be made for each of these. We believe that each of these publications will be submitted as follow up papers to the same question.

Data availability statement

Data availability is not applicable to this article as no new data were created or analysed in this study. In the future, we expect to use the open data principles in follow-up publications.

Acknowledgement

We would like to thank all the researchers and collaborators of the RoboSAPIENS project, who are making the vision expressed here a reality.

Author contribution

Peter Gorm Larsen is the overall coordinator of the RoboSAPIENS project and he has written the majority of the article here. All the other co-authors have taken an active role in the writing of the RoboSAPIENS proposal and have provided constructive comments and improvements of drafts of the article.

Financial support

The work presented here is partially supported by the RoboSAPIENS project funded by the European Commission’s Horizon Europe programme under grant agreement number 101133807. The work of Ana Cavalcanti is funded by the UKRI (UK Research and Innovation Council) under Grants No EP/R025479/1 and EP/V026801/1 and by the Royal Academy of Engineering under Grant No CiET1718/45.

Competing interests

None.

Ethics statement

Ethical approval and consent are not relevant to this article type.

Footnotes

2 The RoboSAPIENS project started January 2024 so, naturally, there are not many research results to report here. Instead this is an illustration for what to do enable the desired level of autonomy for robots while keeping the overall safety.

3 The reason for writing “guarantee” in quotes is that there are various single point of failure situations that we cannot solve with the RoboSAPIENS solution, since if the sensors provide wrong information the perception will be incorrect.

References

Connections references

Paoletti, N and Woodcock, J (2023) How to ensure safety of learning-enabled cyber-physical systems? Research Directions: Cyber-Physical Systems. 1, e2. https://doi.org/10.1017/cbp.2023.2.CrossRefGoogle Scholar

References

Abdar, M, Pourpanah, F, Hussain, S, Rezazadegan, D, Liu, L, Ghavamzadeh, M, Fieguth, P, Cao, X, Khosravi, A, Acharya, UR, Makarenkov, V and Nahavandi, S (2021) A review of uncertainty quantification in deep learning: Techniques, applications and challenges. Information Fusion 76, 243297. https://doi.org/10.1016/j.inffus.2021.05.008.CrossRefGoogle Scholar
Ahmad, A and Babar, MA (2016) Software architectures for robotic systems: A systematic mapping study. Journal of Systems and Software 122, 1639.CrossRefGoogle Scholar
Alattas, RJ, Patel, S and Sobh, TM (2019) Evolutionary modular robotics: Survey and analysis. Journal of Intelligent & Robotic Systems 95(3), 815828.CrossRefGoogle Scholar
Auerbach, J, Aydin, D, Maesani, A, Kornatowski, P, Cieslewski, T, Heitz, G, Fernando, P, Loshchilov, I, Daler, L and Floreano, D (2014) Robogen: Robot generation through artificial evolution. In ALIFE 14: The Fourteenth International Conference on the Synthesis and Simulation of Living Systems. MIT Press, pp. 136–137.Google Scholar
Bajcsy, R, Aloimonos, Y and Tsotsos, JK (2018) Revisiting active perception. Autonomous Robots 42(2), 177196.CrossRefGoogle ScholarPubMed
Bartocci, E, Deshmukh, JV, Donzé, A, Fainekos, GE, Maler, O, Nickovic, D and Sankaranarayanan, S (2018) Specification-based monitoring of cyber-physical systems: A survey on theory, tools and applications. In Bartocci, E and Falcone, Y (eds), Lectures on Runtime Verification — Introductory and Advanced Topics, vol. 10457. Lecture Notes in Computer Science. Springer, pp. 135175.CrossRefGoogle Scholar
Calinescu, R, Gerasimou, S and Banks, A (2015) Self-adaptive software with decentralised control loops. In Egyed, A and Schaefer, I, Fundamental Approaches to Software Engineering. Springer Berlin Heidelberg, pp. 235251.CrossRefGoogle Scholar
Calisnescu, R, Ghezzi, C, Kwiatkowska, M and Mirandola, R (2012) Self-adaptive software needs quantitative verification at runtime. Communications of ACM 55(9), 6977.CrossRefGoogle Scholar
Catak, FO, Yue, T and Ali, S (2021) Prediction surface uncertainty quantification in object detection models for autonomous driving. In 2021 IEEE International Conference on Artificial Intelligence Testing (AITest), pp. 93–100. https://doi.org/10.1109/AITEST52744.2021.00027.CrossRefGoogle Scholar
Catak, FO, Yue, T and Ali, S (2022) Uncertainty-aware prediction validator in deep learning models for cyber-physical system data. ACM Transactions on Software Engineering and Methodology (TOSEM) 31(4), 131.CrossRefGoogle Scholar
Cavalcanti, A, Barnett, W, Baxter, J, Carvalho, G, Filho, MC, Miyazawa, A, Ribeiro, P and Sampaio, A (2021) Robostar technology: A roboticist’s toolbox for combined proof, simulation, and testing. In Cavalcanti, ALC, Dongol, B, Hierons, R, Timmis, J and Woodcock, JCP (eds), Software Engineering for Robotics. Springer International Publishing, pp. 249293. https://doi.org/10.1007/978-3-030-66494-7_9.CrossRefGoogle Scholar
De Lange, M, Aljundi, R, Masana, M, Parisot, S, Jia, X, Leonardis, A, Slabaugh, G and Tuytelaars, T (2021) A continual learning survey: Defying forgetting in classification tasks. IEEE Transactions on Pattern Analysis and Machine Intelligence 44(7), 33663385.Google Scholar
Falcone, Y, Havelund, K and Reger, G (2013) A tutorial on runtime verification. Engineering Dependable Software Systems 34, 141175.Google Scholar
Fang, X, Calinescu, R, Paterson, C and Wilson, J (2022) Presto: Predicting system-level disruptions through parametric model checking. In 2022 International Symposium on Software Engineering for Adaptive and Self-Managing Systems (SEAMS), pp. 91–97. https://doi.org/10.1145/3524844.3528059.CrossRefGoogle Scholar
Hezavehi, SM, Weyns, D, Avgeriou, P, Calinescu, R, Mirandola, R and Perez-Palacin, D (2021) Uncertainty in self-adaptive systems: A research community perspective. ACM Transactions on Autonomous and Adaptive Systems 15(4), 136.CrossRefGoogle Scholar
Kemker, R, McClure, M, Abitino, A, Hayes, T and Kanan, C (2018) Measuring catastrophic forgetting in neural networks. In Proceedings of the AAAI Conference on Artificial Intelligence, vol. 32(1).CrossRefGoogle Scholar
Kephart, JO and Chess, DM (2003) The vision of autonomic computing. Computer 36(1), 4150.CrossRefGoogle Scholar
Luckcuck, M, Farrell, M, Dennis, LA, Dixon, C and Fisher, M (2019) Formal specification and verification of autonomous robotic systems: A survey. ACM Computing Surveys 52(5), 141.CrossRefGoogle Scholar
Pang, G, Shen, C, Cao, L and Van Den Hengel, A (2021) Deep learning for anomaly detection: A review. ACM Computing Surveys (CSUR) 54(2), 138.CrossRefGoogle Scholar
Paoletti, N and Woodcock, J (2023) How to ensure safety of learning-enabled cyber-physical systems? Research Directions: Cyber-Physical Systems 1, e2. https://doi.org/10.1017/cbp.2023.2.Google Scholar
Saputri, TRD and Lee, S-W (2020) The application of machine learning in self-adaptive systems: A systematic literature review. IEEE Access 8, 205948205967.CrossRefGoogle Scholar
Siciliano, B and Khatib, O (eds) (2016) Springer Handbook of Robotics. Springer Handbooks. Springer.CrossRefGoogle Scholar
Silva, F, Duarte, M, Correia, L, Oliveira, SM and Christensen, AL (2016) Open issues in evolutionary robotics. Evolutionary Computation 24(2), 205236.CrossRefGoogle ScholarPubMed
Tolley, MT, Hiller, JD and Lipson, H (2011) Evolutionary design and assembly planning for stochastic modular robots. In New Horizons in Evolutionary Robotics. Springer, pp. 211–225.CrossRefGoogle Scholar
Tosidis, P, Passalis, N and Tefas, A (2022) Active vision control policies for face recognition using deep reinforcement learning. In 2022 30th European Signal Processing Conference (EUSIPCO), Belgrade, Serbia.CrossRefGoogle Scholar
Vongbunyong, S, Kara, S and Pagnucco, M (2013) Application of cognitive robotics in disassembly of products. CIRP Annals 62(1), 3134.CrossRefGoogle Scholar
White, P, Zykov, V, Bongard, JC and Lipson, H (2005) Three dimensional stochastic reconfiguration of modular robots. In Robotics: Science and Systems. Citeseer, pp. 161–168.CrossRefGoogle Scholar
Figure 0

Figure 1. MAPE-K loop in an autonomic element.

Figure 1

Figure 2. RoboSAPIENS impact in yielding robotic systems with advanced capabilities.

Author comment: Robotic Safe Adaptation In Unprecedented Situations: The RoboSAPIENS Project — R0/PR1

Comments

No accompanying comment.

Review: Robotic Safe Adaptation In Unprecedented Situations: The RoboSAPIENS Project — R0/PR2

Comments

This paper introduces the RoboSAPIENS project, which aims to provide safe adaption solutions under uncertainty. In other words, the often unavoidable adaptations of robots should not be just a recovery into a degraded functionality but instead the robot must stay trustworthy.

The paper is well written and the objectives of the project are clear.

Instead, it is not clear the status of the project. It would be useful to describe the status and to refer also to additional material if available. The paper seems to just define the research directions, without even explaining in details how the authors plan to achieve the objectives of the project. The overall picture of the project is clear, but it is not clear how the authors plan to achieve the results. Large part of the paper describes a number of case studies, that are interesting for the project but do not add much to the reader. This part of the paper can be shortened and then the authors may have more space to describe the techniques the plan to use, and provide more details concerning the solution, which at moment is just Figure 2 and a brief description of it.

Since the contribution of the paper concerns RoboSAPIENS, Figure 2 should not be introduced in the background section. This creates confusion to the reader. The background section can be reduced since it introduces concepts and notions that are not used and needed in the current version of the work. For instance, Levels of Adaptivity, DL or Active Uncertainty Reduction do not seem to be used later in the paper. The background section should introduce all and only the information that are needed in the paper.

The second extension proposed in the project is the MAPE-K trustworthiness checker (as it is called in Figure 2), which should be deployed within the robot. The first time it is introduced, it should be made clear why there is the need of this layer and it is not enough to have the legitimate phase. What's the main focus of this checker? Do this check and the Legitimate step use the same techniques or are they different? Do they check the same properties or do they focus on different aspects? It is somehow explained later, but it should be made clear from the first time the figure is introduced.

A second aspect, concern the fact that this checker focuses on the MAPE-K loop and not to the MAPLE-K loop. This is not clear since once the autonomic manager is extended with the new Legitimate step, it becomes the MAPLE-K loop. Later, in fact, it is called MAPLE-K Trustworthiness Checker. Please, be coherent.

The new step in the MAPE-K loop is called legitimate or legitimise? Please, be coherent.

It would important to identify and discuss the limitations of the RoboSAPIENS project. For instance, both the Legitimise step and the MAPLE-K Trustworthiness Checker use the same sensors and information of the robot. So, they suffer of this limitation, for instance. Since the paper focus on trustworthiness, it is important to exactly explain also what the approach is not able to guarantee. In seems that there are various single point of failure situations that are unsolved by the RoboSAPIENS solution.

Not sure exiciting is the perfect adjective for experiments the robot should make to collect additional and needed information.

Presentation

Overall score 3 out of 5
Is the article written in clear and proper English? (30%)
5 out of 5
Is the data presented in the most useful manner? (40%)
2 out of 5
Does the paper cite relevant and related articles appropriately? (30%)
3 out of 5

Context

Overall score 5 out of 5
Does the title suitably represent the article? (25%)
5 out of 5
Does the abstract correctly embody the content of the article? (25%)
5 out of 5
Does the introduction give appropriate context and indicate the relevance of the results to the question or hypothesis under consideration? (25%)
5 out of 5
Is the objective of the experiment clearly defined? (25%)
5 out of 5

Results

Overall score 1 out of 5
Is sufficient detail provided to allow replication of the study? (50%)
1 out of 5
Are the limitations of the experiment as well as the contributions of the results clearly outlined? (50%)
1 out of 5

Review: Robotic Safe Adaptation In Unprecedented Situations: The RoboSAPIENS Project — R0/PR3

Comments

The authors describe a European project that started at the beginning of 2024. I expect that the content of the article derives from the project proposal, which by itself it's not a problem. Yet, the review format of this journal has questions that are meant for scientific articles, expecting experimental results which this article lacks, as it gives an overview of the work to be done. Nonetheless, the main ideas of the project (i.e., expanding the MAPE-K loop to make the system more robust and resilient, adding two components: a Leverage module on the manager side and a Trustworthiness Checker on the robotic side) are introduced with clarity and seem sensible ideas worth pursuing (which is confirmed by the acceptance of the project). I also like that the authors envision a research/publication path along the 5 use cases they present, trying to answer the same scientific question in 5 different contexts.

Therefore, the article seems out-of-scope for the journal, although I like the idea of presenting the project and laying out a path. I suggest focusing more on the core contribution of the project (the MAPLE-K loop) with possible concrete examples, and less details on the use cases and related works which are suitable for a proposal but disproportionate to the scientific contribution.

Nonetheless, if the editor agrees on this kind of content, I would not complain, as the authors are very transparent in their contribution.

Presentation

Overall score 3 out of 5
Is the article written in clear and proper English? (30%)
5 out of 5
Is the data presented in the most useful manner? (40%)
3 out of 5
Does the paper cite relevant and related articles appropriately? (30%)
3 out of 5

Context

Overall score 4 out of 5
Does the title suitably represent the article? (25%)
5 out of 5
Does the abstract correctly embody the content of the article? (25%)
4 out of 5
Does the introduction give appropriate context and indicate the relevance of the results to the question or hypothesis under consideration? (25%)
4 out of 5
Is the objective of the experiment clearly defined? (25%)
3 out of 5

Results

Overall score 3 out of 5
Is sufficient detail provided to allow replication of the study? (50%)
3 out of 5
Are the limitations of the experiment as well as the contributions of the results clearly outlined? (50%)
3 out of 5

Decision: Robotic Safe Adaptation In Unprecedented Situations: The RoboSAPIENS Project — R0/PR4

Comments

No accompanying comment.

Author comment: Robotic Safe Adaptation In Unprecedented Situations: The RoboSAPIENS Project — R1/PR5

Comments

No accompanying comment.

Decision: Robotic Safe Adaptation In Unprecedented Situations: The RoboSAPIENS Project — R1/PR6

Comments

No accompanying comment.