Elamur Research

An Unsupervised Probability Model for Speech-to-Translation Alignment of Low-Resource Languages

Paper · 2016 · Antonios Anastasopoulos, David Chiang and Long Duong

Summary

A recording and a written translation can preserve what someone said while leaving a basic question unanswered. Where in the recording did the speaker say the part that corresponds to a particular word in the translation? For low-resource languages, this gap can matter because recordings with translations may be easier to obtain than recordings with reliable transcriptions. The authors study how to take a written translation that is already paired with a recording and locate the stretch of speech associated with each translated word. These links can give a researcher a first indication of which parts of a recording to listen to when investigating a word or phrase.

The method brings together two kinds of evidence. Relative position gives a rough prediction of where a word will occur in the recording. A word near the beginning of the translation will frequently correspond to speech near the beginning of the recording. Acoustic similarity helps refine that prediction. When the same translated word occurs in different examples, the system looks for stretches of speech that sound alike after allowing for differences in timing. It groups such stretches around representative acoustic sequences. During training, the groups guide the choice of speech spans, and the spans selected in turn update the groups. The source speech needs neither a transcription nor a pronunciation lexicon for this process.

The authors test the method on Spanish speech paired with English translations from CALLHOME and Fisher, and on a much smaller collection of Griko speech with Italian translations. In the Griko test set of 300 utterances, the method achieves a frame-to-word alignment F-score of 53.8, compared with 46.7 for an alignment based on word order and written word length, and 27.0 for a neural attention approach. The proposed method also has the highest reported F-score in each Spanish evaluation. Its advantage over the word-order baseline comes through higher precision, with somewhat lower recall.

A comparison on Griko helps explain why the direction of the acoustic comparison matters. The authors get better alignments when they ask which stretch of a recording best fits a given acoustic group. A normalized alternative that asks which group best fits a stretch can favor spans that are unusually short or long. The experiments establish the value of the method for locating words in recordings under the conditions tested. The authors leave open how well it works with greater differences in word order and what its alignments contribute to language documentation or machine translation downstream.

Deep dive: An Unsupervised Probability Model for Speech-to-Translation Alignment of Low-Resource Languages

The paper shows how to align words in a written translation with spans of untranscribed speech using acoustic similarity and word order. · about 40 minutes to read

The problem and its context

What a translated recording leaves open

An utterance and its translation can already be linked at the sentence level. That link tells a reader which piece of written text to consult for the meaning of the utterance. It gives no timing information about the words inside it. If the reader wants to find where a particular action or object is mentioned, the sentence pair leaves the whole recording segment to search. The paper takes this more local connection as its object of study. Given the audio and the written sentence, the system should associate each word in the translation with a start and an end in the audio.

The distinction matters for language documentation. The paper describes the kinds of information that make a collection of speech suitable for later linguistic study. A transcription records what was said in the original language. A morphological analysis identifies meaningful parts of the words. Word glosses give local interpretations, while a free translation conveys the utterance as a whole. Together these form layers of linguistic annotation. The kind of alignment studied here supplies one link between the layers. It points from a word in the translation to a region of the audio that may contain its spoken counterpart. The other annotation layers require their own evidence and analysis.

The authors motivate this choice of input by the relative costs of collecting translations and making transcriptions. In the settings they have in mind, speech is more readily available than text in the source language, and transcription is slow and laborious. They cite work on tools for collecting bilingual audio and projects gathering parallel speech for endangered languages. Taken together, these efforts explain why a sentence-level translation can be a practical starting point. Once those sentence pairs are available, the question is how much finer detail can be recovered automatically from them.

The same alignment has a different prospective role in translation research. The statistical translation approaches the authors discuss traditionally learn links between source and target words early in training. A system designed to work directly from speech would need a way to learn corresponding links when the source is an acoustic signal. In this paper the target words are given, so the task is to discover where their evidence lies. Predicting a translation for a fresh recording is a further task. This separation makes it possible to test whether the speech and text can be connected at the word level before trying to generate text.

From word positions to time spans

The authors draw on a tradition in which both sentences are written. A text aligner can represent a link by the position of a source word. The word sequence already gives it a list of candidates, and positions can serve as clues even before the aligner has learned much about translation equivalents. Words that occur early in one sentence may have counterparts early in the other. The fast_align formulation expresses that tendency as a preference that can be made stronger or weaker.

The speech input changes what an alignment decision contains. A recording supplies a succession of acoustic observations, called frames, with no visible indication of which adjacent frames belong to a word. A single source position is therefore insufficient. The system needs a span, and the span has to be chosen at the same time as the system is learning what a recurring spoken form sounds like. Giving it the spoken words in advance would remove a central difficulty that the authors want to study.

Some earlier work described in the paper takes a step toward this setting by using a sequence of phones, which are speech sounds represented as symbols. Stahlberg and colleagues adapt IBM Model 3 to link phones to words for work on pronunciation lexicons across languages. The authors also mention Pialign, which aligns substrings and can operate on phones as it does on characters. A phone sequence still supplies discrete symbols before the alignment begins. The task here starts with continuous speech and requires the system to locate plausible boundaries within it.

Duong and colleagues study both phone-to-word and speech-to-word alignment by adapting the attention mechanism introduced in earlier neural translation work. Attention provides a way for the system to give different source positions different relevance to a target word. The paper uses the resulting speech approach as an experimental comparison. This puts a method that learns where to attend alongside one that represents a correspondence explicitly as a span with two endpoints. Neural Machine Translation by Jointly Learning to Align and Translate

The paper also distinguishes its setting from supervised work that integrates speech recognition and translation. The earlier approaches it discusses depend heavily on resources such as training data, pronunciation lexicons, or statistical information about word sequences. Those inputs are difficult to provide in the settings that motivate this paper. Here, the translation is the main linguistic input to the alignment process. It tells the system which target words occur and in what order, while leaving the spoken word forms and their locations to be inferred.

What acoustic pattern discovery contributes

A second tradition starts from recordings alone and tries to find speech patterns that repeat. The paper describes this as zero-resource spoken term discovery. Some of the approaches it cites search for sections of audio whose acoustic trajectories resemble one another after adjustment for timing. Such a search can find repeated stretches even when their start times and durations differ. Other work the authors discuss combines this sort of comparison with acoustic representations to discover a small vocabulary and its segmentation. The paper also mentions research on low-resource speech translation that uses simulated output from a spoken term discovery system.

Translated recordings offer structure that a monolingual pattern search lacks. When a translated word recurs, it gives the aligner a reason to compare some regions of the associated utterances. That reason is provisional. Two uses of the same target word may have different source equivalents, and two similar acoustic sequences may correspond to different target words. The method expresses the connection through a small inventory of candidate acoustic groups for each written word. It can use the translation to narrow the search without presupposing a dictionary for the spoken language.

The paper therefore adapts different parts of earlier work to different decisions. The text alignment tradition supplies a preference about relative position. Spoken pattern discovery supplies a way to compare sequences whose timing differs. Both decisions have to describe the same stretch of audio. That joint requirement shapes the scoring rule and also leads to the paper’s comparison between two ways of normalizing the acoustic evidence.

The method, step by step

What the aligner sees and what it has to infer

Start with a single sentence pair. On the source side there is a sequence of acoustic frames. On the target side there is an ordered sequence of written words. The target sequence identifies the words whose counterparts the aligner will look for. It leaves their exact locations and the acoustic forms associated with them unknown. For each occurrence of a target word, the method chooses an acoustic group and a stretch of the recording assigned to that group.

An acoustic group is represented by a prototype, itself a sequence of frames. A prototype captures a characteristic trajectory through time for the spans assigned to the group. A single average vector would discard that trajectory. By keeping a sequence, the method can compare a candidate span with the prototype in order while accommodating uneven timing. The grouping is related to k-means clustering in its alternation between assignments and representative updates. Here, a representative is a time sequence, and updating it requires a way to decide which parts of different recordings correspond.

At the beginning, the acoustic groups have no learned prototypes. The position preference supplies provisional spans for the words of each translation. Each occurrence of a written word is then placed randomly in one of its associated groups. These provisional selections give the system examples from which it can construct its first prototypes. Once the prototypes exist, the system can reconsider the spans using both how they sound and where they occur. It can also choose the group that best fits a particular occurrence.

A span is local to a target word. The method scores proposed beginning and ending points for that word. Its equations allow the spans chosen for different words to overlap, and they impose no requirement that the selected spans cover the entire recording. The position preference does encourage assignments roughly in sequence. That is a softer condition than making every word consume its allotted stretch of a fixed partition. The distinction gives acoustic evidence room to move a boundary or to favor a span whose location differs from the initial prediction.

Learning speech spans from translated utterances

The steps in order.

Learning speech spans from translated utterancesStep 1: Represent paired recordings as acoustic frames1. Represent paired recordings as acoustic framesStep 2: Find candidate boundaries and detect pauses2. Find candidate boundaries and detect pausesStep 3: Initialize spans from position and word length3. Initialize spans from position and word lengthStep 4: Assign occurrences to candidate acoustic groups4. Assign occurrences to candidate acoustic groupsStep 5: Build a prototype for each group5. Build a prototype for each groupStep 6: Rescore spans with position and acoustic evidence6. Rescore spans with position and acoustic evidenceStep 7: Repeat assignment and prototype updates7. Repeat assignment and prototype updates

The position preference in text alignment

The authors begin with a formulation shared by IBM Models 1 and 2 and fast_align. In their text example, a French sentence is given, and each English word is linked to a French word position. The joint expression covers both the English sentence and a particular assignment of its words to source positions.

p(e, a | f) = p(l) ∏ᵢ₌₁ˡ t(eᵢ | fₐᵢ) δ(aᵢ | i, l, m)

Here, p denotes probability, e is the English sentence, f is the French sentence, and a is the sequence of links. The bar means “given.” The target sentence contains l words and the source sentence contains m words. The index i runs from 1 through l, and ∏ multiplies the factors for those positions. eᵢ is the English word at position i. The variable aᵢ selects a source position, and fₐᵢ is the source word at that position. The term p(l) specifies the probability of the target length, t gives the translation probability, and δ gives the probability of the position selected for the link.

In IBM Model 1 the positional distribution is uniform. IBM Model 2 uses a categorical distribution, which can assign different probabilities to the possible positions. Fast_align gives this preference a particular shape. It compares the fraction of the way through the target sentence at the target word with the fraction of the way through the source sentence at a candidate source word. This comparison works even when the sentences have different lengths.

h(i, j, l, m) = −|i/l − j/m|

Here, h is the position feature, i is the target position, and j is a candidate source position. The lengths l and m are those of the target and source sentences, respectively. A slash denotes division. The vertical bars take the absolute difference between the relative positions, and the initial minus sign makes a larger discrepancy yield a smaller feature value. In a plot with the relative source position on one axis and the relative target position on the other, links at equal fractions lie on the diagonal.

δ(aᵢ | i, l, m) = { p₀                                      if aᵢ = 0
                 { (1 − p₀) exp(λh(i, aᵢ, l, m)) / Zλ(i, l, m)  if aᵢ > 0

Here, δ gives the alignment probability at target position i for sentences of lengths l and m. The variable aᵢ is the chosen source position. The braces distinguish the null position, marked by 0, from ordinary source positions, indicated by > 0. The parameter p₀ gives the probability of a null link, leaving the remaining mass 1 − p₀ for ordinary positions. The function exp takes the exponential of the feature h scaled by the non-negative precision parameter λ. The normalizer Zλ(i, l, m) makes the exponential weights for the non-null positions sum to one before they are scaled by the remaining mass.

As λ approaches zero, the ordinary positions receive nearly equal weights. Larger values sharpen the preference for positions close to the diagonal. The useful property for speech is that this preference has a small set of controls and can be expressed in relative coordinates. The authors retain that property while replacing a candidate source word position with a pair of frame positions.

How acoustic sequences are compared

A candidate speech span and a prototype can contain different numbers of frames. Even when their durations are similar, corresponding sounds can occupy different amounts of time. Dynamic Time Warping, abbreviated DTW, deals with this by searching for a path through a matrix whose axes index the two sequences. A path indicates which frames correspond. The allowed steps move forward in both sequences together or advance in one sequence while staying on the same frame in the other. These latter steps allow one frame to correspond to several frames from the other sequence.

The calculation fills the matrix by retaining the cheapest path to each cell. Reaching a cell adds the distance between its current pair of frames to the cost of the cheapest allowed predecessor. Keeping the cheapest predecessor at each cell is what makes the calculation a dynamic program. The result at the end of the matrix gives the cost used to compare the sequences. The path can also be used later to learn which frames should be averaged together.

wᵢ,ⱼ = d(φᵢ, φ′ⱼ) + min{wᵢ₋₁,ⱼ, wᵢ₋₁,ⱼ₋₁, wᵢ,ⱼ₋₁}

Here, φ and φ′ are the two sequences, and the prime distinguishes the second sequence from the first. The indices i and j identify the compared frames φᵢ and φ′ⱼ. The function d gives the distance between those frames. The cell wᵢ,ⱼ holds the best accumulated cost at that pair. The min operator chooses the smallest of the costs in the preceding row, the preceding diagonal cell, and the preceding column, as indicated by the index decrements. The plus sign adds the local comparison cost.

DTW(φ, φ′) = wₘ,ₘ′ / (m + m′)

Here, DTW(φ, φ′) is the normalized distance between the two sequences. The lengths of the first and second sequences are m and m′, so wₘ,ₘ′ is the accumulated cost at their final pair of frames. The slash divides that cost by the sum of the lengths in parentheses. The authors describe the resulting distance as lying between zero and one. In the span scoring rule, smaller values provide stronger acoustic evidence.

The paper uses DTW again when a group needs a new prototype. DTW Barycenter Averaging, abbreviated DBA, starts with a sequence that acts as a skeleton. Each assigned span is warped against this skeleton. For a given skeleton position, the algorithm takes the mean of the frames mapped to that position across the spans. It carries out this update for the skeleton frames and can then compute new warping paths against the updated sequence. This is an approximate way to seek a representative that has small squared DTW distances to the group members.

The authors adjust how DBA chooses its starting sequence. They select randomly among the assigned sequences of median length, aiming to avoid a skeleton with an unusually short or long duration. The skeleton provides the positions at which frames are averaged. An extreme starting length could give those positions an unhelpful time structure. Choosing a median-length sequence is a way of giving the prototype a moderate starting duration while allowing the frames themselves to change.

The joint score for words, groups and spans

In the speech formulation, the given source sequence is φ, and the observed target words form e. The symbol f now denotes a sequence of hidden acoustic group assignments. The two other hidden sequences, a and b, contain the start and end positions of the corresponding audio spans. A candidate complete alignment supplies all three hidden sequences. Summing the complete assignments gives the paper’s expression for the score of the translation conditioned on the speech.

p(e | φ) = ∑ₐ,ᵦ,բ p(e, a, b, f | φ)

Here, p(e | φ) denotes the conditional quantity for the written target sequence e given the frame sequence φ. The summation ranges over the start sequence a, the end sequence b, and the cluster sequence f, with բ denoting the cluster index f in the summation subscript. The term on the right assigns a joint score to the translation and one complete set of hidden choices. The scoring form used for the main experiments has a normalization caveat described below.

p(e, a, b, f | φ) = p(l) ∏ᵢ₌₁ˡ u(fᵢ) s(aᵢ, bᵢ | fᵢ, φ) δ(aᵢ, bᵢ | i, l, |φ|) t(eᵢ | fᵢ)

Here, e, a, b, f and φ have the meanings above. The target word count is l, p(l) is the uniform length factor under an assumed maximum length, and ∏ multiplies the contributions at target positions i from 1 through l. The expression |φ| gives the number of source frames. At position i, fᵢ is the selected group, (aᵢ, bᵢ) is the selected span, and eᵢ is the observed word. The categorical factor u gives the weight of the group. The acoustic factor s scores the span for that group and utterance. The positional factor δ scores the same span using its place in the utterance and the target sentence. The translation factor t gives the probability of the observed word for the selected group.

The interpretation proceeds position by position. The length factor describes how many target words there are. Each position then has a cluster choice, a span choice and a word associated with that cluster. The acoustic factor asks how well a candidate span fits the cluster’s characteristic sound. The positional factor asks whether its endpoints make sense for this part of the translation. The translation factor connects what the cluster represents to the written word that was actually observed. In the implemented system it restricts which clusters the aligner may even consider for that word.

An unusual feature is that both s and δ assign weights to the same span. Multiplying those weights leaves the overall expression without the normalization required for a conditional probability distribution. The authors call that form deficient. They also implement a proper, normalized form. It uses the positional component to assign a span and then distributes acoustic probability across groups for that fixed span. It thus replaces a group prior and a span-given-group factor with a group-given-span factor.

The two directions make the plausible alternatives in an acoustic comparison different. In the main system, a cluster prototype competes with itself across possible spans. A stretch that fits the prototype well must earn its standing among other stretches of the utterance. In the proper version, competing clusters are evaluated on the same proposed stretch. One cluster can receive a concentrated share of that probability when the alternatives fit that stretch poorly. This distinction will matter when the system compares different spans for a particular word.

Scoring a span by its fit to a prototype

The acoustic factor transforms a DTW distance into a positive weight. It takes the exponential of the negative squared distance, so a small distance gives the span a larger weight. It then compares that weight with the weights of the spans available for the same prototype and utterance. The normalization is specific to the utterance. A prototype can face very different sets of alternatives in different recordings.

s(a, b | f, φ) =
  exp(−DTW(φᶠ, φₐ ⋯ φᵦ)²) /
  ∑_{(a′, b′)} exp(−DTW(φᶠ, φₐ′ ⋯ φᵦ′)²)

Here, s scores a span beginning at frame a and ending at frame b for group f in recording φ. The prototype for that group is φᶠ. The notation φₐ ⋯ φᵦ includes the successive frames from the first boundary through the last, and the ellipsis indicates the intervening frames. DTW is the normalized distance defined above, the superscript ² squares it, the minus sign negates it, and exp takes its exponential. Below the division bar, ∑ adds these weights over possible spans, with a′ and b′ distinguishing each alternative pair of boundaries from the pair being scored. The formula describes the span distribution, and the training search restricts the boundaries it considers.

This normalization also matters for learning a prototype. A prototype that draws close to its assigned spans changes their weights, but it may also come to fit other spans in those recordings. The denominator reflects that second effect. The practical update described below minimizes the distances to the assigned spans approximately. It omits the dependence of the denominator on the prototype.

Giving the beginning and end separate positional preferences

To adapt fast_align to speech, the authors define a preferred position for the beginning of a span and another for its end. Both are related to the original diagonal preference. They allow room for the speech occupied by the word by introducing µ, an expected duration in frames. The scale of the underlying position calculation uses the utterance length with that duration taken out. The end calculation also shifts its candidate position by the expected duration.

hₐ(i, j, l, m, µ) = −|i/l − j/(m − µ)|

Here, hₐ is the feature for the start boundary. The target word is at position i in a sentence of length l. The candidate start is at frame j in an utterance of m frames. The expected word duration is µ, m − µ is the adjusted source length, and the divisions express the target position and source boundary on relative scales. The bars take the absolute difference and the leading minus sign penalizes larger discrepancies.

hᵦ(i, j, l, m, µ) = −|i/l − (j − µ)/(m − µ)|

Here, hᵦ is the feature for the end boundary. The indices and lengths i, l and m retain the same meanings. The index j now refers to a candidate end frame. Subtracting µ from it lets the end receive a strong positional score farther to the right than the start. As before, the bars give the absolute difference between relative positions and the leading minus sign makes larger deviations less favorable.

The implementation varies µ by word occurrence. It allocates a share of the utterance’s frames to each target word based on that word’s share of the written characters. A longer spelling therefore moves the preferred duration upward. This is a clue supplied by the target side, so it can be computed before the system knows anything about the source words’ spellings or pronunciations.

∑ᵢ µᵢ = m

Here, µᵢ is the expected duration for the target word at position i. The summation ∑ᵢ runs over the positions of the translation, and m is the total number of frames in the utterance. The equality specifies the scale of the character-based allocation. The resulting durations guide the scores. The selected spans can have other durations.

δₐ(aᵢ | i, l, m) = { p₀                                          if aᵢ = 0
                  { (1 − p₀) exp(λhₐ(i, aᵢ, l, m, µᵢ)) / Zₐ     if aᵢ > 0

Here, δₐ is the start-position distribution for word i and aᵢ is its selected start. The target and source lengths are l and m, and the word-specific duration is µᵢ. The symbol 0 marks the null case and p₀ gives it probability. For a positive frame position, exp exponentiates the start feature hₐ scaled by λ, and 1 − p₀ gives the mass for those ordinary positions. Zₐ denotes the start normalizer, which sums the exponential weights across ordinary start positions for the relevant settings.

δᵦ(bᵢ | i, l, m) = { p₀                                          if bᵢ = 0
                  { (1 − p₀) exp(λhᵦ(i, bᵢ, l, m, µᵢ)) / Zᵦ     if bᵢ > 0

Here, δᵦ is the end-position distribution and bᵢ is the selected end for target position i. The lengths l and m, duration µᵢ, null probability p₀ and precision λ play the same roles as for the beginning. The feature hᵦ now scores the end, exp turns its scaled value into a positive weight, and Zᵦ is the corresponding end normalizer. The notation Zₐ and Zᵦ makes explicit that each endpoint distribution is normalized over its own positions.

δ(aᵢ, bᵢ | i, l, m) = δₐ(aᵢ | i, l, m) δᵦ(bᵢ | i, l, m)

Here, δ is the positional factor for the span (aᵢ, bᵢ). Its factors δₐ and δᵦ give the beginning and ending weights for target position i, given l target words and m source frames. Multiplying them makes the positional component separable into endpoint preferences. The acoustic term evaluates the sequence between those endpoints as a whole.

The paper illustrates the positional features with an utterance of 100 frames and a translation of 5 words, using µ = 20, λ = 0.5 and p₀ = 0. In that illustration, the start and end distributions put their strongest preferences in different parts of the signal for each word. This shows where the aligner would look based on position. The eventual choice also depends on how the sound in the span fits its prototype.

Restricting the translation choices

In principle, the categorical translation term could give a group several possible written translations, and a written word could draw on several groups. For the experiments the authors fix a narrower correspondence. Each target word type is associated with k = 2 groups, and each group belongs to a single target word type. The term t is therefore fixed at zero or one. It permits the associated word and excludes the others.

The choice gives a target word room for different spoken counterparts or pronunciations while limiting the number of acoustic alternatives to evaluate at each occurrence. It also means that a source form with different written translations can be represented by distinct groups. Group membership reflects both the sounds assigned to a group and the target word that anchors it. It provides no direct inventory of word types shared across all translation contexts.

The authors present this restriction as a speed measure and report nearly unchanged accuracy in their experiments. The determined association also explains why the translation term, though part of the general trainable formulation, can stay fixed in the reported runs. Learning in those runs centers on where words are placed in the audio and what their acoustic groups sound like.

Alternating assignments and prototype updates

The training procedure is a hard, or Viterbi, version of expectation-maximization. A full expectation step would assign contributions to alternative hidden configurations. The paper regards such calculations across possible alignments as prohibitively expensive. The hard version selects the highest-scoring assignment under the current parameters and uses that choice for the update. Each occurrence contributes its chosen span and group.

Initialization deserves particular attention in this procedure because early assignments supply the first prototype examples. The authors choose the initial endpoints using the positional component and assign each occurrence at random to one of the groups belonging to its target word type. They then construct prototypes from those assignments in a maximization step.

(aᵢ, bᵢ) = arg max₍ₐ,ᵦ₎ δ(a, b | i, l, m)

Here, arg max returns the pair that gives the largest value of the following expression. The candidates a and b are start and end positions, and the chosen pair is written (aᵢ, bᵢ) for target position i. The score δ is the positional component for a translation of l words and a recording of m frames. The rule gives the method an initial alignment before it has acoustic prototypes to compare.

In a general maximization step, translation probabilities can be reestimated from the relative frequencies of the assigned word and group pairs. The fixed translation correspondences make that update unnecessary for the experiments. For each acoustic prototype, the theoretical update would have to maximize its contribution to the log score, accounting for both the distances to selected spans and the other candidate spans that enter their normalization.

L(φᶠ) = ∑_φ ∑_{i : fᵢ = f} [−DTW(φᶠ, φₐᵢ ⋯ φᵦᵢ)² − log Z(f, φ)]

Here, L(φᶠ) is the part of the log score that depends on the prototype φᶠ for group f. The outer sum runs over source recordings φ in the training data, and the inner sum runs over positions i with selected group fᵢ equal to f. The indices aᵢ and bᵢ give the assigned phrase of frames from φₐᵢ through φᵦᵢ. The first term in brackets is the negative squared DTW distance between that span and the prototype. The function log is the logarithm, and Z(f, φ) is the sum of the acoustic weights over possible spans for group f in that utterance. The second minus sign subtracts the logarithm of this normalization term.

Maximizing the expression requires considering how changing a prototype affects the whole distribution over spans. The authors use DBA to approximate the part concerned with distances to chosen spans. They leave the logarithm of the normalizer out of the prototype update. The update thus seeks a representative that fits the members assigned to it. Its relationship to the full log score is approximate even after the choice to use hard assignments.

In the hard expectation step, the current prototypes help choose a group and span for each translated word. Searching every pair of frames would make this expensive. The authors narrow the candidates using an unsupervised phonetic boundary detector which works on the speech signal. Its outputs serve as plausible places to start or end a span. A phone boundary can be a useful candidate for a word boundary even though many phone boundaries occur inside a word.

The authors also detect pauses from the speech envelope. They smooth it with a low-pass filter and mark regions of 50ms or longer when the magnitude falls below 5% of the maximum for the whole signal. They report detecting about 80% of pauses, with 90% precision within a 50ms window around the correct pause boundary. These figures describe the pause detection procedure. They measure a different event from the frame-to-word links scored in the main experiments.

A detected pause is used to eliminate candidate spans containing silence. If a proposed boundary falls in a detected silent region, it can be moved to exclude the silence. These rules encode the assumption that a single spoken word should lie on one side of a pause. They also reduce the number of spans for which the system has to compute acoustic comparisons. The remaining candidates are judged by the relevant group, position and acoustic factors.

Finally, the main settings governing the position preferences come from rules or development tuning. The authors set p₀ to zero, requiring each target word to be linked to the speech. They determine µ from character lengths as above. They choose λ by searching candidate values for the best alignment F-score on development data. The reported setting is λ = 0.5. The recurring prototypes are learned from sentence-level speech and translation pairs, while this choice of positional precision uses alignment judgments on the development set.

Experiments and results

What counts as a correct alignment

The evaluation begins with paired utterances and translations. It also requires a reference that locates the target words inside the recording. To make the comparison, the authors express both the prediction and the reference as links from individual source frames to individual target words. A predicted span generates links between its word and the frames included in that span. If a prediction overlaps the reference for the same word, the frames in the overlap count as matches.

Precision measures the share of proposed links supported by the reference. Recall measures the share of reference links recovered by the prediction. Balanced F-score combines both measures. A span that extends beyond the reference can retrieve the correct region while adding many incorrect links. A narrow span that lies wholly inside the reference can have good precision and still leave much of the reference uncovered. The combination of metrics makes those outcomes distinguishable, and the metric operates on linked frames rather than requiring exact equality of the predicted and reference endpoints.

For both language pairs, the acoustic input consists of 39-dimensional Perceptual Linear Prediction vectors calculated at 10ms intervals. These vectors represent information about the power spectrum of the speech. The authors normalize the features within each utterance to zero mean and unit variance. Feature extraction and normalization give the aligner a common representation for its DTW comparisons. The evaluation assigns a linguistic role to each linked frame by looking at which target word it was predicted to correspond to.

How the references were made

For Spanish and English, the authors use telephone speech from CALLHOME and Fisher with written English translations. They treat Spanish as if it were a low-resource language for purposes of the alignment experiment. The system is run without Spanish speech recognition, transcribed speech or pronunciation lexicons as inputs. Those existing Spanish resources have a separate role in making the evaluation reference.

The Spanish references are called silver standards because their timing and cross-language links are computed rather than hand-aligned for this task. For CALLHOME, the authors use the references from Duong and colleagues. For Fisher, they follow the same procedure. A forced aligner associates the Spanish speech with its Spanish transcription. GIZA++ with the gdfa symmetrization heuristic supplies links between the Spanish transcription and its English translation. Composing the two gives a path from intervals in the recording through Spanish words to English words. A reference link can therefore be affected by errors in either of the two component alignments.

CALLHOME contains 17,532 Spanish utterances based on dialogue turns. The authors use a sample of 2000 sentences in one evaluation, holding out 200 for development and using the remainder as the test set. In a separate evaluation on the full collection, they use 500 utterances for development and the rest for testing. Fisher contains 143,355 Spanish utterances, with 1000 assigned to development and the remainder to testing. The larger experiments extend the evaluation to more utterances, while retaining the silver reference procedure.

The Griko collection presents a different kind of test. Griko is an endangered dialect of Greek spoken in southern Italy. The corpus contains about 20 minutes of speech and consists of 330 utterances from nine native speakers. Most utterances were prompted. A trained linguist who speaks both languages prepared the transcriptions and Italian glosses. The authors created full Italian translations and manually linked them to the Griko transcriptions. They combined those links with the alignment of speech to transcription to produce their gold reference.

The Griko split has 30 utterances for development and 300 for testing. The written Griko material plays a role in making the reference, while the tested method works from the paired utterances and translations. This is the paper’s genuinely small endangered-language example. Its value is also methodological. The hand-prepared Griko reference gives the authors a way to inspect particular words and spans without having to interpret every mismatch through the uncertainty of an automatic text alignment. The authors make the Griko translations and word alignments available with the paper.

What the baselines already know

The simpler baseline assumes that corresponding words occur in order. It allocates a stretch of the recording to each word, with duration proportional to the length of the written word in characters. Its input includes the total recording length and the sequence of words in the translation. Those clues are useful by themselves when word order stays close across the pair or when the languages share related vocabulary. This baseline tests how much can be obtained from rough duration and ordering without comparing sounds to learned prototypes.

Because the proposed method also uses written length and relative position, a comparison against this baseline is informative. A gain shows that the full procedure improves on a direct allocation built from those clues. The comparison includes all the other changes in the proposed system together. Among them are the prototype comparisons, the softer positional preference, and the candidate-boundary procedure. It does not assign an independent contribution to each change.

The second baseline is the neural attention approach from Duong and colleagues. The paper describes it as an adaptation of earlier attention-based translation work that aligns and translates speech. Its earlier results were stronger for phone-to-word alignment than for alignment from continuous speech, where it came close to the simple baseline. In the results here, the neural scores are reported for Griko and both CALLHOME settings. The Fisher table entries compare the proposed method with the positional baseline.

Griko and Italian

The proposed method’s F-score of 53.8 on the Griko test set exceeds both comparisons. The pattern in the component metrics explains the outcome. Precision is 56.6 for the proposed method, 42.2 for the positional baseline and 24.6 for neural attention. Recall is 51.2, 52.2 and 30.0, respectively. The order-based allocation covers slightly more of the reference links. The proposed alignment earns its higher F-score by giving a substantially larger share of supported links among those it proposes.

Alignment methods on the Griko–Italian test set by frame-to-word F-score

The proposed alignment scores highest on the manually prepared Griko reference.

Alignment methods on the Griko–Italian test set by frame-to-word F-scorePosition and character length: 46.7Position and character length46.7Neural attention: 27.0Neural attention27.0Proposed alignment (this paper): 53.8Proposed alignment (this paper)53.8
The numbers
System or settingF-score
Position and character length46.7
Neural attention27.0
Proposed alignment (this paper)53.8

These results matter partly because the positional baseline is already able to locate many correct frames. The Griko comparison is therefore a test of whether learning acoustic regularities from a small collection helps beyond the layout of the paired utterances. The precision and recall pattern is consistent with boundaries that eliminate some unsupported frames while leaving some true ones uncovered. To understand which words benefit and why some spans fail, the authors turn to the analyses of speakers, word duration and the acoustic scoring alternatives.

Spanish and English

On the CALLHOME sample of 2000 sentences, the proposed method reaches a test F-score of 38.8. The positional baseline scores 35.8, and neural attention scores 26.4. The proposed method’s precision and recall are 38.8 and 38.9. The corresponding figures are 31.9 and 40.8 for the positional baseline and 23.8 and 29.8 for neural attention. As on Griko, the proposed method improves precision over the positional baseline while recovering a slightly smaller share of the reference links.

Alignment methods on the CALLHOME sample test set by frame-to-word F-score

The proposed alignment leads both baselines on the CALLHOME sample.

Alignment methods on the CALLHOME sample test set by frame-to-word F-scorePosition and character length: 35.8Position and character length35.8Neural attention: 26.4Neural attention26.4Proposed alignment (this paper): 38.8Proposed alignment (this paper)38.8
The numbers
System or settingF-score
Position and character length35.8
Neural attention26.4
Proposed alignment (this paper)38.8

On the full CALLHOME test set, the proposed method achieves an F-score of 38.6, with precision of 38.4 and recall of 38.8. The positional baseline has an F-score of 35.7, precision of 31.8 and recall of 40.7. Neural attention has an F-score of 29.1, precision of 26.1 and recall of 32.9. The ordering on F-score is the same as for the smaller sample. Both CALLHOME evaluations use dialogue-turn speech and the same kind of reference construction, with different development and test selections.

For Fisher, the proposed alignment attains an F-score of 30.8, precision of 33.3 and recall of 28.7. The positional baseline gives an F-score of 27.8, precision of 24.0 and recall of 33.2. The larger corpus again shows higher precision and lower recall for the proposed method compared with the positional one. The Fisher comparison supplies evidence on another Spanish collection. Differences in scores between Fisher and CALLHOME describe performance on their respective evaluations, so corpus size alone cannot account for those differences.

Across these experiments, the regular result is a gain in precision and balanced F-score over the positional baseline. The authors attach practical importance to precision because a misleading association can waste effort in documentation, and they describe precise links as desirable for phrase extraction in statistical translation. The experiments measure link quality directly. The practical effects they discuss are reasons to care about the precision pattern.

What the ablations show

A controlled comparison of the two acoustic formulations

The paper’s most informative controlled comparison changes how acoustics and position are combined. In the main formulation, acoustics scores candidate spans for a fixed group, and position supplies another score for the same spans. The proper formulation uses a probability over groups conditioned on a span. Since the word determines which groups are allowed, its fit can depend on how decisively its group beats competitors at that span. That relative victory can occur at a stretch with incomplete evidence for the spoken word.

The separate runs already show a sizable distinction. On the CALLHOME sample of 2000 sentences, the proper formulation has an F-score of 32.1, below the positional baseline of 35.8. On Griko and Italian the proper formulation reaches 44.3. The Griko positional baseline in the main results has an F-score of 46.7, and neural attention has an F-score of 27.0. Thus 44.3 falls between those comparison scores. The paper’s narrative describes the proper formulation as beating the Griko baselines. The listed F-scores support that description for neural attention, with the positional baseline still ahead.

Separate runs can end up with different prototypes. That makes it difficult to say whether the difference arises in the final choice of spans or in what the prototypes learned. To narrow the interpretation, the authors run three iterations of training with the main formulation on Griko. They then use the resulting prototypes for one additional assignment step with each formulation. Each step therefore starts with the same acoustic representatives. The difference being tested is how the alternatives use those shared representatives to choose alignments.

Acoustic formulations with shared prototypes on Griko–Italian by frame-to-word F-score

The proposed span scoring yields more accurate links from the same prototypes.

Acoustic formulations with shared prototypes on Griko–Italian by frame-to-word F-scoreProper formulation: 44.0Proper formulation44.0Proposed formulation (this paper): 53.6Proposed formulation (this paper)53.6
The numbers
System or settingF-score
Proper formulation44.0
Proposed formulation (this paper)53.6

The controlled comparison also looks at the length of the selected spans. The proper formulation averages about 30 ± 39 frames. The main formulation averages 37 ± 24 frames, while spans in the Griko gold reference average 42 ± 26 frames. The proper formulation selects shorter spans on average and shows considerably greater dispersion in duration. The main formulation’s results are closer to the reference on both reported quantities. Because the prototypes are shared, the length pattern can arise during the choice of spans even with the acoustic representatives held fixed.

The authors illustrate the issue with individual sentences. Some spans selected by the proper formulation are much too short, and occasionally it selects a span that is much too long. The neural attention comparison also favors extreme spans in one of the examples. Another example shows a case in which the proper formulation aligns better than the main system. The authors show both kinds of outcome because the duration tendency is a pattern across decisions, with individual assignments still depending on the utterance and word.

The authors relate the pattern to what word-alignment research calls garbage collection. In the text example they describe, a source word occurring in just one sentence can attract target links and acquire a very concentrated translation distribution. Here they propose an analogous mechanism. A span can be chosen whose acoustic distribution over clusters is sharply concentrated, and short spans can allow such concentration. This makes it possible to assign a strong cluster probability to a questionable span. A system that instead scores spans conditioned on the chosen cluster asks which stretch best fits that cluster among alternatives in the recording. The fixed-prototype result supports the authors’ account of a scoring effect. The analogy is their explanation of how the effect arises.

The comparison is broader than an experiment on a normalization constant in isolation. The two formulations condition their acoustic distributions in opposite directions and consequently compare different alternatives. The measured effect applies to those two choices as implemented. It shows that making the overall formulation a proper probability distribution can come with worse alignment choices here, and the span diagnostics identify a specific type of error associated with the proper version.

How the alignments vary with the speaker

The paper shows the same Italian translation, devo comprare il pane ogni giorno, paired with versions of the Griko utterance spoken by different speakers. The visual alignments are roughly consistent across these renditions. Holding the translation fixed means that the word sequence and written length clues are the same across examples. The acoustic signal can still differ in timing and realization. The figure illustrates what it looks like for the method to locate broadly corresponding spans under that variation.

The Griko speaker breakdown provides a wider view within the same collection. For example, the group labeled female 1 has 55 utterances, an average utterance length of 9.0 words and an F-score of 49.4. The group labeled male 4 has 23 utterances, an average length of 6.4 words and an F-score of 64.0. These are speaker-level summaries within Griko, rather than controlled samples with matched utterances. The authors report broadly consistent performance across speakers, alongside higher scores for the male speakers.

The authors suggest a possible reason for the difference. The female speakers’ utterances are longer on average by about 2 words. Utterance length therefore varies with the speaker groups in this comparison. The scores describe a mixture of effects, including the recordings and the sentences each person spoke. The repeated-sentence illustration holds the translation constant, while the summary by speaker shows performance on each person’s available utterances. Neither analysis is a held-out-speaker experiment.

Which words prove easier to locate

The authors also compute F-scores for individual Italian word types in the Griko collection. Their plot compares word-level alignment quality with the average duration of the corresponding spoken material. It shows a positive association. Words with longer spoken stretches tend to be easier to locate. The authors suggest that a longer stretch provides more acoustic information for DTW to compare. With more of a trajectory available, it can be easier to distinguish the intended span from other sections of the signal.

Many of the poorly aligned stretches under 20 frames correspond to short Griko function words. The paper mentions determiners and items serving as conjunctions or prepositions. The difficulty follows from the local comparison the system has to make. A short prototype can match several sections of the same utterance well enough to compete. If a close acoustic alternative is at a plausible point in the recording, the combination of sound and position may favor the wrong span. The duration plot associates this problem with short words across examples. It does not control for grammatical role or where each word tends to occur.

The results for rare target words are particularly revealing. For Italian words that occur once, the authors report an average F-score of 63.2, with 53% of them above 70.0. The group for such a word cannot draw its acoustic example from multiple occurrences of that individual written type. The method can still use the utterance’s positional evidence, its candidate spans, and an acoustic representative initialized from the sentence pairing. The reported result shows that a target word can have a good alignment in this setup in spite of having only one occurrence. It leaves open which clues contributed most for any individual rare word.

The duration and rarity analyses address different properties. Duration describes how much audio a spoken occurrence supplies for comparison. Rarity describes how many opportunities the written word offers to learn recurring structure. The paper observes that short spans are difficult and that rare written words can align well. Those observations can coexist because a word that appears once can occupy a long, distinctive stretch. The study does not report a controlled comparison crossing frequency with duration, so it leaves their relative contributions unresolved.

What the comparisons isolate

The authors report that restricting each target word to the fixed cluster choices speeds training with nearly no change in accuracy. They give no separate set of scores for that choice. Their numerical comparison of the acoustic formulations is more specific, and the shared-prototype test shows that the decision rule itself changes the resulting alignment spans. The speaker and word analyses describe how performance varies across subsets of the Griko material.

The article also compares a full procedure against a positional baseline. That demonstrates a benefit from the added machinery as a whole. The experiments leave the individual effects of the phone-boundary detector, the silence rules, the prototype update and the character-based duration preference open. This distinction matters when interpreting the results. The paper tests why one way of scoring spans helps with a concrete failure mode. It offers descriptive evidence about several other aspects of performance.

Limitations

Limits the authors identify

The authors emphasize that the tested language pairs have relatively little reordering. The baseline is strong partly for that reason. The proposed system has a softer version of a related preference. Its positional term rewards endpoints near locations predicted from a progression through the translation and the recording. A substantially different order would give that term reason to favor the wrong part of the signal, especially when acoustic evidence is ambiguous. The authors expect more divergent pairs to be harder for their method and the simple positional baseline.

They suggest investigating IBM Model 3 or a hidden Markov approach to word alignment as alternatives to the fast_align-based position term. Those proposals indicate where the current design might need to change when distortion is greater. The paper evaluates the fast_align adaptation on the available pairs and leaves performance under the more difficult reordering conditions unresolved.

The authors also leave open the reverse conditional direction, which would describe speech given text. The chosen direction makes DTW easy to incorporate because it scores possible spans in an observed signal. The implemented alignment scores need that signal as input. Separately, the paper leaves the effect of the alignments on documentation and speech translation to future work. No downstream measure establishes how much time a linguist saves or how well an eventual translation system performs.

The authors explicitly call out the deficient normalization of the main score. Their result is that its alignments are better than those of the normalized formulation they try. A practical ranking can succeed even when its scores lack the interpretation of a full conditional probability distribution. The observed alignment advantage supplies no estimate of how reliable those scores would be as probabilities or confidence values.

Limits visible in the experimental setup

The term unsupervised applies to learning word-level correspondences from pairs of speech segments and translations without supplied word links for the training procedure. The system is still given the translated text and the sentence pairing. Development alignment F-score is also used to select the positional precision. The reported setting therefore includes a small amount of alignment supervision for tuning. The study does not show how precision would be selected in a setting where no word alignment judgments can be obtained.

The evaluation labels differ in how they were produced. A mismatch against the Spanish references can arise from an error in the predicted span, the forced alignment, or the word links between the written sentences. The Griko reference has manual linguistic annotation behind it, but the corpus is small and mostly prompted. The evaluation supports conclusions about these collections. It provides limited evidence about spontaneous Griko conversation, broader speaker populations, or speech recorded under quite different conditions.

The speaker analysis illustrates consistency among the speakers in the corpus. It has no design in which speaker identity is held out as the primary test variable, and the speaker groups differ in average utterance length. Similarly, the sample and full CALLHOME results use different evaluation splits. They give observations at different data scales, with no controlled learning curve on an identical test set. A separate qualification applies to Fisher, where the reported results support a comparison with the positional baseline and supply no score for neural attention.

Several structural assumptions narrow what an alignment can express. The setting p₀ = 0 requires a source counterpart for each target word. A translation can introduce an explicit word for something conveyed only implicitly in the speech, leaving the system to choose a span anyway. Each target occurrence is assigned a contiguous stretch. A correspondence distributed across separated source regions is therefore difficult to express precisely. The paper’s scores summarize recovered frame links under these assumptions and do not separately characterize such translation cases.

The source groups likewise depend on target vocabulary. A single source form may be assigned separate prototypes when it has different translations, and the fixed inventory can also constrain the treatment of a written word with many possible spoken equivalents. This is reasonable for a system evaluated on alignment to known text. It limits the conclusions that can be drawn about discovering an independent inventory of Griko or Spanish words.

Candidate selection and parameter estimation add practical bounds. A missed boundary can keep a desirable span out of the search, while a silence decision can remove or move a boundary before its acoustic suitability is considered. Hard assignments use only the chosen spans in subsequent updates, and the DBA approximation leaves out the span normalizer. The authors stress the importance of initialization, and the study gives no run-to-run analysis that quantifies sensitivity to its random choices. The results establish the effectiveness of the reported procedure in its tests. Exact optimization and stability across initializations remain open.

Finally, the frame-to-word metric measures agreement with a localization reference. It gives credit for overlap and weights correspondence through the individual frame links. It supplies a direct evaluation of alignment quality, while leaving other questions about the output to separate assessments. A linguist might care about whether the whole spoken word can be recovered from the span, and a translation system might need spans that support phrase construction. Those are distinct endpoints from the aggregate alignment score.

What came after

Later citations connect this paper to work on both speech translation and language documentation. One concerns the preparation of a speech translation decoder, the component responsible for producing translated text. The connection is at the level of speech translation research. The alignment paper starts with the target sentence and asks where its words correspond to the speech. Decoder pretraining concerns the part of a system that produces that sentence. The citation establishes a relationship between the papers. Whether the decoder study uses the earlier span assignments, acoustic prototypes or training procedure is unspecified. Effectively Pretraining the Speech Translation Decoder

The other citing work concerns spoken term discovery for language documentation. This topic is close to the earlier paper’s use of repeated acoustic sequences and its goal of making recordings easier to interpret. Word-to-span alignment starts from a translated word and looks for its counterpart in a particular recording. Spoken term discovery centers on finding recurring material in the speech itself. The citation links these problems, while the details of any technical reuse or evaluation with the earlier alignments remain unspecified. Spoken Term Discovery for Language Documentation

Cite

Cite as Antonios Anastasopoulos, David Chiang and Long Duong. 2016. An Unsupervised Probability Model for Speech-to-Translation Alignment of Low-Resource Languages. Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing.

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

@inproceedings{anastasopoulos2016unsupervised,
  title = {{An Unsupervised Probability Model for Speech-to-Translation Alignment of Low-Resource Languages}},
  author = {Antonios Anastasopoulos, David Chiang and Long Duong},
  booktitle = {Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing},
  year = {2016},
  doi = {10.18653/v1/d16-1133},
  url = {https://doi.org/10.18653/v1/d16-1133}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/anastasopoulos-2016-unsupervised-probability-model-speech-translation/