Skip to main content
QUICK REVIEW

[论文解读] Performance and Complexity Trade-off Optimization of Speech Models During Training

Esteban Maestre Gómez, Tom Bäckström|arXiv (Cornell University)|Jan 20, 2026
Speech Recognition and SynthesisComputer Science被引用 0
一句话总结

本文提出一种可微分的再参数化方法,利用特征噪声在训练期间联合优化性能和计算复杂度,实现无启发式剪枝的动态模型压缩。其在合成任务、语音活动检测(VAD)和音频防欺骗任务上对该方法进行了验证。

ABSTRACT

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.

研究动机与目标

  • 解决训练中模型复杂度的不可微分性及对启发式剪枝的依赖问题。
  • 提出一个可微分的机制,在训练过程中调整层的维度。
  • 引入 Dynamic Complexity Layers (DCL)、Adaptive Complexity Layers (ACL) 与 Fixed Complexity Layers (FCL),以在训练期间管理架构变化。
  • 在语音任务(合成、VAD、防欺骗)上展示显著的复杂度降低,同时保持性能。
  • 提供开源代码以促进进一步研究。

提出的方法

  • 引入一种重参数化,将噪声注入最后一个活跃元素,以在 N_min 和 N_max 之间平滑插值有效层维度(Eq. 1)。
  • 证明插值导致信息量与维度之间存在线性关系,从而实现对复杂度的基于梯度的优化(Eq. 2–3)。
  • 定义并使用三种层类型:Dynamic Complexity Layers (DCL)、Adaptive Complexity Layers (ACL)、和 Fixed Complexity Layers (FCL)。
  • 在推理阶段将动态层整合为固定大小,以实现最终的紧凑模型。
  • 使用带有复杂度参数 lambda 的 L2 正则项的目标函数,在训练期间推动复杂度降低(Eq. 6–8)。
  • 在合成滤波组任务、语音活动检测(CRNNVAD 与 DynCRNNVAD 对比)以及音频防欺骗(DynResNet34)上进行两阶段训练与复杂度调度的评估。

实验结果

研究问题

  • RQ1一个可微分的训练时机制是否能够在不进行手工剪枝的前提下同时优化性能和计算复杂度?
  • RQ2在实际语音任务(VAD、防欺骗)中,在保持可接受性能的前提下,能够实现多大程度的复杂度降低?
  • RQ3所提出的方法如何与现有压缩策略互动与互补?
  • RQ4在不同架构和数据集上,复杂度降低与任务性能之间存在哪些权衡?

主要发现

  • 在高度冗余的模型中,该方法将计算复杂度降低了超过80%,模型尺寸约降低90%。
  • 在VAD实验中,将复杂度降低近50%至80%时,性能损失很小,在某些设置下甚至在基于SPP的指标上与基线相当或优于基线。
  • 动态/自适应层在滤波器组尺寸方面实现显著减少(如 Mel 帧数减少),而 EER 增加较小,展示了有利的性能-复杂度权衡。
  • 该方法在相同设置下优于 Silero VAD,尽管压缩幅度显著,仍体现出竞争的任务性能。
  • 在音频防欺骗任务中,经过复杂度优化的 DynResNet34 能维持竞争性的检测能力,同时相对于固定复杂度基线减少了计算负载。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。