# 蝠鲼觅食优化

蝠鲼觅食优化（Manta ray foraging optimization，MRFO）是一种受自然启发的元启发式算法（一种用于寻找足够好解的通用搜索算法框架），它模仿蝠鲼的群体觅食行为，以搜索工程与计算机科学中连续的、往往带约束的实值优化问题的最优解。与其他基于群智能的元启发式算法一样，它维护一个候选解种群，并用随机算子不断更新，直到满足终止条件，返回所找到的最优解。

| 关键事实 | 详情 |
|---|---|
| 提出者 | 赵卫国、张振兴、王丽英，发表于《人工智能工程应用》期刊 <sup>[1](https://doi.org/10.1016/j.engappai.2019.103300)</sup> |
| 建模行为 | 觅食蝠鲼的链式觅食、旋风觅食和翻筋斗觅食 <sup>[2](https://www.nature.com/articles/s41598-024-59960-1)</sup> |
| 翻筋斗因子 | 标准算法中固定为 \( s = 2 \) <sup>[2](https://www.nature.com/articles/s41598-024-59960-1)</sup> |
| 典型设置 | 种群规模50、100次迭代、30次运行，在某电力系统应用中经试错法选定 <sup>[3](https://www.mdpi.com/1996-1073/14/16/4856)</sup> |
| 研究成果 | 2024年一项综述统计：49%为应用、31%为改进变体、12%为混合算法、8%为其他变体 <sup>[4](https://link.springer.com/article/10.1007/s42235-024-00481-y)</sup> |
| 已知弱点 | 收敛至所需精度的速度慢、易陷入局部最优、翻筋斗参数固定 <sup>[2](https://www.nature.com/articles/s41598-024-59960-1)</sup><sup> • </sup><sup>[5](https://link.springer.com/article/10.1007/s44196-025-00753-3)</sup> |
| 代码 | MathWorks File Exchange上的MATLAB实现（ID 73130）；开源mealpy库中亦有实现 <sup>[6](https://experts.illinois.edu/en/publications/manta-ray-foraging-optimization-an-effective-bio-inspired-optimiz/)</sup><sup> • </sup><sup>[7](https://mealpy.readthedocs.io/en/latest/_modules/mealpy/swarm_based/MRFO.html)</sup> |

## 工作原理

MRFO模仿蝠鲼群体觅食时采用的三种觅食模式。<sup>[2](https://www.nature.com/articles/s41598-024-59960-1)</sup> 在链式觅食中，蝠鲼排成一条链，每个候选解朝链中位于其前方的个体以及迄今找到的最优位置移动；第一个个体只参照最优位置。步长由随机系数缩放

\[ \alpha = 2 \cdot r \cdot \sqrt{\left| \log(r) \right|} \]

其中 r 从 (0, 1) 中均匀抽取。<sup>[2](https://www.nature.com/articles/s41598-024-59960-1)</sup>

在旋风觅食中，当浮游生物浓度较高时，蝠鲼聚集成旋风状的螺旋。MRFO用惯性权重对螺旋建模

\[ \beta = 2 \cdot e^{\frac{r_{1}(T - t + 1)}{T}} \cdot \sin(2\pi r_{1}) \]

其中 \( r_{1} \) 在 [0, 1] 上均匀分布，t 和 T 分别为当前迭代次数和最大迭代次数。<sup>[2](https://www.nature.com/articles/s41598-024-59960-1)</sup> 为保持多样性，当 \( t/T < r \) 时，个体转而参照在上下界之间随机抽取的参考位置 \( x_{\mathrm{rand}} = L_{b} + r \cdot (U_{b} - L_{b}) \)，而非跟随最优解。<sup>[2](https://www.nature.com/articles/s41598-024-59960-1)</sup>

翻筋斗觅食在每次迭代的链式或旋风更新之后进行，以食物位置为支点，每个个体绕其翻筋斗：

\[ x_{i}^{d}(t+1) = x_{i}^{d}(t) + s \cdot \left( r_{2} \cdot x_{best}^{d} - r_{3} \cdot x_{i}^{d}(t) \right), \quad i = 1, 2, \ldots, N \]

其中 s 为翻筋斗因子，一般取 \( s = 2 \)，\( r_{2} \) 和 \( r_{3} \) 为随机数；一篇论文给出其范围为 (0, 1)，另一篇为 [0, 1]，文献并未解决这一分歧。<sup>[2](https://www.nature.com/articles/s41598-024-59960-1)</sup><sup> • </sup><sup>[3](https://www.mdpi.com/1996-1073/14/16/4856)</sup> 已发表文献中没有单独命名“螺旋系数”；唯一命名的常数是翻筋斗因子 s。

## 实施步骤

实践者运行如下循环 <sup>[2](https://www.nature.com/articles/s41598-024-59960-1)</sup><sup> • </sup><sup>[7](https://mealpy.readthedocs.io/en/latest/_modules/mealpy/swarm_based/MRFO.html)</sup>：

1. 在边界 \( [L_{b}, U_{b}] \) 内均匀初始化 N 个候选位置的种群，并评估目标函数。
2. 根据随机判据选择链式觅食或旋风觅食：若选中链式觅食，则朝前方个体和最优位置更新每个个体，步长由 \( \alpha \) 缩放；若选中旋风觅食，则沿由 \( \beta \) 支配的螺旋更新个体，且当 \( t/T < r \) 时，用随机位置 \( x_{\mathrm{rand}} \) 替换参照位置以保持探索。
4. 执行翻筋斗觅食：用 \( s = 2 \) 的支点方程让每个个体绕最优位置移动。
5. 重新评估、更新最优解，重复直至迭代预算 T 耗尽。

主要控制参数为种群规模和最大迭代次数；翻筋斗因子固定为2，随机系数 r、\( r_{1} \)、\( r_{2} \)、\( r_{3} \) 在运行时抽取。已发表的应用通常经试错法设定种群与迭代次数；一项分布式发电研究采用种群50、100次迭代、30次重复。<sup>[3](https://www.mdpi.com/1996-1073/14/16/4856)</sup> 文献中已出现对MRFO变体的参数敏感性分析；例如，对CLA-MRFO参数的综合敏感性分析评估了混沌映射选择、初始种群策略和交叉率对收敛行为的影响。

## 起源

MRFO由赵卫国、张振兴、王丽英在论文《蝠鲼觅食优化：一种面向工程应用的有效仿生优化器》中报道，发表于《人工智能工程应用》。<sup>[1](https://doi.org/10.1016/j.engappai.2019.103300)</sup> 该论文在某些引用中标注为2019年，而期刊卷（第87卷，文章编号103300）标注为2020年，二手文献和mealpy库的引用则将其引作2020年。<sup>[7](https://mealpy.readthedocs.io/en/latest/_modules/mealpy/swarm_based/MRFO.html)</sup><sup> • </sup><sup>[4](https://link.springer.com/article/10.1007/s42235-024-00481-y)</sup> 该论文从计算成本和求解精度两方面针对工程问题，其MATLAB代码可在MathWorks File Exchange上获取。<sup>[6](https://experts.illinois.edu/en/publications/manta-ray-foraging-optimization-an-effective-bio-inspired-optimiz/)</sup>

## 变体

2024年一项综述将MRFO研究分为四类：49%为应用、31%为改进变体、12%为混合算法、8%为其他变体。<sup>[4](https://link.springer.com/article/10.1007/s42235-024-00481-y)</sup> 已命名的变体包括：

- **IMRFO**，由屈鹏举、袁庆妮、杜飞龙和高庆阳（2024）提出，加入Tent混沌映射使初始种群分布更均匀，加入双向搜索策略扩大搜索区域，并加入Lévy飞行以增强跳出局部最优的能力。<sup>[2](https://www.nature.com/articles/s41598-024-59960-1)</sup>
- **IBMRFO**，由张坤鹏、刘衍珩、王雪、梅芳、康辉和孙庚（2024）提出，是结合混沌Tent映射初始化、自适应翻筋斗觅食因子和S形传递机制的二进制版本，用于UCI数据集上的特征选择。<sup>[8](https://doi.org/10.1016/j.eswa.2024.123977)</sup>
- **PAMRFO**，由唐振涛、王凯宇及其同事（2025）提出，用基于成功历史的自适应策略替代固定的翻筋斗系数，并在翻筋斗觅食中用从前G个高质量解中随机选取的一个解替代最优个体。<sup>[5](https://link.springer.com/article/10.1007/s44196-025-00753-3)</sup>
- **ESARSA-MRFO-FS**，由Yousry AbdulAzeem、Hossam Magdy Balaha及其同事（2025）提出，利用Expected-SARSA强化学习改进MRFO的探索—开发切换机制，用于特征选择。<sup>[9](https://doi.org/10.1016/j.knosys.2025.113695)</sup>
- **CLA-MRFO**，由Shamsuddeen Adamu、Hitham Alhussian及其同事（2025）提出，加入混沌Lévy飞行调制、相位感知记忆和熵启发的重启策略，用于基因特征选择。<sup>[10](https://doi.org/10.1038/s41598-025-25766-y)</sup>
- **BMRFO**，一种均衡变体，在旋风觅食阶段引入Lévy飞行并改进翻转因子，以增强跳出局部最优的能力。<sup>[11](https://pmc.ncbi.nlm.nih.gov/articles/PMC9262499/)</sup>
- **HMRFO** 以及2025年的一种分层引导MRFO，均由唐振涛、王凯宇及其同事与高尚策合作提出，分别加入加权适应度—距离平衡选择和分层引导。<sup>[12](https://doi.org/10.1007/s44196-023-00289-4)</sup><sup> • </sup><sup>[13](https://doi.org/10.1038/s41598-025-90867-7)</sup>
- 多目标MRFO扩展采用基于帕累托的选择和拥挤距离来维持多样化的解集。<sup>[13](https://doi.org/10.1038/s41598-025-90867-7)</sup>

## 应用

已发表的应用包括经济负荷调度、图像分割、能耗最小化和径向配电网。<sup>[2](https://www.nature.com/articles/s41598-024-59960-1)</sup> 在电力系统中，MRFO已被用于智能配电网中分布式发电资源的优化配置与规划。<sup>[3](https://www.mdpi.com/1996-1073/14/16/4856)</sup> 在机器学习中，MRFO被用于优化支持向量机和卷积神经网络以进行分类和超参数调优，并与CNN混合用于脑肿瘤检测，提高了准确率并降低了维度。<sup>[13](https://doi.org/10.1038/s41598-025-90867-7)</sup> 二进制和增强变体面向特征选择，包括基因特征选择。<sup>[8](https://doi.org/10.1016/j.eswa.2024.123977)</sup><sup> • </sup><sup>[10](https://doi.org/10.1038/s41598-025-25766-y)</sup> PAMRFO被应用于六个多峰太阳能光伏模型的参数估计，以100%的成功率优于竞争方法。<sup>[5](https://link.springer.com/article/10.1007/s44196-025-00753-3)</sup> 一种均衡变体还被应用于无线传感器网络的覆盖优化。<sup>[11](https://pmc.ncbi.nlm.nih.gov/articles/PMC9262499/)</sup>

## 局限与替代方案

基线MRFO存在已记录的弱点。它收敛至所需精度的速度慢，且容易陷入局部最优，改进变体的作者将其归因于探索和开发阶段缺乏扰动。<sup>[2](https://www.nature.com/articles/s41598-024-59960-1)</sup> 在翻筋斗觅食中，所有个体仅围绕当前最优个体更新位置，使种群随着迭代推进容易卡在局部最优。<sup>[5](https://link.springer.com/article/10.1007/s44196-025-00753-3)</sup> 固定的翻筋斗因子 s 限制了在不同优化阶段平衡搜索能力与收敛速度的适应性 <sup>[5](https://link.springer.com/article/10.1007/s44196-025-00753-3)</sup>，静态的觅食设计限制了多样性，拖慢了在多峰CEC'2017函数（如 \( f_{7} \) 和 \( f_{18} \)）上的收敛。<sup>[10](https://doi.org/10.1038/s41598-025-25766-y)</sup> 由于该算法最初为连续优化而设计，在没有传递机制的情况下并不适合二进制解空间。<sup>[8](https://doi.org/10.1016/j.eswa.2024.123977)</sup>

基准证据大多来自变体而非原始算法。IMRFO在23个基准函数、CEC2017和CEC2022测试集以及五个工程问题上与另外10种算法进行了比较，0.05显著性水平的Wilcoxon秩和检验报告其战胜了几乎所有竞争者。<sup>[2](https://www.nature.com/articles/s41598-024-59960-1)</sup> PAMRFO在29个CEC2017函数上对七种最先进算法取得82.39%的平均胜率。<sup>[5](https://link.springer.com/article/10.1007/s44196-025-00753-3)</sup> 比较研究将MRFO与鲸鱼优化算法（WOA）、[爬行动物搜索算法](https://www.edgepedia.org/zh/reptile-search-algorithm)（RSA）、变色龙群算法（CSA）、分数阶Caputo MRFO、HMRFO以及TAPSO和XPSO等PSO变体进行对比。<sup>[5](https://link.springer.com/article/10.1007/s44196-025-00753-3)</sup> 同一文献指出，PSO的计算开销随维度上升，而GWO固定的领导层级可能导致早熟收敛。<sup>[10](https://doi.org/10.1038/s41598-025-25766-y)</sup> 提出该算法的论文报告了在基准函数和工程设计问题上与其他优化器的直接基准比较，尚无已发表文献直接回应没有免费午餐定理或基准过拟合的批评。

## References

1. [Weiguo Zhao, Zhenxing Zhang, Liying Wang (2019). Manta ray foraging optimization: An effective bio-inspired optimizer for engineering applications. Engineering Applications of Artificial Intelligence.](https://doi.org/10.1016/j.engappai.2019.103300)
2. [An improved manta ray foraging optimization algorithm (Scientific Reports, 2024)](https://www.nature.com/articles/s41598-024-59960-1)
3. [Optimal Allocation and Planning of Distributed Power Generation Resources in a Smart Distribution Network Using the Manta Ray Foraging Optimization Algorithm (Energies)](https://www.mdpi.com/1996-1073/14/16/4856)
4. [Advances in Manta Ray Foraging Optimization: A Comprehensive Survey (Journal of Bionic Engineering, 2024)](https://link.springer.com/article/10.1007/s42235-024-00481-y)
5. [Parameter Adaptive Manta Ray Foraging Optimization for Global Continuous Optimization Problems and Parameter Estimation of Solar Photovoltaic Models (International Journal of Computational Intelligence Systems, 2025)](https://link.springer.com/article/10.1007/s44196-025-00753-3)
6. [Manta ray foraging optimization: An effective bio-inspired optimizer for engineering applications (Illinois Experts record of the original MRFO paper)](https://experts.illinois.edu/en/publications/manta-ray-foraging-optimization-an-effective-bio-inspired-optimiz/)
7. [Source code for mealpy.swarm_based.MRFO](https://mealpy.readthedocs.io/en/latest/_modules/mealpy/swarm_based/MRFO.html)
8. [Kunpeng Zhang and colleagues (2024). IBMRFO: Improved binary manta ray foraging optimization with chaotic tent map and adaptive somersault factor for feature selection. Expert Systems with Applications.](https://doi.org/10.1016/j.eswa.2024.123977)
9. [Yousry AbdulAzeem and colleagues (2025). ESARSA-MRFO-FS: Optimizing Manta-ray Foraging Optimizer using Expected-SARSA reinforcement learning for features selection. Knowledge-Based Systems.](https://doi.org/10.1016/j.knosys.2025.113695)
10. [Shamsuddeen Adamu and colleagues (2025). Chaotic Lévy and adaptive restart enhance the Manta Ray foraging optimizer for gene feature selection. Scientific Reports.](https://doi.org/10.1038/s41598-025-25766-y)
11. [Application of Improved Manta Ray Foraging Optimization Algorithm in Coverage Optimization of Wireless Sensor Networks (2022)](https://pmc.ncbi.nlm.nih.gov/articles/PMC9262499/)
12. [Zhentao Tang and colleagues (2023). Hierarchical Manta Ray Foraging Optimization with Weighted Fitness-Distance Balance Selection. International Journal of Computational Intelligence Systems.](https://doi.org/10.1007/s44196-023-00289-4)
13. [Zhentao Tang and colleagues (2025). Hierarchical guided manta ray foraging optimization for global continuous optimization problems and parameter estimation of solar photovoltaic models. Scientific Reports.](https://doi.org/10.1038/s41598-025-90867-7)

---
*Initially written Sep 29, 2026 · Edited: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 人工智能与数据 › Algorithms and computational methods › Optimization and dynamic programming › Swarm intelligence optimizers

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/manta-ray-foraging-optimization

English original: https://www.edgepedia.org/manta-ray-foraging-optimization
