# 灰色预测模型

灰色预测模型是灰色系统理论中的一种小样本预测方法，它对简短、不完整的数据序列拟合一个一阶微分方程模型并外推；其标准形式GM(1,1)是单变量模型，含一个因变量时间序列，不含自变量。<sup>[1](https://onlinelibrary.wiley.com/doi/10.1155/2020/6514236)</sup> 灰色系统理论处理以小样本、贫信息为特征的问题。<sup>[2](https://www.ttcenter.ir/ArticleFiles/ENARTICLE/3602.pdf)</sup> 仅凭四个非负观测值即可建模，<sup>[3](https://www.sciencedirect.com/science/article/abs/pii/S0096300312012829)</sup><sup> • </sup><sup>[4](https://media.springernature.com/original/springer-static/esm/art%3A10.1186%2Fs12879-022-07496-y/MediaObjects/12879_2022_7496_MOESM1_ESM.pdf)</sup> 该模型的优点包括数据需求小、建模过程简单、易于学习使用。<sup>[1](https://onlinelibrary.wiley.com/doi/10.1155/2020/6514236)</sup>

| 关键事实 | 详情 |
|---|---|
| 最少数据 | 四个或更多非负样本<sup>[4](https://media.springernature.com/original/springer-static/esm/art%3A10.1186%2Fs12879-022-07496-y/MediaObjects/12879_2022_7496_MOESM1_ESM.pdf)</sup> |
| 核心方程 | 基本差分形式 \( x^{(0)}(k) + a z^{(1)}(k) = b \)<sup>[1](https://onlinelibrary.wiley.com/doi/10.1155/2020/6514236)</sup> |
| 参数 | \( a \) 为发展系数，反映原始序列的趋势；\( b \) 为灰作用量，代表不确定的外部因素<sup>[1](https://onlinelibrary.wiley.com/doi/10.1155/2020/6514236)</sup> |
| 精度分级 | MAPE区间：低于10%为优，10–20%为良，20–50%为合理，超过50%为不合格；一般要求 \( P_o = (1 - \text{MAPE}) \times 100\% > 80\% \)<sup>[4](https://media.springernature.com/original/springer-static/esm/art%3A10.1186%2Fs12879-022-07496-y/MediaObjects/12879_2022_7496_MOESM1_ESM.pdf)</sup> |
| 后验差检验 | 高：\( C \le 0.35, P > 0.95 \)；良：\( C \le 0.45, P > 0.80 \)；合理：\( C \le 0.50, P > 0.70 \)；弱：\( C \ge 0.65, P \le 0.70 \)<sup>[5](https://www.ijmems.in/cms/storage/app/public/uploads/volumes/77-IJMEMS-21-0082-6-5-1276-1296-2021.pdf)</sup> |
| 最佳数据条件 | 近似单一指数增长、单调或饱和S形序列<sup>[6](https://doi.org/10.21203/rs.3.rs-3098016/v1)</sup><sup> • </sup><sup>[7](https://pdfs.semanticscholar.org/3bf6/adfe3d235c695717b267ebcfaf9e4bda598e.pdf)</sup> |
| 小样本对比 | 常规回归配合遗传算法与ARIMA至少需要50个、最好100个观测值；灰色模型仅凭四个即可预测<sup>[8](https://ijnaa.semnan.ac.ir/article_4395_ccc214e68a9554d46d13d53064b78455.pdf)</sup> |

## 工作原理

灰色预测将观测序列视为一个结构仅部分已知的系统的局部视图。原始序列 \( X^{(0)} \) 经一阶累加生成运算（1-AGO）累加为 \( X^{(1)} \)，从而转化为单调递增序列；这削弱了随机波动，强化了潜在规律。<sup>[4](https://media.springernature.com/original/springer-static/esm/art%3A10.1186%2Fs12879-022-07496-y/MediaObjects/12879_2022_7496_MOESM1_ESM.pdf)</sup> 随后对连续白化方程 \( dx^{(1)}/dt + a \cdot x^{(1)} = b \) 进行离散化，并用最小二乘法估计其参数。<sup>[9](http://arxiv.org/pdf/1908.03493v1)</sup> 由于该微分方程具有指数形式的解，灰色预测模型表现为指数模型，已发表的数值模拟表明，GM(1,1)的四种基本形式仅适用于具有近似指数特征的序列。

两个参数含义不同。在基本形式 \( x^{(0)}(k) + a z^{(1)}(k) = b \) 中，发展系数 \( a \) 是反馈项，其大小和符号反映 \( x^{(0)}(k) \) 的发展趋势；而 \( b \) 即灰作用量，代表系统所有不确定的外部驱动因素。<sup>[1](https://onlinelibrary.wiley.com/doi/10.1155/2020/6514236)</sup> 两者均由数据通过最小二乘法估计，因此模型对序列不作任何分布假设。<sup>[1](https://onlinelibrary.wiley.com/doi/10.1155/2020/6514236)</sup>

## 操作步骤

工作流程如下。第一，收集 \( n \ge 4 \) 个正值样本；仅凭四个连续、等间隔的观测值即可建模，但实践中建议多于四个。<sup>[4](https://media.springernature.com/original/springer-static/esm/art%3A10.1186%2Fs12879-022-07496-y/MediaObjects/12879_2022_7496_MOESM1_ESM.pdf)</sup><sup> • </sup><sup>[5](https://www.ijmems.in/cms/storage/app/public/uploads/volumes/77-IJMEMS-21-0082-6-5-1276-1296-2021.pdf)</sup> 第二，应用1-AGO得到 \( X^{(1)} \)。第三，构造背景值 \( z^{(1)}(k) = 0.5\,(x^{(1)}(k) + x^{(1)}(k-1)) \)，即相邻累加值的均值。<sup>[4](https://media.springernature.com/original/springer-static/esm/art%3A10.1186%2Fs12879-022-07496-y/MediaObjects/12879_2022_7496_MOESM1_ESM.pdf)</sup> 第四，用最小二乘法估计参数向量，

\[ [a, b]^{T} = (B^{T} B)^{-1} B^{T} Y, \]

其中 \( B \) 由背景值构成，\( Y \) 由原始差分构成。<sup>[4](https://media.springernature.com/original/springer-static/esm/art%3A10.1186%2Fs12879-022-07496-y/MediaObjects/12879_2022_7496_MOESM1_ESM.pdf)</sup> 第五，以初始条件 \( x^{(1)}(1) = x^{(0)}(1) \) 求解白化方程，最后通过逆累加生成运算还原预测值，\( \hat{x}^{(0)}(k+1) = \hat{x}^{(1)}(k+1) - \hat{x}^{(1)}(k) \)。<sup>[4](https://media.springernature.com/original/springer-static/esm/art%3A10.1186%2Fs12879-022-07496-y/MediaObjects/12879_2022_7496_MOESM1_ESM.pdf)</sup><sup> • </sup><sup>[9](http://arxiv.org/pdf/1908.03493v1)</sup>

精度在拟合序列上检验。平均绝对百分比误差按Lewis准则分级（低于10%为优，10–20%为良，20–50%为合理，超过50%为不合格），模型精度 \( P_o = (1 - \text{MAPE}) \times 100\% \) 一般要求超过80%。<sup>[4](https://media.springernature.com/original/springer-static/esm/art%3A10.1186%2Fs12879-022-07496-y/MediaObjects/12879_2022_7496_MOESM1_ESM.pdf)</sup> 后验差检验对均方偏差之比 \( C \) 与小相对误差概率 \( P \) 进行分级，从高（\( C \le 0.35, P > 0.95 \)）到弱（\( C \ge 0.65, P \le 0.70 \)）。<sup>[5](https://www.ijmems.in/cms/storage/app/public/uploads/volumes/77-IJMEMS-21-0082-6-5-1276-1296-2021.pdf)</sup>

## 起源

该方法背后的理论经邓聚龙（Jyhjeng Deng）的《灰色系统理论导论》向更广泛的读者阐述，该文发表于1989年的《灰色系统杂志》。<sup>[10](https://doi.org/10.5555/90757.90758)</sup>

## 变体

该模型族在多个方向上扩展了单变量核心。灰色Verhulst模型 \( dx^{(1)}/dt + a \cdot x^{(1)} = b \cdot (x^{(1)})^{2} \) 面向非单调的波浪形或饱和S形序列，DGM(2,1)则是单序列二阶线性动态模型。<sup>[8](https://ijnaa.semnan.ac.ir/article_4395_ccc214e68a9554d46d13d53064b78455.pdf)</sup> 谢乃明（Nai-ming Xie）与刘思峰（Si-feng Liu）的离散灰色预测模型发表于2008年的《应用数学建模》，避免了将连续形式转化为离散形式时的固有误差。<sup>[11](https://doi.org/10.1016/j.apm.2008.01.011)</sup><sup> • </sup><sup>[12](https://www.sciencedirect.com/science/article/abs/pii/S0960077924002984)</sup> 非线性灰色伯努利模型NGBM(1,1)用幂指数表示非线性特征，经验上优于GM(1,1)和灰色Verhulst，而SAGM(1,1)则在非平滑序列上取代GM(1,1)。<sup>[13](https://arxiv.org/html/2104.00871v2)</sup><sup> • </sup><sup>[14](https://www.sciengine.com/doi/pdf/05BADA3698AC40158ABD748C9F43C499)</sup> 曾波（Bo Zeng）、马新（Xin Ma）与石娟娟（Juanjuan Shi）的GM(1,1,⊗b)模型发表于2020年的《复杂性》，将灰作用量还原为区间灰数，并应用于中国的天然气消费。<sup>[1](https://onlinelibrary.wiley.com/doi/10.1155/2020/6514236)</sup> 分数阶累加由吴利丰（Lifeng Wu）及其同事于2012年在《非线性科学与数值模拟通讯》上提出，推广了整数阶1-AGO，<sup>[15](https://doi.org/10.1016/j.cnsns.2012.11.017)</sup> 马新及其同事的一致分数阶灰色系统模型发表于2019年的《ISA汇刊》，其最优累加阶数介于0与1之间。<sup>[16](https://doi.org/10.1016/j.isatra.2019.07.009)</sup> 马的灰色机器学习（2018）用核隐映射扩展了GM(1,1)与DGM(1,1)的共同表述。<sup>[17](https://doi.org/10.48550/arxiv.1805.01745)</sup>

已确立的修正包括残差GM(1,1)误差补偿、滚动与代谢机制、背景值重构、初始条件优化、序列预处理与平滑，以及参数的智能全局优化。<sup>[18](https://www.nature.com/articles/s41598-024-81166-8)</sup> 粒子群优化的GM(1,1)由Elvis Twumasi及其同事于2021年提出，<sup>[19](https://doi.org/10.1186/s43067-021-00036-9)</sup> 递推灰色模型由刘连义（Lianyi Liu）及其同事于2023年提出，<sup>[20](https://doi.org/10.1016/j.apm.2023.02.033)</sup> 结合鲸鱼优化算法的无偏分数阶灰色伯努利模型由蒲斌（Bin Pu）及其同事于2021年提出。<sup>[21](https://doi.org/10.1016/j.egyr.2021.09.105)</sup> 2024年起发表的工作集中于分数阶与元启发式方法：陈（Chen）及其同事（2024）将一致分数阶累加与多项式灰作用量相结合用于中国的能源消费，<sup>[22](https://www.nature.com/articles/s41598-024-82128-w)</sup> 徐（Xu）及其同事（2024）用粒子群优化在扩展的一致分数阶模型中寻找最优分数阶。<sup>[23](https://doi.org/10.1016/j.chaos.2024.114746)</sup>

## 应用

能源预测在案例研究文献中占主导地位。一个结合背景值、初始条件与多项式灰作用量优化的一致分数阶累加模型对中国能源消费的模拟MAPE达到1.931%。<sup>[22](https://www.nature.com/articles/s41598-024-82128-w)</sup> 带滚动机制的灰色预测被应用于土耳其的电力需求。<sup>[24](https://doi.org/10.1016/j.energy.2006.11.014)</sup> 在能源之外，一个用神经网络修正残差符号的改进GM(1,1)在沙特城市固体废物数据上将相对精度从94.39%提高到97.89%。<sup>[5](https://www.ijmems.in/cms/storage/app/public/uploads/volumes/77-IJMEMS-21-0082-6-5-1276-1296-2021.pdf)</sup>

## 局限与替代方法

经典模型的数据条件狭窄。已发表的评估指出，它仅适用于单一指数增长序列，其单调指数结构无法捕捉月度季节变化；在马来西亚月度电力消费上，它对2021年12月预测为15,165.90，而实际为14,542。<sup>[14](https://www.sciengine.com/doi/pdf/05BADA3698AC40158ABD748C9F43C499)</sup><sup> • </sup><sup>[25](https://www.frontiersin.org/journals/applied-mathematics-and-statistics/articles/10.3389/fams.2026.1869492/full)</sup> 该模型只能用于预测变量的正实现值，且难以识别经典的随机成分。<sup>[26](https://msed.vse.cz/msed_2014/article/383-Barczak-Stanislaw-paper.pdf)</sup> 两种参数区间会导致失败：当 \( a = 0 \) 时，预测方程退化为零乘无穷的不定式；当 \( |a| \ge 1.5 \) 时，误差会变得很大。<sup>[3](https://www.sciencedirect.com/science/article/abs/pii/S0096300312012829)</sup><sup> • </sup><sup>[9](http://arxiv.org/pdf/1908.03493v1)</sup> 刘与邓按发展系数阈值将GM(1,1)的有效区域划分为有效区、慎用区、不宜区和禁用区。<sup>[2](https://www.ttcenter.ir/ArticleFiles/ENARTICLE/3602.pdf)</sup><sup> • </sup><sup>[8](https://ijnaa.semnan.ac.ir/article_4395_ccc214e68a9554d46d13d53064b78455.pdf)</sup>

与替代方法相比，权衡在于样本量与灵活性。回归配合遗传算法与ARIMA至少需要50个、最好100个观测值，而灰色模型仅凭四个即可预测。<sup>[8](https://ijnaa.semnan.ac.ir/article_4395_ccc214e68a9554d46d13d53064b78455.pdf)</sup> 在中国的能源需求上，报告的拟合MAPE为ARIMA 3.25%、三角灰色模型2.12%，均逊于神经网络灰色残差修正模型。<sup>[27](https://link.springer.com/article/10.1057/s41274-016-0130-2)</sup>

## References

1. [Modeling Method of the Grey GM(1,1) Model with Interval Grey Action Quantity (Complexity, 2020)](https://onlinelibrary.wiley.com/doi/10.1155/2020/6514236)
2. [New progress of Grey System (Liu, review of 2000–2015 progress)](https://www.ttcenter.ir/ArticleFiles/ENARTICLE/3602.pdf)
3. [Chen & Huang, The necessary and sufficient condition for GM(1,1) grey prediction model, Applied Mathematics and Computation 219:6152–6162, 2013](https://www.sciencedirect.com/science/article/abs/pii/S0096300312012829)
4. [Supplemental Methods: The establishment of GM(1,1) model (BMC Infectious Diseases, 2022)](https://media.springernature.com/original/springer-static/esm/art%3A10.1186%2Fs12879-022-07496-y/MediaObjects/12879_2022_7496_MOESM1_ESM.pdf)
5. [Application of Modified Grey Forecasting Model to Predict Municipal Solid Waste Generation using MLP and MLE (IJMEMS, 2021)](https://www.ijmems.in/cms/storage/app/public/uploads/volumes/77-IJMEMS-21-0082-6-5-1276-1296-2021.pdf)
6. [Exploring the mechanism of grey forecasting models: A perspective from dynamic system modelling (aggregator copy)](https://doi.org/10.21203/rs.3.rs-3098016/v1)
7. [Hybrid grey model (EMD-ARMA-GM(1,1)) for small oscillation sequences](https://pdfs.semanticscholar.org/3bf6/adfe3d235c695717b267ebcfaf9e4bda598e.pdf)
8. [Prediction of Renewable Energy Production Using Grey Systems Theory (IJNAA)](https://ijnaa.semnan.ac.ir/article_4395_ccc214e68a9554d46d13d53064b78455.pdf)
9. [A discrete GM(1,1) model with Simpson-formula background value (GMSD(1,1))](http://arxiv.org/pdf/1908.03493v1)
10. [Jyhjeng Deng (1989). Introduction to Grey system theory. The journal of grey system/Journal of grey system.](https://doi.org/10.5555/90757.90758)
11. [Nai-ming Xie, Si-feng Liu (2008). Discrete grey forecasting model and its optimization. Applied Mathematical Modelling.](https://doi.org/10.1016/j.apm.2008.01.011)
12. [An extensive conformable fractional grey model and its application (Chaos, Solitons & Fractals, 2024)](https://www.sciencedirect.com/science/article/abs/pii/S0960077924002984)
13. [A Comparative Analysis of Machine Learning and Grey Models (arXiv review)](https://arxiv.org/html/2104.00871v2)
14. [GM(1,1) model optimized by translation transformation (TT-GM(1,1)), Science China press PDF](https://www.sciengine.com/doi/pdf/05BADA3698AC40158ABD748C9F43C499)
15. [Lifeng Wu and colleagues (2012). Grey system model with the fractional order accumulation. Communications in Nonlinear Science and Numerical Simulation.](https://doi.org/10.1016/j.cnsns.2012.11.017)
16. [Xin Ma and colleagues (2019). The conformable fractional grey system model. ISA Transactions.](https://doi.org/10.1016/j.isatra.2019.07.009)
17. [Ma, Xin (2018). A brief introduction to the Grey Machine Learning. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.1805.01745)
18. [An improved GM(1,1) model based on weighted MSE and optimal weighted background value and its application | Scientific Reports](https://www.nature.com/articles/s41598-024-81166-8)
19. [Elvis Twumasi and colleagues (2021). Improvement of Grey System Model using Particle Swarm Optimization. Journal of Electrical Systems and Information Technology.](https://doi.org/10.1186/s43067-021-00036-9)
20. [Lianyi Liu and colleagues (2023). The recursive grey model and its application. Applied Mathematical Modelling.](https://doi.org/10.1016/j.apm.2023.02.033)
21. [Bin Pu and colleagues (2021). UFNGBM (1,1): A novel unbiased fractional grey Bernoulli model with Whale Optimization Algorithm and its application to electricity consumption forecasting in China. Energy Reports.](https://doi.org/10.1016/j.egyr.2021.09.105)
22. [A novel conformable fractional-order accumulation grey model and its applications in forecasting energy consumption of China | Scientific Reports](https://www.nature.com/articles/s41598-024-82128-w)
23. [Jie Xu and colleagues (2024). An extensive conformable fractional grey model and its application. Chaos Solitons & Fractals.](https://doi.org/10.1016/j.chaos.2024.114746)
24. [Diyar Akay, Mehmet Atak (2007). Grey prediction with rolling mechanism for electricity demand forecasting of Turkey. Energy.](https://doi.org/10.1016/j.energy.2006.11.014)
25. [Comparative analysis of classical and modified grey models for monthly electricity consumption forecasting in Malaysia (Frontiers, 2026)](https://www.frontiersin.org/journals/applied-mathematics-and-statistics/articles/10.3389/fams.2026.1869492/full)
26. [Gold price forecasting using grey model GM(1,1) and selected classical time series models (MASPEE, 2014)](https://msed.vse.cz/msed_2014/article/383-Barczak-Stanislaw-paper.pdf)
27. [Forecasting energy demand using neural-network-based grey residual modification models (J. Operational Research Society)](https://link.springer.com/article/10.1057/s41274-016-0130-2)

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

Topic: 物质世界与数学 › 数学与统计学 › 统计学与概率论 › Statistical inference, estimation, sampling, and testing

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/grey-prediction-model

English original: https://www.edgepedia.org/grey-prediction-model
