[Paper Review] Lattice Transformer for Speech Translation
This paper proposes a lattice transformer with a controllable lattice attention mechanism that extends the standard transformer to consume word lattices from automatic speech recognition (ASR), incorporating forward, backward, and marginal probability scores. The method significantly improves translation performance on both speech and text translation tasks, outperforming standard transformers and lattice-LSTMs by up to 1.5 BLEU points on the LDC Spanish-English corpus and 0.55 BLEU on WMT 2017 Chinese-English.
Recent advances in sequence modeling have highlighted the strengths of the transformer architecture, especially in achieving state-of-the-art machine translation results. However, depending on the up-stream systems, e.g., speech recognition, or word segmentation, the input to translation system can vary greatly. The goal of this work is to extend the attention mechanism of the transformer to naturally consume the lattice in addition to the traditional sequential input. We first propose a general lattice transformer for speech translation where the input is the output of the automatic speech recognition (ASR) which contains multiple paths and posterior scores. To leverage the extra information from the lattice structure, we develop a novel controllable lattice attention mechanism to obtain latent representations. On the LDC Spanish-English speech translation corpus, our experiments show that lattice transformer generalizes significantly better and outperforms both a transformer baseline and a lattice LSTM. Additionally, we validate our approach on the WMT 2017 Chinese-English translation task with lattice inputs from different BPE segmentations. In this task, we also observe the improvements over strong baselines.
Motivation & Objective
- To extend the transformer architecture to natively process lattice-structured inputs from automatic speech recognition (ASR), rather than relying on 1-best hypotheses.
- To incorporate posterior probability scores (forward, backward, marginal) from ASR lattices into the attention mechanism to model uncertainty and improve robustness.
- To develop a general-purpose framework that can handle both speech translation and text translation tasks with lattice inputs.
- To demonstrate that lattice-aware attention improves performance over standard transformers and lattice-LSTMs in low-resource and high-uncertainty scenarios.
- To validate the model's flexibility by showing it can reduce to a standard transformer when probability scores are unavailable.
Proposed method
- Propose a lattice relative positional attention mechanism that encodes lattice topology using relative positional embeddings, restricting attention to tokens on shared paths.
- Integrate forward, backward, and marginal probability scores from ASR lattices as learnable attention weights, enabling uncertainty-aware attention computation.
- Design a controllable attention mechanism that dynamically adjusts attention based on lattice scores, allowing flexible fusion of lattice information.
- Adapt the standard transformer encoder and decoder to use lattice attention, enabling end-to-end training on lattice inputs.
- Train the model on both speech translation (LDC Spanish-English) and text translation (WMT 2017 Chinese-English) with BPE-based lattices from multiple segmentations.
- Use fine-tuning and ablation studies to analyze the contribution of each score type and module in the lattice transformer architecture.
Experimental results
Research questions
- RQ1Can a transformer-based model effectively consume lattice-structured inputs from ASR systems, rather than just 1-best hypotheses?
- RQ2How do forward, backward, and marginal probability scores from ASR lattices affect attention computation and translation performance?
- RQ3Does incorporating lattice structure and uncertainty improve translation quality compared to standard transformers and lattice-LSTMs?
- RQ4Can the lattice transformer generalize to text translation tasks with subword lattice inputs from BPE segmentation?
- RQ5What is the relative contribution of different lattice scores (marginal, forward, backward) to the final performance in the attention mechanism?
Key findings
- On the LDC Spanish-English speech translation dataset, the lattice transformer outperforms the standard transformer by 1.5 BLEU points and the lattice-LSTM by 1.2 BLEU points.
- The marginal scores contribute most significantly to performance gains, with joint use in encoder and decoder yielding the highest improvement.
- On the WMT 2017 Chinese-English text translation task, the lattice transformer achieves 24.81 BLEU, surpassing the vanilla transformer-base (24.26) and matching the larger transformer-big model (24.20) with a base-sized architecture.
- Training from scratch on lattice inputs converges faster and achieves better performance than fine-tuning, suggesting strong inductive bias from lattice structure.
- The model generalizes well to text translation, demonstrating that lattice inputs from BPE segmentations can improve translation quality even without speech input.
- Attention visualization confirms that the model learns to attend to more plausible lattice paths, especially in ambiguous or low-confidence regions.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.