<!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 />
    <article-meta>
      <title-group>
        <article-title>networks⋆</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>José Luis Corcuera Bárcena</string-name>
          <email>joseluis.corcuera@phd.unipi.it</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Mattia Daole</string-name>
          <email>mattia.daole@phd.unipi.it</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Pietro Ducange</string-name>
          <email>pietro.ducange@unipi.it</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Francesco Marcelloni</string-name>
          <email>francesco.marcelloni@unipi.it</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Giovanni Nardini</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Alessandro Renda</string-name>
          <email>alessandro.renda@unipi.it</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Giovanni Stea</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Department of Information Engineering, University of Pisa</institution>
          ,
          <addr-line>Largo Lucio Lazzarino 1, 56122 Pisa</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>The next generation of mobile networks is poised to rely extensively on Artificial Intelligence (AI) to deliver innovative services. However, it is crucial for AI systems to fulfill key requirements such as trustworthiness, inclusiveness, and sustainability. Starting from these requirements, we proposed Federated Learning of eXplainable AI (Fed-XAI) models within the Hexa-X EU Flagship Project for 6G. This paper focuses on the implementation of a real-time testbed, serving as a proof of concept for the Fed-XAI paradigm. The testbed utilizes genuine applications and real devices that interact with a mobile network, emulated using the Simu5G simulator. Its primary objective is to provide explainable predictions regarding video-streaming quality in an automotive scenario.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Federated Learning</kwd>
        <kwd>Explainable Artificial Intelligence</kwd>
        <kwd>B5G/6G Mobile Networks</kwd>
        <kwd>Video Streaming Quality Prediction</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Demo Description</title>
      <p>
        networks by training AI models in a distributed and privacy-preserving manner through FL,
while ensuring transparency through XAI [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. The activities related to Fed-XAI in the Hexa-X
project mostly include:
• Developing strategies for FL of inherently explainable models, such as rule-based models
[
        <xref ref-type="bibr" rid="ref3">3</xref>
        ];
• Designing a communication framework that enables users in the B5G/6G network to
access FL services through the as-a-service paradigm, while ofloading computationally
intensive tasks like model training to Multi-access Edge Computing (MEC) systems [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ].
      </p>
      <p>It is worth noticing that Fed-XAI has been recognized as a key innovation by the EU Innovation
Radar2.</p>
      <p>
        To validate the algorithms and the communication framework developed within the project,
a Proof-of-Concept (PoC) has been implemented. The PoC consists of a real-time testbed
comprising actual devices and a mobile network emulator. The aim of the PoC is to demonstrate
the benefits of building XAI models in a federated manner, with a specific focus on an automotive
use case. Tele-operated driving (ToD) is one of the innovative services envisioned in 6G systems,
where connected cars transmit real-time video streams of the driver’s perspective to a remote
driver situated at the network edge [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. The remote driver, whether human or machine, can
control the car by sending commands based on the received video stream. The smoothness and
quality of the video stream are critical for safe ToD, and therefore it becomes crucial to be able to
predict any fluctuations in advance. Fed-XAI facilitates this forecasting service by leveraging the
collaborative training of XAI models using data from multiple cars, while providing meaningful
explanations for the predictions.
      </p>
      <p>
        The PoC consists of an ofline training phase, where a large dataset of Quality of Service
(QoS)-related data is generated using Simu5G simulator [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. The dataset includes metrics from
video-streaming sessions in an urban network scenario involving cars transmitting video streams
to an edge application. The training dataset, comprising three days’ worth of data, is used to
train an explainable by design AI model for regression task, namely a Takagi-Sugeno-Kang
Fuzzy Rule-Based Systems (TSK-FRBSs), within an FL setting [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. To support both the learning
and the inference processes, we designed and developed a Fed-XAI application [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] which can
be deployed on edge computing environments, utilizing a fully-virtualized architecture and
containerization for portability and ease of migration in real-world scenarios. The Intel OpenFL
library3, extended to support FL of explainable by design models such us TSK-FRBSs, has been
exploited for the implementation of FL services ofered by the designed application.
      </p>
      <p>
        Figure 1 depicts the design scheme of the proposed testbed for the online inference phase.
The testbed has been then actually implemented for a working real-time: as shown in Fig.
2, it includes a mini PC running Simu5G [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ] to emulate the mobile network, a video server
transmitting the video stream and a video player hosted on a laptop and a tablet, respectively.
      </p>
      <p>
        The Fed-XAI application has been deployed on a workstation running an instance of the
Docker Engine for light virtualization by means of containers [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]. The video packets generated
by the video server traverse the emulated network before reaching the video player, allowing
2https://www.innoradar.eu/innovation/45988
3https://openfl.readthedocs.io/en/latest/
the assessment of video quality based on network conditions. Probes within Simu5G provide
QoS real-time metrics for the inference module of the Fed-XAI application, which utilizes the
pre-trained model to make quality predictions. These predictions, along with their explanations,
are displayed in real-time on the Fed-XAI dashboard. Specifically, the dashboard visualizes
the predicted level of the video quality for the next three seconds and verifies the accuracy
of predictions made three seconds prior, along with the last 15 predictions and the rule that
triggered the current prediction. The testbed demonstrates the efectiveness of the Fed-XAI
approach, as depicted in the Fed-XAI application dashboard. As an example, Fig. 3 showcases
the prediction of a bad video quality and its explanation, taking into account factors like high
cell load utilization and low signal-to-interference-plus-noise ratio experienced by the car.
      </p>
    </sec>
    <sec id="sec-2">
      <title>2. Expected contribution to the XAI community</title>
      <p>The Proof-of-Concept shows the advantages of building XAI models in a federated fashion.
In particular, we focused on an automotive use case, namely tele-operated driving. The PoC
involved two main phases: i) ofline FL of XAI models using Quality of Service data generated
by a mobile network simulator (Simu5G) and ii) implementation of a real testbed built with
real components. These components include a video server and video player, an instance
of Simu5G to emulate the video stream through the mobile network, and an instance of the
Fed-XAI application to perform actual predictions and show explanations of decisions made.
The testbed demonstrates the efectiveness of the Fed-XAI approach in predicting video quality
and providing meaningful explanations based on real-time network conditions. The activity fits
into an area of research at the interface between XAI and decentralised ML, which has not been
exhaustively investigated so far.</p>
    </sec>
    <sec id="sec-3">
      <title>3. Acknowledgments</title>
      <p>This work has been partly funded by the European Commission through the project
HexaX (Grant Agreement no. 101015956) under the H2020 programme, by the PNRR - M4C2
Investimento 1.3, Partenariato Esteso PE00000013 - “FAIR - Future Artificial Intelligence
Research" - Spoke 1 “Human-centered AI" and the PNRR “Tuscany Health Ecosystem" (THE)
(Ecosistemi dell’Innovazione) - Spoke 6 - Precision Medicine &amp; Personalized Healthcare (CUP
I53C22000780001) under the NextGeneration EU programme, and by the Italian Ministry of
University and Research (MUR) in the framework of the FoReLab and CrossLab projects
(Departments of Excellence).</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>M. A.</given-names>
            <surname>Uusitalo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Ericson</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Richerzhagen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E. U.</given-names>
            <surname>Soykan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Rugeland</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Fettweis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Sabella</surname>
          </string-name>
          , G. Wikström,
          <string-name>
            <given-names>M.</given-names>
            <surname>Boldi</surname>
          </string-name>
          ,
          <string-name>
            <surname>M.-H. Hamon</surname>
          </string-name>
          , et al.,
          <article-title>Hexa-X the European 6G flagship project</article-title>
          ,
          <source>in: 2021 Joint European Conf. on Networks and Communications &amp; 6G Summit (EuCNC/6G Summit)</source>
          , IEEE,
          <year>2021</year>
          , pp.
          <fpage>580</fpage>
          -
          <lpage>585</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>A.</given-names>
            <surname>Renda</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Ducange</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Marcelloni</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Sabella</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. C.</given-names>
            <surname>Filippou</surname>
          </string-name>
          , G. Nardini,
          <string-name>
            <given-names>G.</given-names>
            <surname>Stea</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Virdis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Micheli</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Rapone</surname>
          </string-name>
          , et al.,
          <source>Federated Learning of Explainable AI Models in 6G Systems: Towards Secure and Automated Vehicle Networking, Information</source>
          <volume>13</volume>
          (
          <year>2022</year>
          )
          <fpage>395</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>J. L. C.</given-names>
            <surname>Bárcena</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Ducange</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Ercolani</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Marcelloni</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Renda</surname>
          </string-name>
          ,
          <article-title>An Approach to Federated Learning of Explainable Fuzzy Regression Models</article-title>
          , in: 2022
          <source>IEEE International Conference on Fuzzy Systems (FUZZ-IEEE)</source>
          , IEEE,
          <year>2022</year>
          , pp.
          <fpage>1</fpage>
          -
          <lpage>8</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>J. L. C.</given-names>
            <surname>Bárcena</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Ducange</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Marcelloni</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Nardini</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Noferi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Renda</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Stea</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Virdis</surname>
          </string-name>
          ,
          <article-title>Towards Trustworthy AI for QoE prediction in B5G/6G Networks</article-title>
          ,
          <source>in: AI6G'22: First International Workshop on Artificial Intelligence in beyond 5G and 6G Wireless Networks (AI6G</source>
          <year>2022</year>
          ),
          <year>2022</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>A.</given-names>
            <surname>Kousaridas</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Fischer</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Alonso-Zarate</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Trichias</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Fallgren</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Payaró</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Kaloxylos</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Kalalas</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Bonetto</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Liotou</surname>
          </string-name>
          , et al.,
          <article-title>From 5G to 6G Vision: a Connected and Automated Mobility (CAM) Perspective (</article-title>
          <year>2022</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>G.</given-names>
            <surname>Nardini</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Sabella</surname>
          </string-name>
          , G. Stea,
          <string-name>
            <given-names>P.</given-names>
            <surname>Thakkar</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Virdis</surname>
          </string-name>
          ,
          <string-name>
            <surname>Simu5G-An</surname>
            <given-names>OMNeT</given-names>
          </string-name>
          ++
          <article-title>Library for End-to-End Performance Evaluation of 5G Networks, IEEE Access 8 (</article-title>
          <year>2020</year>
          )
          <fpage>181176</fpage>
          -
          <lpage>181191</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>J. L. C.</given-names>
            <surname>Bárcena</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Daole</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Ducange</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Marcelloni</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Renda</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Rufini</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Schiavo</surname>
          </string-name>
          ,
          <source>Fed-XAI: Federated Learning of Explainable Artificial Intelligence Models, in: 3rd Italian Workshop on Explainable Artificial Intelligence (XAI</source>
          .it
          <year>2022</year>
          ),
          <year>2022</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>A.</given-names>
            <surname>Bechini</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Daole</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Ducange</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Marcelloni</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Renda</surname>
          </string-name>
          ,
          <article-title>An Application for Federated Learning of XAI Models in Edge Computing Environments</article-title>
          , in: 2023
          <source>IEEE International Conference on Fuzzy Systems (FUZZ-IEEE)</source>
          , IEEE,
          <year>2023</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>A.</given-names>
            <surname>Noferi</surname>
          </string-name>
          , G. Nardini,
          <string-name>
            <given-names>G.</given-names>
            <surname>Stea</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Virdis</surname>
          </string-name>
          ,
          <article-title>Rapid prototyping and performance evaluation of etsi mec-based applications</article-title>
          ,
          <source>Simulation Modelling Practice and Theory</source>
          <volume>123</volume>
          (
          <year>2023</year>
          )
          <article-title>102700</article-title>
          . doi:https://doi.org/10.1016/j.simpat.
          <year>2022</year>
          .
          <volume>102700</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>J.</given-names>
            <surname>Turnbull</surname>
          </string-name>
          , The Docker Book:
          <article-title>Containerization is the new virtualization</article-title>
          ,
          <source>James Turnbull</source>
          ,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>