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 条
  • [31] Parallel Implementation of Particle Swarm Optimization on FPGA
    Da Costa, Alexandre L. X.
    Silva, Caroline A. D.
    Torquato, Matheus F.
    Fernandes, Marcelo A. C.
    IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS II-EXPRESS BRIEFS, 2019, 66 (11) : 1875 - 1879
  • [32] A Survey on Parallel Particle Swarm Optimization Algorithms
    Soniya Lalwani
    Harish Sharma
    Suresh Chandra Satapathy
    Kusum Deep
    Jagdish Chand Bansal
    Arabian Journal for Science and Engineering, 2019, 44 : 2899 - 2923
  • [33] Fast Columnar Physics Analyses of Terabyte-Scale LHC Data on a Cache-Aware Dask Cluster
    Eich N.
    Erdmann M.
    Fackeldey P.
    Fischer B.
    Noll D.
    Rath Y.
    Computing and Software for Big Science, 2023, 7 (1)
  • [34] Parallel particle swarm optimization based on parallel model with controller
    Xitong Fangzhen Xuebao, 2007, 10 (2171-2176):
  • [35] An Adaptive Simple Particle Swarm Optimization Algorithm
    Fan Chunxia
    Wan Youhong
    2008 CHINESE CONTROL AND DECISION CONFERENCE, VOLS 1-11, 2008, : 3067 - 3072
  • [36] A simple diversity guided Particle Swarm Optimization
    Pant, M.
    Radha, T.
    Singh, V. P.
    2007 IEEE CONGRESS ON EVOLUTIONARY COMPUTATION, VOLS 1-10, PROCEEDINGS, 2007, : 3294 - 3299
  • [37] An adaptive parallel particle swarm optimization for numerical optimization problems
    Lai, Xinsheng
    Zhou, Yuren
    NEURAL COMPUTING & APPLICATIONS, 2019, 31 (10): : 6449 - 6467
  • [38] An adaptive parallel particle swarm optimization for numerical optimization problems
    Xinsheng Lai
    Yuren Zhou
    Neural Computing and Applications, 2019, 31 : 6449 - 6467
  • [39] A Novel Simple Particle Swarm Optimization Algorithm for Global Optimization
    Zhang, Xin
    Zou, Dexuan
    Shen, Xin
    MATHEMATICS, 2018, 6 (12)
  • [40] A parallel particle swarm optimization algorithm with communication strategies
    Chang, JF
    Chu, SC
    Roddick, JF
    Pan, JS
    JOURNAL OF INFORMATION SCIENCE AND ENGINEERING, 2005, 21 (04) : 809 - 818