Next Article in Journal
An Overview of Verification and Validation Challenges for Inspection Robots
Next Article in Special Issue
Multi-Objective Swarm Intelligence Trajectory Generation for a 7 Degree of Freedom Robotic Manipulator
Previous Article in Journal
Validating Safety in Human–Robot Collaboration: Standards and New Perspectives
Previous Article in Special Issue
Industrial Robot Trajectory Tracking Control Using Multi-Layer Neural Networks Trained by Iterative Learning Control
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Unsupervised Online Grounding for Social Robots

1
Artificial Intelligence Lab, Vrije Universiteit Brussel, 1050 Brussels, Belgium
2
Robotics and Multibody Mechanics Research Group, Vrije Universiteit Brussel and Flanders Make, 1050 Brussels, Belgium
*
Author to whom correspondence should be addressed.
Robotics 2021, 10(2), 66; https://doi.org/10.3390/robotics10020066
Submission received: 16 March 2021 / Revised: 17 April 2021 / Accepted: 26 April 2021 / Published: 29 April 2021
(This article belongs to the Special Issue Robotics and AI)

Abstract

:
Robots that incorporate social norms in their behaviors are seen as more supportive, friendly, and understanding. Since it is impossible to manually specify the most appropriate behavior for all possible situations, robots need to be able to learn it through trial and error, by observing interactions between humans, or by utilizing theoretical knowledge available in natural language. In contrast to the former two approaches, the latter has not received much attention because understanding natural language is non-trivial and requires proper grounding mechanisms to link words to corresponding perceptual information. Previous grounding studies have mostly focused on grounding of concepts relevant to object manipulation, while grounding of more abstract concepts relevant to the learning of social norms has so far not been investigated. Therefore, this paper presents an unsupervised cross-situational learning based online grounding framework to ground emotion types, emotion intensities and genders. The proposed framework is evaluated through a simulated human–agent interaction scenario and compared to an existing unsupervised Bayesian grounding framework. The obtained results show that the proposed framework is able to ground words, including synonyms, through their corresponding perceptual features in an unsupervised and open-ended manner, while outperfoming the baseline in terms of grounding accuracy, transparency, and deployability.

1. Introduction

The number of humans who interact with robots in a social context is increasing. In contrast to industrial robots, the purpose of social robots is not the accurate performance of a specific task in a highly constrained environment, but to assist in therapy, education or social services [1]. Nowadays, social robots are already employed in many different areas to help elderly people [2,3], people with dementia [4], autistic children [5] as well as people with disabilities [6]. Previous research showed that social robots that follow human social norms, like empathy, are seen as more supportive [7] and friendly [8]. A social norm defines how people should behave, thereby defining specific expectations, which, when violated, lead to specific reactions, including sanctions or punishment [9,10]. Thus, enabling robots to follow social norms has the potential to make human–robot interactions more enjoyful, predictable, natural, and, in general, more similar to interactions between humans. However, due to the large number of social norms, their dynamic nature, i.e., they can change over time, and their strong variation based on the environment of the interaction as well as the personality of the human the robot is interacting with, they cannot be hard-coded into the robot but must instead be learned. Learning can either occur through trial-and-error, i.e., reinforcement learning [11], by observing how humans interact with each other, i.e., learning from demonstration [12], or by utilizing abstract knowledge available in written form, e.g., on the web or in books. While there have been several studies that investigated learning from demonstration and reinforcement learning to learn social norms [13,14,15,16], there have not been any studies that investigated learning of social norms from abstract knowledge provided in natural language. Understanding natural language is non-trivial and requires sophisticated language grounding mechanisms that provide meaning to language by linking words and phrases to corresponding concrete representations, which represent sets of invariant perceptual features obtained through an agent’s sensors that are sufficient to distinguish percepts belonging to different concepts [17]. Most grounding research has focused on understanding natural language instructions so that robots can identify and manipulate the correct object [18,19] or navigate to the correct destination [20], while, to the best of our knowledge, no attempts have been made to ground more abstract concepts, such as emotion types, emotion intensities and genders, which are essential to understand natural language texts describing social norms, such as empathy.
In this study, we try to fill this gap by proposing an unsupervised online grounding framework, which uses cross-situational learning to ground words describing emotion types, emotion intensities and genders through their corresponding concrete representations extracted from audio with the help of deep learning. The proposed framework is evaluated through a simulated human–agent interaction experiment in which the agent listens to the speech of different people and receives at the same time a natural language description, describing the gender of the observed person as well as the experienced emotion. Furthermore, the proposed framework is compared to a Bayesian grounding framework that has been employed in several previous studies to ground words through a variety of different percepts [18,19,20,21].
The remainder of this paper is structured as follows: the next section provides some background regarding cross-situational learning. Afterwards, Section 3 discusses related work in the area of language grounding. The proposed framework, the baseline and the employed experimental setup are explained in Section 4, Section 5 and Section 6. Section 7 describes the obtained results. Finally, Section 8 concludes the paper.

2. Background

Cross-situational learning (CSL) has been proposed by, among others, Pinker [22] and Fisher et al. [23] as a mechanism to learn the meaning of words by tracking their co-occurrences with concrete representations of percepts across multiple situations, which enables it to handle referential uncertainty. The basic idea is that the context a word is used in leads to a set of candidate meanings, i.e., mappings from words to concrete representations, and that the correct meaning lies where the sets of candidate meanings intersect. Thus, the correct mapping between words and their corresponding concrete representations can be identified through repeated co-occurrences so that the learner is able to select the meaning which reliably reoccurs across situations [24,25]. The original idea of CSL was developed to explain the remarkable ability of human children to learn the meaning of words without any prior knowledge of natural language. Afterwards, a number of experimental studies [26,27,28] have confirmed that CSL is, in fact, used by humans to learn the meaning of words. Since CSL requires the learner to be exposed more than one time to a word to learn its meaning, it belongs to the group of slow-mapping mechanisms through which most words are acquired [29]. In contrast, fast-mapping mechanisms that enable the acquisition of word meanings through a single exposure are only used for a limited number of words [30,31]. The successful use of CSL by humans has inspired the development of many different CSL-based grounding algorithms (Section 3) to enable artificial agents to learn the meaning of words by grounding them through corresponding concrete representations obtained with their sensors.

3. Related Work

Since Harnad [17] proposed the “Symbol Grounding Problem”, a variety of models which either utilize unsupervised or interactive learning mechanisms have been proposed to create connections between words and corresponding concrete representations. Interactive learning approaches are based on the assumption that another agent is available that already knows the correct connections between words and concrete representations so that it can support the learning agent by providing feedback and guidance. Due to this support, interactive learning models are usually faster, and often also more accurate than unsupervised learning models; however, they do not work in the absence of a tutor who provides the required support. Furthermore, in most studies, e.g., [32,33], the tutoring agent did not provide real natural language sentences but only single words, which significantly simplifies the grounding problem and raises the question of whether these models would work outside the laboratory. Since, in real environments, the tutor would be a regular user and might not be aware of the limitations of the learning agent or unwilling to adjust the interaction accordingly. Examples of interactive grounding approaches include the “Naming Game” [34], which has been used in many studies to ground a variety of percepts, such as colors or prepositions [32,33], and the work by She et al. [35]. The latter used a dialog system to ground higher level symbols through already grounded lower level symbols, thereby introducing another constraint that a sufficiently large set of already grounded lower level symbols is available. It is important to note that most, if not all, existing interactive learning approaches assume that the provided support is always correct, although it might be wrong due to noise or malicious intent of the tutoring agent. In contrast to interactive-learning-based approaches, unsupervised grounding approaches do not require any form of supervision and learn the meaning of words across multiple exposures through cross-situational learning [36,37]. The main advantage is that no tutor is needed, which makes them more easy to deploy and also removes a potential source of noise because it cannot be guaranteed that another agent that is able and willing to act as a tutor is present, nor can it be assumed that the received support is always correct. Both points are important when deploying an agent in a dynamic uncontrolled environment that does not allow any control over the people who interact with the agent. In previous studies, cross-situational learning has been used for grounding of shapes, colors, actions, and spatial concepts [18,20,21]. However, most proposed models only work offline, i.e., perceptual data and words need to be collected in advance, and the employed scenarios only contained unambiguous words, i.e., no two words were grounded through the same percept. In contrast, the grounding framework used in this study, which is based on the framework proposed in [38], is able to learn online and in an open-ended manner, i.e., no separate training phase is required, and it is also able to ground synonyms, i.e., words that refer to the same concrete representations in specific context, e.g., “happy” and “cheerful”.

4. Proposed Framework

The proposed framework consists of three parts: (1) Perceptual feature extraction component, which extracts audio features from video using openEAR [39], (2) Perceptual feature classification component, which uses deep neural networks to obtain concrete representations of perceptual features, (3) Language grounding component, which creates mappings from words to corresponding concrete representations using cross-situational learning. The individual parts of the employed framework are illustrated below and described in detail in the following subsections.
  • Perceptual feature extraction
    • Input: Video stream.
    • Output: 156 audio features.
  • Perceptual feature classification
    • Input: 156 audio features.
    • Output: Concrete representations of percepts.
  • Language grounding
    • Input: Natural language descriptions, concrete representations of percepts, previously detected auxiliary words, and word and percept occurrence information.
    • Output: Set of auxiliary words and word to concrete representation mappings.

4.1. Perceptual Featue Extraction

Perceptual features are extracted from the videos of The Ryerson Audio-Visual Database of Emotional Speech and Song (RAVDESS) [40] since it is used in this study to simulate human–robot interactions (Section 6). All videos are given directly, i.e., without any preprocessing, as input to openEAR [39], which is a freely available open-source toolkit, to extract 384 speech features including the minimum, maximum, and mean values for each individual speech feature. Which features are extracted by openEAR depends on the used configuration. Three different configurations, i.e., INTERSPEECH 2009, emobase and INTERSPEECH 2013, were evaluated for this study but only the INTERSPEECH 2009 (emo-IS09) [41] configuration was used in the end because its features led to the best classification results. The available feature sets are pulse code modulation (PCM) root mean square (RMS) frame energy, mel-frequency cepstral coefficients (MFCC), PCM zero-crossing rate (ZCR), voice probability (voiceProb), and F0. Additionally, for each of the mentioned feature sets, a corresponding set with the delta coefficients is provided [41]. However, only the MFCC and PCM RMS features, i.e., 156 of the 384 obtained features, are provided to the classification models (Section 4.2) because they produced the best classification results based on an experimental evaluation of the available feature sets, i.e., each feature set and different combinations of feature sets were provided to the employed models. For the evaluation, the mean accuracies calculated across five runs for each feature set combination were compared and the model of the best-performing run was used in this study to obtain the concrete representations provided as input to the language grounding component.

4.2. Perceptual Feature Classification

For the classification task, the dataset is partitioned in a subject independent manner into a train and test set, i.e., the videos of the first eighteen actors (nine female, nine male) are used for training and the videos of the remaining six subjects (three female, three male) are used for testing (Section 6). The 156 audio features extracted by openEAR (Section 4.1) are used as input for three different deep learning models, i.e., one for each modality, after being normalized betwen zero and one. For emotion type classification, the model consists of four dense layers each followed by a dropout layer with a ratio of 0.1. The batch size and epoch size are set to 160 and 250, respectively. ReLU is used as an activation function in the first three dense layers, a Softmax function is used in the last layer, and Adam is used as an optimizer [42]. The applied model obtained an accuracy of 59.6% when classifying six basic emotions and neutral.
For emotion intensity recognition and gender recognition, the model proposed in [43] is used (Figure 1) with the following parameter settings: the convolutional layers are all 1D, have a kernels of size 3 and use ReLU as activation functions to add non-linearity. The dropout layers are used as regularizers with a ratio of 0.1. The 1D max-pooling layers have a kernel size of four and are used to introduce sparsity in the network parameters and to learn deep feature representations. Finally, the dense layers are used with sigmoid activation functions to find the predicted binary distribution of the target class. The number of epochs is 250 and the batch size is set to 128. The number of units in applied LSTM and BiLSTM networks is five. The applied model obtained an accuracy of 89.8% for gender recognition and 73.5% for emotion intensity recognition. Table 1 provides an overview of the classification accuracies for all individual classes.

4.3. Language Grounding

The grounding algorithm described in this section requires percepts to be represented through concrete representations. In previous work, concrete representations have been obtained through clustering [38]; however, the clustering algorithms employed in previous studies are not able to achieve accurate clusters for the extracted speech features. Thus, deep neural networks are used instead to obtain the same label for all concrete representations of the same emotion type, emotion intensity or gender (Section 4.2). For each situation, the predicted class is then provided together with a sentence describing the emotion type, emotion intensity and gender to the grounding algorithm (Algorithm 1). Before the actual grounding procedure, auxiliary words, which are words that have no corresponding concrete representations, are automatically detected and removed through Algorithm 2, which is a slightly modified version of the algorithm proposed in [38] and marks words that occur more than twice as often as the most often occurring concrete representation as auxiliary words. Afterwards, the set of word–concrete-representation pairs (WCRPS) and the set of concrete representation pairs (CRWPS) are updated based on the words and concrete representations encountered in the current situation. The former contains, for all previously encountered words, a set of concrete representations they co-occurred with as well as the corresponding co-occurrence counts, while the latter contains, for all previously encountered concrete representations, a set of words they co-occurred with as well as the corresponding co-occurrence counts. The word–concrete-representation (WCRP) and concrete-representation–word (CRWP) pairs that occurred the most based on the updated WCRPS and CRWPS are then added to the set of grounded words (GW) and concrete representations (GCR), respectively. To enable the algorithm to ground synonyms and homonyms, the words and concrete representations that were part of the highest WCRP and CRWP can be used again during future iterations, because these require that multiple words are able to be mapped to the same concrete representation and vice versa. Finally, the sets of grounded words and concrete representations are combined. The described grounding procedure is illustrated by Algorithm 1.
Algorithm 1 The grounding procedure takes as input all words (W) and concrete representations (CR) of the current situation, the sets of all previously obtained word-concrete representation (WCRPS) and concrete representation-word (CRWPS) pairs, and the set of auxiliary words (AW) and returns the sets of grounded words (GW) and grounded concrete representations (GCR).
1:
procedureGrounding(W, CR, WCRPS, CRWPS, AW)
2:
    Update AW (Algorithm 2) and remove AW from W
3:
    Update WCRPS and CRWPS using W and CR
4:
    for  j = 1 to w o r d _ n u m b e r  do
5:
        Save highest WCRP to GW
6:
    end for
7:
    for  j = 1 to c o n c r e t e _ r e p r e s e n t a t i o n _ n u m b e r  do
8:
        Save highest CRWP to GCR
9:
    end for
10:
    return  G W G C R
11:
end procedure
Algorithm 2 The auxiliary word detection procedure takes as input the sets of word and concrete representation occurrences (WO and CRO), and the set of previously detected auxiliary words (AW) and returns an updated AW.
1:
procedureAuxiliary Word Detection(WO, CRO, AW)
2:
    for word, occurrence in WO do
3:
        if  o c c u r r e n c e > m a x ( C R O ) 2  then
4:
           Add word to AW
5:
        end if
6:
    end for
7:
    return AW
8:
end procedure

5. Baseline Framework

The baseline framework uses the same percept extraction and classification components as the proposed framework (Section 4.1 and Section 4.2), while it uses a probabilistic model to ground words through their corresponding concrete representations. The latter is described in detail in this section.
The probabilistic learning model is based on the model used in [19]. The model has been chosen as a baseline because similar models have previously been employed in many different grounding scenarios to ground a variety of percepts, such as shapes, colors, actions, or spatial relations [18,19,20,21]. In the model (Figure 2), the observed state w i represents word indices, i.e., each individual word is represented by a different integer. The following two example sentences illustrate the representation of words through word indices: (the, 1) (man, 2) (is, 3) (very, 4) (happy, 5) and (the, 1) (woman, 6) (is, 3) (really, 7) (cheerful, 8), where the bold numbers indicate word indices. Although “very” and “really” as well as “happy” and “cheerful” are synonyms in the context of this study (Table 2), they are represented by different word indices. The observed state t represents the type of emotion, s represents the strength or intensity of the emotions and g represents genders. Table 3 provides a summary of the definitions of the learning model parameters. The corresponding probability distributions, i.e., w i , θ m , Z L 1 , ϕ t K 1 , ϕ s K 2 , ϕ g K 3 , π w , π t , π s , π g , m i , Z t , Z s , Z g , t, s, and g, which characterize the different modalities in the graphical model, are defined in Equation (1), where GIW denotes a Gaussian Inverse-Wishart distribution, and N denotes a multivariate Gaussian distribution. Gaussian distributions are used for t, s, and g because concrete representations are represented by one-hot encoded vectors.
w i C a t ( θ m i , Z m i ) θ m , Z L 1 D i r ( γ ) , L 1 = ( 1 , . . . , L ) ϕ t K 1 G I W ( β t ) , K 1 = ( 1 , . . . , K t ) ϕ s K 2 G I W ( β s ) , K 2 = ( 1 , . . . , K s ) ϕ g K 3 G I W ( β g ) , K 3 = ( 1 , . . . , K g ) π w D i r ( λ ) π t D i r ( α t ) π s D i r ( α s ) π g D i r ( α g ) m i C a t ( π w ) Z t C a t ( π t ) Z s C a t ( π s ) Z g C a t ( π g ) t N ( ϕ Z t ) s N ( ϕ Z s ) g N ( ϕ Z g )
The latent variables of the Bayesian learning model are inferred using the Gibbs sampling algorithm [44] (Algorithm 3), which repeatedly samples from and updates the posterior distributions (Equation (2)). Distributions were sampled for 100 iterations, after which convergence was achieved.   
ϕ t P ( ϕ t | t , β t ) ϕ s P ( ϕ s | s , β s ) ϕ g P ( ϕ g | g , β g ) π w P ( π w | λ , m ) π t P ( π t | α t , Z t ) π s P ( π s | α s , Z s ) π g P ( π g | α g , Z g ) Z t P ( Z t | t , π t , w ) Z s P ( Z s | s , π s , w ) Z g P ( Z g | g , π g , w ) θ m , Z P ( θ m , Z | m , Z t , Z s , Z g , γ , w ) m i P ( m i | θ m , Z , Z t , Z s , Z g , π w , w i )
Algorithm 3 Inference of the model’s latent variables. i t e r _ n u m was set to 100.
1:
procedureGibbs sampling(W, P, WP, AW)
2:
    Initialization of θ , ϕ t , ϕ s , ϕ g , π w , π t , π s , π g , Z t , Z s , Z g , m i
3:
    for  i = 1 to i t e r _ n u m  do
4:
        Equation (2)
5:
    end for
6:
    return  θ , ϕ t , ϕ s , ϕ g , π w , π t , π s , π g , Z t , Z s , Z g , m i
7:
end procedure

6. Experimental Setup

The proposed framework (Section 4) is evaluated through human–agent interactions in simulated situations created using the RAVDESS dataset [40], which consists of frontal face pose videos of twelve female and twelve male north American actors and actresses, who speak and sing two lexically matched sentences while expressing six basic emotions, i.e., happiness, surprise, fear, disgust, sadness, and anger [45], plus calmness and neutral, through their voice and facial expressions. In this study, only the speaking records of the six basic emotions and neutral are used. In addition to the expressed emotions, all videos in which one of the six basic emotions is expressed also come with labels indicating the intensities of the expressed emotions, i.e., normal or strong, which are used in this study to train the emotion intensity recognition model (Section 4.2). Since the videos of eighteen actors and actresses are used to train the percept classifiers (Section 4.2), only the videos of six actors and actresses are used to create situations for the simulated human–agent interactions, leading to a total of 312 situations, i.e., for each person, eight videos per basic emotion (four for each intensity level) and four videos for neutral (only one intensity level). Each situation is created according to the following procedure:
  • The video representing the current situation is given to OpenEAR, which extracts 384 features (Section 4.1);
  • 156 (MFCC and PCM RMS) of the 384 features are provided as input to the employed deep neural networks to determine the concrete representations of the expressed emotion, its intensity and the gender of the person expressing it (Section 4.2);
  • The concrete representations are provided to the agent together with a sentence describing the emotion type, intensity and gender of the person in the video, e.g., “She is very angry.”;
  • The agent uses cross-situational learning to ground words through corresponding concrete representations (Section 4.3 and Section 5).
Each sentence has the following structure: “(the) gender is (emotion intensity) emotion type”, where gender, emotion intensity and emotion type are replaced by one of their corresponding synonyms (Table 2). If the emotion type is “neutral”, the intensity is always normal; thus, the sentence does not contain a word describing the intensity of the emotion and no corresponding concrete representation is provided to the agent. Additionally, if the gender is described by a noun, i.e., “woman” or “man”, it is preceded by the article “the”. Since the words used to describe a situation are randomly chosen from the available synonyms, how often each word occurs during training and testing varies, e.g., “cheerful” appears nearly twice as many times during training and testing as its synonym “happy” (Figure 3). Ten different interaction sequences, for which the order of the situations was randomly changed, are used to evaluate the grounding frameworks to ensure that the obtained results are independent of the specific order in which situations are encountered. The proposed framework receives situations one after the other as if it is processing the data in real-time during the interaction, while the baseline framework requires all sentences and corresponding concrete representations of the training situations to be provided at the same time. Therefore, two different cases are evaluated. First, the case in which all situations are used for training and testing, because this allows the proposed framework to continuously learn, while it is an unrealistic case for the baseline framework because it is very unlikely that all situations have already been encountered during training. Second, only 60% of the situations are used for training, which is more realistic for the baseline framework, while it adds an unnecessary limitation to the proposed framework by deactivating its learning mechanism for 40% of the situations, although it does not require an explicit training phase.

7. Results and Discussion

The proposed cross-situational learning based framework (Section 4) is evaluated through a simulated human–agent interaction scenario (Section 6) and the obtained grounding results are compared to the groundings achieved by an unsupervised Bayesian grounding framework (Section 5). Since the same percept extraction and classification components (Section 4.1 and Section 4.2) are used for both frameworks, any difference in grounding performance can only be due to the different grounding algorithms described in Section 4.3 and Section 5.
Figure 4 shows how the mean number of correct and false mappings obtained by the proposed framework changes over all 312 situations. It shows two different cases, which differ regarding the concrete representations used for emotion types, i.e., for the first case (TPRE), the predicted concrete representations are used, while for the second case (TPER), perfect concrete representations are used to investigate the effect of the accuracy of the concrete representations on the grounding performance. For TPRE, represented by continuous lines, the number of correct mappings quickly increases from zero to about twelve mappings for the first 20 situations, and continuous to increase more slowly afterwards to 15 mappings, while the number of false mappings starts with about six mappings and increases over the course of 45 situations to 15 mappings, after which it slowly decreases to 13 mappings. The main reason for the large number of false mappings is that the concrete representations used for emotion types are highly inaccurate, with an accuracy of 59.6%, while, at the same time, 60% of the employed words refer to them. This assumption is confirmed when looking at TPER, represented by the dashed line, which shows the number of correct and false mappings when perfect concrete representations are used for emotion types, while the predicted ones are still used for the other two modalities, i.e., emotion intensity and gender. For TPER, the proposed framework obtains 17 and 20 correct mappings within the first 20 and 45 situations, respectively. If the framework is only allowed to learn during 60% of the situations, it obtains 21 correct mappings, while it obtains one more mapping, i.e., 22, if it continues learning for the remaining situations. In contrast, the number of false mappings increases slightly from five to seven from the first to the second situation, stays stable for about eight situations and decreases then continuously to two mappings after 60% of the situations have been encountered and one mapping after all situations have been encountered. Both cases together illustrate that the proposed grounding algorithm depends on the accuracy of the obtained concrete representations; however, it does not require perfectly accurate representations because it is able to obtain all correct mappings for the second case, although the concrete representations for emotion intensities and genders only have accuracies of 73.5% and 89.8%, respectively.
The figure also illustrates the online grounding capability and transparency of the proposed grounding algorithm because it updates its mappings for every new encountered situation and allows, at any time, to check through which concrete representation a word is grounded. The latter becomes important when the model is used in real human–agent interaction to understand and debug the agent’s actions, especially in cases where they might have been inappropriate. Since the baseline model requires an explicit training phase, no similar figure can be obtained. Thus, to compare the two models, the mappings of the proposed model are extracted after 187 and 312 situations depending on the used train/test split. In this study, two different train/test splits are used. For the first split (TTS60), only 60% of the situations are used for training and the remaining 40% for testing to investigate how well the models perform for unseen situations. Figure 3 provides an overview about the average occurrence of each word in the train and test sets. Applying the learning mechanisms of the proposed model only for the first 187 situations is both unnecessary and unrealistic because it is able to learn in an online manner and does not require an explicit training phase; however, it has been done out of fairness to the baseline model because the latter sees also only 60% of the situations during training. In contrast, for the second split (TTS100,) all situations are used for training and testing to ensure that the proposed model can learn continuously, while providing an unrealistic benefit to the baseline model because it is very unlikely that it would encounter all situations already during the offline training phase.
Figure 5 shows the accuracies for each modality for both models and test splits, as well as the percentage of sentences for which all words were correctly grounded. Additionally, it also illustrates the influence of the accuracy of the employed concrete representations by showing both the results for the predicted concrete representations of emotion types (Figure 5a) and when using perfect concrete representations for emotion types (Figure 5b). The proposed model achieves a higher accuracy than the baseline model in all cases, i.e., for all modalities, train/test splits and both concrete representations of emotion types, except for emotion types, when the predicted concrete representations are used and all situations are encountered during training. In fact, for genders, the proposed model achieves perfect grounding due to the high accuracy of the corresponding concrete representations, i.e., 89.8%. The figure also confirms the results in Figure 4 that the grounding accuracy improves with the number of encountered situations, which seems intuitive but is not necessarily the case, as shown by the results obtained for the baseline model, i.e., the latter obtained less accurate groundings for most modalities when using all situations for training and testing due to the larger number of situations in the test set. For the baseline model, using perfect concrete representations for emotion types increases the accuracy of the groundings obtained for emotion types and genders as well as the accuracy of auxiliary words, although the accuracy of the latter two only increases for TTS100, while the accuracy of the emotion intensity groundings decreases independent of the number of situations encountered during training.
Although the accuracies provide a good overview of how accurate the groundings for each modality are, they do not provide any details about the wrong groundings or the accuracy of the groundings obtained for individual words. Therefore, Figure 6 shows the confusion matrices for all words and modalities, which illustrate how often each word was grounded through the different modalities and highlight two interesting points. First, both models show a high confusion for emotion types, i.e., all of them have non-zero probabilities to be mapped to concrete representations representing emotion intensities or genders, due to the low accuracy of the corresponding concrete representations for TTS60. The confusion decreases for TSS100, in which case most words converge to one modality for the proposed model, i.e., only “happy” and “sad” are still confused as a gender or emotion intensity, respectively. However, this does not lead to a substantial increase in grounding accuracy for emotion types because some words, e.g., “surprise” and “afraid”, converge to the wrong modality so that the probability to be mapped to a concrete representation of an emotion type decreases to zero. Figure 7 shows confusion matrices of words and different concrete representations, thereby allowing to investigate whether the concrete representation a word is grounded through is correct, which might not be the case if there is a high confusion between concrete representations of the same modality. The fourth column, representing the emotion type neutral, is very noticeable in Figure 7a,c,d because both models do not map any word to it, except for the proposed model and TTS60 (Figure 7b); however, even in the latter case, the probability that the word “fine” gets mapped to it is very low because most of the time it is mapped to the concrete representation of the concept male (column 11). Otherwise, the results show that, for the proposed model, the confusion is normally across modalities and not between concrete representations of the same modality. In contrast, the baseline model shows strong confusions between concrete representations of the same modality, e.g., for TTS60 “happy” and “disgusted” are more often grounded through anger than happiness and disgust, respectively.
When considering the deployability of the proposed and the baseline framework, it is important to also analyse the required computational resources. The grounding experiments have been conducted on a system with Ubuntu 16.04, i7-6920HQ CPU, octa core with 2.90 GHz each, and 32 GB RAM. However, it is important to note that both frameworks are only utilizing a single core; thus, the same processing times would be achieved with a single core, if no other computationally expensive processes are running at the same time. The average time it took the proposed framework to process a new situation and update its mappings was 3 ms, while the inference time was only 56 μs. In contrast, one Gibbs sampling iteration of the baseline model took 647 ms. Since 100 iterations were used, the average training time (averaged across all 10 runs) for the baseline model was 65 s for all 320 situations, while the inference time was on average 7.45 ms for each situation. These results confirm that both framework can be used for real-time grounding applications, while only the proposed framework can be used for dynamic environments that require frequent updates of the models because the baseline framework requires already more than one minute to train on a relatively small number of situations, which also needs to be done in advance and is, therefore, not possible after deployment.
Overall, the evaluation shows that the proposed model outperforms the baseline in terms of auxiliary word detection and grounding accuracy as well as its abilities to learn continuously without requiring explicit training. The latter does not only make it more applicable for real-world scenarios but also more transparent, because it is possible to observe how a new situation influences the obtained groundings.

8. Conclusions and Future Work

This paper investigated whether the proposed unsupervised online grounding framework is able to ground abstract concepts, like emotion types, emotion intensities and genders, during simulated human–agent interactions. Percepts were converted to concrete representations through deep neural networks that received as input audio features extracted via OpenEAR from videos.
The results showed that the framework is able to identify auxiliary words and ground non-auxiliary words, including synonyms, through their corresponding emotion types, emotion intensities and genders. Additionally, the proposed framework outperformed the baseline model in terms of the accuracy of the obtained groundings, as well as its ability to learn new groundings and continuously update existing groundings during interactions with other agents and the environment, which is essential when considering real-world deployment. Furthermore, the framework is also more transparent, due to the creation of explicit mappings from words to concrete representations.
In future work, we will investigate whether the framework can be used to ground homonyms, i.e., concrete representations that can be referred to by the same word. Furthermore, we will investigate whether the framework can ground emotion types, intensities and genders, if multiple people are present in a video. Finally, we are planning to integrate the framework with a knowledge representation to explore the utilization of abstract knowledge to increase the sample-efficiency of the grounding mechanism as well as the accuracy of the obtained groundings, and enable agents to reason about the world with the help of an abstract but grounded world model.

Author Contributions

Conceptualization, O.R.; methodology, E.B. and O.R.; software, E.B. and O.R.; validation, E.B. and O.R.; formal analysis, O.R.; investigation, E.B. and O.R.; resources, E.B. and O.R.; data curation, E.B. and O.R.; writing—original draft preparation, O.R.; writing—review and editing, E.B. and O.R.; visualization, E.B. and O.R.; supervision, O.R.; project administration, O.R.; funding acquisition, O.R. All authors have read and agreed to the published version of the manuscript.

Funding

The APC was funded by the Flemish Government under the program Onderzoeksprogramma Artificiele Intelligentie (AI) Vlaanderen.

Data Availability Statement

The used perceptual data is available at https://zenodo.org/record/1188976, accessed on 17 April 2021, while the used sentences are available on request from the corresponding author.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Feil-Seifer, D.; Matarić, M.J. Defining Socially Assistive Robotics. In Proceedings of the 2005 IEEE 9th International Conference on Rehabilitation Robotics (ICORR), Chicago, IL, USA, 28 June–1 July 2005; pp. 465–468. [Google Scholar]
  2. Bemelmans, R.; Gelderblom, G.J.; Jonker, P.; de Witte, L. Socially Assistive Robots in Elderly Care: A Systematic Review into Effects and Effectiveness. J. Am. Med Dir. Assoc. (JAMDA) 2012, 13, 114–120. [Google Scholar] [CrossRef] [PubMed]
  3. Kachouie, R.; Sedighadeli, S.; Khosla, R.; Chu, M.T. Socially Assistive Robots in Elderly Care: A Mixed-Method Systematic Literature Review. Int. J. Hum. Comput. Interact. 2014, 30, 369–393. [Google Scholar] [CrossRef]
  4. Cao, H.L.; Esteban, P.G.; Bartlett, M.; Baxter, P.; Belpaeme, T.; Billing, E.; Cai, H.; Coeckelbergh, M.; Costescu, C.; David, D.; et al. Robot-Enhanced Therapy: Development and Validation of Supervised Autonomous Robotic System for Autism Spectrum Disorders Therapy. IEEE Robot. Autom. Mag. 2019, 26, 49–58. [Google Scholar] [CrossRef]
  5. Coeckelbergh, M.; Pop, C.; Simut, R.; Peca, A.; Pintea, S.; David, D.; Vanderborght, B. A Survey of Expectations About the Role of Robots in Robot-Assisted Therapy for Children with ASD: Ethical Acceptability, Trust, Sociability, Appearance, and Attachment. Sci. Eng. Ethics 2016, 22, 47–65. [Google Scholar] [CrossRef]
  6. Brose, S.; Weber, D.; Salatin, B.; Grindle, G.; Wang, H.; Vazquez, J.; Cooper, R. The Role of Assistive Robotics in the Lives of Persons with Disability. Am. J. Phys. Med. Rehabil. 2010, 89, 509–521. [Google Scholar] [CrossRef] [PubMed]
  7. Brave, S.; Nass, C.; Hutchinson, K. Computers that care: Investigating the effects of orientation of emotion exhibited by an embodied computer agent. Int. J. Hum. Comput. Stud. 2005, 62, 161–178. [Google Scholar] [CrossRef]
  8. Rasool, Z.; Masuyama, N.; Islam, M.N.; Loo, C.K. Empathic Interaction Using the Computational Emotion Model. In Proceedings of the IEEE Symposium Series on Computational Intelligence, Cape Town, South Africa, 7–10 December 2015. [Google Scholar]
  9. Gibbs, J.P. Norms: The Problem of Definition and Classification. Am. J. Sociol. 1965, 70, 586–594. [Google Scholar] [CrossRef]
  10. Mackie, G.; Moneti, F. What Are Social Norms? How Are They Measured? Technical Report; UNICEF/UCSD Center on Global Justice: New York, NY, USA; San Diego, CA, USA, 2014. [Google Scholar]
  11. Sutton, R.S.; Barto, A.G. Reinforcement Learning: An Introduction; MIT Press: Cambridge, MA, USA, 1998. [Google Scholar]
  12. Argall, B.D.; Chernova, S.; Veloso, M.; Browning, B. A survey of robot learning from demonstration. Robot. Auton. Syst. 2009, 57, 469–483. [Google Scholar] [CrossRef]
  13. Huang, C.M.; Mutlu, B. Learning-based modeling of multimodal behaviors for humanlike robots. In Proceedings of the 2014 ACM/IEEE International Conference on Human-Robot Interaction (HRI), Bielefeld, Germany, 3–6 March 2014; pp. 57–64. [Google Scholar] [CrossRef] [Green Version]
  14. Liu, P.; Glas, D.F.; Kanda, T.; Ishiguro, H.; Hagita, N. How to Train Your Robot—Teaching Service Robots to Reproduce Human Social Behavior. In Proceedings of the 23rd IEEE International Symposium on Robot and Human Interactive Communication (RO-MAN), Edinburgh, UK, 25–29 August 2014. [Google Scholar]
  15. Gao, Y.; Yang, F.; Frisk, M.; Hemandez, D.; Peters, C.; Castellano, G. Learning Socially Appropriate Robot Approaching Behavior Toward Groups using Deep Reinforcement Learning. In Proceedings of the 28th IEEE International Conference on Robot and Human Interactive Communication (RO-MAN), New Delhi, India, 14–18 October 2019. [Google Scholar]
  16. Bagheri, E.; Roesler, O.; Cao, H.L.; Vanderborght, B. A Reinforcement Learning Based Cognitive Empathy Framework for Social Robots. Int. J. Soc. Robot. 2020. [Google Scholar] [CrossRef]
  17. Harnad, S. The Symbol Grounding Problem. Physica D 1990, 42, 335–346. [Google Scholar] [CrossRef] [Green Version]
  18. Dawson, C.R.; Wright, J.; Rebguns, A.; Escárcega, M.V.; Fried, D.; Cohen, P.R. A generative probabilistic framework for learning spatial language. In Proceedings of the IEEE Third Joint International Conference on Development and Learning and Epigenetic Robotics (ICDL), Osaka, Japan, 18–22 August 2013. [Google Scholar]
  19. Roesler, O.; Aly, A.; Taniguchi, T.; Hayashi, Y. Evaluation of Word Representations in Grounding Natural Language Instructions through Computational Human-Robot Interaction. In Proceedings of the 14th ACM/IEEE International Conference on Human-Robot Interaction (HRI), Daegu, Korea, 11–14 March 2019; pp. 307–316. [Google Scholar]
  20. Tellex, S.; Kollar, T.; Dickerson, S.; Walter, M.R.; Banerjee, A.G.; Teller, S.; Roy, N. Approaching the symbol grounding problem with probabilistic graphical models. AI Mag. 2011, 32, 64–76. [Google Scholar] [CrossRef] [Green Version]
  21. Aly, A.; Taniguchi, T. Towards Understanding Object-Directed Actions: A Generative Model for Grounding Syntactic Categories of Speech through Visual Perception. In Proceedings of the IEEE International Conference on Robotics and Automation (ICRA), Brisbane, QLD, Australia, 21–25 May 2018. [Google Scholar]
  22. Pinker, S. Learnability and Cognition; MIT Press: Cambridge, MA, USA, 1989. [Google Scholar]
  23. Fisher, C.; Hall, D.G.; Rakowitz, S.; Gleitman, L. When it is better to receive than to give: Syntactic and conceptual constraints on vocabulary growth. Lingua 1994, 92, 333–375. [Google Scholar] [CrossRef]
  24. Blythe, R.A.; Smith, K.; Smith, A.D.M. Learning Times for Large Lexicons Through Cross-Situational Learning. Cogn. Sci. 2010, 34, 620–642. [Google Scholar] [CrossRef] [PubMed]
  25. Smith, A.D.M.; Smith, K. Cross-Situational Learning. In Encyclopedia of the Sciences of Learning; Seel, N.M., Ed.; Springer: Boston, MA, USA, 2012; pp. 864–866. [Google Scholar] [CrossRef]
  26. Akhtar, N.; Montague, L. Early lexical acquisition: The role of cross-situational learning. First Lang. 1999, 19, 347–358. [Google Scholar] [CrossRef]
  27. Gillette, J.; Gleitman, H.; Gleitman, L.; Lederer, A. Human simulations of vocabulary learning. Cognition 1999, 73, 135–176. [Google Scholar] [CrossRef] [Green Version]
  28. Smith, L.; Yu, C. Infants rapidly learn word-referent mappings via cross-situational statistics. Cognition 2008, 106, 1558–1568. [Google Scholar] [CrossRef] [Green Version]
  29. Carey, S. The child as word-learner. In Linguistic Theory and Psychological Reality; Halle, M., Bresnan, J., Miller, G.A., Eds.; MIT Press: Cambridge, MA, USA, 1978; pp. 265–293. [Google Scholar]
  30. Carey, S.; Bartlett, E. Acquiring a single new word. Pap. Rep. Child Lang. Dev. 1978, 15, 17–29. [Google Scholar]
  31. Vogt, P. Exploring the Robustness of Cross-Situational Learning Under Zipfian Distributions. Cogn. Sci. 2012, 36, 726–739. [Google Scholar] [CrossRef]
  32. Bleys, J.; Loetzsch, M.; Spranger, M.; Steels, L. The Grounded Color Naming Game. In Proceedings of the 18th IEEE International Symposium on Robot and Human Interactive Communication (RO-MAN), Toyama, Japan, 27 September–2 October 2009. [Google Scholar]
  33. Spranger, M. Grounded Lexicon Acquisition—Case Studies in Spatial Language. In Proceedings of the IEEE Third Joint International Conference on Development and Learning and Epigenetic Robotics (ICDL-Epirob), Osaka, Japan, 18–22 August 2013. [Google Scholar]
  34. Steels, L.; Loetzsch, M. The Grounded Naming Game. In Experiments in Cultural Language Evolution; Steels, L., Ed.; John Benjamins: Amsterdam, The Netherlands, 2012; pp. 41–59. [Google Scholar]
  35. She, L.; Yang, S.; Cheng, Y.; Jia, Y.; Chai, J.Y.; Xi, N. Back to the Blocks World: Learning New Actions through Situated Human-Robot Dialogue. In Proceedings of the SIGDIAL 2014 Conference, Philadelphia, PA, USA, 18–20 June 2014; pp. 89–97. [Google Scholar]
  36. Siskind, J.M. A computational study of cross-situational techniques for learning word-to-meaning mappings. Cognition 1996, 61, 39–91. [Google Scholar] [CrossRef]
  37. Smith, K.; Smith, A.D.M.; Blythe, R.A. Cross-Situational Learning: An Experimental Study of Word-Learning Mechanisms. Cogn. Sci. 2011, 35, 480–498. [Google Scholar] [CrossRef]
  38. Roesler, O. Unsupervised Online Grounding of Natural Language during Human-Robot Interaction. In Proceedings of the Second Grand Challenge and Workshop on Multimodal Language at ACL 2020, Seattle, WA, USA, 10 July 2020. [Google Scholar]
  39. Eyben, F.; Wöllmer, M.; Schuller, B. OpenEAR—Introducing the Munich Open-Source Emotion and Affect Recognition Toolkit. In Proceedings of the 3rd International Conference on Affective Computing and Intelligent Interaction and Workshops, Amsterdam, The Netherlands, 10–12 September 2009. [Google Scholar]
  40. Livingstone, S.R.; Russo, F.A. The Ryerson Audio-Visual Database of Emotional Speechand Song (RAVDESS): A dynamic, multimodal set of facial and vocal expressions in North American English. PLoS ONE 2018, 13, e0196391. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  41. Schuller, B.; Steidl, S.; Batliner, A. The Interspeech 2009 Emotion Challenge. In Proceedings of the Tenth Annual Conference of the International Speech Communication Association, Brighton, UK, 6–10 September 2009; pp. 312–315. [Google Scholar]
  42. Kingma, D.P.; Ba, L.J. Adam: A Method for Stochastic Optimization. In Proceedings of the International Conference on Learning Representations (ICLR), San Diego, CA, USA, 7–9 May 2015. [Google Scholar]
  43. Bagheri, E.; Roesler, O.; Cao, H.L.; Vanderborght, B. Emotion Intensity and Gender Detection via Speech and Facial Expressions. In Proceedings of the 31th Benelux Conference on Artificial Intelligence (BNAIC), Leiden, The Netherlands, 19–20 November 2020. [Google Scholar]
  44. Geman, S.; Geman, D. Stochastic Relaxation, Gibbs Distributions, and the Bayesian Restoration of Images. IEEE Trans. Pattern Anal. Mach. Intell. (TPAMI) 1984, 6, 721–741. [Google Scholar] [CrossRef] [PubMed]
  45. Ekman, P. Strong evidence for universals in facial expressions: A reply to Russell’s mistaken critique. Psychol. Bull. 1994, 115, 268–287. [Google Scholar] [CrossRef] [PubMed]
Figure 1. The architecture of the classification model used for emotion intensity and gender recognition.
Figure 1. The architecture of the classification model used for emotion intensity and gender recognition.
Robotics 10 00066 g001
Figure 2. Graphical representation of the probabilistic model. Indices i, t, s, and g denote the order of words, emotion types, emotion strengths, and genders, respectively.
Figure 2. Graphical representation of the probabilistic model. Indices i, t, s, and g denote the order of words, emotion types, emotion strengths, and genders, respectively.
Robotics 10 00066 g002
Figure 3. Word occurrences for all words except auxiliary words. The dark blue part of the bars shows the mean number of occurrences during training and the bright blue part shows the mean number of occurrences during testing.
Figure 3. Word occurrences for all words except auxiliary words. The dark blue part of the bars shows the mean number of occurrences during training and the bright blue part shows the mean number of occurrences during testing.
Robotics 10 00066 g003
Figure 4. Mean number and standard deviation of correct and false mappings obtained by the proposed model over all 312 situations. The continues line represents the results when the predicted concrete representations are used for all modalities, while the dashed line represents the results when perfect concrete representations are used for emotion types to investigate the influence of the concrete representation accuracy on the grounding performance of the proposed model. For all lines, the dotted parts only occur when all situations are used for training.
Figure 4. Mean number and standard deviation of correct and false mappings obtained by the proposed model over all 312 situations. The continues line represents the results when the predicted concrete representations are used for all modalities, while the dashed line represents the results when perfect concrete representations are used for emotion types to investigate the influence of the concrete representation accuracy on the grounding performance of the proposed model. For all lines, the dotted parts only occur when all situations are used for training.
Robotics 10 00066 g004
Figure 5. Mean grounding accuracy results and corresponding standard deviations for both grounding models, all modalities and both training/test splits (TTS). Additionally, the percentage of sentences for which all words were correctly grounded is shown.
Figure 5. Mean grounding accuracy results and corresponding standard deviations for both grounding models, all modalities and both training/test splits (TTS). Additionally, the percentage of sentences for which all words were correctly grounded is shown.
Robotics 10 00066 g005
Figure 6. Confusion matrices showing how often each word was grounded on average, i.e., over ten runs, through which modality when using predicted concrete representations for all modalities. (a,b) show the results when only 60% of the situations are used for training, while (c,d) show the results when all situations are used for training and testing.
Figure 6. Confusion matrices showing how often each word was grounded on average, i.e., over ten runs, through which modality when using predicted concrete representations for all modalities. (a,b) show the results when only 60% of the situations are used for training, while (c,d) show the results when all situations are used for training and testing.
Robotics 10 00066 g006
Figure 7. Confusion matrices of words over different concrete representations for all ten situation sequences when using predicted concrete representations for all modalities. (a,b) show the results when only 60% of the situations are used for training, while (c,d) show the results when all situations are used for training and testing.
Figure 7. Confusion matrices of words over different concrete representations for all ten situation sequences when using predicted concrete representations for all modalities. (a,b) show the results when only 60% of the situations are used for training, while (c,d) show the results when all situations are used for training and testing.
Robotics 10 00066 g007
Table 1. Classification accuracies for all individual classes, i.e., concrete representations.
Table 1. Classification accuracies for all individual classes, i.e., concrete representations.
Emotion TypeEmotion IntensityGender
HappinessSadnessAngerNeutralSurpriseFearDisgustNormalStrongMaleFemale
50%77.08%77.08%37.5%62.5%52.08%56.25%41.66%80.5%99.35%78.02%
Table 2. Overview of all concepts with their corresponding synonyms and concrete representation number (CR#) according to Figure 7.
Table 2. Overview of all concepts with their corresponding synonyms and concrete representation number (CR#) according to Figure 7.
TypeConceptSynonymsCR#
Emotion TypeHappinesshappy, cheerful1
Sadnesssad, sorrowful2
Angerangry, furious3
Neutralneutral, fine4
Surprisesurprised, startled5
Fearafraid, scared6
Disgustdisgusted, appalled7
Emotion IntensityNormal 1slightly, lightly8
Strongvery, really9
GenderFemaleshe, woman10
Malehe, man11
Auxiliary word-the, is0
1 Since emotion intensities are binary, i.e., strong or normal, normal was seen as synonymous to weak, which made it easier to find appropriate words.
Table 3. Definitions of the learning parameters in the graphical model.
Table 3. Definitions of the learning parameters in the graphical model.
ParameterDefinition
λ Hyperparameter of the distribution π w
α t , α s , α g Hyperparameters of the distributions π t , π s and π g
m i Modality index of each word
(modality index ∈ {Type, Strength, Gender, AW})
Z t , Z s , Z g Indices of type, strength and gender distributions
w i Word indices
t , s , g Observed states representing types, strengths and genders
γ Hyperparameter of the distribution θ m , Z
β t , β s , β g Hyperparameters of the distributions ϕ t , ϕ s and ϕ g
θ m , Z Word distribution over modalities
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Roesler, O.; Bagheri, E. Unsupervised Online Grounding for Social Robots. Robotics 2021, 10, 66. https://doi.org/10.3390/robotics10020066

AMA Style

Roesler O, Bagheri E. Unsupervised Online Grounding for Social Robots. Robotics. 2021; 10(2):66. https://doi.org/10.3390/robotics10020066

Chicago/Turabian Style

Roesler, Oliver, and Elahe Bagheri. 2021. "Unsupervised Online Grounding for Social Robots" Robotics 10, no. 2: 66. https://doi.org/10.3390/robotics10020066

APA Style

Roesler, O., & Bagheri, E. (2021). Unsupervised Online Grounding for Social Robots. Robotics, 10(2), 66. https://doi.org/10.3390/robotics10020066

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop