调参之random initialization

本文探讨了在随机算法中引入随机性的必要性,特别是在避免局部最优和神经网络训练过程中。随机初始化原则建议将权重设置为接近零的随机值,以打破隐藏单元之间的对称性。通过多次重复实验,评估随机初始化对神经网络性能的影响,以确保模型能从不同初始条件搜索空间。
摘要由CSDN通过智能技术生成

Big picture on why we need randomness in stochastic algorithms

  • randomness during initialization: as the structure of the search space is unknown
  • randomness during the progression of the search: avoid getting stuck in local optima
    – This is achieved in SGD or mini-batch gradient descent

备:examples of stochastic algorithms – stochastic gradient descent, genetic algorithms, simulated annealing

Principal and methods for random initialization

Principal: initialize the weights of neural networks to some random but close-to-zero values, such as in [0,0.1].

Methods: see https://keras.io/initializers/.

Reason for effectiveness of random initialization

If two hidden units with the same activation fun

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值