Publication Cover
Cybernetics and Systems
An International Journal
Volume 50, 2019 - Issue 4
2,071
Views
0
CrossRef citations to date
0
Altmetric
Articles

Modeling Mentor-Mentee Dialogues in Film

, , &

Abstract

With a view to inform the design of a mentor-like synthetic agent that is to engage in a coherent and consistent in character conversation with human subjects, we conducted a data-driven analysis of verbal communication between fictional mentor and mentee characters in films. While in our earlier work the focus was on the conversation strategies of mentor characters, here we present the extended model, wherein conversation activity of both mentor and mentee characters is accounted for. To examine and to formalize local communication actions and extended goals that the two characters achieve jointly, categories of intents, projects and relationship phases were introduced. The resulting annotated corpus of mentor and mentee characters’ utterances was analyzed qualitatively and quantitatively. In furtherance of the automated in-character dialogue generation task, a range of the state-of-the-art approaches to automated utterances classification was evaluated.

Introduction

Always two there are, no more, no less. A master and an apprentice.

Master Yoda

This paper introduces the extended model of strategic talk in film developed to inform the design of an automated dialogue generation system that is to engage in conversations with human users in character. Character of mentor was chosen as a prototype as it exhibits a wide range of functional and psycho-social characteristics which are relevant in light of the rapidly developing sectors of online tutoring (Kulik and Fletcher Citation2016) and educational robotics (Edwards and Cheok Citation2018).

Our earlier model of strategic talk in film (Payr et al. Citation2017) was put forward based on the annotations and analysis of the corpus of mentor characters’ utterances from a sample of 45 films. We chose to turn to film scripts because it is hard to come by natural mentor–mentee conversations corpora. It is our assumption that, despite their artificiality and objectives that diverge from those normally found in natural conversations e.g. advancing the plot, viewer engagement etc., scripted dialogues still follow the fundamental logic of conversations (Grice Citation1975).

The model presented here extends our earlier analysis to include the utterances of mentee characters and introduces three new structural categories. The reason for the incorporation of mentee characters’ utterances is twofold. Firstly, conversations are temporal and bi-directional: what a conversation participant says is informed by what was said in the conversation previously and what kind of effect they expect an utterance will have on the conversation partner (Levinson Citation2013). Our objective behind the extended model was to preserve and reflect on the collaborative nature of communication. Secondly, in order for the dialogue generation system to be able to generate meaningful and consistent responses to user inputs, it is desirable that the system can classify user inputs not only in terms of their semantic theme, but also in terms of the communicative action they perform in a given context, for example, whether an utterance is intended as an explanation or an instruction.

The questions that shaped our research were as follows: i) What kind of typical communication actions (Schegloff Citation2007) mentor and mentee characters exhibit at the level of a single utterance/turn? ii) What are the defining processes, events and phases that a mentoring relationship undergoes? iii) How are these processes expressed in language? iv) Whether some meaningful structural correspondences between local and global structural units can be established? and finally, v) How does the automated classification of utterances compare to that of a human expert?

To explore these themes, three categories operating at micro-, meso- and macro-levels of scripted conversations between mentors and mentees were introduced. The category of intents, inspired by conversation analysis approach (Elliott, Hoey and Kendrick Citation2017), was introduced to classify mentor and mentee characters’ typical conversation actions (e.g. explain, ask, scold, etc.) at the level of a single utterance/turn. The category of projects was developed to represent extended sequences of mentor and mentee intents that shape into more global processes typical of mentoring relationships e.g. training, bonding, etc. Finally, the category of mentoring relationship phases was adopted from literature on mentoring (Kram Citation1983) to provide a general framework for the exploration of how sequences of intents and projects map onto the global dynamics of mentoring relationship.

Bearing in mind that the objective we are pursuing is to design a dialogue system that relies on recognition and generation of written text, the model we propose does not incorporate other communication modalities (e.g. body language, prosody, pauses) that otherwise play an important role in natural conversations.

The structure of the paper is as following. In Methods, we outline the strategy that we used to compile, annotate, and analyze a corpus of utterances from scripted dialogues between mentor and mentee characters in film. In Results, we provide an overview of the quantitative analysis of the annotated corpus and related discussion. Finally, in Classification we evaluate the performance of the automatic classifier against that of a human expert. The paper concludes with a review of the limitations of our approach and explores possible directions for future research.

Methods

Data Set

Mentor–mentee dialogues from Matrix (1999) and Kung Fu Panda (2008) were extracted from the Internet Movie Script Database (IMsDB)Footnote1 and automatically broken down to scenes and unique utterances. Similar procedure was repeated for Chasing Mavericks (2012). The film was extracted from Springfield! Springfield! website for film scriptsFootnote2 and broken to scenes manually due to the source format limitations. The three films mentioned were chosen as they portray the evolution of the lead mentor-mentee relationships, from the first encounter to the termination/redefinition.

Traditionally, mentoring is defined as a dyadic relationship in which mentor – a person in age or experience – provides guidance and support to a less experienced protege (Ensher et al. Citation2001). In line with conversation analysis approach, mentoring can also be thought of as an activity type, wherein its principal participants are goal-oriented, socially-constituted, and bounded (Drew and Heritage 1992). Despite an apparent straightforwardness of this definition, it is not always easy to delineate communication activities that fall under one or another activity type (Levinson Citation1992). This is also true of film scripts, where interactions between mentor and mentee characters incorporate a wide range of activities and phases, some of which extend beyond the framework of mentorship. Earlier research suggests that the main functions provided by mentors span across two principal dimensions: i) career/skills-oriented or instrumental (coaching mentees, sponsoring career advancement, providing challenging assignments) and ii) psycho-social (building trust, interpersonal bond, enhancing mentee’s personal growth and self-worth) (Ragins and Kram 2007). The final data set was compiled in agreement with this definition. Namely, the scenes, where both mentor and mentee characters are present but the nature of their interactions does not explicitly fall under neither instrumental nor psycho-social dimensions were excluded. The scenes, where mentor and mentee characters interact with support characters were also excluded, unless specified otherwise (i.e. support characters Oogway and Tai Lung were preserved for the reasons we will address further). The final data set (Training set) thus compiled totals 1193 utterances.

Intents

Drew and Heritage (1992) suggest that an activity type will consist of a range of ordered sequences of local communication actions or, as we refer to them, intents. The kinds of actions performed and the order of these will be constrained by the activity type in question. For example, for mentoring activity type, it is reasonable to assume that activities such as asking, explaining, evaluating will be featured. Hence, the task we pursued when developing labels for the Intents category was to identify and name communication actions typically manifested in mentor-mentee dialogues. Following Schegloff (Citation2007), we started from individual instances of data in their embedded context and asked ourselves what a character appeared to be doing when uttering a phrase, also in respect to the effect that the phrase has on the response that follows. Note that in scripted dialogues, an utterance will also perform functions that are meant to have an effect on spectator. Our interest, however, was solely on the communication acts as directed at and acted upon other characters. Thus, extradiegetic functions inscribed into characters’ utterances by scriptwriters were ignored. As result of iteratively going through the data set, 22 labels for mentor intents () and 21 labels for mentee intents were established ().

Table 1. Mentor intents.

Table 2. Mentee intents.

Once the labels for the intents category were finalized, the data set was annotated manually by a human expert. At this stage, a number of concessions and self-imposed restrictions had to be made. Both in natural and in scripted conversations, an utterance will often perform more than just one action (Levinson Citation1981; Schegloff Citation2007). For example, the utterance “Stronger by the day, huh?” delivered by Frosty, the mentor character from Chasing Mavericks, in response to the mentee expressing eagerness to surf a challenging break, takes the grammatical form of a question while at the same time functioning as an evaluation – “you are not strong enough” – and dismissal suggested by the sarcastic “huh”. Similarly, instructions will frequently overlap with explanations. For example, “If you can free your mind, the body will follow.” uttered by Morpheus (Matrix) is both a directive to free oneself of the preexisting assumptions (Instruct) and a lesson about the unity of body and mind (Explain). Furthermore, the interpretation of an utterance will depend on what precedes it in the conversation – the phenomenon referred to as cumulative effect (Levinson and Torreira Citation2015) – as well as other contextual parameters involved e.g. what we know about the character’s personality, how far in the relationship the two characters are etc. We will return to the data-grounded evaluation of the role of contextual parameters and metafeatures in the section on automated classification. That said, our approach when manually annotating for the intents category was to assign labels based on the dominant action that an utterance performs in a given context. Lastly, the boundaries of an intent as a unit of conversation do not necessarily coincide with the boundaries of an utterance and can span across several utterances. The format of the automated extracts dictated the necessity of the annotation for intent labels at the utterance level. However, sequences of identical intents are accessible as coherent chunks in the data file which allowed for further analysis.

Adjacency Pairs

In view of our extended goal of the automated dialogue generation, we considered it useful to establish the types of adjacency pairs manifested in the dialogues between mentor and mentee characters. Schegloff (Citation2007) defines basic minimal adjacency pair as an organizational conversation unit that, in unexpanded form, is 1) composed of two turns by different speakers, 2) adjacently placed, 3) relatively ordered (i.e. can be differentiated into “first pair part” and “second pair part”), and 4) pair-related, which means that not every second pair part can properly match the first pair part. In that regard, a first pair part will perform both an operation of retrospective understanding of the prior conversation and a prospective operation that makes relevant only a limited set of possible second pair parts.

It was agreed that adjacency pairs will be annotated manually by a human annotator following (Schegloff Citation2007). In conversations, the boundaries of a turn do not necessarily coincide with the boundaries of a single utterance/intent, that is one turn can be composed of several consequent utterances/intents by the same speaker (Levinson Citation2016). This is also true of some turns constituting parts of adjacency pairs in our data set. At the annotation stage, in cases when the intents constituting a character’s turn bear the same label (e.g. Explain-Explain), the given character’s turn was compressed to one label (Explain). Otherwise, if the turn constituting an adjacency pair part consisted of a sequence of different intents (e.g. Explain-Instruct), all labels were preserved, which resulted in an adjacency pair consisting of three or more intents in total.

For more detailed overview of the resulting adjacency pairs see .

Projects

In natural conversations, activities often require contribution by all participants and span across boundaries of a single utterance/turn (Robinson Citation2013). This is certainly true of mentoring, wherein mentees are not passive recipients of mentors’ wisdom but are actively engaged in reciprocal reflection, questioning and problem-solving (Pfund et al. Citation2016). To explore the collaborative and dyadic nature of mentoring relationship, and how it is expressed in the dialogue structures, the category of projects was introduced. This category is meant to capture the pivotal processes and events e.g. Training, Bonding, Conflict, etc. that take place throughout mentoring relationships.

Here we relied on thematic analysis approach (Braun and Clarke Citation2006) to iteratively code the data set for different types of projects, which resulted in 14 project labels. Two important distinctions between intents and projects can be summarized as the following: i) if intents are annotated on the level of a single utterance/turn, projects by definition will incorporate communication acts by both mentor and mentee characters and ii) as mentioned previously, the category of intents has its roots in conversation analysis approach, where it is assumed that activities are recognized and understood (i.e. acted upon) by the participants of a conversation (Elliott, Hoey, and Kendrick Citation2017; Schegloff Citation2007). Projects, on the other hand, are an abstracted category that we introduce to make sense of the data in reference to the question posed. In other words, if the dialogues from our data set were enacted in real life, it would not follow that their participants would be necessarily aware that they are carrying out some sort of a project.

The following section provides an overview of the project labels we developed, accompanied by a brief description.

  • Encounter: mentor and mentee characters meet for the first time. An encounter is characterized by the social interaction that will commonly incorporate profiling i.e. characters exchanging questions and answers with a purpose of acquiring more information about one another.

  • Reaching Out: one of the characters invites the other to form a mentoring relationship. At the onset, the invitation can be met with a degree of resistance. For more on the comparison of the variants of the mentor reaching out to the mentee vs the mentee reaching out to the mentor see Payr et al. (Citation2017).

  • Mentoring Contract: once the characters agree to a mentoring relationship, the “do’s and don’ts” that guide the relationship are introduced and agreed upon.

  • Training: incorporates both the acquisition of the quest-related skills and mentee’s personality development related interactions.

  • Active Guidance: mentor guides mentee through a challenging situation. While the Training project entails that the challenge that mentee faces is a simulation, active guidance takes place when the situation/problem that mentee is faced with is real, hence the risks presented by the situation are also real.

  • Conflict: an inter-personal conflict between mentor and mentee characters designated by the mutual dissatisfaction, and one of the character’s wish to terminate the relationship. Typically in film, Conflict projects conclude either with the two characters coming to an agreement, which leads to the formation of a stronger bond, or with one of the characters parting to return later as a new opponent/enemy to their once partner (example: in Kung Fu Panda, the evil character Tai Lung used to be Shifu’s student).

  • Overcoming: captures the situation when one of the participants of mentoring relationship feels overwhelmed by the challenges presented by the quest and doubts their ability to succeed in it while the other character provides encouragement and emotional support in order to prevent the partner from giving up and quitting.

  • Counseling: mentee character approaches the mentor with an urgent question/problem that the mentor helps to address. Counseling is not to be confused with the Reaching out project, as the former takes place when the mentoring relationship is already formed, and both characters have an explicit interest in resolving the problem.

  • Bonding: an emotional exchange between the characters that leads to strengthening of their interpersonal relationship.

  • Gifting: Gifting is similar to Bonding in terms of the role it plays for the psycho-social dynamics of mentoring relationship. Gifting is structured around one or both characters presenting the other with a gift that is symbolic of the quest (e.g. new surfing board in Chasing Mavericks), and serves to signal the partner that their value extends beyond the functional role they play in the quest.

  • Exposure: Exposure is the project that concludes mentee’s training. The mentee is presented with an opportunity to show their skills in a real challenge while the mentor either participates in the challenge alongside the mentee or assumes the position of an outside observer.

  • Initiation: mentor announces that mentee has completed their traineeship. The occasion is marked by the ceremony of initiation or by mentor revealing to mentee the Truth about the quest.

  • Sacrifice: one of the characters offers to sacrifice themselves so that others can escape. Typically, other characters would attempt to talk them out of it, but eventually agree and leave them to face the enemy forces. More often than not, Sacrifice results in mentor’s death.

  • Separation: not to confuse with the separation relationship phase that is typically marked by a conflict and temporary distancing of the two characters. During the Separation project, mentor acknowledges that there is nothing else they can teach the mentee, hence the latter must continue on their path alone. A more dramatic scenario of the Separation might also involve the mentor’s death at the hands of the villain.

Similarly, to intents, manual annotation for projects is not a straightforward task. For instance, in many cases the boundaries of the projects are not clear-cut. Even in scripted dialogues where the necessity of advancing the narrative introduces additional structural constrains (i.e. a scripted character is less likely to “bury” or abandon a project in contrast to a participant in a natural conversation), different projects might overlap, or the characters can carry out more than one project simultaneously. For example, Overcoming, the project that evolves around an event of mentee experiencing doubts in their ability to succeed and mentor encouraging and supporting the mentee, can also incorporate elements of Training. The following scene from Kung Fu Panda illustrates how the Overcoming project is concluded with the mentor’s words of wisdom, which are typically characteristic of Training projects:

In order to address this limitation, for the manual annotation the following guidelines were formulated: i. Project labels are to be decided upon based on the dominant theme/process manifested in the sequence at hand and ii. Seeing that film scenes frequently evolve around key events/transitions, the boundaries of the scenes can be assumed to coincide with the boundaries of projects.

Relationship Phases

Lastly, the macro-level structural category – relationship phases – was adopted from the seminal work of Kathy E. Kram on mentoring in professional organizations (Kram Citation1983). With an aim to describe how interpersonal dynamics in mentoring relationship develops over time, based on qualitative research, Kram proposed to distinguish between four mentoring relationship phases: initiation, cultivation, separation, and redefinition. Initiation phase is characterized by mentee’s heightened respect and admiration for the mentor. At the same time, for the mentor, the mentee represents the potential that they can help to unravel. Career- and personal development-oriented processes peak at the Cultivation phase. As mentor and mentee get to know each other better, the expectations that they had at the onset of their relationship are tested against reality, and the true value of each individual is revealed to the other. The Separation phase is marked by intensified, oftentimes negative, emotional experiences, anxiety and feeling of loss, and results in the reassessment of the relationship by both participants. With increased autonomy, the mentee shows resistance towards the mentor, while the mentor may feel resentful, also in light of the recognition that the mentee is soon to move on. If separation phase does not lead to a premature termination of the mentoring relationship, the relationship normally transitions into Redefinition phase. At this point, the relationship is typically more egalitarian; mentor continues to support and occasionally counsel mentee, but in the capacity of a friend.

The relationship phases, as outlined by Kram, map well on to the overall structure of scripted mentoring relationships. Fictional mentorship will also undergo an initiation, when the two characters meet for the first time and agree, sometimes after initial resistance (we will return to this point in the following chapters) to form a mentoring relationship. Initiation will always be followed by an extensive cultivation period, after which an intrapersonal or interpersonal crisis will commonly ensue. Finally, the relationship will transition in to redefinition phase, at which point mentee typically faces the ultimate challenge they were training for, while their relationship with the mentor either terminates (due to mentor’s death or departure) or evolves into friendship.

The data set was annotated for relationship phases manually. At this stage, we relied upon identifying and clustering events and processes characteristic of different mentoring relationship phases as described by Kram. In Results, we will discuss the composition of relationship phases in terms of projects and intents in more details.

Results and Interpretation

Intents

Quantitative analysis of mentor intents () shows the strong prevalence of Explain intent overall and per mentor character. The second most frequent intent used by mentors is Instruct, followed by Encourage, Ask, Social, Evaluate, and Single out. For mentees, in overall count, Ask, Resist, Doubt, Respond, Social, and Confirm are among the most frequent intents engaged.

Table 3. Value counts for Mentor and Pupil intents.

Per mentor (), the results for Oogway reveal the significant prevalence of the intents oriented toward psycho-social dimension of mentoring (e.g. Encourage and Support), while intents typical of initiation and cultivation relationship phases (e.g. Seek out, Set the rules, Test) are not manifested. Oogway, a supporting senior mentor character in Kung Fu Panda, is introduced in the script as a participant of the already pre-exisiting mentoring relationship with the lead mentor character Shifu. Hence, we can assume that, though not explicitly addressed in the script, the two characters had already undergone initiation, cultivation and, possibly, separation phases. Hence, we encounter them at redefinition phase which is characterized by a more peer-like social dynamics and corresponding intents structure.

Table 4. Value counts for mentors intents.

While all mentors (with exception of Oogway for the reasons we discussed above) predominantly rely on Explanation and Instruction to carry out their mentoring function, the observed variation in the distribution of the remaining intents hints at the differences in personalities and mentoring styles of the three characters in question. For example, Morpheus, identified in our prior research as an archetypical mentor (Payr et al. Citation2017), is less prone to Scold, Test and Evaluate his mentee comparing to Frosty and Shifu. At the same time, this character is more likely to Single Out his mentee. Meanwhile, Frosty is the only mentor in our sample who manifests Share and Seek Encouragement intents. We hypothesize that such intents distribution is more characteristic of relational mentoring – a type of mentoring, wherein both participants learn and grow mutually (Hudson and Millwater 2008). In contrast, Shifu and Morpheus represent a more traditional mentoring paradigm, wherein emphasis is placed primarily on the guidance that mentors provide to their mentees, and less so on the processes of change undergone by mentors.

Per mentee (), contrary to the expected, the distribution of intents shows more variation when compared to mentors. For example, Jay relies on Confirm and Respond intents, as well as a higher number of Share intent which supports our hypothesis that Chasing Mavericks portrays relational, rather than traditional mentorship. The prevailing intent for Po from Kung Fu Panda is Doubt, followed closely by Excitement, Self-Affirmation and Social. Neo, on the other hand, relies on Asking and, similarly to Jay, Responding, with Doubt as the close third.

Table 5. Value counts for pupils intents.

Notice that also includes Shifu who, as mentioned previously, performs two roles – that of a mentor of Panda and that of a mentee of Master Oogway. Recall that we get acquainted with Oogway and Shifu at redefinition phase of their mentoring relationship, when Shifu turns to Oogway for counseling and advice (also reflected in Problem Setting intent count). However, Problem Setting comes third after Resist. Surprising at first glance, the prevalence of Resist intent for the given character can be justified if we take a closer look at the story line. In the script, Shifu is initially resistant to the idea that the clumsy Panda is the one who is chosen by Oogway to face evil Tai Lung, which explains the prevalence of Resist intent, otherwise atypical for Redefinition phase.

Interestingly, Shifu is not the only mentee to show resistance to their mentor. Though to a lesser degree, Jay, Po, and Neo also have Resist among top five most frequent intents. In the course of the qualitative analysis of the data, we identified two primary forces behind mentees’ resistance: i) resistance to the way that the mentor (mis-)treats and challenges them on the personal level and ii) quest-related crisis, when mentee loses faith in their abilities and/or mentor’s ability to train them, and wishes to abandon the quest.

The reader will notice that also contains Tai Lung. Though not a student of Shifu and Oogway anymore, we nevertheless decided to include this character as he represents the mentoring relationship that terminates at the Separation phase with an unresolved conflict. This is reflected in the intents distribution, where Challenge constitutes a third of the overall intents per given mentee.

Adjacency Pairs of Intents

and provide an overview of the adjacency pairs initiated by mentees and mentors, correspondingly, as grounded in our data set. The inputs on the left side of each section represent the first part of an adjacency unit, and the inputs on the right are the candidate responses (second part of adjacency pair), followed by their frequency distribution. For example, Apologize, as the first pair part initiated by mentee, is matched by mentor’s Support as the second pair part. Meanwhile, for the first pair part Doubt, there eight response candidates are possible: Encourage, Instruct, Respond, Single Out, Support, Confirm, Explain, and Ask, in order of their frequency distribution. Note that the resulting adjacency pairs do not represent the ground truth that is valid for all instances of scripted mentor-mentee communication. A different data set may and, most likely will, reveal additional response candidates and/or variant frequency distribution.

Table 6. Adjacency pairs: pupil to mentor.

Table 7. Adjacency pairs: mentor to pupil.

Projects

and provide an overview of the relative length of the projects, that is the number of utterances constituting a project in relation to the overall number of utterances uttered by a character. As expected, most of the utterances of Frosty, Morpheus, and Shifu are uttered within Training projects. Recall that Oogway plays a secondary role as a mentor to Shifu, the lead mentor character. Thus, it is not surprising that most of the communication activity performed by Oogway is associated with the Counseling project.

Figure 1. Mentors project.

Figure 1. Mentors project.

Figure 2. Pupil projects.

Figure 2. Pupil projects.

It is important to recognize that the length and frequency of a project do not necessarily correlate with the significance of the given project within a mentoring relationship. For example, Gift in Chasing Mavericks is one of the shortest projects that takes place only once. Nevertheless, gift-giving is an important symbolic event that signifies the trust and the value that the participants of a mentoring relationship place in each other. This agrees with accounts of mentoring in real life, where gift-giving is spoken of as an act of affection that serves to deepen participants’ commitment to the other person (Lucas Citation2001).

Setting aside Oogway, the projects that all mentors in our sample participate in are, in chronological order, Encounter, Mentoring Contract, Training, Overcoming, and Exposure. This is, predictably, mirrored in the projects for their respective mentees – Jay, Neo, and Po ( and ). Further on, the mentor–mentee pairs from Chasing Mavericks and Kung Fu Panda also participate in Conflict, while the mentor–mentee pair from Matrix does not. We cannot say conclusively whether conflict manifestation is associated with the type of relationship represented (relational mentoring v traditional mentoring), or with the film genre (drama v action film), or a third factor. That said, we believe that the role and the situational context of conflicts in mentoring relationships is an interesting and important topic that warrants further research.

Figure 3. Mentor and pupil projects.

Figure 3. Mentor and pupil projects.

Relationship Phases

Per and , Initiation phase is constituted by the following projects: Encounter, Reaching out, and Mentoring contract. In instances when it is the mentee who seeks out the mentor (e.g. Chasing Mavericks), Initiation phase will be characterized, among other, by Dismiss intents for mentors and Seek Out and Respond intents for mentees. Such intents composition can be explained by the behavioral pattern commonly ascribed to fictional characters. Namely, mentee is represented as the one doing the job of convincing their potential mentor to take them on as students, while mentor customarily shows initial resistance, but, having acquired more information regarding their prospective student, eventually agrees. To the contrary, in the situations when the mentor is the one reaching out to the mentee (e.g. Matrix), intents composition will include more Single out and Explain intents, owning to the mentor’s attempt to convince their mentee-to-be to join the quest. In such cases, the intents structure for mentee will be dominated by Ask and Doubt.

Figure 4. Mentors Intent and Projects in different phases. Phases mapping – 1: Initiation, 2: Cultivation, 3: Separation, 4: Redefinition.

Figure 4. Mentors Intent and Projects in different phases. Phases mapping – 1: Initiation, 2: Cultivation, 3: Separation, 4: Redefinition.

Figure 5. Pupils Intent and Projects in different phases. Phases mapping – 1: Initiation, 2: Cultivation, 3: Separation, 4: Redefinition.

Figure 5. Pupils Intent and Projects in different phases. Phases mapping – 1: Initiation, 2: Cultivation, 3: Separation, 4: Redefinition.

Cultivation, predictably the most lengthy phase in terms of the number of utterances that compose it (), is commonly offset by Mentoring Contract project. An exception is Matrix, where Mentoring Contract takes place toward the end of Initiation phase. Recall that in Matrix, mentor character is the one who seeks out the mentee. In this case, the underlying objective of Mentoring contract is not to set the rules for the mentee to abide to, but to inform the mentee about the implications that will follow should they choose to participate in the quest. It is only upon mentee’s agreement that mentor can proceed to train the mentee (Cultivation phase). To the contrary, in scripts, where mentee is the one to reach out to mentor (Chasing Mavericks), or when mentee is assigned to mentor by a third party (Kung Fu Panda), Mentoring Contract establishes the do’s and don’ts of the training process and is therefore associated with the Cultivation phase.

Figure 6. Mentor and pupil phases in scripts.

Figure 6. Mentor and pupil phases in scripts.

Similarly to Separation phase in real-life mentoring relationships (Kram Citation1983), Separation in film is typically demarcated by one or more Conflict and Overcoming projects. In Kung Fu Panda, Conflict at Separation phase plays out between mentor Shifu and his former student Tai Lung. In Chasing Mavericks, two distinct Conflict projects take place: the interpersonal conflict that ensues Frosty’s negative feedback provided to Jay on his essay task, and the emotional turmoil that follows Frosty challenging Jay to face the situation with his missing father. In terms of the intents composition, separation phase for mentors is dominated by Test, Support, Scold, Apologize and Resist intents. For mentees, the intents composition most frequently features Resist, Challenge, Self-Affirmation, Explain and Respond intents.

Finally, Redefinition phase, as grounded in our data set, incorporates Gift, Exposure, Counseling and Bonding projects for Chasing Mavericks, Counseling, Separation, Conflict, Overcoming for Kung Fu Panda, and Exposure for Matrix. Note the absence of Exposure project in case of Kung Fu Panda, despite the fact that in the script the Panda will face and beat Tai Lung in the final battle. However, Po and Tai Lung’s encounter takes place once both Oogway and Shifu have departed. Thus Exposure in Kung Fu Panda, though a part of the fabula (Bordwell 2013), formally takes place outside of the mentoring relationship, and therefore is not included in our final data set. The events of the Oogway and Shifu’s departures constitute the Separation project (not to be confused with the Separation phase) in Kung Fu Panda. Understandably, in real life mentoring, the occurrences of mentors departing or dying at the hands of villains are rare. In film, on the other hand, said dramatic twists are common as they are dictated by the necessity to advance the narrative and enhance viewers’ engagement.

Intent classification

In the intents classification task, our objective was to investigate the upper-limit which the automated classification methods can achieve when considering information from the utterance level only. For this purpose, we explored a range of state-of-the-art universal word and sentence embeddings pre-trained on large corpora: FastText (Joulin et al. 2016), InferSent (Conneau et al. Citation2017), Skip-Thought Vectors (Kiros et al. 2015), Sent2Vec (Pagliardini et al. 2018) and compared them to the baseline BOW and TFIDF based representations. Based on the obtained representations, we trained and evaluated a set of classifiers typically applied in text classification tasks. These include Support Vector Machines (Cortes and Vapnik Citation1995) with linear and rbf kernels, and Online Passive-Aggressive algorithm (Crammer et al. Citation2006), Gradient Boosting (Friedman Citation2001), Ada Boost (Hastie et al. Citation2009), Random Forests (Breiman Citation2001) classifiers implemented in the scikit-learn library (Pedregosa et al. Citation2011) with the default parameters.

For the training of the automatic classification system, 8 types of intents, which have at least 50 instances in the introduced data set, were considered: Ask, Confirm, Doubt, Explain, Instruct, Resits, Respond and Social. The total number of instances in the resulting training set is 742. . presents the best performing classifier for each distinct representation used, computed using a stratified split in ten-fold cross-validation on the training set. Performance is expressed as the average weighted F1 scores. As the results demonstrate, the classifier trained and evaluated on the Skip-Thought (ST) model based representation achieved the highest score of 0.55 offering an improvement over other state-of-the-art models.

Table 8. Intent classification: representations, models F1 scores.

Evaluation of the Automatic Classification Results

To evaluate the performance of the automatic classification against a human expert in the similar setting i.e. when classification is performed without access to metafeatures (script name, character type, relationship phase, project) and contextual information (utterances that precede and follow a target utterance in a conversation), we created a test set (N = 205) by randomly selecting mentor and mentee utterances from the character type annotated corpora of movie scripts described in Skowron et al. (Citation2016) and removing all the utterances that could also be found in the training set.

presents the confusion matrix between the human expert annotations in the condition when contextual information is available (True labels) against the utterance-level annotation condition (Predicted label) in the intent classification task with 8 distinct labels. Based on the data obtained, we can infer that interpretation of Social, Respond and Ask intents is the most sensitive to contextual factors. Frequent confusion between Respond and Explain intents can be justified by the narrative form (“tell about”) (Payr et al. Citation2017) that both intents typically take. In the context-free annotation scenario, it is hard to infer whether a dominant function that a narrative unit performs is to explain something pertaining the training domain, or whether given narrative unit is a response to a mentee’s question. Matters complicate if we consider that activities of responding and explaining can manifest simultaneously.

Figure 7. Confusion matrix for manual intent annotations: contextual information available (True label) and no-contextual information (Predicted label).

Figure 7. Confusion matrix for manual intent annotations: contextual information available (True label) and no-contextual information (Predicted label).

To enable the comparison between the automatic classification results conducted on features representing utterance content, we calculated the F1 score for the labels annotated without the contextual information, using the annotations by a human expert with the contextual information available as the ground truth. The resulted F1 score of 0.75 can be used to express an estimation for the upper limit of (human) performance when contextual information is not provided, and also sets the bonds to the performance of the automatic classification without context information.

Furthermore, the developed test set was used to evaluate the performance of the automated intent classifier. presents the confusion matrix for the SVM based classifier of the best performing semantic representation (ST) on the test set.

Figure 8. Confusion matrix for automatic intent classification.

Figure 8. Confusion matrix for automatic intent classification.

As expected, the automated classifier performance (F1 = 0.64) in the classification task is weaker comparing to a human expert (F1 = 0.75). Interestingly, this result does not hold across all the labels. Specifically, automated classifier shows improved performance when classifying for Explain (0.9 against 0.8) and Ask (0.85 against 0.79) labels. We hypothesize that the reasons for the stronger performance of the automated classifier on these categories are the following: i.) human expert annotations (no context) was more complex (had to consider a complete set of labels, while automatic classifier was trained on a subset, 8 most frequent labels and evaluated on this set), ii.) the classifier was trained on the data set that included labels assigned to the utterances with context considered, while the initial annotation by an expert did not have such information available, iii.) differences between the data sets (realizations of labels, frequencies), and iv.) human inconsistencies.

Discussion and Future work

The present model of the mentor-mentee conversation activities, joint goals and relationship phases can serve as a blueprint for analogous studies of the layered structure of dialogues between fictional characters at large. Such studies not only shed light on the structural components and dynamics of the goal-oriented communication, but are also helpful to support and inform the design of the automated dialogue systems. Specifically, they allow to formulate a set of constraints to direct the systems’ responses to adhere with the expectations and requirements of the conversation activity at hand. The automatic intent classifier results provide further support for this assumption and illustrate how manual text analysis approaches can be integrated with computational methods in a complimentary fashion leading to better grounded and informed modelling. It is important however to be aware of the limitations of the presented approach. Primarily, the limited data set used in the current study does not allow to make generalized conclusions regarding the content of the three categories proposed within the model. An analysis of a significantly larger corpus is desirable if one wishes to investigate robustness of the labels comprising the categories, and the factors (e.g. character type, film genre etc, type of mentoring relationship) that play a role in shaping their composition and syntax. Due to the complex and dynamical nature of human conversations, wherein the function of an utterance depends not only on its semantic theme, but its position in a conversation and a number of metafeatures, assigning category labels to utterances and their sequences is not a straightforward task. To the contrary, this task presents challenges both to human experts and automated systems. For further improvement of the automatic classification task performance, additional aspects such as contextual information, with an emphasis on the character type and the utterances surrounding the target utterance, and the upper bound of the performance of the state-of-the-art methods for the semantic utterance representation should be included. Mentoring relationships in real life vary in their quality and degree of satisfaction that participants hold (Humberd and Rouse Citation2016). Even though none of the mentors in our sample can be described as a straightforward manipulative mentor, or a mentor who sabotages their relationship with mentee, it is hard to judge the quality of the mentoring relationships explored; especially if we consider that in the context of a fictional story-world, the criteria for an assessment of success of a mentoring relationship (e.g. participants’ satisfaction, mentee’s career growth etc.) hardly apply. For a more realistic model of mentor-mentee dialogues, some criterion of quality of mentoring relationship would have to be considered.

Conclusions

For the task of designing a synthetic conversational agent, it is important to recognize the key processes and sub-goals associated with a specific activity type, and how these processes manifest in language. In this paper, we presented the results of our in-depth investigation of mentoring as one example of a conversation activity type, which is especially relevant in the context of developing sector of online tutoring. Three structural categories – intents, projects, and relationship phases – operating at different levels of conversations between fictional mentors and mentees were introduced, followed by a quantitative exploration of the relationship between these categories. In addition, automated methods of classification of utterances comprising mentoring activity type were explored, and their performance compared to that of a human expert. It is our assumption that the resulting model of mentor–mentee communication can be helpful in putting forward a system of constrains that would enable a more realistic communication between a human conversant and a machine.

Additional information

Funding

This research is funded by the Austrian Science Fund (FWF) under grant no. P 27530.

Notes

References

  • Armand, J., G. Edouard, B. Piotr, and M. Tomas. 2016. Bag of tricks for efficient text classification. arXiv Preprint arXiv 1607:01759.
  • Braun, V., and V. Clarke. 2006. Using thematic analysis in psychology. Qualitative Research in Psychology 3 (2):77–101. doi: 10.1191/1478088706qp063oa.
  • Breiman, L. 2001. Random forests. Machine Learning 45 (1):5–32. doi: 10.1023/A:1010933404324.
  • Conneau, A., D. Kiela, H. Schwenk, L. Barrault, and A. Bordes. 2017. Supervised learning of universal sentence representations from natural language inference data. In Proceedings of the 2017 conference on empirical methods in natural language processing, 670–680, Copenhagen, Denmark, September 2017. Association for Computational Linguistics. URL https://www.aclweb.org/anthology/D17-1070.
  • Cortes, C., and V. Vapnik. 1995. Support-vector networks. Machine Learning 20 (3):273–97. doi: 10.1007/BF00994018.
  • Crammer, K., O. Dekel, J. Keshet, S. Shalev-Shwartz, and Y. Singer. 2006. Online passive-aggressive algorithms. Journal of Machine Learning Research 7:551–85.
  • David, B. 2013. Narration in the fiction film. Routledge
  • Edwards, B. I., and A. D. Cheok. 2018. Why not robot teachers: Artificial intelligence for addressing teacher shortage. Applied Artificial Intelligence:1–16.
  • Elliott, M., Hoey, and K. H. Kendrick. 2017. Conversation analysis. Research methods in psycholinguistics: A practical guide:151–73.
  • Ensher, E. A., C. Thomas, and S. E. Murphy. 2001. Comparison of traditional, step-ahead, and peer mentoring on protégés’ support, satisfaction, and perceptions of career success: A social exchange perspective. Journal of Business and Psychology 15 (3):419–38.
  • Friedman, J. H. 2001. Greedy function approximation: a gradient boosting machine. The Annals of Statistics 29 (5):1189–232. doi: 10.1214/aos/1013203451.
  • Hastie, T., S. Rosset, J. Zhu, and H. Zou. 2009. Multi-class adaboost. Statistics and Its Interface 2 (3):349–60. doi: 10.4310/SII.2009.v2.n3.a8.
  • Humberd, B. K., and E. D. Rouse. 2016. Seeing you in me and me in you: Personal identification in the phases of mentoring relationships. Academy of Management Review 41 (3):435–55. doi: 10.5465/amr.2013.0203.
  • Jeffrey, P., S. Richard, and M. Christopher. 2014. Glove: Global vectors for word representation. In Proceedings of the 2014 conference on empirical methods in natural language processing (EMNLP), 1532–1543.
  • Kram, K. E. 1983. Phases of the mentor relationship. Academy of Management Journal 26 (4):608–25. doi: 10.5465/255910.
  • Kulik, J. A., and J. D. Fletcher. 2016. Effectiveness of intelligent tutoring systems: a meta-analytic review. Review of Educational Research 86 (1):42–78. doi: 10.3102/0034654315581420.
  • Levinson, S. C. 1981. Some pre-observations on the modelling of dialogue. Discourse Processes 4 (2):93–116. doi: 10.1080/01638538109544510.
  • Levinson, S. C. 1992. Activity types and language. In Talk at work: Interaction in institutional settings, 66–100. Cambridge University Press.
  • Levinson, S. C. 2013. Action formation and ascription. In The handbook of conversation analysis, 103–130. Wiley-Blackwell.
  • Levinson, S. C. 2016. Turn-taking in human communication – origins and implications for language processing. Trends in Cognitive Sciences 20 (1):6–14.
  • Levinson, S. C., and F. Torreira. 2015. Timing in turn-taking and its implications for processing models of language. Frontiers in Psychology 6:731.
  • Lucas, K. F. 2001. The social construction of mentoring roles. Mentoring and Tutoring 9 (1):23–47. doi: 10.1080/13611260120046665.
  • Matteo, P., G. Prakhar, and J. Martin. 2018. Unsupervised learning of sentence embeddings using compositional n-gram features. In NAACL 2018 – Conference of the North American Chapter of the Association for Computational Linguistics.
  • Paul Grice, H. 1975. Logic and conversation:41–58.
  • Paul, D., and H. John. 1992. Talk at work: Interaction in institutional settings. Cambridge Univ Pr,
  • Payr, S., M. Skowron, A. Dobrosovestnova, M. Trapp, and R. Trappl. 2017. Strategic talk in film. Cybernetics and Systems 48 (8):576–96.
  • Pedregosa, F., G. Varoquaux, A. Gramfort, V. Michel, B. Thirion, O. Grisel, M. Blondel, P. Prettenhofer, R. Weiss, V. Dubourg., et al. 2011. Scikit-learn: Machine learning in python. Journal of Machine Learning Research 12:2825–30.
  • Peter, H., and M. Jan. 2008. Mentors’ views about developing effective English teaching practices. Australian Journal of Teacher Education 33 (5):n5.
  • Pfund, C., A. Byars-Winston, J. Branchaw, S. Hurtado, and K. Eagan. 2016. Defining attributes and metrics of effective research mentoring relationships. AIDS and Behavior 20 (S2):238–48. doi: 10.1007/s10461-016-1384-z.
  • Piotr, B., G. Edouard, J. Armand, and M. Tomas. 2016. Enriching word vectors with subword information. arXiv Preprint arXiv 1607:04606.
  • Robinson, J. D. 2013. Overall structural organization. The handbook of conversation analysis:257–80.
  • Rose Ragins, B., and K. E. Kram.2007. The roots and meaning of mentoring. The handbook of mentoring at work: Theory, research, and practice:3–15.
  • Ryan, K., Z. Yukun, R. S. Ruslan, Z. Richard, U. Raquel, T. Antonio, and F. Sanja. 2015. Skip-thought vectors. Advances in Neural Information Processing Systems:3294–302.
  • Schegloff, E. A. 2007. Sequence organization in interaction: Vol. 1. A primer in conversation analysis. Cambridge University Press.
  • Skowron, M., M. Trapp, S. Payr, and R. Trappl. 2016. Automatic identification of character types from film dialogs. Applied Artificial Intelligence 30 (10):942–73.
  • Yukun, Z., K. Ryan, Z. Rich, S. Ruslan, U. Raquel, T. Antonio, and F. Sanja. 2015. Aligning books and movies: Towards story-like visual explanations by watching movies and reading books. In Proceedings of the IEEE international conference on computer vision, 19–27.