# 花授粉算法

花授粉算法（flower pollination algorithm, FPA）是一种基于种群的元启发式算法，它模拟开花植物的授粉过程，以搜索连续或离散目标函数的全局最优解。<sup>[1](https://arxiv.org/pdf/1312.5673v1.pdf)</sup> 它属于自然启发优化方法家族，与布谷鸟搜索等其他莱维飞行算法密切相关。<sup>[2](https://ar5iv.labs.arxiv.org/html/1404.0695)</sup>

| 关键事实 | 详情 |
|---|---|
| 提出论文 | 杨新社，《用于全局优化的花授粉算法》，2013年发布于arXiv<sup>[1](https://arxiv.org/pdf/1312.5673v1.pdf)</sup> |
| 主要参数 | 种群规模n、切换概率p、莱维缩放因子γ；莱维指数\( \lambda \)通常固定为\( 3/2 \)<sup>[3](https://pmc.ncbi.nlm.nih.gov/articles/PMC8435301/)</sup> |
| 全局（生物）更新 | \( x_{i}^{t+1} = x_{i}^{t} + L(g_{*} - x_{i}^{t}) \)，即朝当前最优解迈出的莱维飞行步<sup>[1](https://arxiv.org/pdf/1312.5673v1.pdf)</sup> |
| 局部（非生物）更新 | \( x_{i}^{t+1} = x_{i}^{t} + \varepsilon \cdot (x_{j}^{t} - x_{k}^{t}) \)，其中\( \varepsilon \)在[0, 1]上均匀分布<sup>[3](https://pmc.ncbi.nlm.nih.gov/articles/PMC8435301/)</sup> |
| 切换概率 | 杨报告称\( p = 0.8 \)在大多数应用中效果更好；后来CEC'13的调参研究发现最优\( p \)通常在0.2–0.4之间<sup>[1](https://arxiv.org/pdf/1312.5673v1.pdf)</sup><sup> • </sup><sup>[3](https://pmc.ncbi.nlm.nih.gov/articles/PMC8435301/)</sup> |
| 理论 | 简化FPA的全局收敛性通过离散时间马尔可夫链理论得到证明（He等，2017）<sup>[4](https://www.mdpi.com/1999-4893/18/11/686)</sup> |
| 应用 | 电气与电力系统、结构设计、天线阵列、图像科学、数据聚类、特征选择<sup>[3](https://pmc.ncbi.nlm.nih.gov/articles/PMC8435301/)</sup> |

## 工作原理

FPA将每个候选解编码为一朵花或花粉配子，并使用源自植物繁殖的两个算子来更新由n个此类解组成的种群。生物异花授粉——即昆虫等传粉者将花粉携带至远距离——被视为全局搜索移动；非生物自花授粉——无需传粉者——被视为局部搜索移动。花恒常性，即观察到的传粉者倾向于访问同一花种的现象，被解释为一种随两朵花相似度增加而增大的繁殖概率。<sup>[1](https://arxiv.org/pdf/1312.5673v1.pdf)</sup>

两个算子通过[0, 1]上的切换概率p组合：随机抽取值低于p时触发全局授粉，否则进行局部授粉。<sup>[1](https://arxiv.org/pdf/1312.5673v1.pdf)</sup> 全局移动是一次莱维飞行（以短步为主、偶尔出现极长步的随机游走），这与布谷鸟搜索及其他莱维飞行元启发式算法所用的机制相同。<sup>[2](https://ar5iv.labs.arxiv.org/html/1404.0695)</sup>

## 具体做法

原始伪代码在搜索空间中随机初始化n朵花，对它们进行评估，设定当前最优解\( g_{*} \)，并定义切换概率p。在每次迭代中，每朵花抽取一个随机数；若该数低于p，则抽取一个d维莱维步进行全局授粉。<sup>[1](https://arxiv.org/pdf/1312.5673v1.pdf)</sup>

全局授粉更新将解\( x_{i} \)朝迄今找到的最优解移动：

\[ x_{i}^{t+1} = x_{i}^{t} + \gamma L(\lambda)(g_{*} - x_{i}^{t}) \]

其中\( \gamma \)缩放步长，莱维步的抽取方式为<sup>[5](https://ar5iv.labs.arxiv.org/html/1804.07995)</sup>

\[ L \sim \frac{\lambda \Gamma(\lambda) \sin(\pi \lambda / 2)}{\pi} \cdot \frac{1}{s^{1+\lambda}}, \quad (s \gg s_{0} > 0) \]

局部授粉更新从种群中另取两个解\( j \)和\( k \)：<sup>[3](https://pmc.ncbi.nlm.nih.gov/articles/PMC8435301/)</sup>

\[ x_{i}^{t+1} = x_{i}^{t} + \varepsilon \cdot (x_{j}^{t} - x_{k}^{t}) \]

杨的原始表述将全局步写为\( x_{i}^{t+1} = x_{i}^{t} + L(x_{i}^{t} - g_{*}) \)，缩放被吸收进L中；而后来的分析将缩放因子\( \gamma \)显式分离出来；两种形式只有在莱维步也替换为其负值（L替换为−L）时才描述同一移动，因为按原文写法，反转的差值会反转方向。<sup>[1](https://arxiv.org/pdf/1312.5673v1.pdf)</sup><sup> • </sup><sup>[5](https://ar5iv.labs.arxiv.org/html/1804.07995)</sup><sup> • </sup><sup>[3](https://pmc.ncbi.nlm.nih.gov/articles/PMC8435301/)</sup>

FPA只有三个主要参数：种群规模n、切换概率p和莱维飞行缩放因子γ。按照杨的建议，莱维指数\( \lambda \)通常固定为\( 3/2 \)。<sup>[3](https://pmc.ncbi.nlm.nih.gov/articles/PMC8435301/)</sup>

一项针对28个IEEE-CEC'13实参数函数的调参研究发现，与函数无关的建议值为：n在20到40之间，p在0.2到0.4之间，γ在0.1到1.0之间（取决于维度和评估预算）；对于\( d = 20 \)且评估次数为\( 10{,}000 \cdot d \)的情况，建议\( n = 40 \)、\( p = 0.4 \)、\( \gamma = 1 \)。最优p倾向于随维度增大而增大，最优γ在\( d = 20 \)时从0.1升至1，表明全局授粉在高维情况下更具优势。<sup>[3](https://pmc.ncbi.nlm.nih.gov/articles/PMC8435301/)</sup>

这一建议与原始论文存在冲突：杨的仿真发现\( p = 0.8 \)在大多数应用中效果更好，<sup>[1](https://arxiv.org/pdf/1312.5673v1.pdf)</sup> 而收敛性研究也重复指出p = 0.8可能效果更好，同时\( p = 0.5 \)是一个朴素的初始值。<sup>[5](https://ar5iv.labs.arxiv.org/html/1804.07995)</sup> CEC'13调参研究未能证实这一点，分歧至今未解决；稳健（而非误差最小化）的切换概率更大，在\( d = 20 \)时中位数为0.6，因为较大的p允许更多探索并降低陷入局部最优的概率。<sup>[3](https://pmc.ncbi.nlm.nih.gov/articles/PMC8435301/)</sup>

## 起源

FPA由杨新社于2013年在《用于全局优化的花授粉算法》一文中提出，发布于arXiv预印本服务器。<sup>[6](https://doi.org/10.48550/arxiv.1312.5673)</sup> 该算法与布谷鸟搜索共享莱维飞行机制——Gandomi及其同事于2012年在《The Structural Design of Tall and Special Buildings》上将其应用于桁架结构设计，<sup>[7](https://doi.org/10.1002/tal.1033)</sup> 也与萤火虫算法共享该机制——杨于2010年在《International Journal of Bio-Inspired Computation》上提出了萤火虫算法。<sup>[8](https://doi.org/10.1504/ijbic.2010.032124)</sup>

## 变体

文献中命名了许多变体。二进制FPA处理组合与离散问题；岛屿模型FPA（Al-Betar等，2019）使用分区种群来抑制早熟收敛；蜜蜂传粉者FPA（Wang等，2016）面向数据聚类。<sup>[3](https://pmc.ncbi.nlm.nih.gov/articles/PMC8435301/)</sup> 多目标花卉算法（MOFPA）由杨新社、M. Karamanoglu和何兴石于2014年在arXiv上提出，将FPA扩展至多目标优化，使用切换概率p作为邻近概率，朴素初始值为0.5。<sup>[2](https://ar5iv.labs.arxiv.org/html/1404.0695)</sup> Kopciewicz和Łukasik的生物花授粉算法（BFPA）于2019年发表在《Neural Computing and Applications》上，仅依靠生物（全局）授粉并利用花恒常性，暗示标准FPA的非生物局部组分可能是一个弱点。<sup>[9](https://doi.org/10.1007/s00521-019-04179-9)</sup> 一项地球物理反演研究比较了改进FPA、精英FPA、逐维改进FPA和带蜜蜂传粉者的FPA；在两个合成模型上，eFPA是唯一达到全局最优的算法，且具有最佳的精度和稳定性。近期工作是在FPA基础上构建而非取代它：GFPSMA（2024）由Liu及其同事发表在《Electronic Research Archive》上，将花授粉与黏菌启发相结合并加入博弈策略，<sup>[10](https://doi.org/10.3934/era.2024175)</sup> 而2026年的一种混合正弦余弦-花授粉算法面向特征选择。<sup>[11](https://doi.org/10.32604/cmc.2026.071977)</sup>

## 应用

FPA已被应用于电气与电力系统、结构设计、计算机游戏、气象学和图像科学。<sup>[3](https://pmc.ncbi.nlm.nih.gov/articles/PMC8435301/)</sup> 它被广泛用于多目标实际设计问题，包括电磁学中的直线天线阵列优化。<sup>[12](https://pmc.ncbi.nlm.nih.gov/articles/PMC4786519/)</sup> 在机器学习语境中，蜜蜂传粉者FPA已被用于数据聚类，<sup>[3](https://pmc.ncbi.nlm.nih.gov/articles/PMC8435301/)</sup> 而2026年的一种混合方法将FPA应用于特征选择。<sup>[11](https://doi.org/10.32604/cmc.2026.071977)</sup>

## 局限与替代方案

在提出该算法的论文中，FPA在基准函数上以比GA和PSO更少的迭代次数达到了100%的成功率。<sup>[1](https://arxiv.org/pdf/1312.5673v1.pdf)</sup> 在CEC2014的30个函数套件上（维度为10、30、50和100），一项比较研究发现ABC在高维上最优，CS在小维度上最优，FPA位居其次，随后是BA和FA，这一排序在所有函数类型上一致。<sup>[13](https://link.springer.com/article/10.1007/s10462-017-9547-5)</sup>

在理论方面，简化FPA的全局收敛性通过离散时间马尔可夫链理论得到证明，表明所构造的随机序列在两个适当条件下收敛到最优集，不过收敛速率仍取决于参数设置。<sup>[5](https://ar5iv.labs.arxiv.org/html/1804.07995)</sup> 2025年的一项系统综述发现，在分析的17种高相关性生物启发算法中，只有三种有形式化收敛证明，FPA是其中之一。<sup>[4](https://www.mdpi.com/1999-4893/18/11/686)</sup>

已知弱点包括早熟收敛，这促成了岛屿模型变体<sup>[3](https://pmc.ncbi.nlm.nih.gov/articles/PMC8435301/)</sup>和混合算法：一种DE-FPA混合算法将差分进化的探索能力与FPA朝全局最优的有向移动相结合，据报道在性能和收敛速率上均优于DE和FPA，表明单独的FPA存在收敛缺陷。<sup>[14](https://ijcat.com/archives/volume5/issue6/ijcatr05061003.pdf)</sup>

## References

1. [Flower Pollination Algorithm for Global Optimization (Yang, arXiv:1312.5673)](https://arxiv.org/pdf/1312.5673v1.pdf)
2. [Multi-objective Flower Algorithm for Optimization (arXiv:1404.0695)](https://ar5iv.labs.arxiv.org/html/1404.0695)
3. [Flower pollination algorithm parameters tuning (Mergos & Mantoglou, Soft Computing/Neural Computing and Applications, 2021, via PMC)](https://pmc.ncbi.nlm.nih.gov/articles/PMC8435301/)
4. [A Systematic Review of Bio-Inspired Metaheuristic Optimization Algorithms: The Untapped Potential of Plant-Based Approaches (Algorithms, 2025)](https://www.mdpi.com/1999-4893/18/11/686)
5. [Global Convergence Analysis of the Flower Pollination Algorithm: A Discrete-Time Markov Chain Approach](https://ar5iv.labs.arxiv.org/html/1804.07995)
6. [Yang, Xin-She (2013). Flower Pollination Algorithm for Global Optimization. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.1312.5673)
7. [Amir Hossein Gandomi and colleagues (2012). Design optimization of truss structures using cuckoo search algorithm. The Structural Design of Tall and Special Buildings.](https://doi.org/10.1002/tal.1033)
8. [Xin She Yang (2010). Firefly algorithm, stochastic test functions and design optimisation. International Journal of Bio-Inspired Computation.](https://doi.org/10.1504/ijbic.2010.032124)
9. [Paweł Kopciewicz, Szymon Łukasik (2019). Exploiting flower constancy in flower pollination algorithm: improved biotic flower pollination algorithm and its experimental evaluation. Neural Computing and Applications.](https://doi.org/10.1007/s00521-019-04179-9)
10. [Yujia Liu and colleagues (2024). GFPSMA: An improved algorithm based on flower pollination, slime mould, and game inspiration for global optimization. Electronic Research Archive.](https://doi.org/10.3934/era.2024175)
11. [Sumbul Azeem and colleagues (2026). A Novel Hybrid Sine Cosine-Flower Pollination Algorithm for Optimized Feature Selection. Computers, materials & continua/Computers, materials & continua (Print).](https://doi.org/10.32604/cmc.2026.071977)
12. [Linear antenna array optimization using flower pollination algorithm](https://pmc.ncbi.nlm.nih.gov/articles/PMC4786519/)
13. [Empirical analysis of five nature-inspired algorithms on real parameter optimization problems (Artificial Intelligence Review)](https://link.springer.com/article/10.1007/s10462-017-9547-5)
14. [Recent Advances in Flower Pollination Algorithm (IJCAT)](https://ijcat.com/archives/volume5/issue6/ijcatr05061003.pdf)

---
*Initially written Sep 29, 2026 · Reviewed: Sep 30, 2026 · Edited: Sep 30, 2026; Oct 25, 2026 · Last review: Sep 30, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 逻辑与离散数学

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/flower-pollination-algorithm

English original: https://www.edgepedia.org/flower-pollination-algorithm
