<!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>
      <journal-title-group>
        <journal-title>A. Gjaci); luca.oneto@unige.it (L. Oneto); carmine.recchiuto@dibris.unige.it
(C. T. Recchiuto); antonio.sgorbissa@unige.it (A. Sgorbissa)</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>Culture Awareness in Intelligent Systems</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Ariel Gjaci</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Luca Oneto</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Carmine Tommaso Recchiuto</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Antonio Sgorbissa</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Università degli Studi di Genova</institution>
          ,
          <addr-line>via all'Opera Pia 13, 16145, Genova</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2022</year>
      </pub-date>
      <volume>000</volume>
      <fpage>0</fpage>
      <lpage>0002</lpage>
      <abstract>
        <p>Understanding how the data used to train intelligent systems afects their behaviour is a critical task in the Artificial Intelligence field. It is also known that making artificial agents capable of adapting their actions according to the culture improves their interaction with humans. For this reason, it may be crucial to know how the cultural component inside data afects the prediction of intelligent systems. In this paper, we propose a method to acknowledge the cultural factor inside data, and we show some preliminary results obtained by using Random Forest and Support Vector Machine models on two publicly available datasets.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Culture Awareness</kwd>
        <kwd>Artificial Intelligence</kwd>
        <kwd>Social Robotics</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        Intelligent systems, e.g., social robots, are a technology that has grown in the last few years.
According to a recent definition of [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], "an intelligent system operates in an environment with
other agents, possesses cognitive capabilities such as perception, action control, deliberative
reasoning or language, follows principles of behaviour based on rationality and social norms,
and can adapt by learning." A key goal of an intelligent system is, therefore, to interact with
other agents, e.g., humans, by exploiting its capabilities.
      </p>
      <p>
        On the other side, it is well known that people’s cultures play a crucial role in human-human
interaction: if we consider, for example, the thumb-up gesture, we notice that this is a widely
recognized sign of approval in several countries, but it is also used as an insulting gesture in
Bangladesh. Hence, given the importance of culture in human-human interactions, it is natural
to ask oneself if culture may play the same important role also in human-robot interactions.
Answers to this question have been given in some recent works [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], which have assessed
how culture influences people’s expectations, attitudes, and behaviours before, during, and
after the interaction with robots. Overall, it appears that a social robot that displays cultural
sensitivity promotes human acceptance.
      </p>
      <p>For this reason, the problem of making artificial agents able to interact with humans by
considering their culture has also been recently addressed. To embed culture in intelligent
systems, researchers might use two approaches:
• Theory-based: design a cultural representation that is embedded inside computational
models such that they will produce culturally-aware predictions.
• Data-driven: exploit culturally-dependent data in the learning phase of models so that
they can produce culturally-aware predictions.</p>
      <p>
        Among the most relevant works in this context, a theory-based model for automatically
adapting HCI systems to users by using a culturally-aware adaptive procedure has been presented
in [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], while Papadopoulos et al. [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] have built a theory-based system that can be integrated
into social robots for applying an understanding of the culture, customs and etiquette of the
person who is interacting with the robot while autonomously reconfiguring the way of acting
and speaking. Speaking about data-driven approaches, Lugrin has combined the theory-based
approach with the data-driven one to create a culturally-dependent Bayesian Model for virtual
characters [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ], while in [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] a data-driven algorithm was developed to generate culture-aware
co-speech gestures in social robots. However, all the aforementioned works do not provide any
detail on how much the cultural component afects the data. This information can be important
to transfer the knowledge acquired by a model trained with culture-dependent data to another
culture [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], or to make the model fair with respect to the cultural component with the recent
fairness techniques [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]. Addressing this problem can be useful, especially when the availability
of culturally-dependent data is limited.
      </p>
      <p>
        Following the example at the beginning of this article, we may consider a classification
problem with a culturally-dependent gestures dataset where the goal is to predict whether the
gestures are ofensive. By analysis, we may find that the accuracy of a model trained with
data depending on one culture and tested with data of the same culture is significantly higher
than the accuracy of the same model tested with data depending on another culture. However,
building an accurate model for every diferent culture may not be possible since the labeled data
are insuficient. For this reason, we may exploit an instance weighting technique [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] to transfer
the knowledge of the first model to the second one by also considering the cultural diference
found previously. Please note that if we instead find that the classification diference is not
significant between the two test data, we may also use the same model to classify both cultures.
      </p>
      <p>By combining the two concepts of intelligent systems and culture, we propose in this work
a methodology based on classification techniques for understanding the role of culture when
intelligent systems need to be trained to perform a given task, for example, activity recognition.
Our method starts from the conjecture that, in a classification problem, the data to be classified
are necessarily afected by cultural aspects. This method can be, in principle, used with any
dataset containing a feature that clearly identifies the cultural context where data have been
collected.</p>
      <p>In the following chapter, we show some preliminary results obtained by relying on custom
Random Forest and Support Vector Machines models with two diferent culturally-dependent
datasets.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Methodology</title>
      <p>
        The proposed work aims to analyze how the cultural component afects the data by evaluating a
learning model trained on diferent datasets. More in detail, we picked two public datasets [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]
and [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ]. In both datasets, we spot a feature identifying the culture  inside the data sample
 ∈  ⊆ R used to predict output  ∈  ⊆ {± 1}, where  is the number of features. During
each test, we focused on a subset of the possible cultures to perform pairwise comparisons (e.g.,
Italian vs. Chinese or Jamaican vs. German), and therefore we extracted a set of samples and
features for each dataset to be considered for classification. Specifically, we started choosing
two admissible values a,b for the cultural identifier , and we considered only the samples for
which  ∈ {, }.
      </p>
      <p>
        At the end of this process, we considered the following datasets:
• The CROCUFID food dataset [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] has the area of origin of the food as the cultural identifier
with values {,  }, the domain  = {22 visual features that describe the
food}, and the prediction  = {the food is sweet or savoury}. That is, starting from the
visual appearance of a food, we aim to predict if the food will be sweet or savoury, and
we expect this depends on cultural aspects.
• The whats-cooking recipes dataset [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ] has the type of the cuisine {,  −
,  ℎ,  , .} as the cultural identifier, the domain  = {58 ingredients
that may be present/absent in the dish},  = {presence/absence of a critical ingredient for
the person’s health, e.g., sugar, butter, ingredient to which the person is allergic}. That is,
starting from known ingredients, we aim to predict if a critical ingredient may be present
or not, and we expect this depends on cultural aspects.
      </p>
      <p>Both datasets would be helpful to predict whether or not a food contains a critical ingredient
for a person’s health. For instance, a social robot that suggests dishes to a person will avoid
suggesting those that contain sugar if the person is overweight or diabetic.</p>
      <p>We trained and optimized four Random Forest and Support Vector Machines models:
• 1) Trained by using only the data that have  =  and by removing the cultural identifier.
• 2) Trained by using only the data that have  =  and by removing the cultural identifier.
• 3) Trained by using all the data and by removing the cultural identifier.</p>
      <p>• 4) Trained by using all the data.</p>
      <p>To choose the best Random Forest model, we used 1000 trees, and we optimized only the
hyperparameter that controls the cardinality of the random subset of features that each node
of the trees can check. To choose the best Support Vector Machine model, we used the radial
kernel type, and we optimized the C hyperparameter that controls how much we want to avoid
misclassifying each training example and the gamma hyperparameter that controls the kernel
size. We used 10-fold cross-validation and Balanced Accuracy as well as AUC value as metrics
for both models.</p>
      <p>After the training, we tested each model by using two diferent test sets: one contains only
data that have  =  while the other contains only data that have  = . To better compare
the models, we maintained constant the number of training and validation samples that we
used.</p>
    </sec>
    <sec id="sec-3">
      <title>3. Results and Future Work</title>
      <p>The ROC curves with AUC values achieved by predicting if there is sugar or not in the
whatscooking dataset are shown in Figure 1: it can be noticed that models trained with data related
to a specific culture fail to predict the right class if tested with the data related to the other
culture. It can also be noticed that adding the cuisine feature in the model trained with all the
data slightly improves the result.</p>
      <p>These results are coherent with the confusion matrices in Figure 2 obtained by optimizing the
Random Forest models as described before. The only diference is that in this case, the metric
chosen for the optimization is the Balanced Accuracy, which considers possible unbalances of
classes during the training. It may be noticed from Figure 2 that the model trained with Thai
cuisine data well predicts test data related to Thai cuisine, but does not perform well with the
test data related to Cajun-Creole cuisine. The same also occurs in the opposite situation (i.e.,
model trained with Cajun-Creole cuisine data and tested with data related to Thai cuisine).
Finally, the model trained with data related to both cuisine types performs well with both test
data, but here an interesting fact can be noticed: the model fails at predicting if the sugar is not
present in the test data related to Thai cuisine. This may be due to the fact that both datasets are
used in the training process, and the model cannot completely identify them in the classification
process.</p>
      <p>By using the CROCUFID dataset with Random Forest models, we have obtained results similar
to the ones represented in Figure 1 but less noticeable: the model trained with Western data
had only an improvement of 0.13 in the AUC value when tested with Western data with respect
to Asian. Similarly, the model trained with Asian data had only an improvement of 0.10 in the
AUC value. By using the Support Vector Machine models, as shown in Figure 3, the diferences
become more pronounced, but the behaviour remains coherent with the one obtained using
Random Forest models.</p>
      <p>Even if these preliminary results are encouraging, it must be noticed that considering diferent
couples of cultures may produce diferent outcomes. Sometimes diferences between models
cannot be noticed, e.g., in the comparison of Indian vs. Italian recipes. The same occurs with
other critical predicted ingredients, such as peanuts. Further analyses are needed to better
assess the role of cultural factors inside data and their possible exploitation in classification
problems. To this aim, a custom dataset related to human gestures has been developed, and it is
currently under analysis. The dataset is composed of more than 2000 images, related to two
gestures that are similar to each other: the Namaste gesture, which is used in the Indian culture,
and the Pray gesture, typical in diferent countries around the world.</p>
      <p>Overall, this preliminary work lays the basis for a deeper investigation to understand the role
of culture in classification problems. We finally note that the authors who created the
culturallydependent datasets may have introduced their stereotypes during the creation process: Italian
food is not the one you find in Italian restaurants around the world, and the same is true for
other cuisines. We did not consider the possibility that datasets have been compiled with the
version "for foreigners" of popular dishes, but this can be explored in the future.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>M.</given-names>
            <surname>Molina</surname>
          </string-name>
          ,
          <article-title>What is an intelligent system?</article-title>
          , arXiv preprint arXiv:
          <year>2009</year>
          .
          <volume>09083</volume>
          (
          <year>2020</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>M.</given-names>
            <surname>Salem</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Ziadee</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Sakr</surname>
          </string-name>
          ,
          <article-title>Marhaba, how may i help you? efects of politeness and culture on robot acceptance and anthropomorphization</article-title>
          ,
          <source>in: 2014 9th ACM/IEEE International Conference on Human-Robot Interaction (HRI)</source>
          , IEEE,
          <year>2014</year>
          , pp.
          <fpage>74</fpage>
          -
          <lpage>81</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>V.</given-names>
            <surname>Lim</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Rooksby</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E. S.</given-names>
            <surname>Cross</surname>
          </string-name>
          ,
          <article-title>Social robots on a global stage: establishing a role for culture during human-robot interaction</article-title>
          ,
          <source>International Journal of Social Robotics</source>
          <volume>13</volume>
          (
          <year>2021</year>
          )
          <fpage>1307</fpage>
          -
          <lpage>1333</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>R.</given-names>
            <surname>Heimgärtner</surname>
          </string-name>
          ,
          <article-title>Culturally-aware hci systems, in: Advances in culturally-aware intelligent systems and in cross-cultural psychological studies</article-title>
          , Springer,
          <year>2018</year>
          , pp.
          <fpage>11</fpage>
          -
          <lpage>37</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>C.</given-names>
            <surname>Papadopoulos</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Castro</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Nigath</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Davidson</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Faulkes</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Menicatti</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. A.</given-names>
            <surname>Khaliq</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Recchiuto</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Battistuzzi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Randhawa</surname>
          </string-name>
          , et al.,
          <article-title>The caresses randomised controlled trial: exploring the health-related impact of culturally competent artificial intelligence embedded into socially assistive robots and tested in older adult care homes</article-title>
          ,
          <source>International Journal of Social Robotics</source>
          <volume>14</volume>
          (
          <year>2022</year>
          )
          <fpage>245</fpage>
          -
          <lpage>256</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>B.</given-names>
            <surname>Lugrin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Frommel</surname>
          </string-name>
          , E. André,
          <article-title>Combining a data-driven and a theory-based approach to generate culture-dependent behaviours for virtual characters, in: Advances in CulturallyAware Intelligent Systems</article-title>
          and in Cross-Cultural
          <source>Psychological Studies</source>
          , Springer,
          <year>2018</year>
          , pp.
          <fpage>111</fpage>
          -
          <lpage>142</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>A.</given-names>
            <surname>Gjaci</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C. T.</given-names>
            <surname>Recchiuto</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Sgorbissa</surname>
          </string-name>
          ,
          <article-title>Towards culture-aware co-speech gestures for social robots</article-title>
          ,
          <source>International Journal of Social Robotics</source>
          (
          <year>2022</year>
          )
          <fpage>1</fpage>
          -
          <lpage>14</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>K.</given-names>
            <surname>Weiss</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T. M.</given-names>
            <surname>Khoshgoftaar</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <article-title>A survey of transfer learning</article-title>
          ,
          <source>Journal of Big Data</source>
          (
          <year>2016</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>L.</given-names>
            <surname>Oneto</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Chiappa</surname>
          </string-name>
          ,
          <article-title>Fairness in machine learning</article-title>
          ,
          <source>in: Recent Trends in Learning From Data</source>
          , Springer,
          <year>2020</year>
          , pp.
          <fpage>155</fpage>
          -
          <lpage>196</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>A.</given-names>
            <surname>Toet</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Kaneko</surname>
          </string-name>
          , I. De Kruijf,
          <string-name>
            <given-names>S.</given-names>
            <surname>Ushiama</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. G.</given-names>
            <surname>Van Schaik</surname>
          </string-name>
          ,
          <string-name>
            <surname>A.-M. Brouwer</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          <string-name>
            <surname>Kallen</surname>
            ,
            <given-names>J. B. Van Erp</given-names>
          </string-name>
          ,
          <article-title>Crocufid: A cross-cultural food image database for research on food elicited afective responses</article-title>
          ,
          <source>Frontiers in psychology 10</source>
          (
          <year>2019</year>
          )
          <fpage>58</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <fpage>whats</fpage>
          -cooking, https://www.kaggle.com/c/whats-cooking,
          <year>2022</year>
          . Accessed:
          <fpage>2022</fpage>
          -10-04.
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>