How Good is Automatic Segmentation as a Multimodal Discourse Annotation Aid? (2023)

Abstract: In this work, we assess the quality of different utterance segmentation techniques as an aid in annotating collaborative problem solving in teams and the creation of shared meaning between participants in a situated, collaborative task. We manually transcribe utterances in a dataset of triads collaboratively solving a problem involving dialogue and physical object manipulation, annotate collaborative moves according to these gold-standard transcripts, and then apply these annotations to utterances that have been automatically segmented using toolkits from Google and Open-AI’s Whisper. We show that the oracle utterances have minimal correspondence to automatically segmented speech, and that automatically segmented speech using different segmentation methods is also inconsistent. We also show that annotating automatically segmented speech has distinct implications compared with annotating oracle utterances — since most annotation schemes are designed for oracle cases, when annotating automatically-segmented utterances, annotators must make arbitrary judgements which other annotators may not replicate. We conclude with a discussion of how future annotation specs can account for these needs.

## introduction in order for artificially intelligent (ai) agents to interact with with an environment, they must first accurately perceive that environment. in real-world contexts, this necessitates automatically preprocessing various modalities for downstream procedures. for example, an ai agent to modulate classroom discourse needs to first identify distinct discourse components, but a single spoken utterance from a team member could contain multiple discourse components. the identification of each discourse component within the utterance could easily spiral into a doctoral thesis but overly fixating on this preprocessing step would make it extremely difficult to make substantive progress on ai agents themselves. typically, researchers default to "oracle" data, where one assumes the preprocessing step has been completed with human level accuracy (e.g., human transcriptions of speech, utterances segmented by dialogue move). however, in a real-world agent deployment, preprocessing of data that would be fed into the automated system will instead be handled by off-the-shelf software. current practice in ai assumes the existence of suitable datasets that contain examples of the information an automated system is intended to extract. the task of developing the ai model entails solving for the function that best maps from the input samples to the desired outputs. if these datasets do not already exist, then the information that is to be learned must be annotated by humans. consider the scenario we focus on in this paper: a group collaborating to solve a problem involving the shared manipulation of physical objects. multiple modalities are implicated in such a task-group members speak to each other, but also point or gesture, use body language, and manipulate objects to communicate meaning and intent. specs intended for annotating collaborative problem solving (cps) skills on display are intended to be used at the utterance level, and assume that the utterance has been segmented and transcribed by humans ("oracles"). there are many frameworks for modeling cps that have been developed by researchers in the learning sciences (e.g., @xcite ; @xcite ; andrews-todd and forsyth (2020); @xcite ) and this literature stresses the multimodal nature of cps @xcite . for example, the occurrence of an interruption or the content of cross-talk may not be immediately evident from the audio signal alone, but watching the speakers interact may make it clear who is speaking when or what is said. highquality annotation of oracle utterances of a multimodal task like cps therefore relies on annotators attending to the multiple modalities implicated while making their decisions. if the annotations are performed without this information, or with this information scrambled somehow, we should expect this to affect the quality of the annotation. the question is, how much? the development of such annotation schemes is typically conducted separately from the rapid preprocessing and scaling that ai practitioners are likely to encounter when they use such annotated data for model training. there may be little that ai practitioners can ask of spec developers given the risk involved with the development of an annotation spec (one can imagine the truly unpleasant experience of developing an annotation spec and finding, after innumerable modeling and annotation cycles, that meaning captured in the spec is not linked to the expected meaningful outcomes). further, spec developers may (arguably rightly) say that they have no expectation that their spec will be used to train ai models, and that the problems that unfold should be solved by ai developers themselves. these are quite reasonable arguments-and unless the annotation spec is being explicitly developed for ai systems, annotators are unlikely to change (we strongly encourage annotations developed for ai to think deeply about these problems-but such thoughts are outside of the scope of this particular paper). nonetheless, ai development relies on interoperable annotated data, and as ai practitioners ourselves, we conclude that ai practitioners must think deeply about traditional annotation schemes and how we can best accommodate them. in this paper, the annotation scheme we use is the one developed by @xcite but the problem we address is independent of any particular spec. namely, when an annotation spec designed for one utterance segmentation method is applied to utterances automatically segmented using a different method, the information retrieved is different from what the original spec intended to encode. we annotate utterances for cps using expert annotators, and we also have expert annotators label, as best they can, automatically-segmented utterances. we discuss common strategies to transfer oracle annotations to real-world annotations. we underscore, exactly, how disconnected the or-acle utterance labels may be from the labels on automatically-segmented utterances. finally, we discuss how, given even just two automatic utterance segmentation methods, achieving a goldstandard annotating become quickly intractable if the specification itself does not contain strategies for accommodating suboptimal preprocessing. ## related work the gap between oracle data and real-world data has been identified previously @xcite . other works have pointed out the need to move away from oracle transcriptions in pursuit of ai applications for real-world use cases @xcite . the use of automatic segmentation of speech for modeling tasks is becoming increasingly widespread @xcite . modeling in general has become more aware of the needs of real-world systems. for example, methods for automatically detecting mind wandering have moved from balanced datasets to heavily imbalanced datasets in acknowledgement of the need for such models to operate in the context of real-world distributions @xcite . what is distinct with this work is that here we focus our analysis on the annotation implications, rather than on attempts to fix issues that arise through machine learning directly. for example, @xcite refused to use human transcriptions in a multimodal sentiment challenge because such transcripts were not true to real-world contexts; however, they did not comment on how the labeling of sentiment might change were those annotations done on automatically extracted data. here, we explicitly focus on that challenge. we explore the implications of segmentation and transcription methods when annotating cps for groups. cps is a critical skill used in many areas of life @xcite , and ai agents for group settings will need some way of representing group state. work has been done to model cps at the utterance level @xcite . the framework defined by @xcite captures cps at three levels and identifies specific actions that indicate different types of collaborative actions and their impact on group state. in particular, we hope our efforts here facilitate consistency across future cps modeling efforts and meaningfully contribute to the cps framework defined by @xcite , and in general, we hope to prompt thought about annotation spec design and strategy in the face of potential uses involving automated preprocessing. ## dataset our dataset consists of audiovisual recordings of 10 triads performing a shared collaborative task which was developed to promote rich collaboration via multimodal communication. the task is performed by triads at a round table in a laboratory setting. the equipment on the table includes 6 blocks (of varying weight, size, and color), a balance scale, a worksheet demarcated with spaces to place the blocks (indicated with weights in grams), and a laptop on which participants submit their responses to survey questions throughout the task. participants are first given a balance scale to determine the weights of five of the colored wooden blocks. they are told that one block weighs 10 grams, but that they have to determine the weights of the rest of the blocks using the balance scale. 1 as the weight of each block is determined, participants place it on the worksheet next to its corresponding weight. the participants also must submit their final answer for the weight of each block to the survey form on the laptop. once the weights of all five blocks are solved for, participants are given the sixth block and must identifying its weight without using the scale (i.e., participants have to deduce the weight based on the pattern observed in the initial block weights). finally, participants are asked to determine the weight of another mystery block that is not physically present and explain how they arrived at the answer. the participants once again submit their answer as a group in the online survey and are given two chances (with a hint after the first guess if it is incorrect). the total dataset consists of 10 videos, containing 3 participants each, for a total of 170 minutes of video. participants ranged from 19-35 years old, recruited from a university population. 20% were female while 80% were male. 60% were caucasian non-hispanic, 10% were hispanic/latino, and 30% were asian. all volunteers spoke english through the task but spoke a variety of native languages. although this data was collected in a lab, the complexity of human-human interaction is appropriately captured in these recordings -participants talk over each other, they speak with disfluencies, they interrupt each other, they engage in long runon sentences punctuated by only a single em-dash, and they pause in the middle of sentences before resuming their thought. all of these complications make utterance segmentation quite difficult, and often these ambiguities are only resolved by human annotators with recourse to the visual modality. ## annotation methodology videos were first hand-transcribed to ensure the accuracy of the transcriptions. these hand, or ora-cle transcriptions, were then measured against the transcriptions from both google asr and whisper. ## transferring annotations from oracle to automatically-segmented utterances once oracle utterances are labeled, we map those labels to the automatically segmented utterances. the approach for that mapping depends on the task at hand and the type of labels we see. in the case of labeling collaborative problem solving (cps), the multiclass binary labels can be inherited from the oracle segments to the automatic segments using overlap in timestamps. this is because the labels all still exist during that period. however, we lose label accuracy when we lose the exact timestamp where the label occurred. another option is to only apply labels that occur in every oracle included in the segment; however, with cps, this would rarely occur and we would lose most of our labels. ## effects of oracle vs. automatic utterance segmentation count of utterances in the oracle, due to dropping utterances entirely or mistaking speech for background noise. google asr does perform very well removing empty space from audio files compared to whisper. intrinsic asr metrics evaluation of the automatic speech transcription itself after automatic segmentation can be used as a proxy for information lost in part due to the segmentation process. since error rates must be calculated with respect to the same set of utterances in order to be directly comparable, we focused this analysis on the transcription of google-segmented utterances. given an oracle transcript with assumed insertion, deletion, substitution, and total word error rates of 0, we observe that while overall word error rate (wer) is similar using google and whisper (google: 0.573; whisper: 0.542), google has higher rates of substitutions (words in the oracle swapped for a different word) and deletions (words in the oracle removed by automated transcription), while whisper has a significantly higher rate of insertions (words in the automated transcript not in the oracle). see we also noticed whisper would insert words when there was no speech recognized in the audio clip. typically words that had been previously transcribed would be repeated during void sections, and only one word or phrase would be repeated. this word or phrase would also be repeated for each second during the break, which created a large amount of insertions and threw off some data while testing. finally, we found google asr would also hear words incorrectly and misinterpret what the speaker was saying, replacing the intended words with homonyms or phonological near-neighbors. ## discussion, recommendations, and conclusion one important point to emphasize is the manual cost of annotating for collaborative problem solving (cps). cps is a difficult annotation scheme to master (training can last as long as 6 months, depending on how much time a coder is putting toward learning). although this paper largely focuses on the automated processes of segmenting audio, annotations themselves require complete multimodal context including viewing of video, listening to intonation, and the inclusion of temporal context. if these annotations, performed with access to multimodal information, are subsequently applied to automatically-segmented audio, then the information lost can be expected to impact downstream tasks trained or evaluated over the annotated data, thus potentially wasting the time taken to train annotators properly. while automatic segmentation of utterances for various semantic annotation tasks certainly saves time and annotator effort, it comes at a potentially significant cost to the quality of annotations for downstream tasks. particularly, automatic segmentation and transcription methods certainly segment utterances differently from a human oracle transcriber, and different asr methods perform segmentation drastically differently with profoundly divergent results. this may result in utterances being missed by the automatic segmenter or invented out of whole cloth, which would cause annotators annotating at the automatically-segmented utterance level to likewise omit annotations, or to encounter "hallucinated" segments that are either un-annotatable or, if annotated, introduce seman-tic noise into the data. beyond the obvious, we have shown that annotating at the oracle utterance level but then transferring those utterances to the automatically-segmented utterance level may obscure the semantic information originally captured at the oracle utterance level. even taking the more labor-intensive step of generating oracle transcriptions before annotating is less useful if annotation is not performed at the same level. this backs up previous conclusions in semantic annotation over text-only corpora, such as the need for annotators to come to consensus on both spans and annotations @xcite , and shows that they also apply to multimodal use cases. however, as multimodal ai develops and becomes more integrated with everyday life, inference will necessarily be performed over automatically segmented and transcribed inputs. therefore, future models will benefit from annotation specs themselves that are task-aware and can take into account potential noise introduced by imperfect automated transcription and adjust accordingly. for instance, if multiple labels are not allowed, should certain labels "dominate" others in case multiple labels are squeezed into the same segment? future semantic annotation schemes, specifications, and languages, particularly over multimodal data, will need to take into account these requirements to more effectively use automated techniques like asr as part of larger annotation and inference pipelines.