[Paper Review] End-to-End Training Approaches for Discriminative Segmental Models
This paper investigates end-to-end training approaches for discriminative segmental models using an LSTM-based feature encoder and a linear segmental model. It finds that marginal log loss enables strong performance without ground-truth alignments, while two-stage training followed by end-to-end fine-tuning yields the best results when alignments are available, with dropout crucial for generalization.
Recent work on discriminative segmental models has shown that they can achieve competitive speech recognition performance, using features based on deep neural frame classifiers. However, segmental models can be more challenging to train than standard frame-based approaches. While some segmental models have been successfully trained end to end, there is a lack of understanding of their training under different settings and with different losses. We investigate a model class based on recent successful approaches, consisting of a linear model that combines segmental features based on an LSTM frame classifier. Similarly to hybrid HMM-neural network models, segmental models of this class can be trained in two stages (frame classifier training followed by linear segmental model weight training), end to end (joint training of both frame classifier and linear weights), or with end-to-end fine-tuning after two-stage training. We study segmental models trained end to end with hinge loss, log loss, latent hinge loss, and marginal log loss. We consider several losses for the case where training alignments are available as well as where they are not. We find that in general, marginal log loss provides the most consistent strong performance without requiring ground-truth alignments. We also find that training with dropout is very important in obtaining good performance with end-to-end training. Finally, the best results are typically obtained by a combination of two-stage training and fine-tuning.
Motivation & Objective
- To compare end-to-end and two-stage training strategies for discriminative segmental models in speech recognition.
- To evaluate the impact of different loss functions—hinge, log, latent hinge, and marginal log loss—under varying training settings with and without ground-truth segmentations.
- To determine whether end-to-end fine-tuning after two-stage training improves performance over end-to-end training from scratch.
- To assess the importance of dropout in preventing overfitting during end-to-end training.
- To evaluate the quality of forced alignments generated by the model for use in two-stage training without manual segmentations.
Proposed method
- The model uses a 3-layer bidirectional LSTM as a feature encoder to extract frame-level representations from speech inputs such as MFCCs.
- A linear segmental model combines these features to predict label sequences, with segmental weights optimized via differentiable loss functions.
- End-to-end training jointly optimizes LSTM and segmental model parameters using backpropagation through the entire search space.
- Two-stage training first trains the LSTM with frame-level labels (e.g., forced alignments), then trains the segmental model with fixed features.
- End-to-end fine-tuning is applied after two-stage training to further improve performance using the same loss functions.
- Gradient computation for each loss function (hinge, log, latent hinge, marginal log loss) involves forward-backward passes over the search space and, where needed, the segmentation space.
Experimental results
Research questions
- RQ1Does end-to-end training with marginal log loss outperform other loss functions when ground-truth segmentations are unavailable?
- RQ2How does two-stage training followed by end-to-end fine-tuning compare to end-to-end training from scratch in terms of performance?
- RQ3What is the impact of dropout on generalization in end-to-end segmental model training?
- RQ4Can high-quality forced alignments be generated by a model trained with marginal log loss to enable effective two-stage training without manual annotations?
- RQ5How do the computational costs of different loss functions compare in terms of gradient computation time?
Key findings
- End-to-end training with marginal log loss achieves the best performance in settings without ground-truth segmentations, yielding a 20.1% phone error rate on the test set.
- Two-stage training followed by end-to-end fine-tuning with log loss achieves the best result when ground-truth segmentations are available, reaching 18.6% phone error rate on the development set.
- The system trained with marginal log loss generates high-quality forced alignments, with 96.7% of phone boundaries correctly positioned within 40ms tolerance.
- Training with dropout significantly improves generalization, especially in end-to-end settings, and is crucial for achieving strong performance.
- End-to-end fine-tuning after two-stage training improves performance by 10% relative compared to two-stage training alone when alignments are available.
- The marginal log loss loss function requires the most computation (2.10 hours per epoch for gradient computation excluding LSTM), consistent with its need for two passes over the search space and two over the segmentation space.
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.