# Social-LSTM

**Social-LSTM** 是一种循环神经网络架构，用于预测拥挤空间中行人的未来轨迹，由亚历山大·阿拉希、克拉塔斯·戈尔、维格内什·拉马纳坦、亚历山大·罗比凯、李飞飞和[西尔维奥·萨瓦雷塞](https://www.edgepedia.org/zh/silvio-savarese)于 2016 年在 IEEE 计算机视觉与模式识别会议（CVPR）上提出。<sup>[1](https://openaccess.thecvf.com/content_cvpr_2016/html/Alahi_Social_LSTM_Human_CVPR_2016_paper.html)</sup> 该模型为场景中的每个人分配一个长短期记忆（LSTM）网络，并通过一种新的“社交”池化层将这些网络连接起来，使空间上邻近轨迹的 LSTM 能够共享其隐藏状态，从而从数据中学习时间上重合的人之间的交互。<sup>[2](https://www.cv-foundation.org/openaccess/content_cvpr_2016/papers/Alahi_Social_LSTM_Human_CVPR_2016_paper.pdf)</sup>

| 关键事实 | 详情 |
|---|---|
| 发表 | CVPR 2016，第 961-971 页；DOI 10.1109/CVPR.2016.110<sup>[1](https://openaccess.thecvf.com/content_cvpr_2016/html/Alahi_Social_LSTM_Human_CVPR_2016_paper.html)</sup><sup> • </sup><sup>[3](https://dblp.org/rec/conf/cvpr/AlahiGRRLS16.html)</sup> |
| 核心机制 | 社交池化层汇集邻近轨迹 LSTM 的隐藏表示，以捕捉邻域内的交互<sup>[1](https://openaccess.thecvf.com/content_cvpr_2016/html/Alahi_Social_LSTM_Human_CVPR_2016_paper.html)</sup> |
| 报告增益 | 在公开数据集上比先前的预测方法性能提升超过 42%<sup>[1](https://openaccess.thecvf.com/content_cvpr_2016/html/Alahi_Social_LSTM_Human_CVPR_2016_paper.html)</sup> |
| 基准 | ETH 和 UCY 行人数据集，在五个场景上进行留一法交叉验证<sup>[2](https://www.cv-foundation.org/openaccess/content_cvpr_2016/papers/Alahi_Social_LSTM_Human_CVPR_2016_paper.pdf)</sup> |
| 配置 | 空间池化规模 \( N_o = 32 \)，使用 8×8 无重叠求和池化窗口；在单块 GPU 上以 Theano 实现训练<sup>[4](https://openaccess.thecvf.com/content_cvpr_2016/papers/Alahi_Social_LSTM_Human_CVPR_2016_paper.pdf)</sup> |
| 学到的行为 | 对预测轨迹的分析显示出避碰和群体运动<sup>[1](https://openaccess.thecvf.com/content_cvpr_2016/html/Alahi_Social_LSTM_Human_CVPR_2016_paper.html)</sup> |

## 动机

人类通过社会习俗在拥挤环境中导航：他们尊重个人空间、遵守通行优先权并避免碰撞。传统的轨迹预测方法用人工设计的函数来编码这些习俗，其中最著名的是赫尔宾和莫尔纳的社会力模型，该模型用引力和斥力来描述行人运动。<sup>[1](https://openaccess.thecvf.com/content_cvpr_2016/html/Alahi_Social_LSTM_Human_CVPR_2016_paper.html)</sup><sup> • </sup><sup>[2](https://www.cv-foundation.org/openaccess/content_cvpr_2016/papers/Alahi_Social_LSTM_Human_CVPR_2016_paper.pdf)</sup> Social-LSTM 的作者指出了此类模型的两个局限：它们只捕捉简单的排斥和吸引，可能无法泛化到更复杂的拥挤场景；它们只对近距离的人之间的交互建模以避免即时碰撞，而没有预见更久以后可能发生的交互。<sup>[2](https://www.cv-foundation.org/openaccess/content_cvpr_2016/papers/Alahi_Social_LSTM_Human_CVPR_2016_paper.pdf)</sup>

替代方案是数据驱动的方法。LSTM 已在手写生成和语音生成等序列预测任务中被证明是成功的，但传统 LSTM 学习和再现长序列时并不捕捉多个相关序列之间的依赖关系。Social-LSTM 通过连接邻近序列的 LSTM 来解决这个问题。<sup>[2](https://www.cv-foundation.org/openaccess/content_cvpr_2016/papers/Alahi_Social_LSTM_Human_CVPR_2016_paper.pdf)</sup>

## 架构

场景中的每个人都有一个专用的 LSTM 来处理该人的位置历史。其区别性组件是社交池化层：在每个时间步，收集空间上邻近的人的 LSTM 隐藏状态，将其映射到以目标人物为中心的网格中，并池化为一个张量，再反馈给该人的 LSTM。在已发表的配置中，邻域容纳 \( N_o = 32 \) 个人，池化使用 8×8 无重叠求和池化窗口。<sup>[2](https://www.cv-foundation.org/openaccess/content_cvpr_2016/papers/Alahi_Social_LSTM_Human_CVPR_2016_paper.pdf)</sup><sup> • </sup><sup>[4](https://openaccess.thecvf.com/content_cvpr_2016/papers/Alahi_Social_LSTM_Human_CVPR_2016_paper.pdf)</sup> 在预测过程中，模型将自身前一步估计的位置代替真实坐标向前传递。<sup>[4](https://openaccess.thecvf.com/content_cvpr_2016/papers/Alahi_Social_LSTM_Human_CVPR_2016_paper.pdf)</sup>

由于交互规则是从轨迹数据中学习得到的，模型除了轨迹本身之外不需要任何标注；它利用现有的人类轨迹数据集来学习人们在社交空间中遵守的常识性规则和习俗。<sup>[2](https://www.cv-foundation.org/openaccess/content_cvpr_2016/papers/Alahi_Social_LSTM_Human_CVPR_2016_paper.pdf)</sup>

## 评估

该模型在 ETH 和 UCY 行人数据集上进行了评估，这两个数据集共涵盖五个场景（ETH、Hotel、University、Zara1 和 Zara2），均由监控视频录制。训练采用留一法方案，即四个场景训练模型，第五个留出用于测试，对每个场景重复此过程。<sup>[2](https://www.cv-foundation.org/openaccess/content_cvpr_2016/papers/Alahi_Social_LSTM_Human_CVPR_2016_paper.pdf)</sup><sup> • </sup><sup>[5](https://pmc.ncbi.nlm.nih.gov/articles/PMC8619260/)</sup> 标准协议观察 3.2 秒的运动并预测接下来的 4.8 秒，以平均位移误差（ADE）和最终位移误差（FDE）评分，前者是预测位置与真实位置在预测时域上的平均欧氏距离，后者是最终预测点处的距离。<sup>[6](https://bura.brunel.ac.uk/bitstream/2438/27444/1/FullText.pdf)</sup>

原始论文报告称比先前的预测方法性能提升超过 42%，一篇综述表格将该模型在 ETH 上的结果记为 ADE 0.50 和 FDE 1.07。<sup>[1](https://openaccess.thecvf.com/content_cvpr_2016/html/Alahi_Social_LSTM_Human_CVPR_2016_paper.html)</sup><sup> • </sup><sup>[5](https://pmc.ncbi.nlm.nih.gov/articles/PMC8619260/)</sup> 后来在自己的协议下重新运行该模型的研究报告了不同的数字，例如在一项比较中 ETH/UCY 平均为 ADE 0.72 和 FDE 1.54，在另一项中为 0.45/0.91，因此跨论文的数字只应在同一研究的设置内进行比较。<sup>[7](https://www.mdpi.com/2313-433X/11/11/379)</sup><sup> • </sup><sup>[8](https://journals.sagepub.com/doi/10.3233/ATDE250778)</sup>

在定性方面，作者分析了生成的轨迹，发现学习到的模型中涌现出避碰和群体运动等社会行为。<sup>[1](https://openaccess.thecvf.com/content_cvpr_2016/html/Alahi_Social_LSTM_Human_CVPR_2016_paper.html)</sup> 然而，后来一项对 2022 年里昂灯光节轨迹的密度控制研究发现，Social LSTM 在每个测试密度水平上产生的预测碰撞（COL 指标）都多于普通 LSTM 或 Social GAN，例如在低密度设置下为 57.74 对 31.55（普通 LSTM）。<sup>[9](https://www.preprints.org/manuscript/202402.1646)</sup>

## 影响与后继工作

Social-LSTM 成为行人轨迹预测的标准基线，并催生了一系列后继工作。Social GAN（CVPR 2018）加入生成对抗网络来预测多条合理的未来轨迹，同时保留社交池化模块。<sup>[10](https://www.sciencedirect.com/science/article/pii/S1566253525007894)</sup> 社交注意力模型建立在 Social-LSTM 概念之上，捕捉每个邻近人物的相对重要性而不论其远近。<sup>[11](https://pmc.ncbi.nlm.nih.gov/articles/PMC11096941/)</sup> Social-STGCNN（CVPR 2020）完全取代了基于池化的聚合方式，将交互建模为时空图，报告称在参数量仅为原来的 1/8.5、推理速度最多快 48 倍的情况下，FDE 比先前的最先进技术提升 20%。<sup>[12](https://arxiv.org/abs/2002.11927)</sup> 在 ETH/UCY 上更近期的基线，如基于 Transformer 的模型和基于图的模型，在相同协议下报告的误差大幅低于 Social-LSTM。<sup>[8](https://journals.sagepub.com/doi/10.3233/ATDE250778)</sup>

池化思想也传播到了行人之外。卷积社交池化是一种用于车辆轨迹预测的 LSTM 编码器-解码器，它用卷积形式取代网格池化来学习车辆运动中的相互依赖关系。<sup>[13](https://arxiv.org/abs/1805.06771)</sup> 关于社交机器人导航和自动驾驶的综述同样将 Social-LSTM 视为引入社交池化进行交互感知预测的、基于学习的参照方法。<sup>[14](https://www.sciencedirect.com/science/article/abs/pii/S156625352600494X)</sup>

## References

1. [Alahi, A., Goel, K., Ramanathan, V., Robicquet, A., Fei-Fei, L., Savarese, S. (2016). Social LSTM: Human Trajectory Prediction in Crowded Spaces. CVPR 2016, pp. 961-971.](https://openaccess.thecvf.com/content_cvpr_2016/html/Alahi_Social_LSTM_Human_CVPR_2016_paper.html)
2. [Alahi et al. (2016). Social LSTM: Human Trajectory Prediction in Crowded Spaces (full paper PDF).](https://www.cv-foundation.org/openaccess/content_cvpr_2016/papers/Alahi_Social_LSTM_Human_CVPR_2016_paper.pdf)
3. [dblp record: Social LSTM: Human Trajectory Prediction in Crowded Spaces.](https://dblp.org/rec/conf/cvpr/AlahiGRRLS16.html)
4. [Alahi et al. (2016), CVPR open-access paper PDF (mirror).](https://openaccess.thecvf.com/content_cvpr_2016/papers/Alahi_Social_LSTM_Human_CVPR_2016_paper.pdf)
5. [A Review of Deep Learning-Based Methods for Pedestrian Trajectory Prediction (PMC).](https://pmc.ncbi.nlm.nih.gov/articles/PMC8619260/)
6. [Pedestrian and vehicle behaviour prediction in autonomous vehicle system — A review (Brunel full text).](https://bura.brunel.ac.uk/bitstream/2438/27444/1/FullText.pdf)
7. [Causal Intervention and Counterfactual Reasoning for Multimodal Pedestrian Trajectory Prediction (MDPI, 2025).](https://www.mdpi.com/2313-433X/11/11/379)
8. [DSTR: A Dynamic Spatio-Temporal Transformer for Pedestrian Trajectory Prediction (2026).](https://journals.sagepub.com/doi/10.3233/ATDE250778)
9. [Towards Better Predictive Models: The Role of Density in Pedestrian Trajectory Predictions (Preprints.org, 2024).](https://www.preprints.org/manuscript/202402.1646)
10. [Review of pedestrian trajectory prediction based on graph neural networks (ScienceDirect).](https://www.sciencedirect.com/science/article/pii/S1566253525007894)
11. [Review of the application of neural network approaches in pedestrian dynamics studies (PMC).](https://pmc.ncbi.nlm.nih.gov/articles/PMC11096941/)
12. [Mohamed, A., Qian, K., Elhoseiny, M., Claudel, C. (2020). Social-STGCNN. arXiv:2002.11927.](https://arxiv.org/abs/2002.11927)
13. [Deo, N., Trivedi, M. Convolutional Social Pooling for Vehicle Trajectory Prediction. arXiv:1805.06771.](https://arxiv.org/abs/1805.06771)
14. [Cross-modal spatiotemporal prediction in transportation: A survey (ScienceDirect).](https://www.sciencedirect.com/science/article/abs/pii/S156625352600494X)

---
*Initially written Oct 15, 2026*

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

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/social-lstm

English original: https://www.edgepedia.org/social-lstm
