Building and Exploiting a Corpus of Dialog Interactions between French Speaking Virtual and Human Agents
Paper · 2012 · Lina M. Rojas-Barahona, Alejandra Lorenzo and Claire Gardent
Summary
A player who says they need to rescue their uncle may be asking where to start, even if their message contains no question. A virtual character has to connect those words to the task at hand before it can give useful directions. This paper studies that problem in Mission Plastechnology, a French educational game in which players move through a factory, talk to different characters, and work toward building a joystick. The authors collect conversations from the game and use them to train a system that identifies what a player is doing with a message so that the game can respond.
To collect the conversations, the authors put a human operator behind the virtual character. In one version of the interface, the operator writes replies freely while the game controls when each conversation starts. In the other, a rule-based dialogue manager suggests a reply that the operator can use or replace. The same collection software can be configured for another scenario, as students demonstrated with a game set in an Alice in Wonderland exhibition. The paper reports an overall collection of roughly 1250 dialogs, 10,454 utterances and 168,509 words, all written. The authors say they intend to make the data freely available for academic and nonprofit research.
The authors label turns with dialogue moves, which describe a turn’s function and, where relevant, the game goal it concerns. A greeting works across contexts, while a player’s statement about rescuing their uncle can be labeled as pursuing the first step of the quest. Two annotators independently labeled 5% of the corpus, with reported agreement of 0.80. In the classification experiments, the best reported overall accuracy was 90.26%, achieved by logistic regression trained across the game’s subdialogs with vocabulary filtering. Information about preceding moves generally helped, and moves with little training data were among the hardest to recognize.
The authors connected the classifier to a rule-based dialogue manager that could disregard a prediction incompatible with the current exchange. Their initial, informal observations suggested that classifiers trained for individual subdialogs could lead to more coherent conversations in the game, even though the strongest overall classification score came from a classifier trained on the pooled data. The paper establishes how well the different configurations classified annotated turns. It leaves the comparison of conversation quality during play to further evaluation.
Deep dive: Building and Exploiting a Corpus of Dialog Interactions between French Speaking Virtual and Human Agents
A study of how French game conversations are collected, labeled by player intent, and used to guide virtual characters’ replies. · about 33 minutes to read
The problem and its context
A long game conversation is made up of local tasks
Mission Plastechnology gives the player a reason to explore a plastics factory. The quest is to free an uncle trapped in the game, and building a video game joystick is part of that effort. Getting the plans, finding the right mould and obtaining material are among the 17 mandatory goals. Optional goals contribute to the score and offer further information about the plastics industry. The game allows up to 28 goals across 12 subdialogs. Each subdialog is a local exchange within the longer quest, with its own place, participants and immediate purpose.
That organization matters for dialogue systems. A character staffing the enterprise reception can tell the player how to begin. Later, a character in the design office can help with the plans. The player also speaks through different children at different points in the story. Which character is speaking, where they are and what the player has already achieved can all affect how a message should be understood. Even when the local task is straightforward, moving between tasks changes which interpretations make sense.
The subdialogs do not always line up with a change of location or character. Samir can discuss finding the joystick plans and also what to do next, both from the design office. At the plant, Melissa appears in exchanges about manufacturing, finding the appropriate machine and determining the next step. The game therefore needs a way to identify the current local exchange beyond the names of the people talking or the room where they meet. Progress through the quest helps establish what the exchange is for.
A further complication is that players can refer to the overall reason for a task rather than naming the task itself. At reception, the wish to rescue the uncle is intelligible as a statement of the player’s objective. For the director, its immediate significance is that the player needs guidance on beginning the quest. If the game is to answer with directions, the interpretation must connect a broadly worded objective to the next action the character can explain. In another part of the plant, directing the player to the design office might be inappropriate because that task is already complete.
The relation between dialogue and game progress also runs in the opposite direction. A conversation can give the player information that matters elsewhere in the quest. When a character tells the player how to pursue a goal, the game can record that the information has been given. A system that only extracts the topic of the exchange would have trouble distinguishing that event from a player asking for the information or acknowledging it. The paper addresses this by making the function of the turn and the relevant game goal part of the same representation.
The earlier work the paper builds on
The authors situate their project within earlier work on corpus-based dialogue for virtual characters in games and simulations. They describe substantially more work on collecting data to train and evaluate English-speaking agents than on comparable resources for other languages. Their claim about French is specific to the kind of game conversation they require. They want a collection in which exchanges form parts of a larger activity, the participants can change, and the meaning of an exchange depends on the current situation in the world.
The paper contrasts that setting with the available dialogue corpora Trains, Maptask and Verbmobil. The comparison concerns the form of the interaction. Game dialogue can include multiple participants, may accompany expressive channels such as gesture, and unfolds through separate conversations tied to distinct situations. The authors’ own experiments use writing, even though they identify multiple modes of communication as a feature of games more broadly. What the collection preserves from the game is the changing context around the written turns.
The paper also inherits a way of organizing dialogue management from earlier work on information states. An information state is the information a dialogue manager maintains about the conversation as it progresses. Update rules specify how that information changes when something happens. For a game, this makes it possible for the same kind of input to be handled differently depending on what has just been said or what the player still needs to do. The current state can guide the system even when the wording in isolation offers little evidence.
Earlier work on dialogue acts supplies another part of the approach. The authors draw the names and definitions of general communicative functions from Towards an ISO Standard for Dialogue Act Annotation. A communicative function describes what the speaker is doing with a turn, such as greeting, asking a question or providing information. The paper takes a practical view of how to represent those functions. A label should be meaningful to the person assigning it and should also give the dialogue manager something it can use. Goal-specific labels make the second requirement especially important.
The immediate research problem is thus to collect examples of language use that reflect the structure of the game, give those examples labels tied to the decisions the game must make, and learn to assign the labels to new turns. A collection assembled without the progression of the quest would leave out much of the evidence an operator uses to interpret a player. A set of labels consisting only of general communicative functions would leave another decision for the manager, which would still need to discover the relevant game goal.
The method, step by step
Set up the game before collecting the conversation
The authors begin by representing the game as a sequence of situations in which dialogue can take place. For each situation, the configuration specifies the participants and the goals being pursued. It also describes the order of the subdialogs. The result is a description the collection system can use to start an exchange when the player reaches the appropriate point in the game. The text entered by the player is then collected in the setting that gives it a purpose.
The Dialogue Configuration Tool lets a designer supply these details for a new game. The underlying ideas are the same whether the game takes place at a factory or in an exhibition. There is a figure the player can converse with, a role the player occupies, a local exchange that takes place at a particular point, and a set of goals relevant to it. What changes is the substance of those fields. In the exhibition example, the visitor can declare their age, choose a story, decide whether to hear about Alice and decide whether to stay. None of those decisions involves obtaining a part for a joystick, but they can still be represented as goals within a configured conversation.
The factory makes the value of such configuration especially clear. An arrival at reception and a visit to quality testing involve different characters and different purposes. The authors describe exchanges about performing tests and about what to do afterwards in the same laboratory setting. The configured order gives the collection system a way to handle that transition. It can start the appropriate subdialog without leaving it entirely to the operator to reconstruct the game’s progress from the messages on screen.
Let a human play the virtual character
The collection procedure uses Wizard of Oz interaction. A human operator, called the wizard, supplies or supervises the virtual character’s side of the exchange. This gives the researchers examples of what players write when their messages receive relevant responses. The operator can respond to language that an automatic interpreter may have difficulty handling, while the game gives the interaction an objective and a setting.
In the free interface, the wizard can chat with the player as the player moves through the game. A virtual dialogue manager keeps track of the game’s logic and starts the appropriate local exchanges. Within those exchanges, the wizard has room to follow a player’s contribution, introduce a topic or answer in a way that a dialogue rule would not have anticipated. The authors designed this mode to support mixed initiative, meaning either participant can take the lead in the conversation. The freedom applies to the exchange within the game scenario. The story and the sequence of situations still give it structure.
The semi-automatic interface gives the wizard support from a rule-based manager built using Midiki. A player’s message is interpreted for the manager, the information state is updated, and the manager proposes a response. The wizard can send that response or supply a different one. The paper describes the manager as providing automatic interpretation and response selection support, and illustrates a workflow in which the wizard provides an interpretation to the manager before reviewing its proposed response. The operator’s ability to intervene keeps collection going when an automatic interpretation or suggested reply is unsuitable.
The semi-automatic setup tends toward system initiative because the dialogue manager supplies a planned response for the wizard to consider. A response proposed by the manager may help guide a player towards the current task. A replacement can address something the player said that the proposed reply overlooked. The two collection modes therefore provide different ways to obtain exchanges. One gives an operator more freedom over the unfolding conversation. The other collects exchanges with the rule-based system already taking part in the response process.
The interface displays the incoming player message, the dialogue history and the outgoing reply the wizard can edit. The operator can also enter move labels for incoming and outgoing messages. Having the conversation available matters because an interpretation may depend on the question asked immediately before a short answer, or on the goal the participants have been discussing. The wizard can use that context while responding and while recording a label for later training.
Keep the game, manager and records connected
Midiki is the dialogue toolkit on which the authors build the rule-based manager. They extend it to work in a multi-agent architecture and to receive configuration from a relational database. A relational database stores records in a form the system can use to configure interactions and keep logs. The paper describes the Wizard of Oz interface as a web service and the interactions as being recorded in that database.
The game, the wizard interface and the dialogue manager communicate through the Open Agent Architecture. Depending on the collection mode, the management role is filled by Midiki or by the virtual manager that coordinates the free chats with the game. The wider architecture also accommodates an automatic speech recognition component, which would accept spoken input in a speech-enabled setup. The data collected for this paper comes from writing. The presence of that component in the architecture has no bearing on the input used in the classification experiments.
A division of responsibility runs through this design. The game supplies the circumstances under which a character should start talking. The wizard supplies or supervises the character’s words during collection. The log preserves what was said, and the annotations provide the interpretation the authors later want the classifier to learn. During automatic use, the dialogue manager again has a distinct job. It uses the predicted move and its information state to decide how the character should reply.
From game configuration to a character’s reply
The steps in order.
Give each turn a label the game can use
The authors use linguistic annotation to associate a turn with a dialogue move. A move is a compact description of what that contribution means for the conversation. A greeting opens an exchange and can receive the label greet. A farewell receives quit. A contribution outside the current game context can be marked other. For moves tied to the quest, the scheme can name the specific goal the turn is about.
The distinction between communicative function and game goal is easiest to see through an exchange where both participants discuss the same task. A question can ask which task the player wants to pursue. A reply can identify the task. The character can then give instructions about it. Those turns share a subject but do different things in the conversation. The question asks for a value the system needs, the reply supplies it, and the instructions give the player information they can act on. The labels separate these roles while retaining the link to the task.
The scheme includes a category for a propositional question, which asks whether something is the case, and one for a set question, which asks the listener to identify the relevant choice or choices. The difference affects what counts as an answer. If a character asks whether the player wants to discuss another topic, a confirmation or disconfirmation can be appropriate. If the character asks which topic they want to discuss, the relevant answer identifies a topic. The paper also distinguishes feedback that acknowledges understanding from answers that confirm or disconfirm a previous question.
Several labels encode a function and its content together. In ask(Goal), ask marks a request and Goal is the place for the particular game goal. A goal can itself serve as a label when the player identifies the objective they are pursuing. For a character giving instructions, the worked example uses inform(do(first_step)). Here inform marks an act of providing information, do represents carrying out the goal, and first_step identifies the goal the instructions concern. These expressions are annotation labels. They describe acts for the dialogue manager to handle.
The payoff of retaining the goal becomes clear when a character delivers information the game can act on. Once a turn has been identified as telling the player how to pursue a goal, the system can notify the game that the player has received that information. This is a specific event in the conversation. A player who has been told to look for the plans has learned about a pending step. The completion of that step depends on what the player subsequently does.
Connect an indirect answer to the immediate task
The reception exchange in the paper illustrates how the label can contain more than the surface wording. The director greets the player and asks what help is needed. The player responds by saying they have to save their uncle. The director explains that they will need plans for the joystick and points them towards the design office. The exchange ends with a farewell. The authorial explanation focuses on the middle turns because their function depends on the setting.
The label for the player’s reply is first_step. It captures what the director takes the player to need at reception. The reply does not name the first step or mention the plans. The wizard draws on the sequence of the quest and the question that elicited the reply. The label expresses the locally relevant interpretation of the player’s broader statement. The director’s instructions can then be tagged as giving information about that same immediate goal.
This is how the scheme absorbs some of the work that would otherwise have to happen between language interpretation and game logic. The training example already associates the wording, in this conversational setting, with the goal it implies. A learned classifier can try to reproduce the assigned label using words and context. The rule-based manager can work with the result directly because it recognizes the goal that the label denotes.
Specific labels bring a cost in training data. Instructions about different goals can share ordinary vocabulary, yet the scheme gives those goals distinct labels. A rare objective can end up with very few examples of how a player brings it up. The authors accept that cost in order to give the manager labels that correspond to the game’s decisions. The experiments examine some of the consequences, including the usefulness of prior turns and the performance of moves associated with sparsely represented goals.
Review the labels before training
The operator can annotate both sides of the conversation during collection. This gives the corpus an initial layer of labels while the person who interpreted the turn is still engaged in the exchange. Some interactions did not receive those initial labels, and an operator working in real time can make mistakes. The authors therefore describe a subsequent manual review of the annotations. Collection and review serve different purposes. One keeps the interaction moving, and the other prepares the record for use in supervised learning.
To check whether annotators could apply the scheme consistently, two students independently labeled 5% of the corpus. The paper reports an agreement value of 0.80 and treats it as evidence of good reliability. The check concerns agreement on the annotation, alongside a later evaluation of the classifier’s ability to reproduce the labels. The paper gives the agreement value without identifying the statistic by name in its account of the procedure.
The annotation inventory covers moves on both sides because the character’s utterances also matter to the interaction. Identifying the previous system move can help interpret what the player has just done. Context can come from an earlier question, a greeting or the introduction of a task. The classification objective reported by the authors is to assign a move to a player turn and pass that move to the manager. With game goals included in the labels, the classification task has 27 categories.
Represent words and dialogue history as evidence
The authors prepare the text by removing accents, converting the words to lower-case and removing stop words. Stop words are common words omitted before training so that the remaining content words can serve as evidence. The reported main configurations use unigrams, meaning individual words. This gives the classifier a record of which individual words appear in an utterance. The feature description does not include the ordering of those words as part of the unigram representation.
The authors vary the amount of dialogue history included with those words. A classifier can receive no preceding moves, the moves from the previous two turns, or the moves from the previous four. The paper gives these settings as 0, 2 and 4 and describes the history in its main subdialog comparisons as previous system moves. In this representation, a preceding move is a label for what happened in an earlier turn. A label for a question can carry useful information even when the current player message is brief.
This history has a different role from the identifier for the subdialog. In a classifier trained on the pooled data, the authors include a subdialog identifier so that the classifier knows the local exchange to which the turn belongs. That identifier can distinguish a turn in the reception exchange from a turn about quality testing. The previous move labels tell the classifier what has happened recently within the conversation. In the other training arrangement, choosing a separate classifier for each subdialog already restricts the data and the possible decisions to the local exchange.
The filtering experiment takes the remaining vocabulary and scores it with TF-IDF, a measure that combines how frequently a term occurs in a document with information about how widely it occurs across documents. For this procedure, a document is the collection of words assigned to a particular move category. The score therefore concerns a word’s distribution across labels. A word associated strongly with a limited set of categories can be informative even if the unfiltered vocabulary contains many ordinary words shared by several kinds of turn.
The authors discard words whose TF-IDF value is below 0.15. If a turn contains only words that fall below the threshold, they remove that turn from the training set. The choice changes both the available vocabulary and, for some examples, whether the classifier sees the turn at all in training. This matters for interpreting the filtering results. They compare the performance of a preparation procedure that makes both changes together.
Train a classifier and interpret its prediction
The experiment compares logistic regression, abbreviated LR, with a support vector machine, abbreviated SVM. Logistic regression uses the input features to score the candidate labels. The authors train it with MALLET and L1 regularization, which discourages reliance on many feature weights. A support vector machine learns boundaries for distinguishing categories. The implementation uses LIBSVM with a radial basis kernel, which allows the classifier to make a nonlinear distinction between examples. The paper gives the kernel setting as follows.
γ = 0.07
The symbol γ, read as gamma, is the parameter of the radial basis kernel. The equals sign assigns it the stated value. The number 0.07 is the setting used in the reported SVM implementation.
The authors also try a version of the SVM that penalizes categories with more training examples. This changes how the training procedure treats the imbalance among labels. A commonly discussed goal gives the classifier repeated evidence, and an optional goal may appear infrequently. The penalized setting tests whether changing the treatment of the more plentiful categories improves the resulting decisions. The paper denotes this version as SVM(P).
There are two scopes for training. A pooled classifier learns from data across the game and receives the subdialog identifier. The alternative uses 12 classifiers, each trained for a separate subdialog. A local classifier learns from fewer examples, but the number of relevant categories also falls. This is a practical tradeoff because a label that makes sense in the game as a whole can be irrelevant in a particular conversation. The pooled classifier has more evidence available and must distinguish a broader set of labels.
Once a prediction has been made, the player’s turn and its predicted move go to Midiki. The manager uses them alongside its current information state. For example, if the classifier predicts yes immediately after the system greeted the player, the manager can decline to act on that interpretation. It can instead offer help with a pending goal. The classifier addresses the interpretation of a turn. The manager addresses what the character should do now, given the prediction and what the game currently knows.
Experiments and results
What was collected and what was evaluated
The abstract describes an overall collection of roughly 1250 dialogs, 10,454 utterances and 168,509 words. The account of Mission Plastechnology collection identifies two stages. First, a native French speaker acted as the wizard in semi-automatic sessions with 40 subjects. Groups of students then collected exchanges using the free interface. These procedures place the text in actual interactions organized by the game. The report does not give a separate classifier result for each collection mode.
According to the paper, the Mission Plastechnology dialogs averaged 106 turns each and varied in length between 78 and 142 turns. It also describes how long it took to complete the game. Experienced players averaged around 50 minutes, whereas novices took between 1 and 1.5 hour. These are descriptions of the collection setting. The accuracy results concern move classification and have no reported breakdown by player experience or completion time.
The Alice in Wonderland exhibition was a separate collection exercise using the configured free interface. Students collected 25 dialogs for that scenario. The example in the paper shows a visitor responding to questions about age and story preferences, while the character speaks in a style drawn from the setting. The visitor also introduces a concern outside the choices the character has just offered. The wizard can continue the exchange in character. This demonstrates that the same collection machinery can be used with a different set of conversations. The paper does not report classification scores for the exhibition.
The whole-game classifier’s category inventory lists 2909 training instances, measured in turns. That total describes the data summarized for the whole-game classifiers. The broader utterance count describes the collection. The paper describes annotation on both sides of the interaction, whereas the reported recognition task concerns the moves learned for interpreting player turns. It does not give a complete accounting that maps every collected utterance to a classification example.
To assess classifier performance, the authors apply 30-fold cross-validation to the training data. Cross validation divides a dataset into parts so that examples can be held out for evaluation while the classifier trains on other examples. It permits comparison across configurations within the available data. The paper says the partition is random. The reported score therefore describes classification within that evaluation setup. Its use as evidence about a new player, a new complete game session or a new game depends on how examples from those sources are separated during evaluation.
Global accuracy across the main configurations
Accuracy measures how often the assigned label matches the annotation used as the reference. The comparison includes standard versions of the classifiers, an SVM variant that changes the treatment of class imbalance, versions with and without word filtering, and training at global or local scope. The paper’s reference points for judging improvements are these matched configurations. It does not supply an accuracy score for always choosing the most frequent label or for interpreting the turns with dialogue rules alone.
The highest global accuracy is 90.26% for logistic regression trained across the whole game with TF-IDF filtering. In the matching whole-game comparison, the standard SVM reaches 88.55% with filtering. Without filtering, the whole-game accuracies are 79.74% for logistic regression and 78.79% for the standard SVM. This comparison keeps the game scope fixed while varying the classifier and whether the text undergoes TF-IDF filtering.
Whole-game move classification accuracy on Mission Plastechnology
Logistic regression with vocabulary filtering has the highest reported accuracy in the pooled comparison.
The numbers
| System or setting | accuracy % |
|---|---|
| Logistic regression without TF-IDF filtering | 79.74 |
| Logistic regression with TF-IDF filtering (this paper) | 90.26 |
| SVM without TF-IDF filtering | 78.79 |
| SVM with TF-IDF filtering | 88.55 |
For classifiers trained by subdialog, the reported average accuracy for logistic regression is 86.41% before TF-IDF filtering and 88.22% with it. The corresponding averages for the standard SVM are 76.45% and 83.99%. The filtered, penalized SVM has a reported subdialog average of 83.55%. The gains from filtering extend to the subdialog averages for the standard SVM and logistic regression, with differences in how individual subdialogs respond.
Average move classification accuracy across Mission Plastechnology subdialogs
Logistic regression with vocabulary filtering leads the reported averages for locally trained classifiers.
The numbers
| System or setting | accuracy % |
|---|---|
| Logistic regression without TF-IDF filtering | 86.41 |
| Logistic regression with TF-IDF filtering (this paper) | 88.22 |
| SVM without TF-IDF filtering | 76.45 |
| SVM with TF-IDF filtering | 83.99 |
| Penalized SVM with TF-IDF filtering | 83.55 |
The training scope comparison depends on the rest of the configuration. Unfiltered logistic regression has a higher reported accuracy in the subdialog average than in the whole-game result. Filtered logistic regression has its strongest result when the data are pooled. This is evidence about the combinations the authors evaluated, where pooling changes the amount and variety of training examples and local training changes the possible categories. The study does not isolate the contribution of each of those changes to the difference in scores.
The subdialog values also summarize a collection of local classification problems. A single average can conceal a setting in which a method works well for some exchanges and poorly for others. The paper gives separate lines for the subdialogs, and discusses individual exceptions to the average improvement from filtering. Those exceptions matter because the game contains a sequence of exchanges the player must pass through. A strong average says little about whether a specific character will consistently understand the immediate task.
Performance by dialogue move
A separate analysis examines results for individual dialogue moves under the strongest whole-game configurations of logistic regression and the standard SVM. The paper describes move-level performance ranging from 48% to 99%, with most moves above 80%. Its narrative calls these values accuracy, while the figure caption identifies the plotted measure as F1. The figure is best read as an analysis of per-move F1, with the paper’s range describing the variation it discusses for those moves.
F1 combines precision and recall. For a particular move, precision concerns how often the classifier’s predictions of that move are correct. Recall concerns how often the classifier recognizes the move among the turns that actually carry that label. A high overall accuracy can coexist with a low F1 for an infrequent move. Many correct decisions on common moves can raise the overall accuracy even when a particular optional goal is difficult to recognize reliably.
The paper identifies the optional goal about security policies as the label with the lowest F1 for logistic regression. It associates low-performing moves with a lack of examples and notes that the total number of examples for a category is only part of the issue. What matters to learning is how many examples are available in the training portion when its predictions are evaluated. Random partitioning can leave a sparsely represented goal with little evidence. The paper attributes the security-policy result to that difficulty in the partition it discusses.
Label accuracy and the character’s response
The paper also reports that the classifiers were integrated with the Midiki manager. There is no comparable accuracy table for the complete interaction after the manager considers a prediction. When the manager can detect a move that is inappropriate for the current situation, it can choose a response that serves the game. The example of a predicted confirmation after a greeting illustrates this response process. The recorded label can be wrong while the manager still makes a reasonable conversational decision.
The authors’ initial observation was that subdialog-specific classifiers seemed to support more coherent exchanges when connected to the manager. This was informal, and the paper describes a fuller comparison as work underway. The reported classification scores establish the strongest configuration for assigning annotated labels in the dataset. The observation about coherence raises a distinct empirical question about how mistakes are distributed and how easily the dialogue manager can recover from them during play.
What the ablations show
Filtering generally helps, with exceptions tied to the task
The filtering comparison changes the vocabulary available to the classifier and removes training turns that have no words left after applying the threshold. Across the reported global comparisons, the paper describes accuracy gains from 2.81 to 11.52 points. The standard SVM benefits consistently in the reported filtering comparisons. The overall pattern is compatible with the authors’ reason for trying the filter. Words that remain common across several categories after ordinary preprocessing can make it harder to identify evidence for a particular move.
For logistic regression, subdialogs 6 and 7 are exceptions. Accuracy falls with filtering in those local exchanges. The authors describe them as short subdialogs centered on a single goal. Within a conversation like that, a word can help distinguish a turn that advances the goal from another kind of turn even if the word scores poorly under the filtering procedure. A criterion based on how vocabulary is distributed across move categories can give low weight to evidence that is helpful for a distinction in a particular setting.
The authors conjecture that filtering removed helpful words in those exchanges. The comparison does not track individual discarded words to individual wrong decisions. It also changes which turns remain in the training data. The observed drop establishes that the complete filtering procedure can hurt performance in some subdialogs. It leaves open how much of the effect came from the loss of useful features and how much came from the loss of examples.
The high whole-game score with filtering and the decline in those local exchanges answer different questions. The first concerns the performance of the procedure across the full set of labels in the game. The second concerns the usefulness of the procedure for a task with fewer distinct objectives and less data. An overall gain is consistent with cases in which the local decision depends on evidence the procedure treats as weak. The subdialog comparisons make that variation visible.
Preceding moves improve several configurations
The context experiment tests how the classification result changes when earlier move labels are included in the input. The settings use 0, 2 or 4 previous moves. A setting of 0 still includes the words in the current turn. In pooled training, the classifier also has the subdialog identifier. The context comparison concerns recent labeled history, alongside the other information available to the particular classifier.
For whole-game logistic regression, accuracy is 88.43% with 0 previous moves and 90.26% with 2. It remains 90.26% with 4. The standard SVM trained on the whole game scores 84.36%, 86.76% and 88.55% at the corresponding history lengths. The different patterns show that the longest tested history does not have the same effect for every classifier. Logistic regression reaches its best reported whole-game context score at the middle setting. In the standard SVM comparison, the score continues to rise at the longest setting.
Whole-game SVM move classification accuracy by dialogue history on Mission Plastechnology
The standard SVM’s accuracy rises as the classifier receives a longer move history.
The numbers
| System or setting | accuracy % |
|---|---|
| No preceding moves | 84.36 |
| Two preceding moves | 86.76 |
| Four preceding moves (this paper) | 88.55 |
The subdialog averages tell a related story. For logistic regression, they are 84.43% with 0 previous moves, 87.59% with 2 and 88.22% with 4. For the standard SVM, they are 78.04%, 82.06% and 83.99% at those respective settings. A plausible interpretation is that earlier functions help resolve a current turn whose wording serves several purposes. A brief expression of assent is easier to interpret when the preceding act identifies what question the system asked. A short reference to an activity may also be clearer when the recent moves show how that activity entered the conversation.
A longer history increases the information available and can make the representation sparser. Each additional position in the history can introduce distinctions for the classifier to learn. When certain sequences occur rarely, expanding the history also creates more patterns the training examples cover poorly. The reported context comparison shows the net result for these settings. It does not identify the words or the preceding moves responsible for particular improvements, and it does not test histories beyond the ones reported.
Penalization has a narrower effect
The penalty targets imbalance by changing the treatment of categories with more examples. The authors report modest gains from penalizing the SVM in some settings, including when TF-IDF filtering is absent and when history is short. In the subdialog context comparison, the penalized SVM scores 79.32% with 0 previous moves and 83.12% with 2, compared with 78.04% and 82.06% for the standard SVM. At 4 previous moves, the reported subdialog average is 83.55% for the penalized version and 83.99% for the standard version.
That ordering matters for how to understand the adjustment. The configuration with a penalty can be better in a restricted context and lose that advantage when more context is available. The paper raises overfitting as a possible explanation for difficulties with penalization and filtering together. Its narrative and reported averages leave the clearest comparison in the matched settings above. They show that the filtered penalized SVM does not improve the subdialog average over the filtered standard SVM at the longest history.
The penalty experiment reports accuracy, which weights turns by their frequency in the evaluation data. A higher accuracy for a penalized classifier would not, on its own, establish higher recall for scarce moves. The analysis of move-level F1 provides evidence about which labels are difficult for the strongest whole-game classifiers. It does not report a corresponding breakdown establishing which scarce moves improve under penalization. The effectiveness of that adjustment for the optional goals therefore remains an open issue.
The surrounding rules change what an error can do
The manager’s treatment of a confirmation after a greeting is an analysis of a concrete error case. It shows a way to prevent one kind of wrong interpretation from determining the reply. The rule can detect a mismatch between the proposed move and the immediately preceding system act. A reply that directs the player towards a pending goal can keep the exchange relevant even when the incoming move has been misclassified.
That case is different from the classifier context experiment. In the context experiment, recent moves are evidence the classifier can use before assigning the label. In the manager example, state information is used after the label is predicted, while choosing the reply. Both operations can make use of what has just happened, but they have different opportunities to help. A useful feature can make a wrong prediction less likely. A dialogue rule can make some wrong predictions less disruptive.
The paper does not report a controlled comparison that removes those response rules and measures the effect on complete conversations. Its informal observation about the coherence of subdialog-based configurations therefore leaves the cause open. Local classifiers face fewer possible categories, and that could affect what kinds of errors reach the manager. The example establishes that the manager can handle a particular impossible move. It gives no estimate of how often either training configuration produces errors that the rules can repair.
Limitations
Limits the authors identify
The authors describe the main evaluation as intrinsic, meaning it judges the task of recognizing annotated moves. They want to complement it with a task-based evaluation of how the different learning configurations affect interaction with a player. In a game, relevant questions include whether the player receives the guidance needed to continue and whether exchanges remain coherent across several turns. A turn-level label score does not answer those questions by itself. The informal comparison after integration is the extent of the reported evidence on how the configurations feel in play.
The paper also identifies sparse data as a practical problem. Optional topics are sometimes raised by a character without being followed up by the player. These moves can therefore have few training examples even when they are part of a carefully configured game. Random partitioning adds variation in how much evidence remains to learn from. The authors’ proposed directions include automatically acquired synonyms for words absent from training, similarity measures for mistyped words, and paraphrase acquisition to increase the amount of available training material. The article reports those directions as ongoing work and gives no measured improvement for them.
The choice to use written input places a further boundary on the evidence. The architecture could support speech, but the authors did not record spoken interactions for these experiments. Their pipeline was tested with text that players entered and the subsequent annotations of that text. The study therefore leaves open how recognition errors from spoken input would affect either the assignment of moves or the rule-based manager’s choice of a reply.
The authors also treat the evaluation presented here as separate from their longer-term interest in a dialogue engine aimed at people learning French as a second language. Their plans for improving coverage of unfamiliar words and alternative phrasings could support that goal. The paper offers no evaluation of language-learning outcomes or of classifier performance for a learner population. The learning objective built into Mission Plastechnology concerns the plastics industry, and the reported data collection shows conversations undertaken in that setting.
Limits that follow from the experimental setup
The performance of the best classifier is tied to an annotation scheme designed around the factory game. Some move labels name objectives unique to its quest. Those labels give the dialogue manager direct access to information it needs, but another game can pose different objectives and use different words to pursue them. The Alice exhibition shows that authors can configure the collection interface for a new scenario and collect exchanges in it. The paper reports no transfer of the factory classifier, and it reports no independently trained classifier results for the exhibition. The portability of the collection tool is the demonstrated result.
The annotation check likewise addresses reliability in a bounded setting. The reported agreement of 0.80 is based on two students independently annotating 5% of the corpus. The paper does not identify the agreement measure or provide agreement by move. The single value therefore gives no direct indication of how consistently the annotators handled the least common labels or the more indirect distinctions exemplified by the reception exchange. This is particularly relevant when a label incorporates an inference about a particular game goal.
Random partitioning leaves a question about which observations the evaluation keeps together. Turns collected in the same game session can share a speaker, local circumstances and nearby dialogue moves. The paper does not say whether it groups whole conversations or players when making the random split. The cross-validation results support comparisons within the reported arrangement. They leave unanswered how much accuracy would change if every turn from an unseen session or player were kept out of training together. The paper’s discussion of the security-policy label also refers to 70% of the training data in its partition example, without fully explaining how that example relates to the 30 fold procedure described for the experiments.
Details about when the vocabulary filter is fit also matter to the interpretation of the reported gains. Its scores use move categories, which are the target labels. The paper describes removing low-scoring words and dropping turns with no qualifying words from the training set. It does not spell out whether the word scores were recomputed using only the training portion of each fold. Fitting the filter within a fold and fitting it before partitioning use different information. The reported account is insufficient to determine the precise procedure on that point.
The history features raise a related question about conditions during deployment. The paper reports experiments with preceding move labels and describes the principal subdialog comparisons as using previous system moves. At runtime, the manager can know acts it has itself selected, while interpretations originating elsewhere may have to be supplied or predicted. The paper does not provide a detailed account of how each previous-move feature was obtained in every evaluation setting, or an assessment of how wrong earlier labels affect later predictions. The findings establish that labeled history was beneficial in the reported feature comparisons.
The results also leave the effect of the collection modes open. In the free mode, a human can lead or follow the conversation flexibly. In the semi-automatic mode, the manager’s suggestions encourage a more system-led exchange, with the human able to intervene. Those choices can affect which types of statements players make and how their intentions are elicited. The paper describes both procedures, but it does not report matched accuracy comparisons between their data or isolate the effect of wizard replacements on the conversations later used for learning.
Finally, the manager can only repair mistakes that its state and rules allow it to recognize or work around. A confirmation after a greeting is a conspicuous mismatch. A more plausible move about the wrong goal could be harder to detect because it still fits the general shape of the exchange. The paper gives an example of recovery and an informal observation about coherence. It does not report how often predictions were overridden, which mistakes survived the checks, or how either kind of mistake affected the player’s ability to complete the game.
What came after
On the Effects of Using word2vec Representations in Neural Networks for Dialogue Act Recognition is a later study that cites the paper and asks how word2vec representations affect dialogue act recognition with neural networks. Its question concerns how words are represented for a recognition task. In Mission Plastechnology, the authors represent a player turn with individual words after preprocessing, optionally filter those words, and add information about preceding moves and the local exchange. The later study’s title identifies the choice of word representation as the feature under investigation.
The conceptual connection is the problem of recognizing what a turn does when it can be phrased in several ways. The factory paper already treats this as a problem of evidence. A classifier may see too few examples of a goal, or it may see a player express an objective using words that have not occurred in training for that move. The authors explore immediate ways to cope with those difficulties through filtering and dialogue history, and identify synonyms and paraphrases as directions for further work. The later paper addresses the recognizer’s input from the perspective of word2vec, a form of word embeddings.
The relationship established by the citation and the later study’s topic is at the level of dialogue act recognition. They do not establish that the later study reused the factory corpus, its goal labels or the rule-based manager. Those would be distinct forms of reuse. The later work follows the recognition question, while the factory study connects recognition to the additional problem of deciding what a virtual character should say during a specific task.
Cite
Cite as Lina M. Rojas-Barahona, Alejandra Lorenzo and Claire Gardent. 2012. Building and Exploiting a Corpus of Dialog Interactions between French Speaking Virtual and Human Agents. Proceedings of the Eighth International Conference on Language Resources and Evaluation (LREC'12).
@inproceedings{rojasbarahona2012building,
title = {{Building and Exploiting a Corpus of Dialog Interactions between French Speaking Virtual and Human Agents}},
author = {Lina M. Rojas-Barahona, Alejandra Lorenzo and Claire Gardent},
booktitle = {Proceedings of the Eighth International Conference on Language Resources and Evaluation (LREC'12)},
year = {2012},
doi = {10.63317/3y454gnwqce7},
url = {https://doi.org/10.63317/3y454gnwqce7}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/barahona-2012-building-exploiting-corpus-dialog-interactions/