# Elman 神经网络

Elman 神经网络是一种循环神经网络：其隐藏层的激活值被复制回一个上下文层，延迟一个时间步，再作为网络的输入馈入，因此网络对序列中每一项的响应都取决于其自身先前的内部状态。它在每个时间步都产生一个预测或分类，用于序列预测、语法与语言学习、时间序列预测以及动态系统控制。这种架构也被称为简单循环网络（SRN）。<sup>[1](https://doi.org/10.1207/s15516709cog1402_1)</sup><sup> • </sup><sup>[2](https://link.springer.com/content/pdf/10.1007/BF00114844.pdf)</sup><sup> • </sup><sup>[3](https://link.springer.com/content/pdf/10.1023/A:1022647012398.pdf)</sup>

| 关键事实 | 详情 |
|---|---|
| 定义机制 | 隐藏单元激活值以固定权重 1.0 和线性激活复制到上下文单元，然后在下一步用作输入<sup>[1](https://doi.org/10.1207/s15516709cog1402_1)</sup><sup> • </sup><sup>[2](https://link.springer.com/content/pdf/10.1007/BF00114844.pdf)</sup> |
| 状态更新 | \( h_t = g(U \cdot h_{t-1} + W \cdot x_t) \)，输出 \( y_t = f(V \cdot h_t) \)<sup>[4](https://web.stanford.edu/~jurafsky/slp3/old_feb24/9.pdf)</sup> |
| 原始训练方式 | 前向连接仅用反向传播训练，不进行随时间反向传播<sup>[5](https://proceedings.neurips.cc/paper_files/paper/1988/file/9dcb88e0137649590b755372b040afad-Paper.pdf)</sup> |
| 记忆跨度 | 此类语言建模循环网络在约 5 个时间步的过往上下文中学习效果最佳<sup>[6](https://ar5iv.labs.arxiv.org/html/1606.02555)</sup> |
| 基准结果 | 一个含九个隐藏单元的 Elman 网络预测出自然语言语料中 69% 的词，介于四元语法（72%）与三元语法（62%）基线之间<sup>[7](https://aclanthology.org/W98-1209.pdf)</sup> |
| 主要失效模式 | 长程依赖上的梯度消失或梯度爆炸<sup>[4](https://web.stanford.edu/~jurafsky/slp3/old_feb24/9.pdf)</sup><sup> • </sup><sup>[8](https://www.ncbi.nlm.nih.gov/books/NBK597502/)</sup> |
| 当前用途 | 系统辨识、预测控制与预测；2025 年报道了一种双反馈变体<sup>[9](https://www.sciencedirect.com/science/article/abs/pii/S0954181098000132)</sup><sup> • </sup><sup>[10](https://doi.org/10.1109/tim.2025.3617413)</sup> |

## 工作原理

该网络包含输入层、隐藏层、上下文层和输出层。上下文层精确保存上一时间步的隐藏单元值，因此它记住了先前的内部状态。<sup>[1](https://doi.org/10.1207/s15516709cog1402_1)</sup> 复制是一对一进行的，权重固定为 1.0，上下文单元具有线性激活函数；只有其余连接是可训练的。<sup>[1](https://doi.org/10.1207/s15516709cog1402_1)</sup><sup> • </sup><sup>[2](https://link.springer.com/content/pdf/10.1007/BF00114844.pdf)</sup> 由于上下文池保存的是上一时间片隐藏单元激活的副本，它严格等价于隐藏层上的一个全连接反馈回路。<sup>[3](https://link.springer.com/content/pdf/10.1023/A:1022647012398.pdf)</sup>

状态更新写作 \( h_t = g(U \cdot h_{t-1} + W \cdot x_t) \)，输出为 \( y_t = f(V \cdot h_t) \)，其中 \( x_t \) 是输入，\( h_{t-1} \) 是前一隐藏状态，\( W \)、\( U \)、\( V \) 分别是输入到隐藏、隐藏到隐藏（上下文）、隐藏到输出的权重矩阵。<sup>[4](https://web.stanford.edu/~jurafsky/slp3/old_feb24/9.pdf)</sup> 等价地，上下文层满足 \( C(t) = R(t-1) \)：上下文活动等于上一时间步的循环单元活动，经由循环权重馈入。<sup>[11](https://langev.com/pdf/cernansky07neuralNetworks.pdf)</sup> 每个处理周期先复制时间 \( t \) 的输入，由输入单元和复制层计算隐藏激活，计算输出，再将新的隐藏激活复制回复制层。<sup>[12](https://www.willamette.edu/~gorr/classes/cs449/rnn1.html)</sup> 复制操作是一种概念上的便利；上下文单元只是让网络能够依赖上一时间步的隐藏状态。<sup>[13](https://web.stanford.edu/group/pdplab/pdphandbook/handbookch8.html)</sup> 由于隐藏单元必须同时映射外部输入和先前的内部状态，其表征会对时间上下文变得敏感，并发展出任务特定的记忆，而不是被教导具体数值。<sup>[1](https://doi.org/10.1207/s15516709cog1402_1)</sup><sup> • </sup><sup>[2](https://link.springer.com/content/pdf/10.1007/BF00114844.pdf)</sup>

## 训练方法

在原始方案中，前向连接用反向传播训练，不进行随时间反向传播；循环效应仅通过复制的上下文值进入。<sup>[5](https://proceedings.neurips.cc/paper_files/paper/1988/file/9dcb88e0137649590b755372b040afad-Paper.pdf)</sup> 在原始实验中，上下文单元被初始化为 0.5。<sup>[1](https://doi.org/10.1207/s15516709cog1402_1)</sup> 每次复制之后，输入序列向前推进：先前的目标成为新输入，下一项成为新目标。<sup>[13](https://web.stanford.edu/group/pdplab/pdphandbook/handbookch8.html)</sup>

现代处理方式用随时间反向传播训练同一架构，这是一种两遍算法：先运行前向推断并保存隐藏状态，然后在序列上反向传播梯度；三个权重矩阵 \( W \)、\( U \)、\( V \) 得到更新。<sup>[4](https://web.stanford.edu/~jurafsky/slp3/old_feb24/9.pdf)</sup> 基准研究也用带动量的标准反向传播训练 Elman 网络，且不在句子边界重置状态单元激活。<sup>[7](https://aclanthology.org/W98-1209.pdf)</sup>

## 起源

该网络由 Jeffrey L. Elman 在论文《Finding Structure in Time》中描述，发表于 1990 年的《Cognitive Science》。<sup>[1](https://doi.org/10.1207/s15516709cog1402_1)</sup> Elman 更早的会议工作阐述了同样的机制：将时间 \( t-1 \) 的隐藏层激活复制到时间 \( t \) 的一组称为上下文单元的输入单元。<sup>[5](https://proceedings.neurips.cc/paper_files/paper/1988/file/9dcb88e0137649590b755372b040afad-Paper.pdf)</sup> 这一设计建立在更早的一种循环架构之上，通常称为 Jordan 网络，其中循环连接让隐藏单元看到网络自身先前的输出，从而赋予网络记忆；而 Elman 网络改为反馈隐藏单元的模式。<sup>[1](https://doi.org/10.1207/s15516709cog1402_1)</sup> 后来的文献采用了简单循环网络这一名称来称呼该架构。<sup>[3](https://link.springer.com/content/pdf/10.1023/A:1022647012398.pdf)</sup>

## 变体

文献命名了两种“简单”循环网络变体：Elman 网络和 Jordan 网络。区别在于循环回路的位置：在 Elman 循环网络中，回路位于隐藏层，因此输入包含上一位置的隐藏层输出（\( h_{t-1} \)）；在 Jordan 循环网络中，回路连接输出层到隐藏层，因此输入包含上一位置预测的标签（\( y_{t-1} \)）。<sup>[6](https://ar5iv.labs.arxiv.org/html/1606.02555)</sup> 在 Jordan 的设计中，网络状态是当前输入加上前一输出单元状态的函数；而在 Elman 的设计中，状态取决于当前输入加上隐藏单元自身先前的激活。<sup>[2](https://link.springer.com/content/pdf/10.1007/BF00114844.pdf)</sup> 当隐藏层大于输出层时，Elman 循环网络比 Jordan 循环网络携带更多循环权重，相差因子为 \( c \cdot |H| \) 对 \( c \cdot |O| \)。<sup>[6](https://ar5iv.labs.arxiv.org/html/1606.02555)</sup> 一种双反馈变体，即输出—输入反馈（OIF）Elman 网络，由 Yihong Zhou 及其同事于 2025 年在《IEEE Transactions on Instrumentation and Measurement》上报道。<sup>[10](https://doi.org/10.1109/tim.2025.3617413)</sup>

## 应用

在自然语言学习任务上，含两个隐藏单元的 Elman 网络学会了 51% 的训练数据，含九个隐藏单元的网络学会了 69%，而 n 元语法基线在二元、三元、四元、五元模型下分别达到 48%、62%、72%、76% 的正确预测；因此九单元网络介于三元语法和四元语法模型之间。<sup>[7](https://aclanthology.org/W98-1209.pdf)</sup> Elman 和 Jordan 网络已通过遗传算法训练应用于系统辨识；在该文献中，原始 Elman 网络被描述为一个三层网络，其第一层包含外部输入神经元和内部输入（上下文）神经元。<sup>[9](https://www.sciencedirect.com/science/article/abs/pii/S0954181098000132)</sup> 其他描述称其为四层网络，包含输入层、隐藏层、承接（上下文）层和输出层，承接层充当延迟算子，存储隐藏层的输出；两种描述的区别在于上下文神经元是算作第一层的一部分还是单独一层。<sup>[14](https://personal.ntu.edu.sg/elpwang/PDF_web/2021_Elman.pdf)</sup> 在控制应用中，隐藏层输出信号 \( v_1(k), \ldots, v_K(k) \) 通过单延迟块回到输入节点，因此含 \( K \) 个隐藏神经元的网络有 \( K+1 \) 个输入节点：\( u(k-1), v_1(k-1), \ldots, v_K(k-1) \)。<sup>[15](https://journals.pan.pl/Content/84418/PDF/acsc-2016-0007.pdf?handler=pdf)</sup> Elman 网络至今仍用于延迟动态系统的建模与预测控制以及股票指数预测。<sup>[15](https://journals.pan.pl/Content/84418/PDF/acsc-2016-0007.pdf?handler=pdf)</sup><sup> • </sup><sup>[14](https://personal.ntu.edu.sg/elpwang/PDF_web/2021_Elman.pdf)</sup> 它今天的主要作用在于应用预测、控制和系统辨识，同时兼具历史与教学地位。

## 局限与替代方案

简单循环网络在长输入上因梯度消失而失败（误差信号随时间步缩小，阻碍长依赖的学习）；使用传统的随时间反向传播或 RTRL 时，沿时间回传的误差信号会退化，这催生了 LSTM 等门控架构，显式决定记住和遗忘什么。<sup>[4](https://web.stanford.edu/~jurafsky/slp3/old_feb24/9.pdf)</sup><sup> • </sup><sup>[16](https://proceedings.neurips.cc/paper_files/paper/1996/file/a4d2f0d23dcc84ce983ff9157f8b7f88-Paper.pdf)</sup> LSTM 记忆单元使用一个带固定权重自连接的线性单元，强制误差流恒定、不爆炸、不消失，并由乘性输入门保护。<sup>[16](https://proceedings.neurips.cc/paper_files/paper/1996/file/a4d2f0d23dcc84ce983ff9157f8b7f88-Paper.pdf)</sup> 简单循环网络在短期依赖上表现良好，但因梯度消失或爆炸而无法记住长期信息，长期交互被赋予指数级更小的权重；GRU 是一种门控循环网络，门数少于 LSTM，它暴露全部记忆内容，而 LSTM 通过输出门调节暴露程度。<sup>[8](https://www.ncbi.nlm.nih.gov/books/NBK597502/)</sup> 2003 年的一项研究列出了 Elman 网络的更多实际问题：学习时间相对较长、学习不一定成功、泛化能力讨论不足、需要通过试错选择单元数；加入短期记忆和一种结构学习方法后，学习时间、收敛速度和泛化能力得到改善。<sup>[17](https://onlinelibrary.wiley.com/doi/10.1002/scj.1206)</sup> 2025 年的一篇论文认为，包括 RNN 和 LSTM 在内的传统循环模型因梯度消失或爆炸而在长时程上出现不稳定和信息退化。<sup>[18](https://www.mdpi.com/2076-3417/15/23/12684)</sup> Elman 网络与使用抽头时间延迟的前馈网络相比如何，已发表的比较尚未给出定论。

## References

1. [Jeffrey L. Elman (1990). Finding Structure in Time. Cognitive Science.](https://doi.org/10.1207/s15516709cog1402_1)
2. [Distributed representations, simple recurrent networks, and grammatical structure (Elman, 1991, Machine Learning)](https://link.springer.com/content/pdf/10.1007/BF00114844.pdf)
3. [Graded State Machines: The Representation of Temporal Contingencies in Simple Recurrent Networks (Servan-Schreiber, Cleeremans & McClelland)](https://link.springer.com/content/pdf/10.1023/A:1022647012398.pdf)
4. [Speech and Language Processing, ch. 9 (RNNs and LSTMs)](https://web.stanford.edu/~jurafsky/slp3/old_feb24/9.pdf)
5. [Learning Sequential Structure in Simple Recurrent Networks (NeurIPS 1988)](https://proceedings.neurips.cc/paper_files/paper/1988/file/9dcb88e0137649590b755372b040afad-Paper.pdf)
6. [Improving Recurrent Neural Networks For Sequence Labelling (Dinarelli, arXiv:1606.02555 / CICling 2016)](https://ar5iv.labs.arxiv.org/html/1606.02555)
7. [Knowledge Extraction and Recurrent Neural Networks: An Analysis of an Elman Network trained on a Natural Language Learning Task](https://aclanthology.org/W98-1209.pdf)
8. [Recurrent Neural Networks (RNNs): Architectures, Training Tricks... (NCBI Bookshelf)](https://www.ncbi.nlm.nih.gov/books/NBK597502/)
9. [Training Elman and Jordan networks for system identification using genetic algorithms](https://www.sciencedirect.com/science/article/abs/pii/S0954181098000132)
10. [Yihong Zhou and colleagues (2025). Dynamic Factor and Multi-Innovation-Based Output–Input Feedback Elman Network Modeling From Measurements. IEEE Transactions on Instrumentation and Measurement.](https://doi.org/10.1109/tim.2025.3617413)
11. [Unsupervised learning of recursive structures (Čerňanský, Neural Networks 2007)](https://langev.com/pdf/cernansky07neuralNetworks.pdf)
12. [Recurrent Networks I (Willamette University course notes)](https://www.willamette.edu/~gorr/classes/cs449/rnn1.html)
13. [The Simple Recurrent Network (Stanford PDP handbook chapter 8)](https://web.stanford.edu/group/pdplab/pdphandbook/handbookch8.html)
14. [Advantages of direct input-to-output connections in neural networks: The Elman network for stock index forecasting (2021)](https://personal.ntu.edu.sg/elpwang/PDF_web/2021_Elman.pdf)
15. [Elman neural network for modeling and predictive control of delayed dynamic systems (2016)](https://journals.pan.pl/Content/84418/PDF/acsc-2016-0007.pdf?handler=pdf)
16. [LSTM can Solve Hard Long Time Lag Problems (NeurIPS 1996)](https://proceedings.neurips.cc/paper_files/paper/1996/file/a4d2f0d23dcc84ce983ff9157f8b7f88-Paper.pdf)
17. [Recurrent neural network with short-term memory and fast structural learning method (2003, Systems and Computers in Japan)](https://onlinelibrary.wiley.com/doi/10.1002/scj.1206)
18. [KOSLM: A Kalman-Optimal Hybrid State-Space Memory Network for Long-Term Time Series Forecasting (Applied Sciences, 2025)](https://www.mdpi.com/2076-3417/15/23/12684)

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

Topic: 技术与人造世界 › 计算技术与数字系统 › 人工智能与数据 › Machine learning and neural computation › Neural networks and deep learning › Titles A to H

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/elman-neural-network

English original: https://www.edgepedia.org/elman-neural-network
