---
title: "Two-level classification for dialogue act recognition in"
description: "A two-level dialogue act classifier identifies broad functions in French medical training dialogues and separates what doctors tell patients."
canonical: "https://research.elamur.ai/free/en/papers/blache-2020-two-level-classification-dialogue-act/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/) · [Constitution](https://md.constitution.elamur.ai/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/blache-2020-two-level-classification-dialogue-act/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2020](https://md.research.elamur.ai/free/en/papers/2020/) / Two-level classification for dialogue act recognition in task-oriented dialogues

# Two-level classification for dialogue act recognition in task-oriented dialogues

Paper · 2020 · Philippe Blache, Massina Abderrahmane, Stéphane Rauzy et al.

**Authors:** [Philippe Blache](https://md.research.elamur.ai/free/en/authors/philippe-blache/), Massina Abderrahmane, [Stéphane Rauzy](https://md.research.elamur.ai/free/en/authors/stephane-rauzy/), [Magalie Ochs](https://md.research.elamur.ai/free/en/authors/magalie-ochs/) and [Houda Oufaida](https://md.research.elamur.ai/free/en/authors/houda-oufaida/) · **Year:** 2020 · **Venue:** Proceedings of the 28th International Conference on Computational Linguistics · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

[Cited by **3** papers in our library of more than 163,000 papers whose bibliographies we read](https://md.research.elamur.ai/free/en/papers/blache-2020-two-level-classification-dialogue-act/cited-by/) · Proceedings of the 28th International Conference on Computational Linguistics · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/2020.coling-main.431/)
- [PDF](https://aclanthology.org/2020.coling-main.431.pdf)
- [DOI 10.18653/v1/2020.coling-main.431](https://doi.org/10.18653/v1/2020.coling-main.431)

## Summary

A doctor explaining a surgical complication may describe why the patient came to the hospital, what went wrong during treatment, or how the patient is doing now. All three contributions inform the patient, but they give a simulated patient different reasons to respond. Blache and colleagues study how to make that distinction automatically. They must choose a dialogue-act label that identifies what the speaker is doing with the utterance and is precise enough to guide a reply. The application is a training exercise in which a doctor delivers bad news and a virtual patient reacts. It illustrates a problem for task-oriented [dialogue systems](https://md.research.elamur.ai/free/en/topics/dialogue-systems/).

The authors use French training conversations in which human actors played the patients. They work from corrected transcripts divided at pauses and classify the doctors’ utterances. They compare a flat classifier that chooses among the full set of labels with a two-level approach. The first level identifies broad acts such as Opening, Question, and Inform. The second level takes the contributions assigned to Inform and tries to identify their more specific functions, including the stage of the patient’s condition or treatment that the doctor is describing.

The experiments combine recurring sequences of words and characters with features that describe the utterance more explicitly. Some describe medical vocabulary, including whether a term has appeared previously in the conversation. Others count evidence of linguistic elaboration, such as adjectives and adverbs. The authors also test whether the preceding dialogue act helps classify the current utterance. It helps most in the fine-grained experiments, where neighboring acts provide clues about which part of the announcement the doctor is making. The strongest broad classifier and the strongest fine-grained settings both use linguistic features alongside conventional text features.

The best flat result reported in the main experiment is 73.8% accuracy on the 13 labels, with 63% balanced accuracy, which gives each class equal influence. The first level of the hierarchy reaches 94.2% accuracy and 89% balanced accuracy on its broader labels. The second-level comparison reaches 77.2% accuracy and 71% balanced accuracy for the finer distinctions within Inform. These scores describe different classification tasks. In particular, the second-level figures characterize the refinement stage, and the paper leaves the full hierarchy’s fine-grained accuracy across all doctor utterances unreported. The experiments show where a broad label is comparatively easy to obtain and where local context and linguistic detail help recover the more specific information the application needs.

## Deep dive: Two-level classification for dialogue act recognition in task-oriented dialogues

A two-level dialogue act classifier identifies broad functions in French medical training dialogues and separates what doctors tell patients. · about 36 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### What a dialogue system needs to know

A dialogue act describes an utterance’s function in an exchange. A speaker can request information, open a conversation, explain a situation, or perform some other action by speaking. These labels concern what the speaker is doing in context. The words alone may leave that function underspecified, and a single function can be expressed through many different wordings. An automatic classifier learns to associate stretches of speech or text with the functions defined by an annotation scheme. In the paper’s setting, the stretch to be classified is an utterance bounded by pauses. The general idea comes from [speech act theory](https://md.research.elamur.ai/free/en/topics/speech-act-theory/).

The purpose of assigning an act determines how precise the label needs to be. A broad distinction between a question and a statement may suffice when a system needs to tell whether a speaker expects an answer. It conveys less about the information the speaker just supplied. In the medical exercise, a doctor can describe the patient’s original condition, announce an adverse event, or explain the patient’s present condition. Each contribution has the broad function of informing. A patient response keyed to the stage of the announcement needs a finer distinction.

The authors place classification before more detailed understanding. The dialogue system knows the exercise scenario and the information the doctor is meant to communicate. Its task includes recognizing how that information is delivered so that it can react appropriately. An explanation might warrant a clarification question, and a contribution to the social side of the exchange might call for feedback of a different kind. The act label serves as a cue for choosing how to process the contribution and what sort of response might be relevant. The paper also connects this role to selecting a semantic frame, an organized representation of the kind of information an utterance conveys.

The division of work between the participants reinforces this design. The doctor leads the disclosure, and the patient reacts. The exercise follows a recognizable progression from opening the encounter through presenting the context and discussing the problem and possible remedies. The doctor still has choices about how to say what needs to be said and when to clarify or reassure. Those choices create variation within an otherwise constrained task. The corpus gives the classifier examples of that variation in French. [French](https://md.research.elamur.ai/free/en/topics/french/)

The structure also matters for when the classifier can make a decision. At the moment when the system must react to a doctor’s utterance, later turns are unavailable. A system built to label a completed conversation could consult language that occurs on either side of the current utterance. A system intended to help generate the next response needs evidence available up to that moment. The authors focus on the doctor’s contributions because those are the inputs the proposed understanding component is intended to process. Previous doctor utterances can supply context even when the classifier is designed around this restricted stream.

#### How earlier studies defined the task

Dialogue act recognition starts with a choice of labels. The paper describes the Dialogue Act Markup in Several Layers scheme, DAMSL, as a basis for annotating two corpora widely used in earlier work, Switchboard and the Meeting Recorder Dialog Act corpus. DAMSL proposes 226 acts, and the paper says they are generally clustered into 42 labels. Another line of work, DIT++, led to ISO 24617-2. Its organization distinguishes dimensions such as management of turns and management of social obligations. The paper describes DIT++ as distinguishing more than 100 acts. These schemes provide different ways of deciding what an annotation should say about a conversational contribution. [Meeting Recorder Dialog Act corpus](https://md.research.elamur.ai/free/en/papers/shriberg-2004-icsi-meeting-recorder-dialog-act/) · [ISO 24617-2](https://md.research.elamur.ai/free/en/papers/bunt-2012-iso-24617-2-semantically-based/)

The label inventory of an automatic experiment can be much smaller than the scheme from which it is drawn. The authors describe studies that group acts into broad categories such as statements, questions, backchannels, fillers, and disruptions. A backchannel is a contribution that signals attention or gives feedback while another participant is speaking. Other work restricts the prediction task to the most frequent labels. Restricting the set by frequency and grouping labels by function yield different targets. In one case, the target is a subset of common acts. In the other, distinctions among acts can disappear into broader categories that cover a wider variety of contributions. [Stolcke and colleagues’ dialogue act tagging study](https://md.research.elamur.ai/free/en/papers/stolcke-2000-dialogue-act-modeling-automatic-tagging/)

Grouping can also serve an application directly. The paper cites work on communication during robot-assisted disaster response, where the grouping was tailored to the needs of the team. The authors report that the earlier work clustered the 20 acts it considered most useful into 8 categories. The example helps explain why the choice of labels is part of the design of a task-oriented system. A useful category depends on what a recipient can do with it. In the medical exercise, the authors likewise start from the needs of a particular interaction and retain distinctions within information delivery. [Dialogue act classification for disaster response](https://md.research.elamur.ai/free/en/papers/anikina-2019-dialogue-act-classification-team-communication/)

That application-specific choice affects the role of [linguistic annotation](https://md.research.elamur.ai/free/en/concepts/annotation/). Annotators have to recognize the distinction the classifier will later be asked to make. A label such as Current state requires them to decide what stage the utterance concerns. A broad label such as Inform can remain appropriate through several different stages. The number of labels is therefore only part of the difficulty. Two inventories of the same size could pose different problems if one distinguished readily recognizable conversational functions and the other distinguished closely related kinds of information.

#### What earlier classifiers looked for

The paper describes recurring words and characters as common evidence. An [n-gram](https://md.research.elamur.ai/free/en/concepts/n-gram/) is a sequence of neighboring items, such as adjacent words or adjacent characters. A classifier can learn that particular sequences often accompany an act. Utterance length is another cue. Earlier systems also used [word embeddings](https://md.research.elamur.ai/free/en/concepts/word-embeddings/), numerical representations that capture patterns of word use, and sometimes weighted textual information with [TF-IDF](https://md.research.elamur.ai/free/en/concepts/tf-idf/), which emphasizes terms frequent in a particular text and less widespread in the collection. Other approaches added information about grammatical categories or [prosody](https://md.research.elamur.ai/free/en/papers/shriberg-2000-prosody-aid-automatic-classification-dialog/), the way speech is delivered through patterns such as intonation.

Earlier studies also addressed the fact that conversational acts occur in sequence. The paper describes work that explicitly includes preceding acts, as well as work that learns representations of words, utterances, and conversations and uses them together. In the latter approach, contextual attention assigns greater weight to information judged more relevant to the current contribution. Some of the systems described use representations that can draw on a conversation in both directions. The medical exercise motivates a narrower question about context. It asks how much the immediately available history can contribute when the classifier operates on the doctor’s side of the exchange. [Context-based dialogue act recognition](https://md.research.elamur.ai/free/en/papers/bothe-2018-context-based-approach-dialogue-act/) · [Context-aware dialogue act classification](https://md.research.elamur.ai/free/en/papers/raheja-2019-dialogue-act-classification-context-aware/)

The authors also care about being able to describe the cues a classifier uses. A recurring character sequence can correspond to a useful pattern while leaving its conversational significance unclear. A feature that counts medical terms introduced for the first time has a direct interpretation in the exercise. As the doctor moves through the announcement, the patient encounters some concepts for the first time and hears others mentioned again. The question is whether this distinction carries information beyond recurring text patterns. A similar question applies to the grammatical evidence for a more elaborate explanation. The paper’s contribution brings those questions together with the choice between broad and fine-grained classification.

### The method, step by step

#### From a training conversation to a labeled utterance

The ACORFORMED exercise asks a doctor to tell a patient about a problem that occurred during a medical procedure. For the corpus used in the study, human actors played the patients. There were 7 sessions, each lasting around 15mns. The paper describes the audio input as representing 37,000 words. The speech was transcribed and the transcripts were manually corrected before classification. The authors divided the recording automatically at pauses longer than 250ms, producing 1,822 doctor utterances across the sessions. A segment defined this way is an inter-pausal unit. It is the input to which a dialogue act label is attached.

That choice of unit makes segmentation part of the experimental setup. A doctor can pause while carrying out a single extended explanation, and the resulting pieces can be treated as separate utterances. The classifier sees the text of one segment, with whatever contextual features are included in the setting being tested. Its input is therefore tied to a practical boundary in the speech. In the proposed system, such a boundary can identify when a segment is ready for processing. In the experiment, the boundaries are already available.

The authors use 13 labels in the flat task. The central distinctions concern what point in the medical narrative a contribution describes and whether it concerns a condition or a remedy. The initial state is the condition that led to hospitalization. Initial remediation concerns what was done in response to that condition. Bad new state concerns the event that the doctor has to disclose, and Bad new remediation concerns the response to it. Current state and Current remediation carry the condition-versus-remedy distinction into the part of the discussion about the patient’s situation now. These labels encode content that ordinary categories such as Statement or Inform would leave unspecified.

The other labels cover Opening, Closing, Discourse, Question, Explication, Reassurance, and Social interaction. The paper relates its choices to DAMSL and ISO labels. For example, the labels for the different stages of the patient’s state and remediation can all correspond to Inform in the ISO scheme. Reassurance and social exchanges have correspondences in social obligations and empathy. Explication concerns explaining information, and the paper connects Discourse with functions that include feedback and dialogue structuring. The correspondence helps relate the task-specific inventory to broader annotation schemes while preserving the distinctions the exercise calls for.

The authors derive the inventory from linguistic analysis of the project’s dialogues. They omit an Other label in view of the constrained scenario. This makes the intended output specific even for utterances that may be difficult to place. It also means that the experiments concern choice among the defined labels. A category for material outside the scenario would represent an additional decision.

The corpus was annotated manually by 5 annotators, including two experts. The annotations supply the labels against which the classifier is trained and evaluated. The authors also use the annotations to measure how consistently people apply the scheme. This matters because a difference among labels can describe real content and still be hard to recognize in a short segment, especially when the tense, reference, or intended scope has to be inferred from surrounding speech.

From a doctor’s speech segment to a dialogue act The steps in order.

#### Build a conventional text representation

The preprocessing removes special characters, accents, and stopwords and normalizes letter case. The authors also prepare a version with [lemmatization](https://md.research.elamur.ai/free/en/concepts/lemmatization/), which maps inflected forms to a base form. This creates two ways to count recurring word patterns. The surface form can preserve grammatical distinctions expressed by inflection. The lemma can bring together forms whose shared lexical identity may be useful to the classifier.

The main conventional feature set combines TF-IDF with word and character n-grams. The word sequences range from 1 to 3 words, with the 250 best retained. The character sequences range from 3 to 5 characters, again with the 250 best retained. This gives 500 features in the representation the paper calls f-TFIDF. Each feature associates an utterance with a weighted text pattern. Word sequences represent recurring expressions. Character sequences can register a repeated part of a word even when the full forms differ.

The authors describe three other conventional representations. In s-TFIDF, they apply singular value decomposition to the full TF-IDF representation to obtain a denser representation. This operation expresses the original features through combinations that capture structure in the data. For w-TFIDF, they retain the 500 best word n-gram features. For l-TFIDF, they retain the 500 best lemma n-gram features. These variants change whether the text is represented by a mixture of word and character patterns, compressed components, or sequences built from words or lemmas. The main comparison tables refer to the classical configuration as CLASS. In the first-level experiment, the authors describe applying principal component analysis to retain 350 of the initial 500 features.

The conventional representation gives the paper an internal baseline. It supplies a strong kind of evidence that does not require a medical dictionary or a handcrafted description of sentence structure. Additional features can then be evaluated on top of the text representation. This makes a comparison such as CLASS versus CLASS plus preceding acts meaningful within one task. Both systems have access to the basic wording, and the second setting adds information about the position of that wording in a sequence of acts.

#### Describe what the utterance is about and how it is put together

The authors use MarsaTag for lexical processing, including [part-of-speech tagging](https://md.research.elamur.ai/free/en/concepts/part-of-speech-tagging/), which assigns grammatical categories to words. They derive counts for nouns, verbs, auxiliaries, and clitics by grammatical person. A clitic is a grammatical form that attaches closely to surrounding words, as French unstressed pronouns do. The representation also counts discourse markers, filled pauses, and tokens. Discourse markers help organize the contribution or connect it to surrounding talk. Filled pauses mark hesitation, and the token count records the length of the utterance in the units used by the text processing.

The medical features come from a dictionary created for the domain. It marks terms related to pathology separately from other medical vocabulary. For each utterance, the authors can count all medical terms and count each of those groups separately. They also record whether terms have occurred earlier in the dialogue. A term’s first appearance counts as new, and a term that has appeared before counts as given. The paper describes these counts for medical vocabulary as a whole, as well as separate new and given counts for pathological and other medical terms. This definition of new and given makes a concept from [discourse analysis](https://md.research.elamur.ai/free/en/concepts/discourse-analysis/) into a measurable text feature.

The distinction uses a different kind of history from the history of dialogue act labels. The medical dictionary identifies terms in the current utterance, and the dialogue history establishes whether they are recurring. The history of acts, in contrast, provides a record of how earlier utterances were labeled. The doctor may return to a medical term across several different acts. The vocabulary feature follows the term across those acts, whereas the contextual label feature describes the act sequence itself.

The way the authors group medical features matters when reading the comparisons. The basic medical addition uses the total number of medical terms and the count of new ones. The more detailed variants distinguish pathological terms from other medical terms. The flat comparison and the specialist experiment give somewhat different descriptions of the feature bundles used for that distinction. In the specialist experiment, the paper describes new and given counts for both kinds of medical terminology. The group names in the results denote configurations of features, so an improvement for a group concerns the configuration under test.

The authors add two ratios to approximate the elaboration of an utterance. The first measures the prevalence of adjectives and adverbs.

```
MODIFIERS = (nb_adj + nb_adv) / nb_tokens
```

MODIFIERS is the resulting proportion for the utterance. The prefix `nb` denotes a count. `nb_adj` counts adjectives, `nb_adv` counts adverbs, and `nb_tokens` is the total token count. The plus sign combines the two grammatical counts. The parentheses place them in a common numerator, and the slash divides that numerator by the number of tokens. The equals sign defines the feature. A larger value indicates a greater share of adjectives and adverbs within the segment.

The other ratio uses words that can occur in the constructions the authors associate with syntactic elaboration.

```
CLAUSES = (nb_conj + nb_prep + nb_pro) / nb_tokens
```

CLAUSES is the feature calculated for the utterance. `nb_conj` counts conjunctions, `nb_prep` counts prepositions, `nb_pro` counts pronouns, and `nb_tokens` counts all tokens in the utterance. The plus signs add the grammatical counts, the parentheses group the numerator, and the slash normalizes it by length. The equals sign gives the feature its value. The name points to the use of these word classes as approximate evidence for complex constructions. For example, such categories can occur in subordinate and relative clauses and in prepositional phrases. A direct count of those structures would require different information.

Normalizing by the token count lets the authors express how prevalent a grammatical cue is within an utterance. The separate token count still permits length to contribute as its own feature. Thus an utterance can be long, rich in modifiers, both, or neither, with distinct values carrying those properties. The authors expect elaboration to be useful because an explanation or a description may require more qualification than an exchange with a mainly social function. That expectation motivates the feature design. The classifier still has to learn whether the cue is associated with the labels in the data.

#### Represent what happened just before

The paper explores context representations using windows from 1 to 5 preceding utterances. Some settings use one-hot encoding for act labels. In one-hot encoding, a set of entries corresponds to possible categories, and the entry for the observed category identifies it. When the window contains only the preceding act, this gives the classifier a compact indication of what the doctor was just doing. Other settings count how often acts occur within a window, combining evidence across positions. The authors also test word n-grams from preceding material and a combination of the immediate predecessor representation with earlier word-pattern information. The headline contextual feature in the flat comparisons is the one-hot representation of the previous act.

The distinction between identity and frequency is useful here. The identity of the immediately preceding act can signal a local continuation, for example when a doctor stays on the same aspect of the story across a pause. A count from a longer window can represent repeated use of an act even if a different one intervenes. A word-pattern representation can carry some content from the previous utterances independently of how they were classified. The paper explores such options, with its main tables concentrating on selected combinations.

The motivating setting determines which history can in principle be available. Both earlier words and previous act decisions lie on the past side of the current utterance. Their provenance still matters. Earlier words can come directly from the transcript, whereas a previous act label in a live system must come from a prior classification decision. The experimental reports associate improvements with the contextual feature. The precise source of the preceding labels at test time remains important when interpreting how those improvements would transfer to continuous use.

#### Train the flat classifier and route the hierarchical one

The flat setup learns to choose among all 13 acts in one decision. The study describes testing logistic regression, support vector machines, nearest neighbors, decision trees, and random forests. XGBoost supplies additional comparisons in the tables. These classifiers give different ways of learning from the same feature representation. A nearest-neighbor method uses nearby examples in the representation. A tree separates examples through successive feature decisions, and a random forest combines decisions from multiple trees. The flat experiment asks how well a single decision can handle both the broad conversational functions and the fine distinctions within the medical narrative.

The two-level setup begins with a broad decision among Opening, Discourse, Inform, Question, and Closing. The authors adapt these categories from the ISO scheme. Utterances assigned to Inform are then sent to a classifier specializing in distinctions within that group. The hierarchy therefore uses a multiclass classifier at each level, with the broad prediction controlling whether the second one is used. Opening, Discourse, and Closing are among the outputs the authors envisage using directly to guide a response, while an Inform decision can initiate more detailed analysis of the utterance.

The paper is internally inconsistent about the specialist’s label inventory. The introduction to the two-level setup describes 8 Inform subclasses and omits Reassurance from its enumeration. The detailed description of the second stage lists the initial, adverse-event, and current variants of state and remediation, followed by Explication, Social interaction, and Reassurance. Elsewhere the authors again call the refinement an 8-class task. The stable part of the design is the routing rule and its focus on refining Inform. The membership of Reassurance in the reported specialist setup is less clear than the membership of the state and remediation distinctions.

The authors describe this design as a local classifier per level. The training problems are defined separately. The first classifier sees a broad target, while the second is intended to concentrate on the distinctions under Inform. This makes each result informative by itself. It also means that the higher decision constrains the possible outcome downstream. An Inform utterance assigned to Question at the first level never reaches the classifier that could identify it as a description of the patient’s current state. An utterance sent to Inform in error may receive a specific label in the wrong branch.

#### Choose features and settings on the training data

The authors select comparatively simple classifiers in response to the size of the corpus. They discuss regularization, which limits how closely a classifier can adapt to the details of its training examples. They try penalties named L1, L2, and Elasticnet, where appropriate, and tune settings such as the margin in the support vector machine or the tree depth in the random forest. The choice of available settings thus depends on the classifier.

Feature selection is another part of the procedure. The authors use an analysis of variance, abbreviated ANOVA, to select the k best features. Here `k` denotes the number of features retained for that selection. The chosen classifier is then retrained with the selected feature set. The experiments distinguish results from the initial feature configuration and results obtained with this additional selection. A reported score for the best classifier with selected features may consequently reflect which features were retained and which classifier performed best for that row.

The paper describes random search and grid search for hyper-parameter tuning on the training set. A grid evaluates combinations from specified choices, while random search samples settings. The cross-validation procedure divides the training data into folds and uses different folds for validation as training is repeated. The authors report choosing `k = 5` for this purpose after testing alternatives. Here `k` is the number of folds, distinct from its use as the number of features retained by ANOVA. The corpus split reported for the flat experiment assigns 80% of the utterances to training and 20% to testing.

Finally, the researchers try changing the training distribution to give rare acts more representation. They describe SMOTE, which adds synthetic minority examples by combining examples with nearby minority examples in feature space. They also describe filtering the resulting points with Tomek link removal, which identifies very close neighbors for removal. A separate oversampling comparison appears for the first level. The point of these trials is to see whether changing which examples the classifier sees can help when some labels have few observations. The choice of balanced accuracy gives the evaluation a way to detect changes that affect rare labels even when ordinary accuracy changes little.

### Experiments and results

#### The data and the two measures of performance

The experimental corpus is small enough that the label distribution is central to interpreting a score. Current state accounts for 21% of the utterances, while Closing accounts for 0.5%. The distribution figure places Discourse, Current state, Social interaction, and Current remediation among the dominant classes and says they cover 78% of the corpus. A classifier that handles those labels well can therefore perform well on many individual examples even if its performance on some other acts is poor. The disparity is especially relevant when infrequent acts matter to the dialogue system’s handling of an encounter.

Accuracy measures the proportion of evaluated utterances that receive the reference label. Balanced accuracy averages performance across classes, giving each class the same influence. For a rare class such as Closing, this means that a correct prediction matters according to its share of Closing examples. It does not have to compete with the much larger number of Current state examples for influence on the metric. The paper reports ordinary accuracy for comparison with earlier dialogue act work and balanced accuracy to show how performance is distributed among the labels. Both are prediction measures, separate from the agreement among the people who supplied the reference annotations.

The reported flat split is 80% training and 20% testing for the 1,822 doctor utterances. The hierarchical experiments report separate scores for the broad decision and the Inform refinement. The factorized experiment changes the annotation target by merging some classes. Consequently, the evaluation sections give several views of the same underlying recognition problem. Each score needs to stay attached to the set of labels and the stage of processing for which the authors report it.

The main baselines are internal. CLASS supplies the recurring text-pattern features, and other configurations add the medical, linguistic, and contextual groups. The classifiers are compared across these settings so that a result can be inspected within a classifier as well as across the strongest systems. The earlier results on Switchboard and the Meeting Recorder Dialog Act corpus supply historical context. The authors did not run their French medical classifier on either corpus as part of this study. The benchmark history and the internal comparisons serve different purposes. [Evaluation and benchmarks](https://md.research.elamur.ai/free/en/topics/evaluation-benchmarks/)

#### Flat classification across all the fine-grained acts

In the flat experiment, the strongest reported accuracy comes from XGBoost with the most extensive feature configuration. Its table entry is 0.7379 for accuracy and 0.6308 for balanced accuracy. The main discussion reports this as 73.8% accuracy with 63% balanced accuracy. The section on reducing the label set separately refers to the flat result as 73.7% with 63% balanced accuracy. The table and the main discussion support using 73.8% for the headline on this experiment. Both descriptions concern classification across the original fine-grained inventory.

Random forest also obtains 0.7322 accuracy with the extensive set, with 0.5613 balanced accuracy. This is a case where ordinary accuracy makes the two classifiers look relatively close, while balanced accuracy distinguishes them more clearly. It matters for the application because a correct prediction on a frequent narrative phase contributes heavily to accuracy, whereas balanced accuracy places the ability to recognize other functions on an equal footing. The paper describes random forest as comparable in accuracy, and the class-weighted view qualifies what that comparison means.

A support vector machine illustrates how adding context changes performance while the classifier family stays fixed. With CLASS, it records 0.5299 accuracy and 0.3333 balanced accuracy. With the previous act added to the classical features, the corresponding figures are 0.7037 and 0.5932. The most extensive feature setting records 0.7009 accuracy and 0.5939 balanced accuracy for this classifier. Here the previous act provides the clearest change, while the full configuration affects the two measures in different directions. The paper’s overall best result comes from a different classifier, which is why a gain observed for the best system and a gain within an individual classifier should be read separately.

The chart gives the accuracy of selected systems from the flat table, including the support vector comparison and the best full configuration. The ordinary accuracy entries retain the scale used in that table.

Flat dialogue act classification on the French training corpus by accuracy The preceding act improves the support vector classifier, and XGBoost with the full feature set gives the strongest result.

**The numbers**

| System or setting | accuracy (proportion) |
| --- | --- |
| Support vector machine with classical text features | 0.5299 |
| Support vector machine with classical text and preceding act | 0.7037 |
| Random forest with the full feature set | 0.7322 |
| XGBoost with the full feature set (this paper) | 0.7379 |

A classical-plus-context configuration is particularly informative as a baseline for the best flat system. It already has access to the strongest source of improvement seen across many rows, the preceding act. The fullest setting then combines that clue with evidence of what the doctor said, which medical concepts are new, and how the contribution is structured. The best score shows the value attainable by the whole combination in this experiment. The separate feature comparisons give a more specific view of which additions appear useful and where their effects vary.

#### Broad recognition at the first level

The first stage has the simpler target of choosing among broad acts. With selected features, the best setting in its table records 0.9421 accuracy and 0.8900 balanced accuracy. The discussion gives 94.2% and 89%, respectively. The paper describes the winning classifier as regression with ANOVA feature selection. Its table abbreviates an individual classifier column as LR, and the methodology lists logistic regression among the candidates. The prose on this particular result uses the term linear regression. The feature setting and reported score are clearer than the paper’s naming of the regression classifier.

The classical text features already support a useful first decision. The selected-feature column records 0.9035 accuracy and 0.8478 balanced accuracy for CLASS. Adding the basic medical counts produces 0.9068 accuracy and 0.8638 balanced accuracy. With the linguistic features added as well, the same result column reaches the best reported first-level values. The comparison is among feature configurations on the same broad task. The table presents the selected-feature result for each row, so the column is not a claim that every underlying classifier improves in the same way.

First-level dialogue act classification on the French training corpus by accuracy The selected-feature setting performs best when classical text cues are joined by medical and linguistic features.

**The numbers**

| System or setting | accuracy (proportion) |
| --- | --- |
| Selected classical text features | 0.9035 |
| Selected classical text and medical features | 0.9068 |
| Selected classical text, medical, and linguistic features (this paper) | 0.9421 |

The authors report no benefit from adding context at this level. Their interpretation is that the broad categories are stable enough to be recognized largely from the utterance itself. The grouping of many medical and explanatory contributions under Inform also changes the function of the contextual cue. Knowing that a preceding contribution informed the patient leaves open which specific medical phase it was about, and that specificity is what gives context much of its interest in the fine-grained task.

The paper cites 81.3% accuracy on a reduced Switchboard task and 91.7% on the reduced Meeting Recorder task. It also discusses a different Switchboard result of 82.9% on 43 classes, with 75% given as the mean for comparable methods. These are earlier results relayed in the paper. Even when the number of predicted classes sounds similar, the label definitions and corpora differ. The authors flag the differences in dataset and language when presenting the first-stage experiment. As a result, 94.2% describes the success of the broad classification in the French exercise. The experiment directly establishes performance on that corpus and inventory. [CRF-attentive dialogue act recognition](https://md.research.elamur.ai/free/en/papers/chen-2017-dialogue-act-recognition-crf-attentive/) · [Context-aware self-attention for dialogue act classification](https://md.research.elamur.ai/free/en/papers/raheja-2019-dialogue-act-classification-context-aware/)

#### Refinement within Inform

The second stage has to recover distinctions suppressed by the broad grouping. The best result comes from random forest with the full contextual and linguistic configuration, including the more detailed medical features. Its accuracy is 0.7722 and its balanced accuracy is 0.7101. The discussion reports those results for Inform refinement as 77.2% accuracy and 71% balanced accuracy. The table also gives 0.7568 accuracy and 0.6951 balanced accuracy for the selected-feature setting on the fullest row. The highest accuracy and balanced accuracy in that row belong to the random forest column itself.

The narrow focus on Inform does not make this an easy text-only problem. With classical text features, random forest records 0.3745 accuracy and 0.2439 balanced accuracy on the specialist task. With classical text and the preceding act, it records 0.7413 and 0.6496. Adding general medical and linguistic features to the contextual setting gives 0.7606 accuracy and 0.6782 balanced accuracy. The configuration with more detailed medical vocabulary then reaches the specialist’s best result. The sequence of comparisons shows the strong contribution associated with context for this classifier and further improvement with the richer features in the contextual setting.

Random forest settings for Inform refinement on the French training corpus by accuracy Context gives the clearest improvement, and the fullest contextual and linguistic setting performs best.

**The numbers**

| System or setting | accuracy (proportion) |
| --- | --- |
| Classical text features | 0.3745 |
| Classical text plus medical and linguistic features | 0.3900 |
| Classical text plus preceding act | 0.7413 |
| Context plus general medical and linguistic features | 0.7606 |
| Context plus linguistic and detailed medical features (this paper) | 0.7722 |

The specialist results describe classification within the refinement task. The broad classifier has a separate evaluation, and the paper does not give a complete test of the original fine-grained label set through the chained predictions. In particular, the refinement result does not reveal how many utterances with true Inform subclasses would arrive at the specialist after the broad decision. It also does not reveal how often other utterances would enter that branch in error. Those routing outcomes are needed to turn the two stages into an overall score comparable to the flat result.

#### A flat classifier with merged labels

The authors also relax some distinctions in a separate flat experiment. State merges the initial, bad-news, and current variants of the patient’s condition. Remediation makes the same merger for measures taken in response. Reassurance joins Social interaction, and the paper describes Opening as grouping greeting, presentation, and the purpose of the encounter. Closing, Discourse, and Question keep their previous definitions. The resulting task has 7 classes. A prediction of State in this setup indicates the type of information and leaves its place in the chronology unspecified.

On the reduced task, the authors report 78.3% accuracy and 59.6% balanced accuracy. The corresponding XGBoost table entry with classical, medical, linguistic, and contextual features has 0.7833 accuracy and 0.5960 balanced accuracy. The variant with the more detailed medical counts gives 0.7795 accuracy and 0.5963 balanced accuracy for XGBoost. The former provides the strongest ordinary accuracy in the table. The latter gives a slightly different ordering on balanced accuracy.

The merged-label experiment illustrates the consequences of evaluating a different target. The relaxed task can give credit for identifying a condition even when the original inventory would demand that the doctor’s statement be placed in the right phase. Balanced accuracy also averages over a different set of categories after the merger. The figures describe how the reduced task behaves in its own right. The fine-grained flat experiment and the Inform specialist expose distinctions that the merged target deliberately leaves out.

### What the ablations show

#### Where previous acts carry the most information

The main controlled comparisons change which groups of features a classifier sees. They reveal where a group helps a particular setting and how much the overall picture depends on the classifier. The clearest pattern concerns the preceding act. In the flat table, both the support vector machine and the random forest are stronger with classical text features plus context than with classical text features alone. With random forest, adding context to CLASS changes accuracy from 0.4758 to 0.6239 and balanced accuracy from 0.2288 to 0.4406. The support vector comparison shows the same direction on both measures. A previous label gives useful information about the current contribution beyond what these classifiers recover from its isolated wording.

Within Inform, the pattern is particularly striking. For random forest on the specialist task, the classical setting has 0.3745 accuracy, and adding the previous act gives 0.7413. This comparison has a straightforward interpretation at the level of the tested feature groups. Relative to text alone, the preceding act is highly informative in the sequence labeling setup. A doctor frequently develops a topic across several pause-delimited segments. An adjacent label can therefore carry information about the current phase even when the current segment is too short or general for its wording to identify that phase on its own.

The exact mechanism behind the gain remains open. A previous act can indicate persistence within a label, a transition between familiar phases, or other regularities of the exercise. The paper does not separate those possibilities. The feature’s value is consistent with the structured nature of the announcement, while the comparison establishes that it is the presence of the contextual input that distinguishes the settings shown in the table. A fuller account would depend on the actual label transitions and on how previous labels are obtained when the classifier is evaluated.

The broad experiment gives a contrast within the authors’ own design. They report that the contextual feature gave no improvement for the first level, and they note that the factorization changes how context can be used. A preceding act with the label Inform tells the classifier less about how the disclosure is developing than a preceding act labeled with a particular stage of the patient’s condition. Broad classes are also easier to recognize from their own utterance features. These considerations explain why a cue that helps with fine detail may add little to the broad decision under the tested setting.

#### What medical and linguistic cues contribute

The paper’s feature groups distinguish a bare text representation from medical-vocabulary counts and from more general linguistic descriptions. A diagnostic comparison appears at the broad stage, where the selected-feature configuration improves as medical and linguistic groups are added. The strongest first-stage setting combines these features, and its balanced accuracy rises alongside its ordinary accuracy. This suggests that the added cues are valuable across the evaluated classes in aggregate. The class-averaged result alone does not say which broad acts account for the improvement.

In the specialist experiment, the usefulness of the linguistic and medical additions depends strongly on the rest of the configuration. With random forest and without context, adding the general medical and linguistic group changes accuracy from 0.3745 to 0.3900. Once context is present, the richest group reaches 0.7722. This pattern helps place the authors’ linguistic argument. The counts complement the sequence signal in the best specialist setting. They do not deliver the same level of recognition by themselves. The previous act can point to the phase, while the grammatical and medical features supply clues about what the speaker is doing within it.

The flat results also show variation from one classifier to the next. With random forest, accuracy increases from 0.6239 with classical features and context to 0.7293 with the general medical and linguistic groups added to that setting. Balanced accuracy increases from 0.4406 to 0.5569 in the same comparison. With the support vector machine, moving from the contextual classical setting to the general medical and linguistic configuration gives 0.6838 accuracy after the earlier 0.7037, along with 0.5289 balanced accuracy after 0.5932. The richer representation is part of the strongest flat system, and its effects in the other systems depend on how they use it.

The authors offer an interpretation based on the content and form of different phases. New medical terms occur especially when the doctor first describes the initial condition and when the doctor introduces the adverse event. Tracking the first mention gives a classifier a way to represent that development. Likewise, descriptions and explanations may contain more elaboration, making modifier and clause-related counts plausible cues. These interpretations connect the measured features to the discourse. The tables vary packages of features, so the evidence is strongest for the packages. There is no individual removal experiment that assigns a separate contribution to every count or ratio.

The agreement analysis gives another perspective on individual labels. The paper reports Fleiss’ kappa of 0.518 across annotators and characterizes the result as fair. Fleiss’ kappa measures agreement while accounting for the agreement expected from the distribution of ratings. The class figures vary. Discourse has 0.750 and Opening has 0.739. Explication has 0.274, and Bad new remediation has 0.313. A system trained to recognize these categories therefore faces differences in how consistently people draw their boundaries. The annotation scores do not identify which classes account for the automatic errors. They do show that some of the distinctions present a problem before classifier training begins.

#### Resampling and grouping answer different questions

Oversampling changes the examples or their representation during training while leaving the target categories in place. The first-level table compares the base setting with oversampling and with SMOTE. For the classifier with selected features, the base result is 0.9421 accuracy and 0.8900 balanced accuracy. Both resampling rows give 0.9325 accuracy and 0.8869 balanced accuracy for that result column. On the reported metrics, increasing the representation of minority classes this way gives no advantage for the strongest broad configuration. The paper also reports that its imbalance treatment did not improve the second-stage results, whose resampled settings are not tabulated.

Grouping labels changes the task itself. The authors try clustering in search of useful groupings and report difficulties with the results. Word-based clusters can group on shared terms without producing the categories the application needs. Clusters based on linguistic features can be hard to interpret. The manual factorization has an explicit rationale. It preserves a distinction between a condition and its remediation while collapsing the phase in which each occurs. Its scores show the performance of a coarser flat classifier. They do not isolate the effect of a feature or indicate that automatic clustering recovered the same categories.

The comparison between the flat and hierarchical strategies likewise changes several parts of the prediction procedure. The broad stage has a different inventory, and the specialist has a narrower scope. The most direct evidence about why a system’s performance changes comes from comparisons within a table that hold the target and classifier family fixed. The hierarchy experiments establish that the broad and specialist decisions can each be learned with the reported configurations. Their combined effect on a stream of original fine-grained labels requires an evaluation of the route from the first decision to the final output.

### Limitations

#### Limits the authors identify

The authors treat manual annotation and the small corpus as constraints on the work. Fine labels require annotators to distinguish closely related contributions, including references to the patient’s condition at different stages. Their overall agreement of 0.518 shows that the scheme is applied with varying consistency. The authors regard it as acceptable for their purposes and use the differences among classes to illustrate the task’s difficulty. The classifier scores are therefore best understood as agreement with the corpus labels under that annotation procedure.

They also emphasize the tradeoff between the detail of the label and the difficulty of predicting it. Merging initial, bad-news, and current descriptions into State gives the classifier a broader target and gives the understanding component a less specific output. The best granularity depends on which distinctions help guide the simulated patient. The reduced experiment measures recognition when those distinctions are relaxed. It leaves the value of the lost information to dialogue control as an application question.

The authors identify error propagation as a drawback of top-down classification. An incorrect broad prediction can prevent the appropriate finer classifier from acting. They also point out that training a classifier for each level leaves parent–child relationships outside the learning procedure itself. The hierarchy is imposed by the label grouping and by routing. Its appeal in the application is that each level yields a usable category. Its cost is the dependence of the fine decision on the broad one.

Comparability to earlier studies is another limit the authors state. Switchboard and the Meeting Recorder corpus differ in data, language, and label definitions from the French medical exercise. The paper uses their published scores to describe the broader field and discusses the high first-level accuracy in that context. A direct test of superiority would require a common benchmark and target inventory. The authors’ own strongest evidence concerns performance within the task they set up.

#### Limits visible in the experimental setup

The corpus samples a particular training exercise in which the scenario is known and the doctor leads the conversation. The medical dictionary and the definition of new vocabulary are tied to the words used in that setting. Its sequence of phases makes the preceding act a plausible predictor. A different clinical exercise or a different task-oriented dialogue might have another sequence of phases, another vocabulary, or a participant who directs the exchange differently. The reported experiments contain no cross-domain or cross-language trial that measures how much of the observed performance carries over.

There is also a distinction between holding out utterances and holding out encounters. The paper specifies the proportions for the train and test sets and describes cross-validation during training. It does not establish in that account that whole conversations were held out together. This matters because utterances from the same encounter share a doctor, a scenario, and nearby stretches of talk. The measured gains from context are particularly sensitive to how those relationships are handled during partitioning. The results support the split described in the paper, with generalization to wholly new encounters still to be established.

The source of prior act labels sets a further boundary on interpreting the contextual results. With an annotated corpus, the earlier reference act is available to the experimenter. During use, the system would have to rely on an earlier prediction to supply that feature. The paper does not specify clearly enough how these alternatives are handled in the reported test. The distinction matters for both flat and specialist classification. An error on one utterance could alter the contextual input on the next, even before considering the separate possibility of an error in routing an utterance to the Inform specialist.

The scores for the two levels do not close that question. A complete evaluation of the hierarchy would have to record where each broad prediction sends the utterance, what label the second classifier produces when invoked, and how the final label compares with the original reference. The specialist results give no breakdown of missed Inform utterances or unintended entries into that branch. The paper also gives conflicting descriptions of whether Reassurance belongs among the detailed Inform outputs. The agreement of the descriptions on the major state and remediation labels provides a clear account of the central distinction. The precise specialist inventory remains uncertain.

The experimentation concerns labeled text segments made from corrected transcripts. It therefore tests the recognition stage with prepared language input. An operational dialogue system would also have to establish reliable segment boundaries and obtain the words while the encounter is in progress. The use of past information makes incremental processing possible in principle. The paper reports no latency measurements or evaluation of classification on uncorrected speech recognition output. It also does not test whether the simulated patient’s responses improve when the finer tags are supplied.

The linguistic features have direct definitions that make them easier to discuss. That interpretability has a specific scope. A high modifier ratio can be read as a larger share of adjectives and adverbs, and a new-medical-term count can be checked against earlier utterances. The experiments do not trace particular classifier decisions back to those cues or measure a separate effect for each feature. The authors’ account of why the features help concerns the conversational roles they plausibly represent. The measured evidence concerns whole configurations.

Finally, class-averaged results give broader coverage than accuracy alone, while leaving the performance of any particular act unspecified. This is consequential for classes that have very few observations. For the purposes of response selection, reliably detecting a rare closing or a difficult reassurance could matter even if failure on that label has a small effect on overall accuracy. The paper reports agreement by class, which describes the annotation side of that problem. Its main prediction tables support comparisons of settings on aggregate metrics.

### What came after

Mezza and colleagues’ 2022 work on ISO-standard dialogue act tagging cites the study and brings hierarchy into a setting described as multidimensional and cross-domain. The connection is clearest at the level of the labeling problem. Blache and colleagues start with a broad, ISO-related distinction and refine one branch according to the conversational information their application needs. Mezza and colleagues’ title identifies hierarchy as an explicit part of an architecture for tagging according to the ISO standard. It also locates that architecture in a setting that includes multiple dimensions and domains. [Multi-dimensional, cross-domain dialogue act tagging](https://md.research.elamur.ai/free/en/papers/mezza-2022-multi-dimensional-cross-domain-hierarchy/)

Those dimensions are relevant to a tension already visible in the earlier paper. The ISO scheme can organize acts by kinds of conversational function, including social obligations and turn management. The medical exercise concentrates on a particular information transfer and creates labels for when a condition or a remedy enters that account. Even within this restricted setting, the correspondences between the bespoke labels and the standards are many-sided. For example, several medical narrative stages share the broad ISO category Inform, while Reassurance has a social and empathic interpretation. A hierarchy-aware approach to standard tagging addresses organization at the level of the standard itself, where the dimensions are part of what the tagging problem has to represent.

The citation establishes a connection in research on structured dialogue act tagging. The later work’s title identifies its scope, while the account of the later work leaves its use of the earlier classifier, medical vocabulary features, corpus, and routing procedure unspecified. The documented progression is therefore one of scope. The earlier study uses a two-level decision to preserve distinctions essential to a single task-oriented exercise. The later work makes hierarchy part of an architecture framed around standard dialogue acts across dimensions and domains.

## Cite

Cite as Philippe Blache, Massina Abderrahmane, Stéphane Rauzy, Magalie Ochs and Houda Oufaida. 2020. Two-level classification for dialogue act recognition in task-oriented dialogues. Proceedings of the 28th International Conference on Computational Linguistics.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.18653/v1/2020.coling-main.431](https://doi.org/10.18653/v1/2020.coling-main.431)

```bibtex
@inproceedings{blache2020two,
  title = {{Two-level classification for dialogue act recognition in task-oriented dialogues}},
  author = {Philippe Blache, Massina Abderrahmane, Stéphane Rauzy, Magalie Ochs and Houda Oufaida},
  booktitle = {Proceedings of the 28th International Conference on Computational Linguistics},
  year = {2020},
  doi = {10.18653/v1/2020.coling-main.431},
  url = {https://doi.org/10.18653/v1/2020.coling-main.431}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
