arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2304.14766cs.LGstat.ML
收藏

基于神经网络划分的超参数优化

Hyperparameter Optimization through Neural Network Partitioning

University of Cambridge(剑桥大学);Qualcomm AI Research(高通人工智能研究院)

Bruno Mlodozeniec, Matthias Reisser, Christos Louizos

AI总结:

本研究受边缘似然启发,提出通过划分训练数据与神经网络参数、利用子网络训练集外损失优化超参数的方法,可单次训练优化多种超参数且成本更低,还适用于联邦学习场景。

摘要:

调优良好的超参数对于神经网络获得良好的泛化性能至关重要。它们可以施加合适的归纳偏置、对模型进行正则化并提升性能——在数据有限的情况下尤其如此。在本研究中,我们受边缘似然(一种无需验证数据的优化目标)的启发,提出了一种简单高效的超参数优化方法。我们的方法将训练数据和神经网络模型分别划分为K个数据分片和参数分区。每个分区仅与特定的数据分片相关联,并仅在这些分片上进行优化。将这些分区组合成子网络后,我们可以将子网络的“训练集外”损失(即子网络未见过的数据分片上的损失)定义为超参数优化的目标。我们证明,该目标可在单次训练运行中优化多种不同的超参数,且计算成本远低于其他旨在优化神经网络边缘似然的方法。最后,我们还聚焦于联邦学习中的超参数优化问题,该场景下的重新训练和交叉验证尤其具有挑战性。

英文摘要:

Well-tuned hyperparameters are crucial for obtaining good generalization behavior in neural networks. They can enforce appropriate inductive biases, regularize the model and improve performance -- especially in the presence of limited data. In this work, we propose a simple and efficient way for optimizing hyperparameters inspired by the marginal likelihood, an optimization objective that requires no validation data. Our method partitions the training data and a neural network model into $K$ data shards and parameter partitions, respectively. Each partition is associated with and optimized only on specific data shards. Combining these partitions into subnetworks allows us to define the ``out-of-training-sample" loss of a subnetwork, i.e., the loss on data shards unseen by the subnetwork, as the objective for hyperparameter optimization. We demonstrate that we can apply this objective to optimize a variety of different hyperparameters in a single training run while being significantly computationally cheaper than alternative methods aiming to optimize the marginal likelihood for neural networks. Lastly, we also focus on optimizing hyperparameters in federated learning, where retraining and cross-validation are particularly challenging.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑