# 沙猫群优化

沙猫群优化（SCSO）是一种受自然启发的元启发式算法，它模仿沙猫的捕猎行为来求解连续全局优化问题。该算法建模于猫科动物的两项特性：能听到 2 kHz 以下的低频声音，这代表搜索（探索）阶段；以及挖掘猎物，这代表攻击（开发）阶段。<sup>[1](https://doi.org/10.1007/s00366-022-01604-x)</sup> 尽管真实的沙猫独居生活，算法却把它们当作一个群体来处理，以表达群体智能。<sup>[1](https://doi.org/10.1007/s00366-022-01604-x)</sup>

| 关键事实 | 说明 |
|---|---|
| 引入者 | Amir Seyyedabbasi 与 Farzad Kiani，《Engineering With Computers》，2022<sup>[1](https://doi.org/10.1007/s00366-022-01604-x)</sup> |
| 问题类别 | 连续全局优化；存在二进制与多目标变体<sup>[2](https://www.mdpi.com/2313-7673/8/3/310)</sup><sup> • </sup><sup>[3](https://thesai.org/Downloads/Volume16No3/Paper_54-A_Systematic_Literature_Review.pdf)</sup> |
| 阶段转换 | 自适应参数 \( R \)；\( \left| R \right| \leq 1 \) 表示开发，\( \left| R \right| > 1 \) 表示探索<sup>[1](https://doi.org/10.1007/s00366-022-01604-x)</sup> |
| 灵敏度范围 | \( r_{G} \) 随迭代从 2 线性降至 0，其中 \( s_{M} = 2 \)<sup>[4](https://www.mdpi.com/2313-7673/8/6/492)</sup> |
| 典型设置 | 种群规模 30，原始实验中最大迭代 500 次<sup>[1](https://doi.org/10.1007/s00366-022-01604-x)</sup> |
| 原始基准 | 20 个著名测试函数加 10 个 CEC2019 函数；在 63.3% 的测试函数上找到最优解<sup>[1](https://doi.org/10.1007/s00366-022-01604-x)</sup> |
| 主要应用 | 工程设计、特征选择、能源系统、作业车间调度、医学诊断<sup>[3](https://thesai.org/Downloads/Volume16No3/Paper_54-A_Systematic_Literature_Review.pdf)</sup> |

## 工作原理

每只沙猫都是一个候选解：一个 1 × d 的浮点变量向量，受上下界约束，存放在大小为 \( N_{\mathrm{pop}} \times N_{d} \) 的候选矩阵中。<sup>[1](https://doi.org/10.1007/s00366-022-01604-x)</sup> 一次迭代中成本最低的猫被视为最接近猎物的个体，其他猫向它移动。<sup>[1](https://doi.org/10.1007/s00366-022-01604-x)</sup> 为限制内存占用，算法只保存每次迭代的最优解。<sup>[5](https://www.nature.com/articles/s41598-023-50910-x)</sup>

阶段转换由猫的听觉模型驱动。灵敏度范围按下式计算：\( r_{G} = s_{M} - \left( s_{M} \times \frac{iter_{c}}{iter_{\max}} \right) \)，其中 \( s_{M} = 2 \)，因此随着迭代推进，\( r_{G} \) 从 2 线性降至 0。<sup>[4](https://www.mdpi.com/2313-7673/8/6/492)</sup><sup> • </sup><sup>[6](http://jrc.jadara.edu.jo/images/rschpdf/726147625667582661394_1-s2.0-S1574013725000814-main_compressed.pdf)</sup> 转换参数为 \( R = 2 \times r_{G} \times r_{1} - r_{G} \)，其中 \( r_{1} \) 为随机值。<sup>[4](https://www.mdpi.com/2313-7673/8/6/492)</sup> 当 \( |R| \leq 1 \) 时，个体进行开发；否则进行探索。<sup>[1](https://doi.org/10.1007/s00366-022-01604-x)</sup> 由于 \( r_{G} \) 收缩，探索在运行早期才有可能，其概率随 \( r_{G} \) 降至 1 及以下而降到零，此后所有更新都是开发性的。<sup>[6](http://jrc.jadara.edu.jo/images/rschpdf/726147625667582661394_1-s2.0-S1574013725000814-main_compressed.pdf)</sup>

在探索阶段（\( |R| > 1 \)），位置更新的一种表述为 \[ X(t+1) = r \cdot \left( X_{b}(t) - \mathrm{rand}(0,1) \cdot X_{c}(t) \right) \] 其中 \( X_{b} \) 为最优位置，\( X_{c} \) 为随机选中的一只猫。<sup>[7](https://pmc.ncbi.nlm.nih.gov/articles/PMC9989652/)</sup> 另一文献将同一阶段写作 \( P_{i,j}^{t+1} = r \times \left( P_{r,j}^{t} - r_{3} \times P_{i,j}^{t} \right) \)；两种写法在记号以及哪些位置参与更新上有所不同。<sup>[4](https://www.mdpi.com/2313-7673/8/6/492)</sup>

在开发阶段（\( |R| \leq 1 \)），逐坐标更新为 \[ X_{i}(t+1) = X_{b}(t) - r \cdot \left| u \cdot X_{b}(t) - X_{i}(t) \right| \cdot \cos(\alpha) \] 其中 \( u \) 为均匀随机值，\( r \) 是与 \( r_{G} \) 相关的随机移动尺度，\( X_{i} \) 为当前猫的位置。<sup>[7](https://pmc.ncbi.nlm.nih.gov/articles/PMC9989652/)</sup> 角度 \( \alpha \) 在 \( [-1, 1] \) 内抽取，在所引公式中以弧度解释，使每只猫具有不同的运动方向，有助于避免局部收敛。<sup>[8](https://link.springer.com/article/10.1007/s10462-024-10986-x)</sup>

各文献对 R 的取值范围也说法不一：一篇综述推导其为 \( [-2r_{G}, 2r_{G}] \) 内的随机值，只有当 \( r_{G} = SM - \left( SM \times \frac{iter_{c}}{iter_{max}} \right) \) 时才达到 ±4，<sup>[6](http://jrc.jadara.edu.jo/images/rschpdf/726147625667582661394_1-s2.0-S1574013725000814-main_compressed.pdf)</sup> 而一项比较研究则称 R 始终从 \( [-4, 4] \) 中抽取。<sup>[5](https://www.nature.com/articles/s41598-023-50910-x)</sup>

## 执行方式

使用者运行如下循环：

1. 初始化一个 \( N_{\mathrm{pop}} \times N_{d} \) 的猫矩阵，位置在边界内随机分布。<sup>[1](https://doi.org/10.1007/s00366-022-01604-x)</sup>
2. 评估每只猫的适应度，并记录该次迭代的最优解。<sup>[1](https://doi.org/10.1007/s00366-022-01604-x)</sup><sup> • </sup><sup>[5](https://www.nature.com/articles/s41598-023-50910-x)</sup>
3. 计算当前迭代的 \( r_{G} \) 与 R，并根据 \( |R| \) 用探索或开发方程更新每只猫的位置。<sup>[7](https://pmc.ncbi.nlm.nih.gov/articles/PMC9989652/)</sup>
4. 将位置裁剪到边界内，重新评估适应度，并更新迄今最优解。<sup>[1](https://doi.org/10.1007/s00366-022-01604-x)</sup>
5. 重复直至达到迭代预算。原始实验使用种群规模 30、迭代 500 次。<sup>[1](https://doi.org/10.1007/s00366-022-01604-x)</sup>

该算法被描述为易于实现、参数与运算都很少。<sup>[1](https://doi.org/10.1007/s00366-022-01604-x)</sup><sup> • </sup><sup>[7](https://pmc.ncbi.nlm.nih.gov/articles/PMC9989652/)</sup>

## 起源

SCSO 由 Amir Seyyedabbasi 与 Farzad Kiani 在论文《沙猫群优化：一种求解全局优化问题的自然启发式算法》中提出，发表于 2022 年的《Engineering With Computers》。<sup>[1](https://doi.org/10.1007/s00366-022-01604-x)</sup> 原始评估覆盖 20 个著名测试函数与 10 个复杂的 CEC2019 基准函数，SCSO 在 63.3% 的测试函数上找到最优解，并将算法应用于七个工程设计问题：焊接梁、拉压弹簧、压力容器、活塞杠杆、减速器、三杆桁架与悬臂梁设计。<sup>[1](https://doi.org/10.1007/s00366-022-01604-x)</sup> 该工作中的比较对象包括 PSO、GWO、WOA、GSA 与 BWO，测试集为 CEC2014、CEC2015 与 CEC2019。<sup>[1](https://doi.org/10.1007/s00366-022-01604-x)</sup> 灰狼优化器是一种结构相似的捕食者隐喻群体算法，属于这一谱系中更早的工作；它由 Seyedali Mirjalili 及其同事于 2014 年在《Advances in Engineering Software》上报道。<sup>[9](https://doi.org/10.1016/j.advengsoft.2013.12.007)</sup>

## 变体

2024 年《Artificial Intelligence Review》上的一篇综述列出了若干具名变体：RLSCSO，将 SCSO 与强化学习技术结合；BMSCSO，一种基于记忆的版本；以及 MSCSO，加入了三角游走与莱维飞行策略。<sup>[8](https://link.springer.com/article/10.1007/s10462-024-10986-x)</sup> 一篇《Biomimetics》上的改进论文列出了更多变体：混沌 SCSO（Kiani 等人）、二进制 SCSO、基于记忆的 SCSO、改进 SCSO，以及一种受政治启发的增强型 SCSO。<sup>[4](https://www.mdpi.com/2313-7673/8/6/492)</sup> 混沌变体由 Farzad Kiani 及其同事于 2023 年在《Mathematics》上报道。<sup>[10](https://doi.org/10.3390/math11102340)</sup>

二进制变体 bSCSO 面向离散问题，例如包装式特征选择，其做法是在位置更新时施加 V 形变换，将位置值映射到 0 至 1 区间。<sup>[2](https://www.mdpi.com/2313-7673/8/3/310)</sup> 一篇系统性文献综述还记录了应用于电动汽车充放电的多目标变体 MO-SCSA，以及透镜反向学习与针孔成像反向学习等学习机制的集成。<sup>[3](https://thesai.org/Downloads/Volume16No3/Paper_54-A_Systematic_Literature_Review.pdf)</sup> 2024 年的一篇综合综述将 2022 年以来基于 SCSO 的研究分为改进型、混合型与适配型三类，分别占研究的 39%、21% 与 40%。<sup>[11](https://link.springer.com/article/10.1007/s11831-024-10217-0)</sup>

## 应用

一篇覆盖 77 篇文章的系统性文献综述发现，该算法被应用于工程设计优化、特征选择、能源系统优化、柔性作业车间调度与医学诊断。<sup>[3](https://thesai.org/Downloads/Volume16No3/Paper_54-A_Systematic_Literature_Review.pdf)</sup> 除此之外，SCSO 还被用于复杂非线性系统实时控制中的反馈控制器设计，<sup>[7](https://pmc.ncbi.nlm.nih.gov/articles/PMC9989652/)</sup> 一种改进的 SCSO 被应用于农业机器人路径规划。<sup>[12](https://www.emerald.com/ec/article/42/4/1525/1246573/An-improved-sand-cat-swarm-optimization-algorithm)</sup> 二进制 bSCSO 变体在十个生物数据集上就包装式特征选择进行了评估，报告称其预测精度高于近期四种二进制优化器，且特征规模更小。<sup>[2](https://www.mdpi.com/2313-7673/8/3/310)</sup>

## 局限与替代方案

在 CEC 基准测试集上，原始论文在 CEC2014、CEC2015 与 CEC2019 函数上与七种算法的比较，被一篇综合综述概括为：收敛速度快于 CSO、WOA、GSA、SSA、GWO 与 PSO，精度也更高。<sup>[6](http://jrc.jadara.edu.jo/images/rschpdf/726147625667582661394_1-s2.0-S1574013725000814-main_compressed.pdf)</sup> 原始论文报告了与这些算法的量化精度比较，但所综述的文献并未提供原始 SCSO 与 PSO、GWO 或 WOA 之间量化的直接运行时间数据。

一篇覆盖 77 篇文章的系统性综述指出了六个方面的局限：早熟收敛与陷入局部最优、探索与开发之间的失衡、种群多样性与质量有限、计算效率问题、跨问题类型的适应性约束，以及需要更强的理论基础。<sup>[3](https://thesai.org/Downloads/Volume16No3/Paper_54-A_Systematic_Literature_Review.pdf)</sup> 早熟收敛的根源似乎是探索—开发失衡，这在多峰函数上尤为严重。<sup>[3](https://thesai.org/Downloads/Volume16No3/Paper_54-A_Systematic_Literature_Review.pdf)</sup> 另一篇改进论文指出，随着迭代增加，猫的移动效率下降，搜索能力减弱，收敛变慢。<sup>[8](https://link.springer.com/article/10.1007/s10462-024-10986-x)</sup> 由于该算法是为连续问题设计的，特征选择之类的二进制任务需要诸如 V 形传递函数之类的改造，一些研究还报告了收敛慢、计算时间长的问题，限制了它在大规模或时间敏感问题上的使用。<sup>[3](https://thesai.org/Downloads/Volume16No3/Paper_54-A_Systematic_Literature_Review.pdf)</sup>

最接近的替代方案是 PSO 与 GWO，综述之所以选择它们作为基准，是因为它们使用广泛、与 SCSO 结构相似且性能已得到验证。<sup>[3](https://thesai.org/Downloads/Volume16No3/Paper_54-A_Systematic_Literature_Review.pdf)</sup> 变体论文则以“没有免费午餐”定理为自己辩护，该定理指出“没有哪一种算法能适用于所有问题”，因此比较性能取决于具体问题。<sup>[5](https://www.nature.com/articles/s41598-023-50910-x)</sup>

## References

1. [Amir Seyyedabbasi, Farzad Kiani (2022). Sand Cat swarm optimization: a nature-inspired algorithm to solve global optimization problems. Engineering With Computers.](https://doi.org/10.1007/s00366-022-01604-x)
2. [Binary Sand Cat Swarm Optimization Algorithm for Wrapper Feature Selection on Biological Data](https://www.mdpi.com/2313-7673/8/3/310)
3. [A Systematic Literature Review on the Sand Cat Swarm Algorithm: Enhancements, Applications, and Future Directions](https://thesai.org/Downloads/Volume16No3/Paper_54-A_Systematic_Literature_Review.pdf)
4. [Multi-Strategy Improved Sand Cat Swarm Optimization: Global Optimization and Feature Selection](https://www.mdpi.com/2313-7673/8/6/492)
5. [DGS-SCSO: Enhancing Sand Cat Swarm Optimization with Dynamic Pinhole Imaging and Golden Sine Algorithm for improved numerical optimization performance](https://www.nature.com/articles/s41598-023-50910-x)
6. [Sand cat swarm optimization: A comprehensive review of algorithmic advances, structural enhancements, and engineering applications](http://jrc.jadara.edu.jo/images/rschpdf/726147625667582661394_1-s2.0-S1574013725000814-main_compressed.pdf)
7. [Sand cat swarm optimization-based feedback controller design for nonlinear systems](https://pmc.ncbi.nlm.nih.gov/articles/PMC9989652/)
8. [Improved sandcat swarm optimization algorithm for solving global optimum problems (Artificial Intelligence Review)](https://link.springer.com/article/10.1007/s10462-024-10986-x)
9. [Seyedali Mirjalili and colleagues (2014). Grey Wolf Optimizer. Advances in Engineering Software.](https://doi.org/10.1016/j.advengsoft.2013.12.007)
10. [Farzad Kiani and colleagues (2023). Chaotic Sand Cat Swarm Optimization. Mathematics.](https://doi.org/10.3390/math11102340)
11. [Advances in Sand Cat Swarm Optimization: A Comprehensive Study (Archives of Computational Methods in Engineering)](https://link.springer.com/article/10.1007/s11831-024-10217-0)
12. [An improved sand cat swarm optimization algorithm and its application to agricultural robot path planning | Engineering Computations](https://www.emerald.com/ec/article/42/4/1525/1246573/An-improved-sand-cat-swarm-optimization-algorithm)

---
*Initially written Sep 29, 2026 · Reviewed: Sep 30, 2026 · Edited: Oct 15, 2026 · Last review: Sep 30, 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/sand-cat-swarm-optimization

English original: https://www.edgepedia.org/sand-cat-swarm-optimization
