Two Simple Tricks for Fast Cache-Aware Parallel Particle Swarm Optimization

被引:0
|
作者
Hajewski, Jeff [1 ]
Oliveira, Suely [1 ]
机构
[1] Univ Iowa, Dept Comp Sci, Iowa City, IA 52242 USA
关键词
Particle Swarm Optimization; Data Oriented Design; Parallel PSO; CORE;
D O I
10.1109/cec.2019.8790219
中图分类号
TM [电工技术]; TN [电子技术、通信技术];
学科分类号
0808 ; 0809 ;
摘要
Particle Swarm Optimization is an example of a trivially parallelizable algorithm where good performance gains can be achieved through the use of a few OpenMP pragmas. Writing an efficient parallel PSO algorithm, however, is much more challenging because although particle updates can occur independently, they rely on a shared global state (the globally best particle). The difficulty of maintaining this global state can be seen in the large body of work studying the parallelization of PSO - almost uniformly these algorithms rely on a global synchronization step, which can result in idle cores and reduced parallel efficiency. In this work, we explore two techniques for implementing a fast, cache-aware parallel PSO algorithm: batching the creation of the random weights and reducing critical section contention via a relaxed consistency guarantee. Our technique shows impressive performance improvements over prior work, seeing more than 60% speed-up over naive parallelization and more than 10% speed-up over the cache-aware algorithm. This speed comes at a cost; while our method quickly reaches an approximate solution, it struggles in environments requiring a high level of resolution. Despite these trade-offs, our method is both easy to understand and implement and is widely transferable to other swarm intelligence algorithms.
引用
收藏
页码:1374 / 1381
页数:8
相关论文
共 50 条
  • [41] Optimization of Parallel Turnings Using Particle Swarm Intelligence
    Xie, Shutong
    Wang, Gang
    PROCEEDINGS OF 2018 TENTH INTERNATIONAL CONFERENCE ON ADVANCED COMPUTATIONAL INTELLIGENCE (ICACI), 2018, : 230 - 234
  • [42] Parallel Particle Swarm Optimization Using Apache Beam
    Liu, Jie
    Zhu, Tao
    Zhang, Yang
    Liu, Zhenyu
    INFORMATION, 2022, 13 (03)
  • [43] GPU-based Parallel Particle Swarm Optimization
    Zhou, You
    Tan, Ying
    2009 IEEE CONGRESS ON EVOLUTIONARY COMPUTATION, VOLS 1-5, 2009, : 1493 - +
  • [44] Magnetotelluric inversion based on the parallel particle swarm optimization
    Xiong Jie
    Meng Xiaohong
    Liu Caiyun
    2011 INTERNATIONAL CONFERENCE ON FUZZY SYSTEMS AND NEURAL COMPUTING (FSNC 2011), VOL VI, 2011, : 444 - 447
  • [45] Parallel quantum-behaved particle swarm optimization
    Tian, Na
    Lai, Choi-Hong
    INTERNATIONAL JOURNAL OF MACHINE LEARNING AND CYBERNETICS, 2014, 5 (02) : 309 - 318
  • [46] Accelerating parallel particle swarm optimization via GPU
    Hung, Yukai
    Wang, Weichung
    OPTIMIZATION METHODS & SOFTWARE, 2012, 27 (01): : 33 - 51
  • [47] An Agent Based Parallel Particle Swarm Optimization - APPSO
    Lorion, Yann
    Bogon, Tjorben
    Timm, Ingo J.
    Drobnik, Oswald
    2009 IEEE SWARM INTELLIGENCE SYMPOSIUM, 2009, : 52 - 59
  • [48] Magnetotelluric inversion based on the parallel particle swarm optimization
    Xiong Jie
    Meng Xiaohong
    Liu Caiyun
    2011 AASRI CONFERENCE ON INFORMATION TECHNOLOGY AND ECONOMIC DEVELOPMENT (AASRI-ITED 2011), VOL 3, 2011, : 221 - 224
  • [49] Hybrid Particle Swarm Optimization Based on Parallel Collaboration
    Zhao, Yong
    An, Xueying
    Luo, Wencai
    INTERNATIONAL CONFERENCE ON INTELLIGENT COMPUTATION TECHNOLOGY AND AUTOMATION, VOL 1, PROCEEDINGS, 2008, : 65 - 70
  • [50] Parallel Test Scheduling based on Particle Swarm Optimization
    Li, Zhongwen
    Huang, Xiangmiao
    PROCEEDINGS OF THE 2013 THE INTERNATIONAL CONFERENCE ON EDUCATION TECHNOLOGY AND INFORMATION SYSTEM (ICETIS 2013), 2013, 65 : 736 - 739