Elamur Research

Neural Speech Translation using Lattice Transformations and Graph Networks

Paper · 2019 · Daniel Beck, Trevor Cohn and Gholamreza Haffari

Summary

A speech recognizer can return several plausible readings of an utterance even when a translation system needs to produce a single answer. Passing along only the recognizer’s top choice makes the translator depend on decisions that were made before any translation took place. Beck, Cohn and Haffari study a different arrangement for speech. They give the translator a lattice, a graph whose paths represent alternative readings. The practical question is whether this arrangement can work when a user has the recognizer’s outputs and translations for training, while the original source-language transcriptions are unavailable.

The authors reorganize the lattice so that words become nodes. They then use byte-pair encoding to split words into reusable pieces, merge nodes made redundant by that operation, and add connections that let information travel in both directions. A gated neural graph encoder updates the representation of each node from its neighbors. The translation decoder attends to those representations as it produces the target sentence. The graph updates can be batched on a GPU, addressing a training bottleneck the authors identify in an earlier lattice encoder.

The experiments use Spanish telephone speech and English translations from the Fisher/Callhome corpus. On Fisher dev2, the ensemble that takes the recognizer’s top transcript scores 36.1 on the BLEU score. The corresponding scores are 38.3 with word lattices and 39.1 with segmented, minimised lattices. The strongest result among the runs selected by development performance comes from segmentation without minimisation, so the preference for the minimised representation depends on how the predictions are combined. When the authors also train on gold Spanish transcriptions and continue to evaluate on recognizer lattices, the ensemble reaches 42.3 BLEU on Fisher dev2.

The authors report 15min per training epoch for their architecture, compared with 1.5 days per epoch reported by the earlier lattice system. The figures describe different implementations, with GPU batching in the new system and CPU computation in the earlier one. Most of the authors’ experiments discard the recognizer’s scores for the alternatives. Their attempt to feed those scores into the encoder through a learned embedding lowers BLEU in both reported settings. The study therefore demonstrates a practical way to pass recognition alternatives into translation training and leaves open how best to carry the recognizer’s confidence along with them.

Deep dive: Neural Speech Translation using Lattice Transformations and Graph Networks

How a graph encoder translates speech from recognition lattices, what subword segmentation and minimisation change, and how the system performs. · about 31 minutes to read

The problem and its context

Where recognition ends and translation begins

Translating an utterance requires working out what was said and how to express it in another language. A pipeline gives those responsibilities to separate components. An automatic speech recognizer, or ASR system, processes the source speech. A machine translation system receives some representation of what the recognizer heard and produces text in the target language. The design choice in this paper concerns the information that crosses that boundary. The recognizer can pass a sentence, or it can pass a structure that supports several possible sentences.

The sentence interface is called 1-best because the pipeline keeps the recognizer’s highest-ranked transcription. It fits a conventional translation encoder, which expects a sequence. As soon as the recognizer commits to that sentence, a competing word or word sequence disappears from the translator’s input. The translator can still produce a plausible target sentence from the text it has received. Its decisions about the source, however, have to start from the words that survived recognition.

A word lattice keeps alternatives together in a directed graph. Each complete path corresponds to a possible reading of the utterance. Parts shared by different readings can occur in the same region of the graph. A branch might carry a different word, for example, and then lead back to a continuation shared with another reading. The path structure records which pieces can follow which. A collection of words alone would lose that information, even if it contained the same vocabulary as the lattice.

Recognition scores supply another kind of information. The branches and their connections specify which alternatives are present. Scores can help express the recognizer’s preferences among them. Those are separable properties of the input. A downstream system that keeps the graph while dropping its scores still receives alternatives and their ordering constraints. It has less information about how the recognizer ranked them. That distinction matters because the paper’s main experiments use the first kind of information, and a separate experiment tests a way of bringing the second back.

Why keep the interface

The paper places this choice in a line of speech translation research that includes statistical and symbolic systems as well as neural approaches. It describes pipelines as common and also discusses end-to-end systems that translate from speech without passing a transcription or lattice between separate recognition and translation stages. The authors recognize the results obtained by direct translation and identify a practical situation where a pipeline remains attractive. Someone using an off-the-shelf recognizer may receive its output without having all the source material needed for a different training setup.

In particular, the authors want to reduce the translation system’s dependence on gold transcriptions. A gold transcription is the reference account of what was said in the source language. In this study, that would be Spanish text. It serves a different purpose from the English translation, which tells the translation system what to produce. The paper’s out-of-the-box scenario retains the target translations as training supervision and takes the source inputs from recognition output. The question about access to transcriptions is consequently a question about source-side supervision.

An intermediate text-bearing structure also gives the pipeline a place to apply textual operations. The introduction points to monolingual corpora and dictionaries as resources that could in principle enrich a lattice. The reported method explores a specific instance of this flexibility by segmenting the lattice’s words into sub-words. The distinction between the motivating examples and the implemented one matters. The experiment evaluates a transformation based on the Spanish training lattices themselves. The external textual resources illustrate what such an interface might support.

There is a tradeoff at this boundary. A lattice can pass more of the recognizer’s evidence downstream, and the translator must have an encoder that knows what to do with it. A sequence encoder can update a representation by stepping through a sentence in order. At a lattice branch there may be multiple predecessors or successors. Picking a single traversal as if it were the input sentence would require a decision about those alternatives. The paper instead uses their connections to define where the encoder should gather information.

The previous lattice approach

The immediate comparison is the lattice-to-sequence system of Sperber and colleagues. In the account given by Beck and colleagues, that work already provides a neural translator with a way to consume a lattice. It also offers a method for using recognition scores in the attention mechanism. Its relevance to this paper goes beyond serving as a numerical baseline. It establishes a concrete predecessor that confronts the same problem of translating when the source is uncertain.

The authors identify training speed and access to transcriptions as practical obstacles in that predecessor. Its lattice computations lacked an efficient batching procedure of the kind the new paper seeks to use. The earlier work also relied on transcriptions for pretraining. Here pretraining refers to a stage before the main lattice-based training, during which the system has access to source text. The new work asks how far lattice training can go when that material is unavailable, and tests separately what happens when it can be added.

Speed matters to the experimental question because training time affects which comparisons are practical. A trainer that can process batches efficiently can afford to repeat a setup with different random seeds and combine predictions from several runs. A comparison between ensembles and individual runs therefore reflects an opportunity created by the implementation as well as a choice about prediction. The paper gives both kinds of results, which helps distinguish the quality of a selected run from the quality of the complete ensemble.

A further distinction concerns where to encode uncertainty. A decoder’s attention mechanism can use recognition scores when deciding which source representations matter for the next output. A graph encoder can instead expose scores while computing the source representations themselves. The predecessor gives the authors an example of the former. The score experiment in this paper tries a version of the latter. Keeping the roles of encoder and decoder separate makes it easier to see why the results of those approaches need not agree.

Why a general graph encoder fits

The paper presents graph networks as a family with several possible designs. Its choice is a gated graph neural network, abbreviated GGNN, which updates a node through information derived from its neighbors. That choice draws directly on the authors’ earlier use of a gated graph encoder for producing sequences from graphs. The speech translation paper brings that arrangement to a recognizer’s lattice and changes the lattice so it fits the encoder. Graph-to-Sequence Learning using Gated Graph Neural Networks

A general graph encoder still needs decisions about what belongs on nodes and what belongs on edges. In the original word lattice, edges carry much of the useful content. A GGNN can learn different transformations for different edge labels, which makes a large edge inventory expensive in parameters. A graph whose edges are labeled with recognized words would put a potentially large vocabulary into that part of the encoder. Moving words onto nodes lets the system represent the vocabulary with embeddings and reserve edge-specific transformations for structural relationships.

These considerations lead to a design with three connected parts. The lattice supplies the alternatives. A series of transformations puts their text and connectivity into a form suited to a graph encoder. The decoder converts the resulting collection of source representations into a target sentence. The paper’s translation comparisons ask what changes when the first two parts retain and reorganize the recognition alternatives, while the output remains a sequence.

The method, step by step

From word arcs to word nodes

The starting point for the lattice systems is a pruned word lattice from the recognizer. In the original representation, an edge is an allowed transition bearing a word, and the nodes mark places where transitions meet. Reading the word labels along a complete path gives an available transcription. The figures follow a Spanish lattice through the graph transformations and then show the final graph paired with an English translation. The change from one diagram to the next is a change in how the same source utterance is presented to the translator.

The first major structural operation forms a line graph. To see what that means, take two edges from the original lattice that can be followed in succession. Each becomes a node in the new graph. There is a connection from the first new node to the second because the corresponding edges were consecutive in the original. The words that used to label edges are now labels on nodes. Following a path through the new graph reads the words off those nodes, in the order allowed by the original lattice.

At a branch, this transformation carries forward the available adjacencies. If the original edge for a word can be followed by different edges, the new node for that word can connect to the nodes representing those successors. An encoder can now look up a representation for each of those word nodes and use the outgoing or incoming connections to determine how they interact. The graph can still have multiple routes through it. The transformation changes which objects the network treats as the units that hold text.

The motivation comes from the distinction between a node embedding and an edge-specific weight. An embedding is a learned vector assigned to a label. Different words can get different vectors while using the same kinds of connections. An edge-specific weight tells the encoder how to transform a neighbor’s representation across a relation of a particular kind. The line graph makes the spelling or identity of the word a matter for the embedding lookup. The network’s structural weights can then be shared across many parts of a lattice carrying different words.

The authors add start and end symbols after changing to the line graph. They supply boundary nodes that connect the graph’s possible paths to a beginning and an end. These boundaries can participate in the same neighborhood updates as the word or sub-word nodes. The main pipeline drops recognition scores. The first drawing of the lattice transformations already depicts the lattice after score removal, and the score-bearing variant is tested separately.

From a recognition lattice to a translation

The steps in order.

From a recognition lattice to a translationStep 1: Remove recognition scores from the lattice1. Remove recognition scores from the latticeStep 2: Form the line graph and add boundaries2. Form the line graph and add boundariesStep 3: Segment word nodes into subword chains3. Segment word nodes into subword chainsStep 4: Merge equivalent nodes through minimisation4. Merge equivalent nodes through minimisationStep 5: Add reverse edges and self-loops5. Add reverse edges and self-loopsStep 6: Encode nodes by updating from their neighbors6. Encode nodes by updating from their neighborsStep 7: Attend to the encoded graph and decode7. Attend to the encoded graph and decode

Splitting and merging

The next operation is subword tokenization with byte-pair encoding, or BPE. A whole word can serve as an input symbol if it is in the learned sub-word vocabulary. A word outside that vocabulary can be expressed as a sequence of smaller symbols. This makes it possible for different words to share portions of their representations at the level of input symbols. The authors derive the Spanish vocabulary from the training lattices and use 8K split operations to build the segmentation. Neural Machine Translation of Rare Words with Subword Units

Applying this procedure to a sequence would simply replace a word with a span of pieces. Applying it to a graph requires specifying how paths reach and leave the replacement. The paper splits the word node into a left-to-right chain. The preceding part of a path leads into the chain, the pieces follow their segmentation order, and the last piece leads onward. An alternative route that did not go through the original word can still take a different route. The resulting graph describes alternatives over sub-word units.

This matters because a recognition alternative can differ from another in ways that a word-level vocabulary treats as completely separate. After segmentation, the words may contain pieces with common labels. The graph can represent those labels explicitly while still routing the alternatives through the appropriate continuations. Two nodes with the same label can also serve different roles because they occur in different parts of the lattice. Connectivity determines whether there is any opportunity to share the nodes themselves.

Sub-word splitting creates a reason to inspect the graph again. Portions introduced by the split can duplicate one another under the lattice’s path structure. The authors apply automaton minimisation to identify equivalent nodes and combine them. Equivalence is doing the work here. A merger based only on matching labels could join paths that license different continuations and thereby admit unintended readings. An equivalence-based merger uses the role of a node in the structure to decide when the two can be represented together.

An automaton represents which strings can be read by following transitions. Its minimisation groups states whose distinct identities are unnecessary to express that set of strings. The paper uses Hopcroft’s procedure, which searches for redundancy using equivalence classes. In the paper’s account, the resulting operation reduces duplication created by segmentation. It operates on the lattice representation before graph encoding, so equivalence concerns the paths the graph supports and precedes any learned vector updates.

O(n log n)

Here O gives the asymptotic order of growth of the running time reported for the minimisation procedure. n is the number of nodes and log n is its logarithm. Juxtaposing n and log n denotes multiplication. This bound describes the stated graph operation. The reported times per training epoch describe the training implementation as a whole.

Minimisation also changes the network’s input even when it preserves the represented readings. A shared node gets a representation computed from the neighborhood of that shared node. In an unminimised graph, two equivalent copies would each have their own position and their own neighborhood in the computation. Moreover, the decoder attends over the actual nodes it receives. A duplicated unit and a merged unit therefore present different choices to attention. Preserving paths explains why minimisation is a legitimate way to represent the lattice, while the translation experiments determine how that representation works with the encoder and decoder.

Giving information more routes through the graph

The final graph edit adds reverse edges and self-loops. A reverse edge allows a message to travel back along a connection whose original direction follows the utterance. A self-loop allows a node to participate in its own neighborhood update. These added connections receive their own parameters, so a message brought back from a successor can be treated differently from one arriving along a forward connection. The graph encoder can exploit context on both sides of a node without asking the recognition lattice to license backwards transcriptions.

This is another place where the representation has two uses. The original forward graph records admissible paths through the recognition output. The augmented graph specifies sites of communication in the encoder. A backward message connection does not require the decoder to read a target word from a backward path. Its purpose is to make a neighbor’s information available when computing a source representation. The paper situates these extra edges in established practice for neural encoders over graphs. Graph Convolutional Encoders for Syntax-aware Neural Machine Translation

Self-loops coexist with a direct path from a node’s old state to its new state. Their functions differ. The edge lets the earlier state participate as a neighbor in a learned transformation and summation. The direct path supplied by the update gate controls how much of the earlier state is carried forward in the final update. Thus an encoder layer has a way to use the current node as evidence while forming an update and a separate way to preserve its representation.

The gated node update

The input to the graph encoder is a collection of node embeddings and a description of the directed, labeled connections among them. The notation below uses t consistently for the update index. A superscript in parentheses on a state or gate indicates its update step. A superscript identifying a gate on a weight or bias identifies a parameter family.

G = {V, E, Lᵥ, Lₑ}

G denotes the directed graph, V the set of nodes and E the set of directed edges. Lᵥ is the vocabulary of node labels and Lₑ is the vocabulary of edge labels. A node is denoted by v or u, with its label drawn from Lᵥ. An edge is denoted by e, with its label ℓₑ drawn from Lₑ. The braces group the constituents of the graph description.

e = (u, v, ℓₑ)

e is an edge from source node u to destination node v. ℓₑ is its label. The position of the nodes in the tuple specifies the direction. In the encoder equations, Nᵥ denotes the neighborhood from which node v receives messages, and the edge in a term of the sum is the one connecting the indexed neighbor to v.

hᵥ⁽⁰⁾ = xᵥ

hᵥ⁽⁰⁾ is the initial hidden state of node v. The superscript ⁽⁰⁾ marks initialization. xᵥ is the input embedding for that node, drawn from the collection of node embeddings denoted by X. The state is initially just the learned representation of the node’s input label. The graph’s neighboring context enters through the updates that follow.

rᵥ⁽ᵗ⁾ = σ(cᵥʳ ∑ᵤ∈Nᵥ (Wₑʳ hᵤ⁽ᵗ⁻¹⁾ + bʳ[ℓₑ]))

rᵥ⁽ᵗ⁾ is the reset gate at node v and step t. σ is the sigmoid function. ∑ᵤ∈Nᵥ sums the terms for neighbors u in Nᵥ, and cᵥʳ is the reset gate’s normalization factor for node v. Wₑʳ is the reset gate’s weight transformation corresponding to edge e. It acts on hᵤ⁽ᵗ⁻¹⁾, the preceding hidden state of neighbor u. The summand adds bʳ[ℓₑ], the reset gate’s bias associated with edge label ℓₑ. The resulting gate helps determine how earlier neighbor information enters the candidate update.

zᵥ⁽ᵗ⁾ = σ(cᵥᶻ ∑ᵤ∈Nᵥ (Wₑᶻ hᵤ⁽ᵗ⁻¹⁾ + bᶻ[ℓₑ]))

zᵥ⁽ᵗ⁾ is the update gate for node v at step t. Here cᵥᶻ normalizes the neighborhood sum for this gate, Wₑᶻ is its edge-dependent weight transformation and bᶻ[ℓₑ] is its edge-label bias. The sum again operates over u in Nᵥ using the previous states hᵤ⁽ᵗ⁻¹⁾. The sigmoid σ turns the result into gates that control how much of the candidate state enters the final update. The reset and update gates use separate parameter families.

h̃ᵥ⁽ᵗ⁾ = ρ(cᵥ ∑ᵤ∈Nᵥ ((Wₑ rᵤ⁽ᵗ⁾) hᵤ⁽ᵗ⁻¹⁾ + bₑ))

h̃ᵥ⁽ᵗ⁾ is the candidate hidden state for node v at step t, and the tilde marks it as a candidate. ρ is a nonlinear function, and cᵥ normalizes the sum of the candidate contributions. For each u in Nᵥ, Wₑ is the candidate’s weight transformation for edge e, rᵤ⁽ᵗ⁾ is the reset gate of the neighbor and hᵤ⁽ᵗ⁻¹⁾ is its previous state. The grouped term combines the transformed reset gate with that previous state, and bₑ adds the edge-dependent candidate bias. The result aggregates gated information from the neighborhood.

hᵥ⁽ᵗ⁾ = (1 − zᵥ⁽ᵗ⁾) ⊙ hᵥ⁽ᵗ⁻¹⁾ + zᵥ⁽ᵗ⁾ ⊙ h̃ᵥ⁽ᵗ⁾

hᵥ⁽ᵗ⁾ is the new hidden state for v. hᵥ⁽ᵗ⁻¹⁾ is the same node’s preceding state, h̃ᵥ⁽ᵗ⁾ is its candidate state and zᵥ⁽ᵗ⁾ is its update gate. ⊙ makes the componentwise multiplication in the interpolation explicit. The 1 supplies the complement of each update gate value. The first product carries forward part of the old state, and the second contributes part of the candidate. Addition combines the two into the state available to subsequent computation.

cᵥ = cᵥᶻ = cᵥʳ = |Nᵥ|⁻¹

cᵥ, cᵥᶻ and cᵥʳ are the normalization factors for the candidate, update gate and reset gate. |Nᵥ| is the number of neighbors in the neighborhood of node v, and the exponent ⁻¹ gives the reciprocal. The factors scale each neighborhood sum by its size. A node with many neighbors consequently does not receive a larger aggregate merely because more terms were added with the same values.

The authors relate these updates to the gated recurrent unit, or GRU, in the case of a linear chain. The analogy helps locate what is being generalized. A recurrent encoder uses previous state and a learned gate to control what information is carried forward. In the graph, the update is built from a neighborhood, with the edge determining which transformation acts on each contribution. A branch can therefore contribute several states to a node’s update. Learning Phrase Representations using an RNN Encoder–Decoder

In a single layer, the node states used by an update come from the preceding states of nearby nodes. Stacking layers lets a representation depend on information from farther away, because a neighbor’s state already incorporates information from its own neighborhood. In the speech lattice, this gives a sub-word representation access to context beyond the other pieces of its own word. It also allows information to move through a branching or merging region. The depth and connections determine the routes by which that influence can travel.

The updates operate over vectors and graph adjacencies, which can be represented in matrices. The authors use matrix operations to batch graphs for GPU computation. The operation is over nodes and edges of the graph supplied to the encoder. It does not require enumerating every complete transcription as its own input sequence. Shared parts of a lattice can contribute through their graph representations even when the graph supports several possible complete paths.

From node states to target text

The encoder outputs a set of hidden states, one for each node in the transformed graph. The decoder must decide which source information is relevant as it produces each part of its target sequence. The architecture uses bilinear attention for this purpose. Attention computes a relevance score between the decoder’s current representation and each source state. A bilinear score relates the two vectors through learned weights. The resulting source context can change from one target step to the next. Effective Approaches to Attention-based Neural Machine Translation

The sequence decoder is a 2-layer long short-term memory network, or LSTM. It maintains a running target-side state while producing the translation, and attention gives it a way to use the encoder’s graph states at each stage. Figure 2 makes the distinction between the sides explicit. Its source is the transformed Spanish lattice from the preceding figure, and its output is the corresponding English translation as a sequence.

The graph states carry information from local structure and embeddings. Even when the decoder gives attention to an individual node, that node’s state has already been affected by its graph neighbors. Attention itself ranges over these representations. The architecture therefore does not require the decoder to choose a complete source path before it begins generating the target. The experiments measure success through the resulting English text and do not require it to produce an intermediate corrected transcription.

Preparing the training examples

Training pairs join Spanish recognition output with the corresponding English translation. The Spanish input for a lattice system is passed through the designated transformations. For the 1-best baseline, the recognizer’s preferred sentence is the source sequence. The authors lower-case the English translations and remove punctuation, following the earlier experiments they cite. This makes the English target preparation common across the reported comparisons.

For systems with word inputs, they remove tokens whose frequency is below 2. They apply no frequency threshold to the sub-word systems. That difference becomes relevant when trying to isolate what segmentation contributes. The transition from a word lattice to a sub-word lattice changes the input units and the vocabulary treatment together. Both choices are part of the authors’ procedure for their respective representations.

In a second training condition the authors include gold Spanish transcriptions. They segment those transcriptions with BPE and represent each as a linear chain graph. A linear chain fits the same encoder interface as a lattice and expresses a fixed source sequence through its connectivity. The authors take the union of the chain examples and the lattice examples to make a training set. Development and test inputs remain lattices. This lets them assess a training resource while holding the type of input available at evaluation constant.

The implementation uses Sockeye, and the authors name a replication repository, textgraphs2019_lat2seq. Most hyper-parameters use the toolkit’s defaults. The reported exceptions are a batch size of 16 and 8 GGNN layers. They report dropout of 0.5 on input embeddings, which randomly removes a portion of the embedding input during training for regularization, and use early stopping on the corresponding Fisher development set. Early stopping uses development performance to determine when training should end.

Experiments and results

Corpus, comparison and metric

The experiments use the original release of the Fisher/Callhome Speech Translation corpus. It pairs utterances from Spanish telephone conversations with English translations and supplies both 1-best recognizer outputs and pruned lattices. The authors give the size of Fisher as 150K instances, use the corpus’s original splits and train on the Fisher training set. The recognition hypotheses are already available in the release. The study’s intervention begins at the inputs to the translation system.

The numerical results are for Fisher dev2. The authors also ran experiments on the Callhome test set and report that they observed the same trends there. They omit the Callhome scores, so the reader can see the magnitude of the comparisons on Fisher dev2 and has a qualitative account for Callhome. In particular, a number shown for a Fisher system cannot be transferred to a Callhome split.

BLEU measures how closely the generated English text matches reference translations through shared sequences of words. The comparison is about translation output, as opposed to word recognition accuracy. For instance, retaining an alternative in the lattice could matter if it lets the translator produce English better supported by the reference, even if the experiment never reports which Spanish path corresponded to the prediction. A higher BLEU score is better under the evaluation used in the paper. Bleu: a Method for Automatic Evaluation of Machine Translation

The authors use two forms of reporting for the systems they train. They train each setting with 5 random seeds. The median column evaluates the run chosen by its median performance on the development set. The ensemble column evaluates the combined predictions of the 5 runs. The table’s median label therefore describes how the individual run was selected. It is useful to keep that selection step in view when reading the dev2 score reported for that run.

The 1-best baseline uses a standard sequence-to-sequence architecture. The lattice systems use the gated graph encoder and the common sequence decoder design described above. The basic comparison asks how a translation system that receives the recognizer’s chosen string fares against one that receives the lattice. Subsequent comparisons within the graph family keep the overall graph-to-sequence setup and change how the graph is constructed.

Recognition output alone

The out-of-the-box condition simulates access to the recognizer’s outputs without gold Spanish transcriptions for translation training. It compares the 1-best system with three lattice representations. The word lattice setting retains whole-word nodes. The next setting introduces sub-word segmentation. The final setting also minimises the segmented graph. Recognition scores are omitted in these reported runs.

Out-of-the-box recognition inputs on Fisher dev2, ensemble BLEU

Every lattice setting exceeds the top-transcript baseline, and the minimised lattice gives the strongest ensemble.

Out-of-the-box recognition inputs on Fisher dev2, ensemble BLEU1-best transcript: 36.11-best transcript36.1Word lattice: 38.3Word lattice38.3Segmented lattice: 38.7Segmented lattice38.7Segmented and minimised lattice (this paper): 39.1Segmented and minimised lattice (thispaper)39.1
The numbers
System or settingBLEU
1-best transcript36.1
Word lattice38.3
Segmented lattice38.7
Segmented and minimised lattice (this paper)39.1

The ensemble result moves from 36.1 BLEU for the 1-best input to 38.3 BLEU for the word lattice, before introducing either sub-word segmentation or minimisation. This is the central comparison for whether the proposed graph pipeline can make use of recognition alternatives. On the same split, adding segmentation yields 38.7 BLEU for the ensemble, and adding minimisation yields 39.1. The figures associate the best ensemble with the combined transformations.

The selected individual runs show a related pattern with a different ordering among the lattice variants. Their Fisher dev2 scores are 32.4 BLEU for 1-best and 34.4 for the word lattice. The segmented lattice reaches 34.5. The segmented and minimised lattice yields 34.3. Each lattice result is above the selected 1-best run, while the highest selected-run score belongs to segmentation alone. The minimisation result is therefore specific to the ensemble comparison when described as the best out-of-the-box result.

The distinction also matters when interpreting what made the system competitive. Most of the separation from the 1-best baseline is already visible in the word lattice comparison. Once the encoder has the alternative words and their connections, the subsequent transformations change a system that is already above the sentence baseline on dev2. They change both the form of the graph and the behavior of the complete translator, with the ensemble showing the clearest ordering across the successive variants.

Adding gold transcriptions to training

For the setting with access to the original Spanish transcriptions, the comparison starts from the segmented and minimised lattice system. The authors add the gold chain examples to its training set and evaluate it on lattice inputs, as before. This keeps the experimental question focused on the usefulness of transcriptions as a training resource. A transcription is never required as the input for an evaluation utterance in this comparison.

Gold transcription augmentation on Fisher dev2, ensemble BLEU

Adding gold transcription chains during training improves the ensemble evaluated on recognition lattices.

Gold transcription augmentation on Fisher dev2, ensemble BLEUSegmented and minimised lattice: 39.1Segmented and minimised lattice39.1Segmented and minimised lattice with gold training transcriptions (this paper): 42.3Segmented and minimised lattice withgold training transcriptions (thispaper)42.3
The numbers
System or settingBLEU
Segmented and minimised lattice39.1
Segmented and minimised lattice with gold training transcriptions (this paper)42.3

The selected-run result rises from 34.3 BLEU to 37.1 on Fisher dev2 with the addition of the gold chains. The ensemble moves from 39.1 to 42.3 BLEU on the same split. Both reporting modes favor adding the transcriptions. The reported improvement is compatible with the practical case for lattice-only training. Access to source text helps when it is available, while the original lattice inputs remain usable when it is absent.

The comparison contains two related changes to the training material. The system sees a clean Spanish rendering of speech that also has lattice examples, and the union expands the set of input–target pairs used for training. The result measures that augmentation policy as a whole. It is informative for the practical decision addressed in this part of the paper, which is whether to add the transcriptions when they are available for training.

Earlier results and training speed

The paper gives earlier Fisher dev2 results with their score conditions identified. Sperber and colleagues’ system is listed at 36.9 BLEU without lattice scores. With scores, the earlier result from Post and colleagues is 36.8 and that from Sperber and colleagues is 38.5. These figures appear in the paper’s comparison with the transcription-augmented system. They come from separate systems, and the table does not give a pair of median and ensemble values for each earlier entry.

The transcription-augmented selected run reaches 37.1 BLEU, which the authors compare with the earlier 36.9 in the condition where both approaches omit lattice scores. The lattice-only ensemble at 39.1 exceeds the earlier 38.5 attributed to Sperber and colleagues with scores. This last comparison concerns the authors’ strongest combined predictions in the out-of-the-box scenario. The corresponding selected individual run scores 34.3. Reporting both numbers shows how much the comparison depends on which form of the new system is being evaluated.

The other reported measure concerns time per epoch. The new architecture takes 15min per training epoch, and the earlier system is reported to take 1.5 days per training epoch. An epoch is a pass through the training data. The authors attribute the practical advantage to GPU batching in their graph network, whereas the earlier implementation relied on CPU computation. These are reported training times for the implementations in question, and they help explain why the authors can use repeated runs and an ensemble as part of the practical comparison.

Training per epoch and prediction at test time are different parts of the cost. The paper connects the shorter epoch to the feasibility of training the lattice approach and compares translation scores produced by either a selected run or an ensemble. The epoch timing gives no corresponding value for the time to translate an utterance with the ensemble. In interpreting its highest BLEU results, the relevant system is the combined predictor described in the evaluation, with the timing evidence supplied for graph encoder training.

What the ablations show

Alternatives, segmentation and minimisation

The most informative part of the out-of-the-box comparison is the progression from a sentence to a word lattice and then through the proposed graph transformations. The first change brings the largest separation evident between successive inputs in both reported settings. That supports retaining recognition alternatives in this pipeline. It also changes the encoder from a sequence architecture to a GGNN, so the magnitude belongs to the combined input-and-encoder change. A tighter causal comparison would need the same architecture operating under both input conditions.

The word lattice and segmented lattice give a closer comparison within the graph setup. Moving to segmented input increases the Fisher dev2 selected-run result from 34.4 to 34.5 BLEU and the ensemble result from 38.3 to 38.7. The direction agrees across the two reported prediction arrangements. The word-based input uses threshold pruning and the sub-word input does not, so the observed change reflects the representation and its associated vocabulary treatment. The paper does not break the effect down by the kinds of words recovered.

Minimisation changes only the final step in the comparison between the segmented graphs. The selected run goes from 34.5 BLEU with segmentation to 34.3 with segmentation and minimisation, while the ensemble goes from 38.7 to 39.1 on Fisher dev2. A compact graph can present useful representations to the ensemble even when the median-selected result favors the unminimised version. The opposite directions also make it difficult to assign a uniform translation gain to the minimisation step itself.

A structural rationale and an observed BLEU outcome answer different questions about that step. The rationale is that sub-word splitting can introduce equivalent nodes, and minimisation can represent them once. The score comparison tests what happens after those graphs are encoded and used to generate target sentences. An equivalence relation over accepted paths places no requirement on the distributions learned by the decoder. The two observed orderings are consistent with this difference between the automaton and the trained translator.

The progression does not contain a row for each internal graph design choice. The line graph, the boundary symbols, the reverse connections and the self-loops are ingredients of the encoder input. The paper does not remove each of those ingredients in turn and report a separate dev2 comparison. Their motivations are architectural. The measured transformation comparisons concern the complete word lattice setup, adding segmentation to it, and adding minimisation after segmentation.

Recognition scores

The basic lattice gives the encoder a choice of paths without explicit recognition confidence. The authors investigate one way to include that confidence by passing a score through a multilayer perceptron, a learned feedforward network that maps its input to a representation. The experiment makes the score available through an embedding in the graph encoder. This tests whether the translator benefits from that particular presentation of a recognition score.

Score embeddings for lattice translation on Fisher dev2, ensemble BLEU

The ensemble using the original score-free graph encoding performs better than the variant with score embeddings.

Score embeddings for lattice translation on Fisher dev2, ensemble BLEUGraph encoding with learned recognition score embeddings: 38.4Graph encoding with learned recognitionscore embeddings38.4Original graph encoding without recognition scores (this paper): 39.1Original graph encoding withoutrecognition scores (this paper)39.1
The numbers
System or settingBLEU
Graph encoding with learned recognition score embeddings38.4
Original graph encoding without recognition scores (this paper)39.1

The score embedding produces 32.9 BLEU for the reported individual setting and 38.4 for the ensemble on Fisher dev2. The score-free comparison yields 34.3 and 39.1. In both forms of evaluation, the learned score representation lowers the measured translation score. This is evidence about the score embedding that was tried. The lattice structure and the recognizer’s preference among paths supply different signals, and the experiment addresses only one route for joining them.

The alternative the paper discusses comes from Sperber and colleagues. Their method puts scores into attention, giving the decoder a way to consider the recognizer’s uncertainty when assigning relevance to source representations. Beck and colleagues point out that such an attention change could in principle be combined with their encoder. Their reported score experiment does not make that combination, so the question of whether attention can use scores effectively with these transformed lattices remains open.

What the data change isolates

The transcription comparison has a different purpose from the graph transformation comparisons. It keeps the evaluation interface and the basic lattice encoder setup while adding a new type of supervised input. Both selected-run and ensemble scores favor adding the gold examples. This shows that the graph-to-sequence training arrangement can accommodate clean sequences alongside uncertain input graphs and that the resulting augmentation helps on a lattice evaluation split.

The comparison does not report results for an equally enlarged training set made only from recognizer outputs. It also does not compare the union with a system trained only on gold chains and then evaluated on lattices. What is measured directly is the outcome of adding the gold chains to the existing lattice training. The result establishes their value under that procedure and leaves the contributions of input quality, repeated supervision and the added examples combined.

Limitations

Limits identified by the authors

The authors identify score handling as a shortcoming of the main architecture. Removing scores gives the graph encoder the shape and contents of the alternative readings, without an explicit indication of which reading the recognizer favored. The attempted score embedding fails to improve the reported results. The authors leave open a version in which lattice scores enter attention, and they also point to weighted automaton minimisation as a possible extension. The actual minimisation results concern the score-free graphs used in the main pipeline.

Their competitive performance claim is framed around training speed. The authors acknowledge that other constraints, including the parameter budget, can affect a comparison. The per-epoch timings answer a practical question about processing the training data in these implementations. They do not give a hardware-matched account of the speedup or separate the contributions of batching, the CPU-to-GPU change and the graph representation. The reported benchmark scores establish where the tested systems fall under the described setups.

The authors also identify experiments in low-resource scenarios, including endangered languages, as future work. Such settings motivate part of the interest in using available recognition output and applying text transformations. The reported corpus is Spanish-to-English telephone speech. The setup therefore gives a concrete example of how the method works when a corpus already provides both translations and recognition output. The behavior of the pipeline under a much smaller translation resource remains a question raised by the paper.

Limits visible in the evaluation

The out-of-the-box label is a statement about the translation stage’s access to source transcriptions. The experiments begin with pruned lattices and a top recognizer output for each utterance. They retain target-language training translations. The pipeline consequently depends on having appropriate ASR output and parallel supervision in this form. The method has no opportunity to draw on an alternative that the recognizer has already excluded from its lattice. Its benefit concerns what the translator can use after that upstream processing.

The reported numerical comparison covers Fisher dev2. The authors’ observation of similar trends on Callhome gives some indication about a second test condition, but the absent Callhome scores prevent a reader from checking individual rankings or comparing the magnitudes across the two corpora. Likewise, Fisher dev2 BLEU provides an aggregate comparison of translation output. The paper gives no separate numerical results for examples where the reference wording is available somewhere in the lattice, those where it is missing, or those where the main ambiguity is between competing word sequences.

The tables give a selected individual run and an ensemble for each main setting. They do not give the dev2 scores for each seed. Differences such as the individual-run ordering of the word and segmented lattices therefore have to be read as comparisons between the reported selected runs. An ensemble can take advantage of variation among its constituent predictions. The reported ensemble result leaves the exact contribution of variation across seeds and the stability of the ordering across other ensembles unmeasured.

The architecture translates using attention over encoded nodes, and BLEU evaluates the final result. A higher score from a lattice does not identify which alternatives were helpful or whether the system followed a single coherent recognition path for a particular utterance. Attention may use representations whose contexts draw on several branches. The experiments establish the translation performance of the whole system. They leave the source-side explanation of individual successes at the level of what the architecture permits.

There is also a distinction between the complexity of the minimisation algorithm and the cost of training. The authors give the asymptotic bound for minimisation and the time per epoch for their architecture. They do not give a separate timing comparison for segmented lattices with and without minimisation, or counts of how many nodes are removed in the reported settings. A reader can infer that the operation targets redundancy and see its effect on the reported ensemble BLEU. The size of the graphs after the change and the share of training time attributable to it are unquantified.

Finally, the earlier results provide context for what the pipeline achieves, with scores and training conditions identified where the paper reports them. They are less suited to assigning an isolated improvement to one architectural change across papers. The clearest evidence for the authors’ practical question comes from their own comparison on Fisher dev2, where the 1-best and lattice systems use the same corpus and target preparation. That evidence supports the use of recognition lattices in the tested pipeline, and the internal transformation comparisons show which version attained the best reported ensemble result.

What came after

The later citing work places the paper in two broader discussions about the relationship between recognition and translation. A 2020 stocktaking study considers the promise of end-to-end speech translation. Beck and colleagues’ system is an example of why that discussion includes more than a choice between direct translation and a pipeline that passes a fixed transcript. A cascade can retain alternatives at the handoff, and the translation component can operate on those alternatives with its own encoder. The citation establishes the connection to the broader discussion while leaving any specific reuse of the graph transformations unspecified. Speech Translation and the End-to-End Promise: Taking Stock of Where We Are

The 2021 citing study examines whether differences between cascade and direct speech translation still matter. Its comparative question gives a different context for the lattice paper. The effectiveness of a cascade can depend on the evidence it makes available after recognition. In Beck and colleagues’ experiments, both the top-transcript baseline and the lattice systems are cascades, and they supply substantially different inputs to translation. The later citation links that work to the comparison between system families. It supplies no specific account of whether the later study implemented the line graph, sub-word segmentation or minimisation. Cascade versus Direct Speech Translation: Do the Differences Still Make a Difference?

Cite

Cite as Daniel Beck, Trevor Cohn and Gholamreza Haffari. 2019. Neural Speech Translation using Lattice Transformations and Graph Networks. Proceedings of the Thirteenth Workshop on Graph-Based Methods for Natural Language Processing (TextGraphs-13).

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

@inproceedings{beck2019neural,
  title = {{Neural Speech Translation using Lattice Transformations and Graph Networks}},
  author = {Daniel Beck, Trevor Cohn and Gholamreza Haffari},
  booktitle = {Proceedings of the Thirteenth Workshop on Graph-Based Methods for Natural Language Processing (TextGraphs-13)},
  year = {2019},
  doi = {10.18653/v1/d19-5304},
  url = {https://doi.org/10.18653/v1/d19-5304}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/beck-2019-neural-speech-translation-lattice-transformations/