计算机应用 ›› 2010, Vol. 30 ›› Issue (06): 1513-1515.

• 人工智能 • 上一篇    下一篇

基于蚁群算法的BP网络优化算法

李祚泳1,汪嘉杨1,郭淳2,朱永莉2   

  1. 1. 成都信息工程学院
    2.
  • 收稿日期:2009-11-27 修回日期:2010-02-01 发布日期:2010-06-01 出版日期:2010-06-01
  • 通讯作者: 李祚泳
  • 基金资助:
    国家自然科学基金项目(50779042);国家自然科学基金重点项目(50739002)。

Optimization algorithm of BP networks based on ant colony algorithm

  • Received:2009-11-27 Revised:2010-02-01 Online:2010-06-01 Published:2010-06-01

摘要: 将BP网络的训练误差和检验误差用于引导蚂蚁行经路径上的信息更新机制和选择机制,并据此计算蚂蚁行径中的转移概率;又将蚂蚁行经路径上的存储单元存放的参数值赋予BP网络训练,而存储单元存放的参数和训练误差值亦随BP网络训练误差的调整而改变。通过交互迭代优化,最终得到调整后的BP网络的最佳参数值。数值模拟计算结果表明:与传统的BP算法相比,在达到同一数量级的训练误差情况下,基于蚁群算法优化参数的BP算法训练次数少,而模型的精度高,在一定程度上提高了BP网络的学习能力和泛化能力。

关键词: BP网络, 权值调整, 参数优化

Abstract: A new BP algorithm optimized by ant colony algorithm was proposed. Training error and test error of BP network were used to update and choose the information, in order to calculate the transfer probability in ants' route. Parameters value of sites in ants' route was bestowed on BP network, while parameters and training error stored in stored units were changed along with the adjustment of training error of BP network. Through iterative and mutual optimization, the best-optimized parameters of BP network were obtained. BP network based on ant colony algorithm was validated and tested for optimizing several functions. The results show that the training number of optimized BP network is smaller, and the precision of model is higher compared with the traditional BP algorithm while the training errors are of the same order of magnitude.

Key words: BP Neural Network, weight adjustment, parameters optimization