---
title: "Measuring Entrainment in Spontaneous Code-switched Speech"
description: "This paper measures how Spanish–English speakers match one another’s words, voices, and language switches in spontaneous conversation."
canonical: "https://research.elamur.ai/free/en/papers/bhattacharya-2024-measuring-entrainment-spontaneous-code-switched/"
---
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/bhattacharya-2024-measuring-entrainment-spontaneous-code-switched/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2024](https://md.research.elamur.ai/free/en/papers/2024/) / Measuring Entrainment in Spontaneous Code-switched Speech

# Measuring Entrainment in Spontaneous Code-switched Speech

Paper · 2024 · Debasmita Bhattacharya, Siying Ding, Alayna Nguyen et al.

**Authors:** [Debasmita Bhattacharya](https://md.research.elamur.ai/free/en/authors/debasmita-bhattacharya/), Siying Ding, Alayna Nguyen and [Julia Hirschberg](https://md.research.elamur.ai/free/en/authors/julia-hirschberg/) · **Year:** 2024 · **Venue:** Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers) · **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 · Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers) · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/2024.naacl-long.158/)
- [PDF](https://aclanthology.org/2024.naacl-long.158.pdf)
- [DOI 10.18653/v1/2024.naacl-long.158](https://doi.org/10.18653/v1/2024.naacl-long.158)

## Summary

When bilingual speakers alternate between languages, they have another way to adapt to a conversational partner. They can follow the other person’s choice to switch languages, match how much they switch, or use a similar kind of switch. They can also adapt in ways available to any speaker, such as reusing familiar words or adjusting their pitch. Bhattacharya and colleagues ask which of these behaviors can be detected in spontaneous [speech](https://md.research.elamur.ai/free/en/topics/speech/) and whether patterns previously observed in single-language conversations and written exchanges also appear when bilingual people talk to each other.

The authors study 39 informal conversations from Bangor Miami, a corpus of bilingual Spanish–[English](https://md.research.elamur.ai/free/en/topics/english/) speakers. They compare people’s word use, measure features of their voices, and examine three aspects of code-switching: whether it occurs, how much of an utterance it accounts for, and what form it takes. They also distinguish ways in which people can match each other. Partners might use a feature at similar levels, draw closer as the conversation proceeds, or move up and down together from turn to turn. A pair can show one of these patterns on a particular feature and a different pattern on another.

The evidence for matching in word use is broad across the categories the authors test. Partners use frequent words and affirmative cues at more similar rates than nonpartners, with supporting comparisons in all 39 conversations for both the corpus-wide top-100 list and the cues. For features of the voice, the clearest evidence is local. Adjacent turns resemble each other on several measures, and the authors report convergence at the turn level. The tests for acoustic similarity and convergence over the conversation as a whole yield no significant evidence. The paper therefore recovers some patterns familiar from monolingual speech and locates them at particular scales.

Code-switching yields a different combination. Partners show similarity in whether and how much they switch, both between adjacent turns and across whole conversations. The form of the switch matters. Brief insertions from the other language show turn-by-turn synchrony, in keeping with an earlier finding about written human–computer dialogue. Switches at clause boundaries show similarity across whole spoken conversations, a pattern the authors say earlier work on written switching had yet to establish. The study also releases an updated version of Bangor Miami with cleaned audio and additional labels for switching strategies. Its conclusions concern one language pair in informal conversation, where several forms of entrainment coexist and their visibility depends on what is measured.

## Deep dive: Measuring Entrainment in Spontaneous Code-switched Speech

This paper measures how Spanish–English speakers match one another’s words, voices, and language switches in spontaneous conversation. · about 34 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 it means for speakers to adapt

Entrainment is the tendency for conversational partners to adapt aspects of how they communicate to each other. The paper also refers to it as accommodation, alignment, or coordination. Some instances are easy to hear. A word one person uses may recur in the other person’s speech. Other instances require measurement, as when speakers repeatedly raise or lower their pitch in corresponding turns. The authors place these behaviors alongside findings on speaking rate, voice quality, pauses, laughter, and gesture. The shared question is whether some aspect of a person’s behavior bears a measurable relation to that of the person they are interacting with.

The question matters because earlier studies associate entrainment with successful dialogue and favorable social outcomes. The paper cites work connecting coordination with task success and research relating it to engagement or social behavior. Those studies give the authors a reason to look for entrainment in more settings. In Bangor Miami, they investigate the form that adaptation takes in conversation. The exchanges are informal, so the paper’s measurements concern what the speakers do together, without a task score to serve as a measure of how well their interaction went.

Similarity alone gives an incomplete account of adaptation. Two speakers may favor the same words because they are talking about the same subject. They may have similar vocal habits before they meet. A listener who hears a recurring word might reasonably notice it without knowing whether the repetition is especially common between these particular speakers. Prior research gave the authors ways to translate that intuition into comparisons. They could ask whether real partners resemble each other more than people who were recorded in separate conversations, or whether the closest resemblance occurs at a particular point in an exchange.

#### What earlier measures could see

In their account of work on monolingual speech, the authors give particular weight to Levitan and Hirschberg’s framework. It distinguishes the scale of the measurement from the form of coordination. A measure can operate between turns or over a whole conversation. It can ask about proximity, meaning closeness in feature values, or about convergence, meaning increasing closeness as the exchange unfolds. It can also ask about synchrony, in which the speakers’ values move together. The distinction matters when the speakers have different habitual pitches. They can each speak higher than usual at corresponding points even if their pitches in absolute terms remain far apart.

These distinctions change what counts as evidence. Suppose speakers use similarly loud voices during an exchange. A similarity measure can capture that fact. A convergence measure needs information about when their voices became similar, since a pair whose voices are already close throughout the interaction has little distance left to close. A synchrony measure looks for corresponding changes, even if one person tends to speak more loudly. Each observation refers to the same feature, yet each requires its own comparison.

Lexical research offered a different set of tools. The paper draws on Nenkova and colleagues’ method for comparing how frequently words from a chosen class appear in each person’s contribution. That method was subsequently applied and extended by Weise and colleagues. A separate line of work represented patterns probabilistically. The paper cites Gravano and colleagues’ use of the predictability of sequences of prosodic labels to measure directional coordination. Bhattacharya and colleagues adapt the idea of directional prediction to words. A person’s speech can be more readily predicted from their partner’s habits than the reverse, even though a simple comparison of their word frequencies gives the same distance in either direction.

The earlier findings also place entrainment in a social setting. The paper mentions research on gender composition and power differences between partners. That background gives a reason to examine who was speaking together, especially when the two directions of a comparison give different outcomes. It also makes the conversational setting important. An exchange organized around a task gives participants a reason to settle on common expressions or coordinate action. An undirected conversation can develop without that shared objective. Bangor Miami lets the authors study the latter kind of interaction.

#### What code-switching adds

Code-switching occurs when a speaker alternates between languages in an exchange. Studying it requires identifying which language individual words or stretches of speech belong to. This extra layer of annotation opens up distinctions that would be unavailable in a study confined to a single language. A bilingual speaker may continue in the language they have been using, introduce a word or short expression from the other language, or move into that other language at a clause boundary. The same speaker can also vary how much material they produce in each language.

The paper describes earlier evidence that people can coordinate such choices. Kootstra and colleagues found that Dutch–English participants were more inclined to switch if their partner had just done so, and that they drew on shared word order when switching. The work addressed lexical and structural behavior. Soto and colleagues considered whether the amount of switching by Spanish–English speakers became more similar over a conversation, using transcripts. Both studies give the authors a basis for looking at how one person’s switching relates to another’s. The recordings in Bangor Miami also allow them to examine how the exchanges sounded.

Two other studies pursued accommodation in written human–computer exchanges. The authors draw on [What Code-Switching Strategies are Effective in Dialog Systems?](https://md.research.elamur.ai/free/en/papers/ahn-2020-what-code-switching-strategies-are/) for Spanish–English and on Parekh and colleagues’ work for Hindi–English. In the paper’s account, these studies distinguish insertional switches, in which a speaker incorporates a brief expression from the other language, from alternational switches, which occur at grammatical clause boundaries. The distinction gives the speech study a way to ask whether matching the choice to switch also involves matching the shape of a switch.

Against that background, the paper poses two generalization questions. One starts from monolingual speech and asks whether its familiar patterns of lexical and acoustic adaptation extend to bilingual exchanges where speakers switch languages. The other starts from research on code-switched interaction and asks which findings also surface in spontaneous conversation between people. That second question combines differences in medium and partner. An exchange with a written dialogue agent differs from a spoken exchange between people in both respects, so seeing a pattern recur establishes its presence across those settings. Explaining a difference between the settings requires evidence about what changed.

The study brings these questions together by observing words, voices, and language choice in the same conversations. This matters for interpretation. A transcript can show whether both people use a frequent expression or whether both switch. The audio is needed to see whether their pitch, loudness, or pace moves in related ways. Even within the transcript, a count of mixed utterances and a description of the switch inside each utterance answer different questions. The paper’s design keeps those observations available for comparison.

### The method, step by step

#### Selecting the conversations

Bangor Miami contains spontaneous English and Spanish speech, transcribed from informal conversations among 84 bilingual speakers living in Miami, Florida. The complete corpus contains 35 hours of recordings and 242,475 transcribed words. Its 56 conversations range from single-speaker recordings to exchanges with four speakers. The authors work with the 39 conversations that meet both of their selection criteria: exactly two participants and the presence of code-switched utterances. Those recordings account for 20 hours of speech.

Restricting the analysis to pairs gives the word *partner* a clear meaning. For a target turn, there is one other speaker in that exchange whose nearby and more distant turns can serve as comparisons. For an entire conversation, there is one partner with whom to compare each person’s typical use of a feature. Restricting the sample to exchanges containing switching also ensures that the switching analyses have some observed bilingual material at the conversation level. English-only and Spanish-only utterances remain part of the selected conversations and matter to the measures of when switching takes place.

The available data include the speech signal and a transcription with existing word-level language tags. The researchers can therefore identify a switch in the text and inspect the acoustic properties of the corresponding utterance. Those data streams require different preparation. The text needs a finer account of the grammatical form of switches. The recordings need cleaning before measurements such as harmonics-to-noise ratio and pitch can be compared.

From Bangor Miami recordings to entrainment comparisons The steps in order.

#### Telling the switching strategies apart

The first pass through the transcripts is automatic. The authors use the existing language identification attached to individual words to distinguish monolingual utterances from code-switched ones. Then two annotators fluent in both languages perform additional [linguistic annotation](https://md.research.elamur.ai/free/en/concepts/annotation/) on the mixed utterances. They assign labels for insertional, alternational, and other switching. When they disagree, they discuss their interpretations until they agree on a label.

An insertion is a word or short phrase from one language placed within an utterance otherwise in the other. An alternation occurs at a clause boundary. The examples discussed in the paper illustrate the distinction with a Spanish utterance that ends in a brief English expression and another in which the speaker moves into an English clause after a Spanish lead-in. In the first case, the brief stretch is the inserted material. In the second, the clause provides a grammatical boundary at which the speaker changes languages.

The *other* category has a specific operational meaning. It covers an utterance with a filler such as *okay* or *pues* at the beginning or end, where the rest of that utterance is in the other language. This rule keeps a discourse marker on its own from carrying the same label as a clause-level alternation. The position of the marker matters to the definition, as does the language of the surrounding material. The annotation also permits an utterance to exhibit more than one switching strategy. The strategy labels thus identify behaviors that can coexist within an utterance.

The paper records three features derived from this work. Presence is binary, with 0 for a monolingual utterance and 1 for an utterance containing a switch. Amount is expressed as a ratio by normalizing the switched material by the utterance length in words. Strategy records I for insertional, A for alternational, and O for other switching. The authors use −1 for monolingual utterances in the strategy representation. In the strategy experiments they analyze each switching category separately. The labels describe kinds of switches, and the separate calculations let the paper establish which kind yields evidence of coordination.

Presence and amount address related questions at different resolutions. Once an utterance contains both languages, it receives the same presence code whether the switched portion is short or occupies a substantial part of the utterance. The amount feature retains that distinction. The strategy feature captures a different aspect. Two utterances can devote similar shares of their words to switched material and still differ in whether that material is an insertion or starts a new clause.

#### Preparing the audio and measuring the voice

Many of the recordings contain background babble, the persistent sound of other activity that the paper compares to noise in public venues. The researchers first apply a Conformer-based Metric Generative Adversarial Network for speech enhancement. It acts on properties of the speech signal represented in the spectrogram, which describes its frequency content over time. They then run the resulting audio through Audacity’s noise reduction. They report that every processed file passes a signal-to-noise ratio threshold of 30 dB, the threshold they use for clean speech.

The authors also check a subset of the recordings by listening, inspecting waveforms, and comparing the acoustic features with the waveforms before and after cleaning. Those checks address the need to preserve the speech characteristics the analysis depends on. Lower background noise can make a feature easier to extract, but the study still needs the cleaned recording to preserve where the speaker’s voice changes. The authors make the cleaned recordings and updated annotations publicly available as a revised version of Bangor Miami.

For each utterance they use Parselmouth, a Python interface to Praat, to extract acoustic and prosodic measures with default settings. They record minimum, mean, maximum, and standard deviation for both pitch and intensity. Pitch describes the highness or lowness of the voice, while intensity reflects the strength of the signal. A mean describes the typical value during an utterance. Minima and maxima record its extremes, and standard deviation describes how much the measurements vary within it.

The feature set also includes jitter, shimmer, harmonics-to-noise ratio, and speaking rate. Jitter concerns small variations in the timing of vocal cycles. Shimmer concerns small variations in their amplitude. Harmonics-to-noise ratio, abbreviated HNR, compares the periodic energy in the voice with its noise component. The paper measures speaking rate in syllables per second. These measures give the analysis access to aspects of vocal quality and pace as well as pitch and loudness.

Before calculating acoustic entrainment, the authors apply z-score normalization separately for each speaker. A normalized value describes where a measurement falls in relation to that person’s usual level and spread. A high pitch value in this analysis can therefore mean high for that speaker. This matters when comparing partners who ordinarily speak in very different pitch ranges or have different voice qualities. The calculation treats an unusually high value for one person and an unusually high value for the other as observations on a common scale. The resulting notion of vocal proximity concerns similarity after this speaker adjustment.

#### Measuring similarity in word use

The authors create word classes at different scopes. They use the corpus-wide top-100 and top-25 words, the top-25 words for each conversation, and lists of affirmative cues and filled pauses. Both languages can contribute words to each class. Affirmative cues include forms such as *yeah*, *claro*, and *sí*. Filled pauses include forms such as *um*, *eh*, and *pues*. The lists also recognize spelling variants. The utterance-level use of a word as a switching marker and its inclusion in a lexical category serve different purposes in the analysis.

The corpus-wide lists give all conversations a shared set of frequent words to compare. The conversation-specific list can retain words that are locally frequent even when their use across the corpus is less common. The cue and pause lists select words by their conversational function. That gives the researchers several ways to ask whether partners have similar habits. A comparison based on affirmative expressions concerns a more specific behavior than a comparison across whatever words happen to be frequent in one conversation.

For each word in a class, the authors divide the person’s uses of the word by that person’s total word count. They take the absolute difference between the partners’ fractions, add those differences across the class, and negate the total. This is the equation adapted from Nenkova and colleagues.

```
entr(S_A, S_B) = −∑_{w∈W} |count_{S_A}(w)/ALL_{S_A} − count_{S_B}(w)/ALL_{S_B}|
```

Here `entr` is the lexical entrainment score, and `S_A` and `S_B` denote the speakers being compared. `W` is the selected word class and `w` is a member of it. `count` gives the number of uses of that word by the speaker in its subscript. `ALL` is the total number of words for the indicated speaker. The slash expresses division, so each quotient gives the fraction of that speaker’s words accounted for by `w`. The vertical bars take the absolute difference, and `∑` sums it over the words for which `w∈W`. The minus sign outside the sum makes a higher score correspond to a smaller difference.

This measure compares individual words before combining the comparisons. Speakers could devote a similar share of their speech to affirmative cues while favoring different cues. Their differences for those separate words would still contribute to the score. Dividing by all of a speaker’s words also accounts for how much each person spoke. The same count of a cue has a different interpretation when it comes from a brief contribution than when it comes from a much longer one.

The score is symmetric. Swapping the speakers leaves the absolute differences unchanged. The researchers use it to compare real partners with nonpartners, asking whether the people actually in conversation are more similar than the comparison speakers. The direction in which an individual speaker may be adapting is a separate question, pursued through the analysis of overall word sequences.

#### Measuring directional predictability

For the sequence analysis, the authors train a separate [trigram](https://md.research.elamur.ai/free/en/concepts/n-gram/) estimator on each participant’s transcribed speech in a conversation. The estimator uses the preceding words in short sequences to assign probabilities to what comes next. They use KenLM with Kneser–Essen–Ney smoothing, which assigns probabilities in a way that handles sparse counts. Training on the speakers’ conversational contributions yields 78 fitted estimators, one for each speaker role in each of the 39 conversations.

They then apply the estimator trained on one person to the speech of that person’s partner. The evaluation measure is perplexity, which is lower when the evaluated word sequences are more predictable under the probabilities learned from the training speech. The paper negates perplexity to express it as an entrainment score. It describes the direction using the speaker whose speech supplied the training data first, and the speaker whose transcript is evaluated second. Reversing those roles yields a separate score because each fits a different set of word sequences.

The comparison uses partner and nonpartner perplexities. If a speaker’s fitted probabilities make their partner’s words easier to predict than the corresponding nonpartner material, the paper treats that direction as evidence of entrainment. Across the results, one conversation can contribute evidence in both directions or in one direction. This interpretation follows the paper’s scoring convention. The calculation provides a measure of how well one person’s speech predicts the other’s and does not trace how an individual phrase moved between them.

The authors evaluate with and without out-of-vocabulary words, abbreviated OOV. In this setting an OOV word falls outside the vocabulary available to the estimator for that comparison. Vocabulary coverage can affect how predictable another person’s transcript appears. The restricted calculation asks whether the evidence persists when such words are excluded. The paper reports separate comparisons for this condition and the one in which those words are included.

#### Testing proximity between turns

For the acoustic and switching features, the authors use a family of comparisons based on Levitan and Hirschberg’s framework. The turn-level proximity test asks whether a target turn resembles the immediately preceding turn from the partner more than it resembles that partner’s turns elsewhere in the conversation. This is a comparison within each pair. By keeping the partner the same in both cases, it gives the immediate sequence a role that a simple comparison of speaker averages would miss.

For each eligible target turn they first measure the distance to the partner’s preceding turn.

```
difference_partner = |turn_t − turn_p|
```

`difference_partner` is the absolute gap for the feature under study. `turn_t` is the feature value for target turn `t`. `turn_p` is its value in the adjacent preceding partner turn `p`. Subtraction gives the signed difference between these values, and the vertical bars retain its magnitude.

The baseline is the mean gap from ten randomly chosen nonadjacent turns spoken by the same partner.

```
difference_other = (∑_{i=1}^{10} |turn_t − turn_i|)/10
```

`difference_other` is the average gap from the nonadjacent comparison turns. `turn_t` again gives the feature value of the target turn. `i` indexes the sampled turns and `turn_i` gives the value for the partner’s sampled turn at that index. The vertical bars give the magnitude of each difference. The `∑` adds the gaps as `i` runs from `1` to `10`, and the slash divides by `10` to form their mean.

The authors compare the two gaps with a paired t-test. The pairing means that each target contributes a gap to its preceding partner turn and a baseline gap calculated for that same target. The authors infer proximity when the preceding partner gap is smaller. Thus an immediately preceding switch is evaluated relative to how that same partner switches elsewhere in the exchange. For pitch, the same comparison addresses whether adjacent turns are unusually close in their normalized values.

At the conversation scale the baseline changes. The authors calculate how far a speaker’s feature value is from their partner’s value, then compare it with the mean distance to speakers who were not partners in that conversation. A paired t-test again evaluates the difference. Here the question concerns the resemblance of the pair’s overall behavior. A conversation-level result can emerge even when adjacent turns lack any special similarity compared with nonadjacent turns.

#### Separating movement together from drawing closer

Turn-level convergence relates the gap between adjacent turns to their order in the conversation. The authors calculate Pearson’s correlation between that absolute gap and the turn number. Turn number measures progression through the exchange, so the calculation concerns how distances change as turns accumulate. Pearson’s coefficient, written `r`, summarizes the direction and strength of a linear association. The method describes positive values as weak for `0 < r < 0.5`, moderate for `0.5 ≤ r < 0.7`, and strong for `r ≥ 0.7`. It describes negative values as weak for `−0.5 < r < 0`, moderate for `−0.7 < r ≤ −0.5`, and strong for `r ≤ −0.7`.

The direction of this test needs particular care. The paper specifies a correlation with the absolute gap and labels the positive side convergence. On an increasing turn index, a positive correlation with the raw gap would ordinarily indicate widening gaps. The paper gives no further sign convention for this calculation. Its qualitative findings can be reported using the authors’ labels, while the sign implied by the stated inputs remains an issue for interpreting or reproducing the result.

Turn-level synchrony correlates the feature values themselves in adjacent turns from different speakers. The same coefficient bands describe weak, moderate, and strong associations, with positive values called synchrony and negative values called asynchrony. The authors assess significance with a two-sided t-test, which allows evidence of association in either direction. Synchrony can occur when the first speaker uses more of a feature than usual and the second does likewise, even with a stable gap between their typical values. The calculation distinguishes that movement from a reduction in the gap.

Conversation-level convergence asks how similar the speakers are in the first and second halves. The authors average the relevant feature for each speaker within each half, calculate the gaps between the speakers, and compare the earlier gaps with the later ones using a paired t-test. A significantly smaller gap in the second half counts as convergence. This procedure compresses the sequence of turns into two periods. A pattern concentrated near the opening can be visible in a local test while making little contribution to a comparison of half-conversation averages.

### Experiments and results

#### The material behind the comparisons

The experiments use the 39 selected Bangor Miami conversations. Within that sample, 95% of utterances are monolingual and 5% are code-switched. The authors report insertional switching in 72% of mixed utterances, alternational switching in 13%, and other switching in 18%. These percentages use the mixed utterances as their denominator. Since one utterance can receive multiple strategy labels, each percentage describes the occurrence of its own category. The conversations were selected because switching occurred somewhere in them, and most utterances within those conversations still used just one language.

The paper also reports how audio quality changed after cleaning. The mean signal-to-noise ratio is 29.3dB before denoising and 54.3dB after it. The mode moves from 35.6dB to 74.7dB, and the median from 29.3dB to 56.3dB. Each of these statistics describes the distribution of recording quality, with the mean giving its average, the mode its most frequently occurring value, and the median its midpoint. The improvements document the state of the recordings used to extract features. The entrainment evidence comes from the subsequent speaker and turn comparisons.

The experiments report counts or percentages of conversations whose comparisons favor entrainment, alongside test statistics for the comparisons across the data. These are different kinds of evidence. A conversation can favor the predicted direction under a given measure, while the paired test evaluates how consistently and strongly the measured differences favor that direction as a group. The paper sometimes describes the conversation counts in the same sentence as the significance result. The reported t and p values concern the comparisons described for the feature, and the article retains that distinction. A positive or negative t statistic follows the ordering of the values in the relevant test. Its sign has to be interpreted together with the measure.

#### Similar words and more predictable sequences

For each lexical class, the authors compare the score of the partners with the mean score obtained from pairing speakers with nonpartners. On the corpus-wide top-100 words, all 39 conversations favor entrainment, with t = 19.2 and p = 4.50e − 31. Affirmative cues also show the expected direction in all 39 conversations, with t = 8.26 and p = 3.21e − 12. The first result concerns a frequency-selected vocabulary. The second concerns a class of expressions that can acknowledge or affirm something another person says.

The other lexical classes each show supporting evidence in 38 conversations. The corpus top-25 comparison yields t = 18.6 and p = 3.14e − 30. The separately constructed top-25 list for each conversation yields t = 13.4 and p = 7.20e − 22. Filled pauses yield t = 8.84 and p = 2.42e − 13. The consistency across word classes shows that the result survives changes in which words are selected and how the list is constructed. The tests measure the participants’ relative use of these words across their speech.

For overall language use with OOV words included, the paper reports that both speakers show the expected result in all but one conversation. The paired comparison between partner perplexity and mean nonpartner perplexity yields t = −11.9 and p = 3.58e − 19. The negative direction here corresponds to lower perplexity on the partner’s speech. It is compatible with the positive t values on the count-based lexical tests because those tests use scores that were already defined as negated distances.

With OOV words excluded, 68 of 78 directed speaker–partner comparisons favor entrainment. The paper reports mutual evidence in 29 of 39 conversations and one-way evidence in the remaining 10. The paired test still favors partners, with t = −8.73 and p = 4.06e − 13. That comparison shows that the sequence result persists under the more restricted vocabulary calculation. The direction-by-direction counts add information that a conversation score based on word fractions would have discarded. They show how many exchanges have support in both directions and how many have it in one.

The count-based and sequence analyses agree at the level of their broad finding. Words from selected classes occur at more similar rates within pairs, and speech sequences are more predictable for partners than for the nonpartner baseline. The sequence outcome adds the order of words and the possibility of asymmetry. Neither analysis requires a switch to occur at every point where the two speakers resemble each other. The lexical results characterize speech in conversations where switching is present.

#### Vocal entrainment is clearest between nearby turns

The acoustic measurements show significant turn-level proximity on several features. In the appendix, mean pitch has supporting comparisons in 87.2% of conversations, with t = -3.69 and p = 0.000 as reported. Minimum pitch has support in 76.9%, with t = -2.14 and p = 0.032. For minimum intensity the corresponding figures are 51.3%, t = -2.04, and p = 0.041. Mean intensity has support in 71.8% of conversations with t = -3.93 and p = 8.49e-5, while maximum intensity has support in 71.8% with t = -4.45 and p = 8.79e-6.

The authors also identify turn-level proximity for HNR and speaking rate. HNR has support in 59.0% of conversations, with t = -2.61 and p = 0.009. Speaking rate has support in 69.2%, with t = -2.25 and p = 0.025. These findings extend the local resemblance beyond pitch and intensity. A feature can nevertheless favor proximity in a large share of conversations and have a weaker paired-test result. Jitter illustrates this point, with the predicted direction in 89.7% of conversations and p = 0.37. The chart therefore compares a subset of the features the paper marks as significant, using the share of supporting conversations as its metric.

Selected significant acoustic features for turn-level proximity in Bangor Miami Mean pitch has the largest share of supporting conversations among the features shown.

**The numbers**

| System or setting | Conversations favoring proximity % |
| --- | --- |
| Minimum intensity | 51.3 |
| Harmonics-to-noise ratio | 59.0 |
| Speaking rate | 69.2 |
| Mean intensity | 71.8 |
| Maximum intensity | 71.8 |
| Minimum pitch | 76.9 |
| Mean pitch (this paper) | 87.2 |

For turn-level convergence, the authors report significant evidence in the same direction across all the acoustic features considered. They describe the conversation-level outcomes for individual features in terms of weak convergence and weak divergence. This result concerns the relationship of adjacent-turn gaps to the position in the conversation, subject to the sign ambiguity in the method. It is distinct from the paired comparison of an immediately preceding turn with the partner’s other turns.

The authors find no significant acoustic turn-level synchrony. The tests of proximity and convergence over whole conversations likewise yield no significant acoustic result. Similarity to the immediately preceding turn can be present even if the speakers’ overall averages differ or their relative movements are uncorrelated. That combination is the defining pattern in the acoustic experiments. The paper finds evidence that voices and rhythms resemble each other locally, and the other tests delimit the scales and forms for which it establishes that resemblance.

#### Matching whether and how much to switch

For the presence of code-switching, turn-level proximity is supported in 29 of the 39 conversations. The paired test gives t = −2.420 and p = 0.0155. In the proximity framework, this means that speakers’ decisions to switch or stay monolingual are more similar between adjacent turns than in the comparison with the partner’s nonadjacent turns. Presence also shows weak turn-level synchrony in 21 conversations, with a reported two-sided t-test p = 0.0001. At the conversation level, 32 conversations support proximity, with t = −3.402 and p = 0.001. The authors report limited evidence for convergence on presence.

For the amount of code-switching, 33 conversations support proximity between turns, with t = −2.153 and p = 0.0314. At the conversation level, 34 conversations favor proximity, with t = −2.470 and p = 0.0157. The ratio therefore captures similarity both near the point where participants respond to each other and across their speech as a whole. The local synchrony calculation classifies 1 conversation as moderately synchronous and 21 as weakly synchronous. The corresponding p = 0.590 provides no significant evidence of synchrony in the amount measure. The convergence tests for amount also yield no significant evidence at either scale.

These comparisons separate two plausible forms of matching. Both speakers may be disposed to switch at corresponding points, which the presence statistic can register. The extent of their use of each language can also be similar, which the amount statistic can register. The proximity tests support the two forms of resemblance, while the synchrony tests distinguish their patterns. One person’s switch can be brief and the other person’s switch longer, yielding the same presence code even with different ratios.

#### The form of the switch changes the result

The strategy analysis considers insertional, alternational, and other switching separately. For alternational switching, 29 conversations support conversation-level proximity, with t = −3.378 and p = 0.001. This result indicates that the partners’ overall use of clause-boundary switches is more similar than expected under the nonpartner comparison. The test does not depend on placing one alternation directly after another. The signal comes from their respective behavior over the exchange.

Insertional switching shows a different pattern. The paper reports 22 weakly synchronous conversations at the turn level, with p = 1.528e − 05. Here the support is for coordination in adjacent turns, measured through the correlation used for synchrony. The three strategy tests yield no significant turn-level proximity or convergence, and conversation-level convergence is also unsupported. The main strategy findings therefore attach to particular combinations of scale and measure.

Conversation-level proximity on switching features in Bangor Miami Switching amount has the broadest support among these conversation-level comparisons.

**The numbers**

| System or setting | Conversations favoring proximity |
| --- | --- |
| Alternational switching | 29 |
| Switching presence | 32 |
| Switching amount (this paper) | 34 |

The authors connect insertional synchrony to earlier written human–computer findings in which insertional switching showed the clearest entrainment. Their proposed explanation is that short inserted material is comparatively easy to incorporate into an ongoing utterance. They give a different interpretation for alternational proximity. A switch at a clause boundary has a recognizable grammatical structure, which they suggest may make it easier to notice and reproduce. Those are explanations for the measured patterns. The experiments directly establish the difference between local insertional synchrony and whole-conversation alternational proximity.

The authors give the alternation result particular weight because, in their discussion, previous studies of written switching had yet to find significant entrainment for that strategy. It supplies an example of what studying spontaneous speech adds to the evidence. The setting differs from written dialogue in who is interacting and in the medium in which they interact. The result identifies a form of coordination present in this spoken corpus and motivates the authors’ question about which conditions account for the difference.

### What the ablations show

The paper contains no formal component ablation. Its closest controlled comparisons vary the vocabulary used for lexical scoring, the placement of turns within a conversation, and the comparison scale. It also offers a weighted descriptive analysis of speaker gender. These analyses help identify where the measured entrainment is strongest and where a change in the measurement alters the pattern.

#### Restricting vocabulary and changing the word lists

The OOV comparison is the clearest test of a choice about the scoring procedure. The speech pairs and directional evaluation remain the same, while one condition excludes words outside the fitted vocabulary. The partner advantage survives in the restricted condition. The descriptive result changes, however. With OOV words included the paper reports mutual evidence in all but one conversation, while the excluded condition records mutual evidence in 29 conversations. The evidence for directional matching therefore depends partly on which vocabulary condition is used, even though both paired tests favor real partners.

The change does not identify which words account for the difference or establish why a particular pair appears asymmetric. Exclusion changes the material on which perplexity is evaluated. That can alter the scores without supplying information about who introduced a form or when it was taken up. The authors discuss power differences as one explanation offered by prior work and suggest second-language proficiency as another possibility. The OOV results themselves furnish the reason to ask about those factors by identifying exchanges in which the two directions behave differently.

The word-class analysis varies the scope and purpose of the vocabulary. Partner similarity is detectable on the broad corpus list, the shorter corpus list, and the conversation-specific list. It is also detectable for affirmative cues and filled pauses. That breadth makes a result confined to one selection rule less plausible. The local list includes frequent words from the exchange itself, whereas the corpus lists offer a common basis for comparison. The cues and fillers focus on conversational functions. All draw from the same conversations, so their agreement shows robustness to the lexical feature definition within this collection.

#### Looking at earlier and later turns

The authors divide conversations into initial, middle, and final thirds for additional turn-level comparisons. For the acoustic features, they find greater proximity in the initial third than in the final third. The contrast is significant for all three pitch measures (minimum, mean, and maximum) and for peak intensity. The outcome here is how many conversations satisfy the proximity condition in each stretch. It localizes the effect to a part of the conversation that can be obscured when averaging over the whole recording.

The corresponding acoustic convergence analysis compares the correlations in those stretches. The initial and middle thirds show greater coefficients than the final third across the acoustic features, with significant differences as reported by the authors. Their interpretation is that local acoustic coordination is more evident earlier in the exchange. In connection with the half-conversation test, this suggests that apparent adaptation can already be underway near the beginning. A test that compares later averages with earlier averages can miss that timing pattern.

The paper finds that turn-level proximity and synchrony are stronger in the middle third than in the final third, both for whether switching occurs and for how much occurs. For the switching strategies, the initial and middle thirds show greater turn-level synchrony than the final third, with the comparisons at least approaching significance. The distinction between a segment comparison and an overall association is important here. For example, amount has no significant overall synchrony result, while the authors still report a difference in synchrony between positions. A change across segments concerns where a tendency is more visible. The full-conversation synchrony test concerns whether that tendency is supported across the exchange.

The authors suggest that speakers may settle into similar switching behaviors quickly, leaving little subsequent reduction in the gap for the convergence tests to detect. This explanation is consistent with proximity and limited evidence of convergence. The segment comparisons indicate that coordination varies over the course of the dialogue. They offer no direct estimate of when a pair starts to adapt or what prompts the change.

#### How the patterns vary with the gender composition of the pair

The authors compare same-gender and mixed-gender conversations among those with evidence of entrainment. There are 24 same-gender conversations and 15 mixed-gender ones. Because the groups differ in size, the comparison is weighted. If every conversation supported a feature, the maximum weighted percentage would be 50 for each group. The reported values therefore describe representation on that weighted scale, which lets the two categories be read alongside each other.

Some comparisons favor same-gender pairs and some are tied. For the corpus-wide top-100 word list and for affirmative cues, both groups have a weighted value of 50. For overall lexical use with OOV words excluded, the same-gender value is 41.7 and the mixed-gender value is 30. Filled pauses reverse the direction, with 47.9 for same-gender pairs and 50 for mixed-gender pairs. The acoustic turn-level convergence comparisons generally favor same-gender pairs, with exceptions that include variation in pitch and intensity.

Several local proximity measures show the reverse tendency. For mean pitch, the weighted values for supporting conversations are 39.6 for same-gender pairs and 50 for mixed-gender pairs. For turn-level proximity on switching amount, they are 39.6 and 46.7, respectively. At the conversation level, switching amount has weighted proximity values of 47.9 and 36.7 in the same order. The scale of the measurement can therefore reverse the descriptive comparison for the very same feature. For turn synchrony, presence and strategy favor mixed-gender pairs in the weighted comparison, while amount favors same-gender pairs.

The illustrative pairs in the paper help make the feature variation concrete. In the same-gender example, both women use a frequent word and show matching in the presence and form of switching. In the mixed-gender example, the useful clues include vocal proximity and similarities in whether and how much the speakers switch. These are illustrations of how the available features identify different kinds of resemblance. The gender comparison as a whole is preliminary, and its pattern is more specific than a single ordering of the groups.

### Limitations

#### Limits the authors state

The study uses Spanish and English only. The authors identify additional language pairs, ideally spanning different language families, as necessary for testing the generality of the approach and findings. The evidence extends the settings in which entrainment has been observed. A claim of universality would cover bilingual conversations with many different linguistic structures, social norms, and conditions of use. The authors explicitly acknowledge earlier work finding that even monolingual corpora exhibit entrainment for some measured dimensions and provide weaker evidence for others.

The choice of measurement framework is also a stated limit. The paper follows Levitan and Hirschberg to make contact with earlier work on monolingual speech. The authors point to Reichel and colleagues as an example of an alternative treatment of synchrony and to Wynn and Borrie for a framework organized around static and dynamic entrainment. A different definition can emphasize different aspects of a sequence. The finding for synchrony in this study concerns the specified correlations between adjacent turns. It leaves open what another definition would detect in the same recordings.

The authors also identify meaning as a dimension they leave unmeasured. Speakers could talk about increasingly similar things or express similar ideas in different words. Word frequencies, word-sequence predictability, and switching labels provide indirect information about that possibility. The paper cites earlier work on semantic entrainment and explains that it is difficult to obtain reliable [word embeddings](https://md.research.elamur.ai/free/en/concepts/word-embeddings/) for code-switched language. It points to multilingual representations as a possible direction for studying meaning in future work.

Some explanatory variables are missing from the data. In the discussion of asymmetry, the authors suggest that proficiency in a second language could affect which partner’s overall word use is more closely matched. They note the absence of the necessary information in the data available to them and propose collecting it in later studies. The gender comparison is likewise characterized as preliminary. The authors raise differences between undirected and task-oriented conversations as a possible reason that earlier gender findings went in another direction, and they leave the explanation for future investigation.

#### What follows from the study design

The observations come from informal bilingual exchanges selected because they already contain switching. They describe how people coordinate within that kind of conversation. They cannot establish how likely a speaker is to introduce a switch in an exchange that would otherwise remain monolingual, or how dyadic patterns extend to larger groups. In a group, adjacent turns may involve different individuals at different points, and the idea of a stable partner for all comparisons would require a new definition.

The study compares its results with past studies conducted in different settings. It has no matched experiment where the same participants interact in speech and in writing, or with a person and with a dialogue agent. The alternational finding is therefore evidence that such coordination occurs in these spontaneous conversations. The difference from earlier written findings cannot identify speech itself as the cause. The same issue applies to any differences that the authors tentatively attribute to informal interaction as compared with task-oriented speech. Task constraints and medium each remain possible explanations where they vary across studies.

The baselines address particular sources of resemblance. Comparing adjacent turns with random nonadjacent turns from the same partner controls for the identity of the speakers and places both sets of turns within the same exchange. Adjacent turns can also share an immediate topic, refer to the same thing, or take part in the same moment of excitement. Such conditions can contribute to similar word choices, vocal settings, and language choices. The proximity measure detects the local association and has limited power to isolate which part came from one person adapting to the other.

The whole-conversation nonpartner baseline has a related limit. Real partners share an exchange, so their terms of reference and topics can be more similar than those of people in separate conversations. Conversation-specific words may supply an especially strong signal of that common context. The lexical comparisons show how reliably a real partner is closer than the nonpartner baseline under these measures. They cannot determine how much of that closeness reflects interpersonal adaptation as distinct from common subject matter. The directional perplexity comparison likewise cannot establish which speaker led a change in vocabulary. That would require following particular usages through the interaction and considering when they first appeared.

The sign in the turn-level convergence description is a reproducibility issue. The half-conversation test has a clear direction because it asks whether the second-half gap is smaller. The stated turn-level inputs and the labels assigned to positive and negative correlations give conflicting indications about direction. Readers can follow the reported convergence categories as the authors use them, but they would need the sign convention used in the calculations to reproduce those labels reliably.

The transcription and acoustic preparation carry their own measurement uncertainties. The strategy labels reflect judgments reconciled by the annotators. The method describes that reconciliation but does not report a numerical measure of how often they initially agreed. Strategy frequencies are also uneven, with insertional switches more common than alternational or other switches among mixed utterances. The measures can have different amounts of evidence to work with across strategies. A test yielding limited evidence for a rare category leaves open whether that reflects weak alignment or sparse observations.

For the audio, the reported signal-to-noise improvements and the authors’ spot checks support the use of the cleaned recordings. The paper does not report the full entrainment analysis on the original recordings as a comparison. The study therefore leaves open how sensitive each entrainment result is to denoising choices. Speaker normalization also defines what the acoustic findings mean. A close match in normalized pitch describes relative positions in each person’s range, so the result cannot be read as a claim that their voices reached the same physical pitch.

Finally, the experiments measure coordination in archived conversation. The earlier literature links entrainment to interaction outcomes, and the authors suggest uses in speech technology that can respond naturally to multilingual users. The Bangor Miami analyses do not test user preferences, conversational success, or the effect of adding a switching strategy to a voice assistant. Their practical relevance rests on the description they supply of human behavior. An application would require evidence about how people respond when a system attempts the same kind of adaptation.

### What came after

No subsequent study is identified that builds on these measurements. The paper closes with questions that remain open in its account. It proposes testing additional language pairs, comparing entrainment measures, and investigating coordination in meaning once reliable representations are available for mixed-language speech. It also proposes collecting information about speakers’ language proficiency to study why lexical adaptation sometimes appears in only one direction. For speech technology, the authors point towards responses that handle both the timing of a switch and the form it takes. These are directions the authors set out for future research.

## Cite

Cite as Debasmita Bhattacharya, Siying Ding, Alayna Nguyen and Julia Hirschberg. 2024. Measuring Entrainment in Spontaneous Code-switched Speech. Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers).

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.18653/v1/2024.naacl-long.158](https://doi.org/10.18653/v1/2024.naacl-long.158)

```bibtex
@inproceedings{bhattacharya2024measuring,
  title = {{Measuring Entrainment in Spontaneous Code-switched Speech}},
  author = {Debasmita Bhattacharya, Siying Ding, Alayna Nguyen and Julia Hirschberg},
  booktitle = {Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers)},
  year = {2024},
  doi = {10.18653/v1/2024.naacl-long.158},
  url = {https://doi.org/10.18653/v1/2024.naacl-long.158}
}
```

> 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)
