[Paper Review] Performance and Complexity Trade-off Optimization of Speech Models During Training
The paper introduces a differentiable reparameterization using feature noise to jointly optimize performance and computational complexity during training, enabling dynamic reduction of model size without heuristic pruning. It validates the approach on synthetic tasks, voice activity detection, and audio anti-spoofing.
In speech machine learning, neural network models are typically designed by choosing an architecture with fixed layer sizes and structure. These models are then trained to maximize performance on metrics aligned with the task's objective. While the overall architecture is usually guided by prior knowledge of the task, the sizes of individual layers are often chosen heuristically. However, this approach does not guarantee an optimal trade-off between performance and computational complexity; consequently, post hoc methods such as weight quantization or model pruning are typically employed to reduce computational cost. This occurs because stochastic gradient descent (SGD) methods can only optimize differentiable functions, while factors influencing computational complexity, such as layer sizes and floating-point operations per second (FLOP/s), are non-differentiable and require modifying the model structure during training. We propose a reparameterization technique based on feature noise injection that enables joint optimization of performance and computational complexity during training using SGD-based methods. Unlike traditional pruning methods, our approach allows the model size to be dynamically optimized for a target performance-complexity trade-off, without relying on heuristic criteria to select which weights or structures to remove. We demonstrate the effectiveness of our method through three case studies, including a synthetic example and two practical real-world applications: voice activity detection and audio anti-spoofing. The code related to our work is publicly available to encourage further research.
Motivation & Objective
- Address the non-differentiable nature of model complexity in training and the reliance on heuristic pruning.
- Propose a differentiable mechanism to adjust layer dimensionality during training.
- Introduce Dynamic Complexity Layers (DCL), Adaptive Complexity Layers (ACL), and Fixed Complexity Layers (FCL) to manage architectural changes during training.
- Demonstrate substantial complexity reduction while maintaining performance on speech tasks (synthetic, VAD, anti-spoofing).
- Provide open-source code to encourage further research.
Proposed method
- Introduce a reparameterization that injects noise into the last active element to smoothly interpolate effective layer dimensionality between N_min and N_max (Eq. 1).
- Show that the interpolation yields a linear relationship between information content and dimensionality, enabling gradient-based optimization of complexity (Eq. 2–3).
- Define and employ three layer types: Dynamic Complexity Layers (DCL), Adaptive Complexity Layers (ACL), and Fixed Complexity Layers (FCL).
- Consolidate dynamic layers into fixed-size during inference to realize final compact models.
- Use an objective with an L2 regularization term on the complexity parameter lambda to drive complexity reduction during training (Eq. 6–8).
- Evaluate on synthetic filter-bank task, voice activity detection (CRNNVAD vs DynCRNNVAD), and audio anti-spoofing (DynResNet34) with two-phase training and complexity scheduling.
Experimental results
Research questions
- RQ1Can a differentiable training-time mechanism optimize both performance and computational complexity without manual pruning?
- RQ2How much complexity reduction is achievable in practical speech tasks (VAD, anti-spoofing) while maintaining acceptable performance?
- RQ3How does the proposed method interact with and complement existing compression strategies?
- RQ4What are the trade-offs between complexity reduction and task performance across different architectures and datasets?
Key findings
- The method reduces computational complexity by more than 80% in highly redundant models and decreases model size by about 90%.
- In VAD experiments, reducing complexity by nearly 50% to 80% produced minimal performance loss and, in some settings, matched or exceeded baselines on SPP-based metrics.
- Dynamic/Adaptive layers enable significant reductions in filter-bank size (e.g., fewer mel bands) with modest EER increases, demonstrating favorable performance-complexity trade-offs.
- The approach outperforms Silero VAD on the same setup, illustrating competitive task performance despite substantial compression.
- In audio anti-spoofing, the complexity-optimized DynResNet34 maintains competitive detection capacity while reducing computational load compared to the fixed-complexity baseline.
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.