arXiv:2601.13704cs.SDcs.AI2026-01被引 1

用噪声重参数化让语音模型训练时自动平衡性能与计算量。

Performance and Complexity Trade-off Optimization of Speech Models During Training

  • 通过特征噪声注入实现非可导结构的梯度优化,支持训练中动态调整层大小。
  • 在语音检测与防欺骗任务中,实现性能与计算量的协同优化,无需事后剪枝。
  • 适合需要部署轻量化模型的语音系统开发者参考使用。

在语音机器学习中,神经网络模型通常采用固定层大小和结构设计,通过训练最大化任务目标性能。尽管整体架构常基于先验知识,但各层尺寸多凭经验选择,无法保证性能与计算复杂度的最佳权衡;因此,常需事后进行权重量化或模型剪枝以降低计算成本。这是因为随机梯度下降(SGD)仅能优化可导函数,而影响计算复杂度的因素(如层大小、每秒浮点运算次数,FLOP/s)不可导,需修改模型结构。本文提出一种基于特征噪声注入的重参数化技术,使性能与计算复杂度可在训练中联合优化,仅使用基于SGD的方法。相比传统剪枝,本方法可动态优化模型大小以满足特定性能-复杂度权衡,无需依赖启发式规则决定删减对象。我们通过三个案例验证了该方法的有效性:一个合成示例及两个实际应用——语音活动检测与音频反欺骗。相关代码已公开,以促进后续研究。

原文摘要 · Abstract (English)

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.

语音模型模型优化训练效率

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。