Elamur Research

How Familiar Does That Sound? Cross-Lingual Representational Similarity Analysis of Acoustic Word Embeddings

Paper · 2021 · Badr Abdullah, Iuliia Zaitova, Tania Avgustinova et al.

Summary

A listener’s experience with one language can help when hearing another. Some of the sounds and patterns in the new language may already feel familiar, even when its words are unknown. The authors investigate a narrower version of this phenomenon using acoustic word embeddings. An acoustic embedding turns a spoken word into a vector of fixed length, whether the recording is brief or relatively long. It represents the sound of the word. The question is whether an encoder trained on one language arranges recordings from an unfamiliar language in a way that resembles the arrangement produced by an encoder trained on that language.

The experiment gives both encoders exactly the same recordings. The encoder trained on the language being heard supplies the reference, which the authors call the native view. Encoders trained on other languages supply non-native views. The researchers compare the relationships among recordings in these different views, without assigning matching roles to individual vector coordinates. They repeat the comparison across Czech, Polish, Russian, Bulgarian, Brazilian Portuguese, French, and German. Training is supervised separately for each language under comparable conditions, and evaluation uses speakers held out from training.

The clearest linguistic pattern emerges when training asks an encoder to retain enough information for a decoder to produce a sequence. One approach predicts a pronunciation from speech. The other reconstructs a different recording of the word it hears. These approaches produce matching hierarchical groupings in the main analysis. Czech pairs with Polish, Russian pairs with Bulgarian, and the pairs join into a group containing only Slavic languages. An encoder trained by directly pulling together recordings of matching words and separating recordings of different words achieves the highest word-discrimination scores in every language. Its cross-language views show far less agreement, and its groupings reflect linguistic relationships less clearly.

The two evaluations therefore reward different properties. An embedding can make word identities easy to distinguish in the training language while giving a different account of the sound relationships in unfamiliar speech. The authors suggest that stress, vowel reduction, and individual consonant sounds may help explain some of the groupings. Those explanations remain hypotheses. The experiment measures agreement between encoders, leaving human intelligibility, understanding of word meanings, and the contribution of particular sound features unmeasured. The authors also identify a practical question for future work: whether this kind of agreement can predict which encoders will transfer successfully to another language.

Deep dive: How Familiar Does That Sound? Cross-Lingual Representational Similarity Analysis of Acoustic Word Embeddings

How acoustic word embeddings reveal similarities between languages, and how pronunciation, reconstruction, and contrastive training shape the results. · about 35 minutes to read

The problem and its context

What familiarity could mean in a speech experiment

Knowledge of a language includes experience with the forms its words can take. When two languages have similar sound structures, some of that experience may be relevant to both. The paper introduces receptive multilingualism as a human case of familiarity across languages. Someone may understand speech in a related language without being able to speak that language. Understanding in this sense can draw on many kinds of resemblance. The authors focus on the part that might be visible in the way a system organizes the sounds of individual words. The study meets at the intersection of speech and spoken language and psycholinguistics.

The paper describes earlier computational studies that narrowed questions about human perception to particular contrasts. In one, a speech recognition system predicted difficulty for Japanese speakers with an English consonant distinction. The study also examined the difficulty English speakers have with a Japanese distinction based on vowel length. The point of the comparison was to see whether a system’s treatment of a sound contrast could correspond to a known difficulty for listeners with a particular language background.

Another study discussed by the authors moved the question to the level of words. It used acoustic word embeddings to predict difficulties English-speaking learners experience when processing Russian words. The account in the paper places this result alongside comparable effects from human behavioral research. Such work gave the authors a reason to consider acoustic embeddings as an instrument for studying perception. Their own question concerns how the relationship between the language an encoder learns and the language it hears affects the form of its representations.

A test of that question needs an observable definition of familiarity. A system can always be made to output a vector when it receives a recording in the expected format. The presence of an output tells a researcher very little about what happened to the distinctions in the speech. The authors instead look for agreement in the relative positions of many recordings. If the language learned during training makes some features of the unfamiliar speech easier to represent, that effect could appear across a collection of words as an organization resembling the native encoder’s.

Why use representations of whole words?

Earlier work on acoustic embeddings supplied a way to turn recordings of different durations into comparable numerical objects. Consider recordings of the same word spoken by different people. Each recording may contribute a different number of acoustic frames, and corresponding sounds may occupy different positions in time. A fixed-size representation puts all these recordings into a common space, where it becomes possible to ask which instances fall near one another. Word identity gives a training signal for making different realizations of the same word similar.

For this study, the relevant object is a spoken word form. A representation of form can carry information about how sounds combine within a word and how they are realized in a recording. The same formal idea of a vector also appears in work on meaning, but here the input is a speech signal and the training tasks concern pronunciation, another acoustic realization, or the identity of the word type. This choice sets the scale of the inquiry. A whole word provides room for relations among sounds, including stress patterns within the word, while remaining a bounded item that can be presented identically to several encoders.

The idea of comparing whole representation spaces came from another line of research. The paper traces representational similarity analysis, or RSA, to neuroscience and describes earlier uses in language and speech research. Researchers had compared learned representations with symbolic descriptions, examined representations of words in context, and studied representations produced in settings such as visually grounded speech. Those uses share a question about structure across many observations. For this paper, the observations are recordings, and the source of variation under investigation is what an encoder encountered during training.

An important option in this tradition is to compare relationships among the recorded examples without treating a numerical coordinate as a stable feature shared by every encoder. Independently trained encoders could arrange recordings similarly while using different coordinate systems to do so. The authors choose Centered Kernel Alignment, or CKA, as their measure of this agreement. They draw it from Similarity of Neural Network Representations Revisited.

Present-day sound patterns and language history

The linguistic question concerns typology, the study of how languages resemble and differ from one another in their structure. At the level of a spoken word, a typological comparison can concern the sounds available, the sequences in which those sounds occur, or the distribution of stress. The paper discusses these properties because an acoustic encoder could register them through the speech signal. A label such as Slavic or Romance identifies a historical relationship, but that label leaves the relevant acoustic properties unspecified.

History still matters to the reasoning. Languages with a common ancestor can inherit similar properties, so relatedness and present-day resemblance frequently move together. The paper also describes cases in which members of a family have diverged substantially in vocabulary and sound structure. A comparison organized around what the encoder hears can therefore ask about present-day similarities even where broad historical categories offer an incomplete description. The authors refer to this connection between typology and ancestry in discussing What Do Language Representations Really Represent?.

The study brings this reasoning into multilingual and cross-lingual NLP through a specific experimental choice. Every encoder learns from a single language. At evaluation, a set of recordings from one language becomes the common material through which several independent training histories are compared. What matters for any pair of views is how the encoders respond to that particular set of words. A new stimulus language creates a new experiment, even when the encoders being compared are the same.

The method, step by step

The procedure starts with audio intervals that each contain a word. The authors train encoders on those intervals, using a distinct objective for each encoder type and treating each language as its own training condition. To make a comparison, they choose a language’s held-out recordings and obtain a vector for each recording from each encoder of the chosen type. All the vectors supplied by one encoder constitute a view of that recording set. Agreement is measured between the view supplied by the encoder trained on the stimulus language and each view supplied by an encoder trained elsewhere. The resulting scores can be read individually or used together to examine language groupings.

From recorded words to cross-language comparisons

The steps in order.

From recorded words to cross-language comparisonsStep 1: Locate word intervals in monolingual speech1. Locate word intervals in monolingual speechStep 2: Train each encoder on one language2. Train each encoder on one languageStep 3: Choose recordings from held-out speakers3. Choose recordings from held-out speakersStep 4: Pass those recordings through every comparable encoder4. Pass those recordings through every comparable encoderStep 5: Measure agreement with the native encoder5. Measure agreement with the native encoderStep 6: Assemble directional scores across stimulus languages6. Assemble directional scores across stimulus languagesStep 7: Group languages using their similarity profiles7. Group languages using their similarity profiles

From read speech to acoustic sequences

The recordings come from GlobalPhone, a multilingual collection of read speech. The authors use it because recordings by native speakers were made under controlled conditions with little noise. Having a common kind of material and comparable recording environments makes it easier to investigate a language effect. A comparison between languages otherwise could also be a comparison between very different tasks for the speakers or very different recording conditions.

The Montreal Forced Aligner locates word intervals in the recorded utterances. This step gives the researchers examples that already have a boundary and a known word identity. They sample 42 training speakers per language, with balance according to the corpus’s self-reported gender labels. Their description gives the training quantity as ~32k word segments per language. The length filter admits segments with more than 3 phonemes whose recorded duration is less than 1.1 seconds. A phoneme is the unit the paper uses to count the sounds in the word’s pronunciation.

For the pronunciation objective, the researchers also need a target for each word type. They obtain it with the grapheme-to-phoneme component of eSpeak. That component takes the written form and generates a pronunciation in International Phonetic Alphabet symbols. The resulting transcription supplies targets during training. The encoder itself receives the acoustic sequence, so a word’s spelling is unnecessary when the trained encoder embeds a test recording.

To produce the input sequence, the authors describe the sound of each short frame with 39-dimensional Mel-frequency spectral coefficients. These coefficients summarize frequency information across the frame. The reported settings use 25ms intervals with 10ms overlap. A word recording becomes an ordered succession of these vectors, with more or fewer frames according to the duration of the selected interval. In the paper’s notation, the result is written as follows.

A = (a₁, a₂, …, a_T)

Here A names the acoustic sequence for a single recording. Each a with a subscript names its spectral vector at the indicated position. The ellipsis stands for the intervening vectors, and T is the final position, which is also the number of frames. The paper uses k for the number of coefficients in a frame. Thus T can vary from recording to recording while the frame dimension k stays fixed.

Making a fixed-size representation

The encoder processes the whole frame sequence and emits one vector. The paper expresses this transformation as follows.

x = F(A; θ) ∈ ℝᴰ

Here F is the acoustic encoder, A is the input recording in its frame representation, and θ denotes the encoder parameters learned in training. The semicolon distinguishes those parameters from the acoustic input. The output x is an acoustic word embedding. The symbol ∈ means that x belongs to the space of real-valued vectors with D coordinates, written ℝᴰ. The dimension D is the same for all recordings regardless of the number of frames in A.

The common encoder is a 2-layer recurrent network based on bidirectional gated recurrent units. A recurrent network processes an ordered sequence with an internal state that carries information between positions. Bidirectionality allows the encoder to process that sequence in forward and backward directions. The paper gives the hidden-state dimension as 512 and the embedding dimension as 1024. The architecture puts all recordings in the same kind of numerical space, while independent training determines how each encoder uses that space.

The training examples come from several speakers of the same language. Different realizations give the encoder a reason to represent regularities that survive changes in voice or delivery. Evaluation on held-out speakers checks the resulting behavior beyond the voices that supplied training examples. The word identities used in training make this a supervised setup. They determine which recordings count as different instances of a word and, for the pronunciation objective, which transcription the decoder should produce.

This design gives an encoder two roles. It is the native encoder when the test material comes from its own training language. It becomes a non-native encoder when the test material comes from another language in the study. Its parameters and architecture stay the same between those roles. The recordings determine whether the experiment is evaluating it in its familiar language or asking it to process a language outside its training.

Learning to predict a pronunciation

The phonologically guided encoder, abbreviated PGE, passes its embedding to a decoder that predicts a sequence of pronunciation symbols. Think of two voices saying the same word. The inputs may differ in duration and spectral detail, but they point to the same target transcription. An embedding is useful to the decoder to the extent that it preserves enough information to generate the intended symbol sequence in order.

The task is a sequence prediction problem because each target has multiple positions. At a given position the decoder assigns a probability to the next phone, with the embedding and earlier phones as conditioning information. The objective rewards assigning high probability to the target phone at each position. The paper writes the resulting categorical cross-entropy loss as follows.

L = −∑ᵢ₌₁^τ log P_G(ϕᵢ | ϕ_<ᵢ, x)

Here L is the loss, ∑ adds the contributions from each output position, and i runs from the first position, 1, through τ, the length of the target pronunciation. The notation ϕᵢ denotes the target phone at position i, and ϕ_<ᵢ denotes the phones at positions earlier than i. The decoder G assigns the probability P_G to the phone on the left of the conditioning bar | given the earlier phones and the embedding x on the right. The operator log takes the logarithm of that probability. The minus sign makes lower probabilities for the target contribute larger losses.

PGE supplies linguistic supervision in a particular form. Its training target treats a word’s pronunciation as a sequence of discrete symbols, while the input is a sequence of continuously valued vectors. The embedding has to support a mapping between these two descriptions. The authors expect that recordings with a common pronunciation target will tend to occupy nearby positions. The loss is applied to predicted symbols, so there is no separate instruction in this objective giving a desired distance between two embeddings.

Learning to produce another utterance of the word

The correspondence autoencoder, abbreviated CAE, also passes the embedding to a sequence decoder. Here the target is another recording of the same word type. The source recording and target recording are linked through their word identities. The target consists of frames of sound, and its frame count can differ from the source recording’s. This gives the encoder a task in which some information about the input is useful because it carries over to another realization of the word.

The acoustic decoder predicts a spectral vector at each output position. The paper describes training as minimizing a vector-wise mean squared reconstruction error. Its displayed equation reads as follows.

L = −∑ᵢ₌₁^T⁺ ‖aᵢ⁺ − Hᵢ(x)‖²

Here L denotes the reconstruction loss, ∑ sums over positions i beginning at 1, and T⁺ is the number of frames in the paired target recording. The + superscript marks that recording. The target frame at position i is aᵢ⁺, and Hᵢ(x) is the spectral vector the acoustic decoder H predicts for that position from embedding x. The inner minus sign subtracts prediction from target. The norm bars ‖ ‖ and exponent ² make the resulting vector difference a squared error. The initial minus sign is present in the displayed equation. Minimizing that negative sum would favor increasing the squared errors, which conflicts with the prose description of the objective. The paper’s prose and equation thus give different directions for the optimization.

The reconstruction task described in prose motivates a specific expectation about the embedding. Details useful only for recreating the source recording may be of limited use for reconstructing another token. Features tied to the sounds of the word can be useful across the pair. The authors relate this idea to an earlier hypothesis that correspondence training can preserve phonetic information while reducing sensitivity to the speaker. The amount of speaker information retained is a separate empirical question.

The pronunciation and acoustic objectives therefore have a common demand at a useful level of description. A fixed-size vector must support generation across a sequence of output positions. They give a vector very different jobs at those positions. PGE supplies a probability distribution over symbols for the target at each step. CAE supplies a spectral prediction for a particular moment of a paired recording. Comparing the resulting representations tests whether the general demand to support sequence generation can coexist with similar organization when the output descriptions differ this much.

Learning to rank nearby words

The contrastive siamese encoder, abbreviated CSE, uses the same kind of encoder to compute embeddings for an anchor recording, a positive recording of the same word type, and a negative recording of a different type. The training condition refers directly to distances in the embedding space. It asks for the anchor to be closer to its positive example than to its negative example by a specified margin.

The negative comes from the current mini-batch. Among eligible examples of a different word type, the choice favors the one whose embedding has the smallest distance to the anchor. A close nonmatch makes a stronger test of discrimination than a nonmatch that is already distant. This sampling decision is part of the treatment being compared with the decoding objectives.

L = max[0, m + d(xₐ, x⁺) − d(xₐ, x⁻)]

Here L denotes the loss, max selects the larger expression inside the brackets, and 0 is the lower bound. The parameter m is the required margin. The embeddings xₐ, x⁺, and x⁻ represent the anchor, matching word type, and different word type, respectively. The function d is cosine distance, which the paper gives a range from 0 to 1. The term following m adds the distance of the positive from the anchor and subtracts the distance of the negative from the anchor. Once those distances meet the margin condition, this triplet contributes zero loss. Otherwise the unmet part of the margin contributes to the objective.

This is a way of learning which recordings to place close together without producing an output sequence. It provides explicit information about competing word identities. It leaves the embedding free to satisfy the distance constraint using any aspects of the recording that prove effective under the training procedure. The authors later discuss how that freedom could change the relative importance of individual sounds and longer patterns within a word.

Selecting an encoder for evaluation

The model trains for 100 epochs using batches of 256. An epoch is a pass through the training data, and a batch is the group of examples used together during an update. The initial learning rate is 0.001. The authors use Adam, with the learning rate setting the scale of parameter updates. The optimizer comes from Adam: A Method for Stochastic Optimization.

The schedule uses a validation measure shared across objectives. When validation mean average precision for word discrimination fails to improve for 10 epochs, the learning rate is multiplied by 0.5. The epoch that reaches the best validation result supplies the encoder for test evaluation. Thus different losses determine how each encoder learns, while the same kind of retrieval score governs learning-rate reductions and the choice of checkpoint.

The implementation uses PyTorch and uses FAISS for efficient similarity search during evaluation. The authors make the implementation available as xRSA-AWEs. The associated implementation papers describe PyTorch and billion-scale similarity search with GPUs.

Constructing and comparing views

For a single comparison, suppose the stimulus language is λ. The authors start with a collection of held-out word recordings in that language, which can be written in the paper’s notation as follows.

A₁:ₙ⁽λ⁾ = {A₁⁽λ⁾, …, Aₙ⁽λ⁾}

Here A with the index range ₁:ₙ denotes the whole stimulus collection. The final index ₙ represents N, the number of recordings. The superscript (λ) identifies the language of those recordings, and the subscripts on the right distinguish individual items. The braces enclose the collection and the ellipsis stands for recordings between the first and last. The order used to assemble the representations is shared across encoders, so the resulting views correspond item by item.

The encoder trained on λ, denoted F⁽λ⁾, produces an embedding for each recording. The native view is the matrix X⁽λ/λ⁾. In this notation, the first language identifies the speech and the second identifies the training language. An encoder trained on α can process the same recording collection and produce X⁽λ/α⁾. Each matrix has D rows for embedding dimensions and N columns for recordings. A particular column refers to the same recorded token in both matrices. Its numerical coordinates can differ because each encoder has learned its own mapping.

The next step asks whether the encoders arrange the matched recording set in similar ways. A useful way to picture the question is to imagine following the relationships of one recording to other recordings. Two views can give it a similar place among its neighbors even when the absolute coordinates of the point have little in common. CKA compares the organization of the matched examples across the views. The measure is insensitive to an orthogonal transformation, such as a rotation of the coordinate axes, and to rescaling all coordinates by a common factor. These properties reduce dependence on arbitrary choices of orientation or overall scale.

sim(λ, α) := CKA(X⁽λ/λ⁾, X⁽λ/α⁾)

Here sim names the authors’ language score and := defines it using the expression on the right. The symbol λ identifies the recorded language, while α identifies the other encoder’s training language. CKA is Centered Kernel Alignment. Its first matrix argument, X⁽λ/λ⁾, is the native view, and its second, X⁽λ/α⁾, is the view from the encoder trained on α. The output is a scalar. The paper interprets 1 as perfect agreement under this measure and 0 as an absence of measured association.

An encoder trained on a further language gives another comparison with the same native reference.

sim(λ, β) := CKA(X⁽λ/λ⁾, X⁽λ/β⁾)

Here β identifies that further training language. The matrix X⁽λ/β⁾ contains the view it supplies of the λ recordings. The other matrix X⁽λ/λ⁾, the CKA operation, and the definition sign retain the same meanings. If the score for α is greater than the score for β, then the α encoder is closer to the native reference on that particular collection of recordings. The common stimulus collection gives that comparison its meaning.

Reversing the direction and assembling the matrix

Exchanging the order of the matrix arguments to CKA would leave its output unchanged. In a reversed language comparison, however, the authors first exchange the stimulus language and change which encoder serves as the reference. The reversal is therefore a new test involving different speech and a different native view.

sim(α, λ) := CKA(X⁽α/α⁾, X⁽α/λ⁾)

Here α is now the language of the recordings. The matrix X⁽α/α⁾ contains embeddings from the encoder trained on α, and X⁽α/λ⁾ contains embeddings of those same recordings from the encoder trained on λ. The function sim remains the language score, := defines its calculation, and CKA compares the two new matrices. A directional difference follows when changing the stimulus set and reference changes the measured agreement.

With M languages, the authors organize these comparisons in an M × M cross-lingual representational similarity matrix, abbreviated xRSM. The rows give the languages of the stimulus sets. The columns give the languages on which the encoders were trained. Each off-diagonal entry joins a stimulus language to a particular unfamiliar-language encoder, evaluated against the reference for that row. The main analysis uses linear CKA. The appendix repeats the analysis with nonlinear CKA using a radial basis function kernel. The paper specifies its language scores in terms of CKA and refers to earlier work for the underlying measure.

The authors then use Ward hierarchical clustering with Euclidean distance on the similarity matrices. The resulting tree shows how the language conditions join into progressively broader groups as their similarity profiles are compared. A branch is consequently an outcome of the pattern of matrix entries and the clustering procedure. A directed score answers a question about particular recordings and encoders. The tree brings several such comparisons together and can reveal a group whose members show related profiles across the experiment.

Experiments and results

The language conditions and evaluation material

The language selection gives the study several kinds of comparison within Indo-European. Czech and Polish represent West Slavic, Russian represents East Slavic, and Bulgarian represents South Slavic. The remaining conditions are Brazilian Portuguese and French, both Romance, and German, which is Germanic. The emphasis on Slavic gives the experiment several related languages whose present-day sound patterns can be compared at a finer scale than a family label.

The appendix counts 32,063 Czech training recordings and 9,228 evaluation recordings. Polish contributes 31,507 for training and 9,709 for evaluation. The Russian counts are 31,892 and 9,005, respectively. Bulgarian contributes 31,866 training recordings and 9,063 evaluation recordings.

The Brazilian Portuguese training and evaluation counts are 32,164 and 9,393. For French the counts are 32,497 and 9,656, while German has 32,162 and 9,865. These figures describe collections of roughly comparable size. Within any given stimulus language, the same recorded tokens are shared across encoder conditions. Changing the stimulus language brings in a different collection.

Other appendix statistics show some of the variation in those collections. Russian has a mean of 7.56 phones per word, with a standard deviation of 2.77. French has a mean of 6.24 and a standard deviation of 1.95. The reported mean word duration is 0.435 seconds for German, with a standard deviation of 0.178, and 0.526 seconds for Portuguese, with a standard deviation of 0.190. A common selection rule and comparable corpus sizes can therefore coexist with differences in the acoustic and pronunciation properties of the words sampled.

Same-different word discrimination

The standard task is to determine whether spoken segments represent the same word type. The test treats that decision as a retrieval problem. A useful embedding space ranks recordings of the matching word near the top when the query is another recording of that word. Mean average precision, or mAP, summarizes how well the rankings put those matches ahead of competing words. In this experiment, that measure provides a common test for encoders trained with different kinds of supervision.

The comparisons use PGE, CAE, and CSE as the alternative training conditions. All three are encoders studied by the authors. The native encoder has a separate role as the reference in cross-language analysis, so its status there does not determine the discrimination ranking. The Czech results illustrate what happens when the test rewards retrieval of other recordings of the same word.

Word discrimination on the GlobalPhone Czech evaluation set

The contrastive encoder ranks matching Czech words most effectively.

Word discrimination on the GlobalPhone Czech evaluation setPhonologically guided encoder: 78.3Phonologically guided encoder78.3Correspondence autoencoder: 76.1Correspondence autoencoder76.1Contrastive siamese encoder (this paper): 82.9Contrastive siamese encoder (this paper)82.9
The numbers
System or settingmAP
Phonologically guided encoder78.3
Correspondence autoencoder76.1
Contrastive siamese encoder (this paper)82.9

CSE leads in the other language conditions as well. On the Polish evaluation set, CSE attains 73.8 mAP, PGE attains 67.6, and CAE attains 63.5. The corresponding scores for Russian are 71.0 for CSE, 64.3 for PGE, and 57.7 for CAE. In Bulgarian, CSE reaches 78.4, PGE reaches 72.1, and CAE reaches 68.9. The measurements show that contrastive training can produce a strong same-language word discriminator across all the Slavic conditions examined.

On the Brazilian Portuguese evaluation set, CSE obtains 80.4 mAP, PGE obtains 74.5, and CAE obtains 72.2. The French scores are 68.5 for CSE, 65.6 for PGE, and 64.5 for CAE. German changes the order of the two decoding objectives. CAE reaches 70.3 and PGE reaches 67.9, with CSE still ahead at 75.8. The direct optimization of relative distances between words is well matched to this retrieval measure. It also provides a substantive comparison for the RSA results because the encoder with the strongest retrieval scores has already demonstrated that it can learn useful acoustic representations.

Agreement on unfamiliar speech

The linear CKA results put the decoding objectives in a different position. For PGE, the highest reported off-diagonal score is 0.748. That comparison uses Russian recordings, with a Russian-trained encoder providing the reference and a Bulgarian-trained encoder providing the alternate view. The lowest PGE score is 0.622 on Polish recordings when the alternate encoder is German-trained. A high score in the first case means that the Russian and Bulgarian encoders give similar organization to the Russian items under this measure.

The CAE comparison also has its highest score for a Russian–Bulgarian pair. The highest value, 0.763, uses Bulgarian stimuli and a Russian-trained encoder in the non-native role. On Russian stimuli with Bulgarian as the other training language, CAE gives 0.761. The lowest CAE score is 0.649 for German recordings with a Bulgarian-trained encoder as the non-native view. The extremes describe individual cells, and the winning direction can differ between objectives even for the same language pair.

The largest CSE score is 0.269. Two comparisons reach it, one using Polish speech and one using Portuguese speech. In both, a Russian-trained encoder supplies the non-native view. The smallest reported CSE value is 0.170, for Bulgarian speech encoded by the German-trained system and compared with the native Bulgarian view. The fact that even the reported CSE maxima lie below the reported minima for the decoding objectives gives the broad contrast a scale. Across these stimuli the contrastive encoders’ responses depend more strongly on which language they learned.

The two directions for Czech and Polish show why a score needs its stimulus condition attached. When the PGE comparison uses Czech speech, the Czech and Polish encoders give a linear CKA score of 0.745. When the speech is Polish, their agreement is 0.731. Both comparisons use an encoder from each language, but each asks about a separate recording set. A label containing just the language names could hide the fact that the experiment has measured two quantities.

The groupings behind the scores

The clustering results for PGE and CAE have the same tree structure in the principal analysis. Each contains a group consisting of the Slavic conditions, with Czech joined to Polish and Russian joined to Bulgarian. The groups of two then join each other. The Russian–Bulgarian pair forms at a smaller clustering distance than the Czech–Polish pair. From the matrix, the authors also highlight PGE’s 0.745 for Bulgarian recordings with Russian as the non-native training language and CAE’s 0.762 for Czech recordings with a Polish-trained encoder. Alongside the other directions, these examples show strong agreement within the pairs featured in the trees.

The PGE and CAE trees both put Portuguese with French. The directed results for Portuguese speech contain an additional pattern. Most Slavic encoders agree more closely with the Portuguese reference on those recordings than the French encoder does. The paper identifies the Czech PGE encoder and the Polish CAE encoder as the exceptions to that comparison. These observations can coexist because the statement about Portuguese speech concerns a particular row, whereas clustering uses the wider pattern of similarities. A branch in the tree can therefore summarize a relationship that has qualifications when read at the level of individual experiments.

For CSE the clusters form at greater distances than those from the decoding objectives. The linear analysis places Portuguese within the grouping that includes Slavic languages, and Polish pairs first with Russian. The Czech–Polish grouping seen with PGE and CAE is absent from that tree. Across encoder types, the authors describe German stimulus representations as especially dissimilar to their native views when produced by encoders trained elsewhere. This is a general observation about the German condition. The lowest single PGE entry, for example, concerns Polish speech heard by the German-trained encoder.

Agreement across objectives inside a language

A separate analysis compares encoder types while keeping the language fixed. Suppose the held-out recordings are Bulgarian. The authors can compare the embeddings produced by a Bulgarian PGE with those produced by a Bulgarian CAE. They can likewise pair either of those views with the Bulgarian CSE view. Repeating the comparisons for the different language conditions yields a score for each encoder pairing within each language. The paper reports the mean across languages for each pairing.

Within-language agreement on GlobalPhone evaluation words averaged across languages

The decoding objectives produce more similar views of the same speech.

Within-language agreement on GlobalPhone evaluation words averaged across languagesPGE and CSE: 0.239PGE and CSE0.239CAE and CSE: 0.230CAE and CSE0.230PGE and CAE (this paper): 0.721PGE and CAE (this paper)0.721
The numbers
System or settinglinear CKA
PGE and CSE0.239
CAE and CSE0.230
PGE and CAE (this paper)0.721

The within-language result gives a direct basis for saying that the decoding objectives produce related embedding spaces. Matching cross-language trees alone would allow the possibility that the native representations differ substantially while yielding similar summaries after several stages of analysis. The native-view comparison measures agreement before cross-language scoring and clustering. It finds that PGE and CAE have the strongest association in this setting as well. Nonlinear CKA gives the same ordering of the encoder pairings, with scores that the authors describe as tending to be higher.

The shared organization is striking given what each decoder generates. The paper describes a mean target length of ~6 phonemes for pronunciation prediction and ~50 vectors for acoustic reconstruction. The phonological symbols and the spectral vectors describe a word at different levels. The high agreement is consistent with the authors’ view that acoustic correspondence training can capture something about the organization of word sounds using pairs of recordings. Determining the particular information shared by the spaces requires a finer analysis than the agreement score supplies.

What the ablations show

The paper does not remove components one at a time in a conventional ablation study, but it does compare training objectives under a common encoder design, change the similarity measure, and examine the resulting patterns against known sound properties.

What changes when the training objective changes?

The comparison among encoder types holds the acoustic backbone, language conditions, and general training schedule common. It shows a difference between the representations associated with different ways of using supervision. In PGE, a word embedding has to help predict the parts of a pronunciation. In CAE, it has to help reconstruct the temporal progression of another rendition. In CSE, the learned distances themselves are optimized to make a positive example rank ahead of a close negative. Those requirements can make different distinctions useful during training.

The distinction becomes concrete when reading the two evaluation outcomes together. An encoder can gain retrieval precision by emphasizing aspects of a word that separate it reliably from alternatives in its training language. The most useful distinctions can depend on that language’s vocabulary and sound system. For agreement on unfamiliar speech, the requirement is closer to preserving relationships among a range of novel acoustic examples in a way the native encoder also preserves. The experiment finds that the training procedure best suited to the former produces weaker agreement on the latter.

The authors interpret the weaker CSE results as evidence that its objective may confer less ability to capture broader phonological abstractions. Their specific suggestion concerns the balance between individual segments and phonotactics, the patterns governing how sounds occur together. A local sound can provide evidence for distinguishing trained word types. A representation useful for generating a sequence may also benefit from retaining information about how sounds combine across the word. This is a possible account of the observed contrast. The objectives differ in supervision, target construction and, for CSE, the use of close negatives, so the experiment establishes a difference between training procedures as a whole.

The authors place that interpretation in a field where contrastive learning is an established way to learn speech representations. The triplet objective used here is the condition actually tested. The paper treats its broader implications for human speech perception as a question for continued study and gives Representation Learning with Contrastive Predictive Coding as an example of the wider research area.

Why compare the decoding objectives within a language?

The cross-language analysis poses several types of variation at once. The native and non-native encoders have learned from different languages, and the profiles across a matrix include several distinct stimulus collections. Comparing encoder types on the same recordings from their shared training language removes those sources of variation from that comparison. Pronunciation prediction and acoustic reconstruction still show close agreement. This supports the idea that the match between their language groupings reflects a resemblance between their representations.

The control also narrows the interpretation of what the pronunciation labels provide. CAE is trained to reproduce an acoustic token using another token with the same known word identity. It has no phonological transcription as a target. Yet its views agree more closely with those from the explicitly phonologically guided encoder than the contrastive views do. That outcome gives the authors grounds to associate correspondence training with structure relevant to word phonology. The two decoding tasks also share the input format, training material and encoder architecture. The analysis measures the resulting organization and leaves the individual contribution of each shared condition open.

Which groupings depend on the comparison measure?

The appendix substitutes nonlinear CKA with a radial basis function kernel for the linear measure. This changes how the embedding spaces are compared while keeping the speech and the trained encoders the same. The authors report broadly similar patterns in the resulting matrices. The trees for PGE and CAE preserve their structure under the new measure. The result gives the decoding-based associations some robustness to how similarity is operationalized in this experiment.

The change also exposes a less stable assignment. Under the nonlinear measure, Portuguese moves out of the Slavic grouping in the CSE tree. It remains the non-Slavic language closest to the Slavic conditions in that analysis. The broad affinity therefore persists even though the exact branch membership changes. This distinction matters because a verbal account of the linear analysis could easily present membership as the entire finding. Reading both versions reveals which part of the Portuguese result survives the change.

What sound patterns could explain the Slavic groups?

The authors connect the Slavic grouping to similarities that could be audible before a listener identifies a word or reaches its meaning. They describe the languages as sharing features such as rich consonant inventories and complex consonant clusters. The paper’s account of earlier intelligibility studies gives context for why one might expect a cluster of these languages. These shared properties make the presence of a Slavic group linguistically plausible, while the structure inside the group motivates a closer look at how the words are pronounced.

Czech and Polish both use fixed stress, meaning that the position of stress follows a regular place in the word. The places differ. Czech assigns stress to the initial syllable, and Polish assigns it to the syllable before the last. Their common property is the fixed placement itself. The paper also describes Czech and Polish as part of a West Slavic continuum. These observations give the pair a linguistic basis at more than one level.

Russian and Bulgarian belong to different Slavic branches. The paper draws attention to a similarity that cuts across that distinction. In both languages stress can occur at different positions and can move between forms of a word. The authors relate this kind of stress to differences between stressed and unstressed syllables, including changes in vowel duration and quality. They illustrate the point with Russian forms of the word for ‘hand’, in which stress falls on different syllables depending on the form. Bulgarian vowel reduction follows its own patterns, but the authors identify reduced duration and changes in quality in unstressed Bulgarian vowels as well.

This gives the tight Russian–Bulgarian pairing a concrete possible explanation. Patterns of stress and reduction shape how sound is distributed over a recorded word. An encoder preserving those patterns could place Russian and Bulgarian recordings similarly even when the languages occupy different positions in a historical classification. The study leaves the contribution of stress and vowel quality unmeasured in isolation. Its use of acoustic input also rules out direct comparison of Cyrillic spelling as the source of the pairing. PGE’s supplemental targets are pronunciation symbols, and the input to all the encoders is speech.

What might account for Portuguese?

The authors describe sibilants and a velarized, or dark, L sound as frequent in Portuguese and also draw comparisons with Russian and Polish. Sibilants are the hissing sounds the paper singles out. The proposed account is that similarities in individual sounds could be especially visible to the contrastive encoder. If the CSE geometry gives such segments a greater role, a pattern involving Portuguese and some Slavic encoders could appear even when the languages differ in how they combine sounds over whole words.

That account addresses a feature of the measurements which a family label alone would leave unexplained. It is still an interpretation of the results. The experiment varies neither the presence of the proposed sounds nor the sequencing of those sounds in otherwise comparable test material. The Portuguese results are especially helpful for seeing the distinction between an observation and a mechanism. A directed affinity with Slavic encoders appears in the paper, its exact cluster placement depends on the analysis, and a possible segmental explanation remains to be tested.

Limitations

Limits identified by the authors

The authors explicitly describe the language sample as narrow in typological coverage. The concentration on Slavic languages serves their question about related languages that vary in intelligibility. The other languages give useful comparisons within the sample, but coverage remains confined to Indo-European. Extending the result to languages with a different range of sound structures requires new evidence.

The authors also delimit the method’s purpose in their discussion of typology. They use linguistic structure to interpret relationships in embeddings of recorded words. Historical reconstruction is a different task. Common ancestry helps explain why some features may be shared, while present-day pronunciation supplies the actual observations. The fact that Russian and Bulgarian pair strongly in this study illustrates the authors’ interest in sound patterns that cut across more specific historical groupings.

In the conclusion they identify several dimensions along which the study could be extended. The encoders here summarize whole words. Work with syllables or phonemes would change the size of the unit under comparison. Adding semantics would change what information training rewards. Studying other architectures would test the dependence of these findings on the chosen recurrent encoder. These proposed extensions locate the empirical result at a particular scale, with a particular kind of input and a shared architecture.

The transfer discussion is also preliminary. The authors report that their exploratory cross-language word discrimination experiment appeared to favor transfer between related source and target languages. They also observed less effective transfer from CSE than from the decoding approaches. They give no numerical transfer results or prospective test of a rule that uses RSA scores to choose an encoder. The question they leave open is how well representational agreement predicts performance on unfamiliar-language word discrimination.

What follows from the design

The native reference is itself a trained acoustic encoder. Its agreement with another encoder can indicate that the unfamiliar-language view retains relationships the native system also preserves. A human listener brings other sources of knowledge to an utterance, including expectations about possible words and their meanings. The experiment contains no matched human intelligibility test for its recordings, so the relationship between a CKA score and a human comprehension outcome remains uncalibrated. The authors’ claim about a facilitatory effect is supported at the level of the computational comparison.

Likewise, an individual mAP score answers a bounded question. It measures retrieval of the same word type on the evaluated speech. A strong result does not tell a reader whether a system can assign the right meaning to a word, recover a message from running speech, or generalize its retrieval behavior across languages. The trained encoders have access to true word identities in their own languages, and PGE has generated pronunciation labels as additional supervision. Exposure to the target speech at evaluation tests transfer of an existing representation. Learning all that structure from unsegmented, unlabeled input is outside the experiment.

The corpus and preprocessing decisions also shape the evidence. All the items come from read speech in a controlled environment and are selected using the duration and phone-count thresholds. The encoder receives an already located word interval. It therefore bypasses the problem of finding word boundaries while listening to an unfamiliar utterance. Evaluation on held-out speakers addresses generalization across voices within the selected material. Performance in spontaneous speech, in other recording conditions, or with a different distribution of word lengths remains unmeasured.

Forced alignment and generated pronunciations are part of the route from the corpus to the training set. Different alignment errors could alter the acoustic evidence available at word boundaries. Differences in the pronunciation targets could alter the supervision for PGE. The paper supplies no separate estimates of those effects. How much they matter to cross-language similarity is unresolved, even with comparable corpus collection and training settings.

The CAE loss as printed adds a narrower reproducibility issue. The acoustic reconstruction task is clear from the prose, while minimizing the expression as printed would reward larger frame errors. The discrepancy leaves the displayed equation alone insufficient to specify the actual training criterion. It is consequential when reading the method because a change in the sign changes the optimization direction.

How strongly can the similarities be interpreted?

An agreement score concerns a collection of examples. It has no direct unit for the contribution of a vowel, a stress pattern, or a consonant cluster. The invariances of CKA deliberately allow embeddings to agree in spite of differences in how their coordinates are used. A high PGE–CAE score can therefore establish a resemblance in the arrangement of the observations without identifying a corresponding set of features or phonological categories in the two encoders.

The language tree further summarizes the evidence. A grouping can reflect several related scores, and the matrix retains directional details that a single branch cannot express. Portuguese provides the clearest example, because a grouping with French coexists with stronger agreement from several Slavic encoders on Portuguese speech. In the contrastive analysis, the exact placement of Portuguese also changes with the measure. The matrix, the tree, and the pronunciation hypotheses each have a different role in the argument.

Finally, the nonlinear analysis reuses the same learned representations. It tests stability to the similarity measure, leaving stability to new samples or independent training runs as a separate question. The paper gives no uncertainty estimates for the highlighted scores or repeated-training analysis of the headline groupings. The broad observed contrasts between objectives are clear within the experiment. Fine comparisons among close scores have less evidence about their reliability under repetition.

What came after

The subsequent research history is undocumented here. The paper itself points to several questions that would turn its findings into tests with independent outcomes. One is whether a high representational similarity score can identify a useful source language or training objective before measuring transfer performance on target-language speech. The preliminary discrimination experiment made this a concrete possibility, and the authors leave its predictive value for further investigation.

A second direction is to change the speech unit. Applying the approach to syllables or phonemes would ask how much of the word-level pattern is already visible in smaller units. Adding representations of meaning would address a different question about how sound and meaning interact in unfamiliar spoken-word processing. Other encoder architectures would offer a way to examine the extent to which the findings depend on the recurrent architecture used in the paper.

The cognitive question remains open as well. A matched comparison with human listeners could ask whether the directed agreement between encoders corresponds to differences listeners experience when processing speech from another language. The authors specifically call for examining contrastive training in that context. Their experiments establish that the training objective changes the representational pattern, which makes the choice of objective an empirical part of any proposed account of human perception.

Cite

Cite as Badr Abdullah, Iuliia Zaitova, Tania Avgustinova, Bernd Möbius and Dietrich Klakow. 2021. How Familiar Does That Sound? Cross-Lingual Representational Similarity Analysis of Acoustic Word Embeddings. Proceedings of the Fourth BlackboxNLP Workshop on Analyzing and Interpreting Neural Networks for NLP.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/2021.blackboxnlp-1.32

@inproceedings{abdullah2021how,
  title = {{How Familiar Does That Sound? Cross-Lingual Representational Similarity Analysis of Acoustic Word Embeddings}},
  author = {Badr Abdullah, Iuliia Zaitova, Tania Avgustinova, Bernd Möbius and Dietrich Klakow},
  booktitle = {Proceedings of the Fourth BlackboxNLP Workshop on Analyzing and Interpreting Neural Networks for NLP},
  year = {2021},
  doi = {10.18653/v1/2021.blackboxnlp-1.32},
  url = {https://doi.org/10.18653/v1/2021.blackboxnlp-1.32}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/abdullah-2021-how-familiar-does-that-sound/