<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta>
      <issn pub-type="ppub">1613-0073</issn>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>Sys-Self, Systems That Know What They Are (Doing): Extended Abstract</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Esther Aguado</string-name>
          <email>e.aguado@upm.es</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Claudio Rossi</string-name>
          <email>claudio.rossi@upm.es</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Ricardo Sanz</string-name>
          <email>ricardo.sanz@upm.es</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Universidad Politécnica de Madrid, c/ José Gutierrez Abascal 2</institution>
          ,
          <addr-line>28006 Madrid</addr-line>
          ,
          <country country="ES">Spain</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Autonomous robots are used in a variety of tasks and context; however, there are still issues with their performance and reliability in real-world scenarios. This research focuses on the use of declarative knowledge to improve the dependability of robots in complex, dynamic environments. We propose to leverage Model-Based Systems Engineering through ontologies so that systems can flexibly respond to unexpected situations while maintaining performance standards. Moreover, to enhance reusability and granularity, we rely on formal conceptualizations based on Category Theory. This integration of knowledge representation and mathematical models seeks to aid decision-making to adapt robot behavior in the presence of contingencies.</p>
      </abstract>
      <kwd-group>
        <kwd>dependability</kwd>
        <kwd>knowledge representation and reasoning</kwd>
        <kwd>category theory</kwd>
        <kwd>model-based systems engineering</kwd>
        <kwd>robot</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>CEUR
ceur-ws.org</p>
    </sec>
    <sec id="sec-2">
      <title>1. Introduction</title>
      <p>Autonomous robots have revolutionized various domains by performing complex tasks with
endless possibilities. However, there are still open issues in dependability and trust. To ensure
successful deployment in unstructured, real-world scenarios, robots require a better
understanding of their environment and the tools to act and react properly, even in the presence of high
uncertainty.</p>
      <p>
        This research focuses on using declarative knowledge to represent and reason about the
cross-cutting elements of the robot, such as its mission, its design, and its operation in open
environments. By exploiting this information at runtime, robots can adapt their structure and
replan actions to keep pursuing their goals, even in unexpected situations. Ontologies are used
at runtime to ensure mission fulfillment within expected performance, thereby increasing robot
lfexibility, explainability, and eficacy.
and Automation [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] or the Ontology for Autonomous Robotics [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], more complete formalisms
are needed to enable operationalization in complex environments. Model-Based Systems
Engineering (MBSE) is a promising methodology that utilizes system representation throughout
the entire system lifecycle, facilitating automated module production and enabling functional
FOIS 2023 Early Career Symposium (ECS), held at FOIS 2023, co-located with 9th Joint Ontology Workshops (JOWO
CEUR
Workshop
Proceedings
reliability and adaptive resilience. This approach has gained traction in robotics engineering
due to the critical role that models play in robot design, enabling the achievement of holistic
properties such as functional reliability and adaptive resilience while facilitating automated
module production. However, to support the deployment of autonomous robots in real-world
scenarios, a deeper understanding is needed beyond the engineering phase. We propose the
use of formal conceptualizations leveraging Category Theory as a mathematical framework to
describe abstractions and produce accurate robot models.
      </p>
      <p>The combination of knowledge representation and reasoning with abstract mathematical
system models based on Category Theory (CT) can significantly enhance the performance,
dependability, and trustworthiness of autonomous robots. Using ontologies at runtime allows
the robot to reason about the system, its environment, and its behavior, so it has a better
comprehension of the situation it faces. This helps the autonomous robot to make more
informed decisions. The categorical theoretical model provides a formal foundation to ensure
consistency along the changes that the knowledge base, or the system itself, can sufer during
robot operation. This can aid in the accuracy and reliability of the system as it strives for the
system to behave as expected.</p>
    </sec>
    <sec id="sec-3">
      <title>2. Motivation</title>
      <p>Robotics has shown enormous possibilities in a variety of tasks and environments. However,
there are still open issues that compromise the dependability of autonomous robots. Our
motivation stems from the challenges of bridging the reality gap between robots used in
controlled environments and their deployment in unstructured, real-world scenarios. To enable
successful deployment in such scenarios, it is essential to equip robots with the necessary
tools to act and react properly to undesired events with high uncertainty. To overcome these
challenges, we shall endow the robot with a better understanding about what is happening,
what capabilities the robot has and what tools the robot can use to reach its goals. Our research
studies the hypothetical benefits of (i) formalizing system models -including both software and
hardware- and (ii) exploiting such models at runtime. These models can potentially improve
robot awareness, increasing explainability and resiliency towards unexpected contingencies.</p>
    </sec>
    <sec id="sec-4">
      <title>3. Research Questions</title>
      <p>We aim to use robust models at runtime as a tool to deliver a better understanding of the
situation and react properly in unstructured environments. This can be condensed as the
research question:
“Is it possible to enhance robot’s understanding—about itself, its mission and its
environment—from a systemic perspective?”</p>
      <p>As our approach is motivated by system models and mathematical abstract formalisms, the
following question arises:
“Does system models increase robot dependability, i.e., its ability to fulfill user needs, in
complex missions and/or in presence of contingencies?”</p>
      <p>Lastly, as we envision knowledge representation and reasoning as a way to leverage explicit
engineering knowledge during robot operation, we question its impact on robot performance:
“How ontological reasoning about complex system models afect robot decision-making?”</p>
    </sec>
    <sec id="sec-5">
      <title>4. Objectives</title>
      <p>The aforementioned research questions can be translated into specific objectives to create a
software asset that can be used at runtime and is based on a CT-grounded abstract formalism:
• Analyze existing approaches for system modeling and knowledge-driven robots.
• Explore the relation between self-awareness and models.
• Formally define constituents of robot operation and its relationships in an abstract
mathematical model, e.g., mission, design, behavior, perception, actuation, environment, etc.
• Develop a layered ontology based on robot formal models.
• Build reusable software assets that exploit robot ontologies at runtime.
• Demonstrate the validity of the approach at least in three robotic deployments, including
simulated and real robots.</p>
    </sec>
    <sec id="sec-6">
      <title>5. Research Methodology</title>
      <p>Given the multidisciplinary approach in this work and the desire to obtain generality without
losing sight of the engineering application, we follow a mixed methodology between the
scientific method and the engineering process. First, we follow a preliminary analysis phase to
characterize the problem, identify existing approaches, and identify key issues, research areas,
and technologies of potential relevance. This study allows us to establish the design principles
for Formal System Model. This model shall be refined into several applications to prove its
applicability to diferent robot contexts and its reusability. We shall use testbeds to validate the
research conducted in both simulated and real robot deployments.</p>
      <p>As this research focuses on several fields, there is no common solid mainstream ground to
depart from. To guarantee a steady progress, we follow the snowflake methodology , in which we
start with a simplistic approach to the analysis-development-validation process and iterate over
it to add complexity and generality. Some important milestones in our approach upon which
we iterate are (i) the formalization of robot concepts in an abstract mathematical framework,
(ii) the grounding of models in ontologies to exploit them at runtime, and (iii) the evaluation of
how runtime reasoning impacts robot performance, fault tolerance, and explainability.</p>
    </sec>
    <sec id="sec-7">
      <title>6. Research Results to Date</title>
      <p>This section aims to provide a clear and concise summary of the research conducted. In a broad
sense, it establishes a landscape on how ontologies can be formalized by category theory to
provide reusable software assets to increase robot dependability.</p>
      <p>
        We conducted a systematic review of ontology-enabled processes for trustworthy robot
autonomy [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. From it, we determined that conceptualization provides robots with a
powerful tool towards achieving robustness and resiliency. However, most frameworks that use
ontologies at runtime do not include full explicit engineering knowledge about the robot or its
mission (information about robot components and their interaction, design requirements, and
alternatives that the robot can use to explain its decisions or adapt to the situation). Robots are
far from meeting user and owner expectations, especially in terms of dependability, eficiency,
and eficacy. For example, robot models could include user phenomenological aspects, required
safety levels, or energy thresholds that make a task unprofitable.
      </p>
      <p>
        Following the ontological approach, we extended the Teleological and Ontological Model for
Autonomous Systems (TOMASys) framework, a meta-model developed to provide concepts
for modeling the functional knowledge of autonomous systems. This work aims to reuse
system models on a variety of deployments. In particular, we applied this approach to an
underwater robot [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], a miner robot [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ], and a mobile robot in a university setting [
        <xref ref-type="bibr" rid="ref6 ref7">6, 7</xref>
        ]. We
measured its impact in robot performance but found some limitations on OWL description
logic’s expressiveness and scalability.
      </p>
      <p>
        To overcome these issues, we propose the use of Category Theory (CT), a framework to
support system modeling and behavioral analysis for complex Systems of Systems (SoS). CT is a
general theory of mathematical structures. It was invented in the 1940s to unify and synthesize
diferent areas in mathematics [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]. It can be seen as a set of tools to describe general structures
and maintain control over which aspects are preserved when performing abstractions. This can
be especially useful in the context of robotics, where there may be many diferent components
that need to work together to achieve desired behavior. Using CT, we can represent the diferent
components and their relationships in a formal way, which can help us reason about the system
as a whole. As described by Schweiker in [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ], it is a natural framework for modeling and analysis
of systems.
      </p>
      <p>In conclusion, we believe that explicit formal knowledge can support autonomous robot
operation in unstructured environments and the necessary engineering processes. There are
still many open issues with respect to the reliability, safety, and explainability of meeting the
expectations of researchers and industry. However, the steps taken towards enhancing robot
autonomy using ontologies have proved how promising this approach is. Category theory
provides a neutral, universal framework to formally depict structure and behavior; to represent
and reason about complex systems with many interconnected components in an abstract sense.
Such formalization can increase ontological soundness and reusability, taking a further step
towards convergence and harmonization.</p>
    </sec>
    <sec id="sec-8">
      <title>Acknowledgments</title>
      <p>This work was partially supported by the ROBOMINERS project with funding from the European
Union’s Horizon 2020 Research and Innovation Programme (Grant Agreement No. 820971), by
the CORESENSE project with funding from the European Union’s Horizon Europe Research
and Innovation Programme (Grant Agreement No. 101070254), and by a grant from Programa
Propio of Universidad Politécnica de Madrid.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>IEEE</given-names>
            <surname>Std</surname>
          </string-name>
          1872
          <article-title>-2015, IEEE Standard Ontologies for Robotics and Automation</article-title>
          , IEEE Std 1872
          <article-title>-</article-title>
          <year>2015</year>
          (
          <year>2015</year>
          )
          <fpage>1</fpage>
          -
          <lpage>60</lpage>
          . doi:
          <volume>10</volume>
          .1109/IEEESTD.
          <year>2015</year>
          .
          <volume>7084073</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <surname>IEEE Std</surname>
          </string-name>
          <year>1872</year>
          .2
          <article-title>-2021, IEEE Standard for Autonomous Robotics (AuR) Ontology</article-title>
          ,
          <string-name>
            <surname>IEEE Std</surname>
          </string-name>
          <year>1872</year>
          .
          <fpage>2</fpage>
          -
          <lpage>2021</lpage>
          (
          <year>2022</year>
          )
          <fpage>1</fpage>
          -
          <lpage>49</lpage>
          . doi:
          <volume>10</volume>
          .1109/IEEESTD.
          <year>2022</year>
          .
          <volume>9774339</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>E.</given-names>
            <surname>Aguado</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Rossi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Sanz</surname>
          </string-name>
          ,
          <article-title>A survey of ontology-enabled processes for trustworthy robot autonomy</article-title>
          , ACM Computing Surveys, Special Issue on Trustworthy AI [Submitted] (
          <year>2022</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>E.</given-names>
            <surname>Aguado</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Milosevic</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Hernández</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Sanz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Garzon</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Bozhinoski</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Rossi</surname>
          </string-name>
          ,
          <article-title>Functional self-awareness and metacontrol for underwater robot autonomy</article-title>
          ,
          <source>Sensors</source>
          <volume>21</volume>
          (
          <year>2021</year>
          )
          <fpage>1</fpage>
          -
          <lpage>28</lpage>
          . URL: https://www.mdpi.com/1424-8220/21/4/1210. doi:
          <volume>10</volume>
          .3390/s21041210.
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>E.</given-names>
            <surname>Aguado</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Sanz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Rossi</surname>
          </string-name>
          ,
          <article-title>Self-awareness for robust miner robot autonomy</article-title>
          ,
          <source>in: EGU General Assembly</source>
          <year>2022</year>
          , Vienna, Austria 23-27 May,
          <year>2022</year>
          , pp.
          <fpage>25</fpage>
          -
          <lpage>28</lpage>
          . doi:https://doi. org/10.5194/egusphere-egu22-
          <volume>2716</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>E.</given-names>
            <surname>Aguado</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Sanz</surname>
          </string-name>
          , Using ontologies in autonomous robots engineering,
          <source>Robotics Software Design and Engineering</source>
          (
          <year>2021</year>
          )
          <article-title>71</article-title>
          . doi:https://doi.org/10.5772/intechopen.97357.
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>D.</given-names>
            <surname>Bozhinoski</surname>
          </string-name>
          , E. Aguado,
          <string-name>
            <given-names>M. G.</given-names>
            <surname>Oviedo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Hernandez</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Sanz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Wąsowski</surname>
          </string-name>
          ,
          <article-title>A modeling tool for reconfigurable skills in ros</article-title>
          ,
          <source>in: 2021 IEEE/ACM 3rd International Workshop on Robotics Software Engineering (RoSE)</source>
          ,
          <year>2021</year>
          , pp.
          <fpage>25</fpage>
          -
          <lpage>28</lpage>
          . doi: https://doi.org/10.1109/ RoSE52553.
          <year>2021</year>
          .
          <volume>00011</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <surname>D. I. Spivak</surname>
          </string-name>
          ,
          <article-title>Category Theory for the Sciences</article-title>
          , The MIT Press,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>K. S.</given-names>
            <surname>Schweiker</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Varadarajan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D. I.</given-names>
            <surname>Spivak</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Schultz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Wisnesky</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Marco</surname>
          </string-name>
          ,
          <source>Operadic Analysis of Distributed Systems</source>
          ,
          <source>Technical Report, NASA Center for AeroSpace Information</source>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>