# 空间交互模型

空间交互模型是一类数学模型，它根据起点的属性、终点的属性以及二者之间的分隔来预测人、货物或信息在位置之间的流动。其输出通常是一个起点—终点流量矩阵，即每一对分区 \( i \) 与 \( j \) 之间的一组估计流量 \( T_{ij} \)。该模型类别涵盖接触、需求与供给决策，以及住房、就业、零售、教育和出行等区位选择。<sup>[1](https://link.springer.com/article/10.1007/s10110-003-0189-4)</sup> 空间交互模型被用于交通规划、空间经济学和流行病建模。<sup>[2](https://www.nature.com/articles/s41467-021-26752-4)</sup>

| 关键事实 | 详情 |
|---|---|
| 基本形式 | \( T_{ij} = A_i O_i B_j D_j \, d_{ij}^{-\beta} \)：起点质量 × 终点质量 × 距离衰减，配以平衡因子 \( A_i \)、\( B_j \)<sup>[3](https://researchrepository.wvu.edu/cgi/viewcontent.cgi?article=1010&context=rri-web-book)</sup> |
| 理论基础 | 熵最大化：在已知约束下统计上最可能的出行矩阵<sup>[4](https://tfresource.org/topics/Destination_Choice_Theoretical_Foundations)</sup> |
| 四种经典类型 | 无约束、生产约束、吸引约束和双约束<sup>[5](https://discovery.ucl.ac.uk/id/eprint/10052338/7/Dennett_38-41-115-1-10-20181111.pdf)</sup> |
| 奠基性形式化 | A. G. Wilson，《空间分布模型的统计理论》，*Transportation Research*, 1967<sup>[6](https://doi.org/10.1016/0041-1647%2867%2990035-4)</sup> |
| 实证拟合 | 在观测迁移数据上校准参数使 \( R^2 \) 升至 0.32，比未校准模型高出约 14 个百分点<sup>[5](https://discovery.ucl.ac.uk/id/eprint/10052338/7/Dennett_38-41-115-1-10-20181111.pdf)</sup> |
| 主要替代方案 | 随机效用（多项或嵌套 logit）目的地选择模型主导当前实践，尽管引力模型、熵模型和离散选择模型在数学上是空间交互模型的等价特例<sup>[4](https://tfresource.org/topics/Destination_Choice_Theoretical_Foundations)</sup> |
| 近期发展 | 机器学习得到的闭式类引力模型（2025）在保持可解释性的同时达到复杂机器学习模型的精度<sup>[7](https://www.nature.com/articles/s41467-025-56495-5)</sup> |

## 工作原理

引力模型假设两个位置之间的流量与起点和终点的规模（通常以人口为代理）成正比，与二者之间距离的幂函数或指数函数成反比，其数学形式类似于牛顿的万有引力定律。<sup>[8](https://iopscience.iop.org/article/10.1088/2632-072X/ae35ba)</sup> 其最简单的表述为 \( T_{ij} = k \, V_i W_j / c_{ij}^{\beta} \)，其中 \( V_i \) 衡量起点的推动力，\( W_j \) 衡量终点的吸引力，\( c_{ij} \) 为分隔的一般成本，\( \beta \) 为距离衰减参数。<sup>[9](https://discovery.ucl.ac.uk/id/eprint/10196059/1/sim-chp.pdf)</sup>

引力类比本身只是描述性的。使该模型族得以严格化的依据是熵最大化：从 Wilson 1967 年的论文开始，通过在系统已知约束下最大化熵函数，得到统计上最可能的出行矩阵 \( T \)。<sup>[4](https://tfresource.org/topics/Destination_Choice_Theoretical_Foundations)</sup> 这以熵和信息论——一个来自物理学的统计框架——取代了物理类比，为这些模型提供了此前缺乏的理论依据。<sup>[1](https://link.springer.com/article/10.1007/s10110-003-0189-4)</sup><sup> • </sup><sup>[6](https://doi.org/10.1016/0041-1647%2867%2990035-4)</sup>

约束决定了模型必须再现流量矩阵的哪些边际。在双约束形式 \( T_{ij} = A_i O_i B_j D_j \, d_{ij}^{-\beta} \) 中，平衡因子 \( A_i \) 强制满足各起点总流出量的行约束，\( B_j \) 强制满足各终点总流入量的列约束；该模型同时再现观测到的流出量和流入量，是出行分布中最常用的形式。<sup>[3](https://researchrepository.wvu.edu/cgi/viewcontent.cgi?article=1010&context=rri-web-book)</sup><sup> • </sup><sup>[10](https://gistbok-ltb.ucgis.org/34/concept/10462)</sup> Wilson 的贡献在于认识到无约束模型未能利用系统中所有可用信息，而施加已知边际可改进估计。<sup>[5](https://discovery.ucl.ac.uk/id/eprint/10052338/7/Dennett_38-41-115-1-10-20181111.pdf)</sup>

## 操作方法

首先选择距离衰减函数；其形式在文献中各不相同，不同研究采用幂函数和指数函数设定，这使系统比较变得复杂。<sup>[11](https://www.sciencedirect.com/science/article/abs/pii/S0966692315002422)</sup> 在双约束情形下，平衡因子通过迭代估计，因为每个因子都是另一个的函数：迭代通常从将所有 \( B_j \) 设为 1.0 开始，导出初始 \( A_i \) 值，然后在更新 \( A_i \) 与 \( B_j \) 之间交替，直至数值收敛（弗内斯迭代）。<sup>[3](https://researchrepository.wvu.edu/cgi/viewcontent.cgi?article=1010&context=rri-web-book)</sup>

校准方法已从线性规划和非线性优化，经过对对数变换流量的普通最小二乘和最大似然，演变到泊松和负二项广义线性框架以及多层或离散选择模型。<sup>[9](https://discovery.ucl.ac.uk/id/eprint/10196059/1/sim-chp.pdf)</sup> 长期作为标准的对数正态设定被批评为设定不当，有人提出[泊松回归](https://www.edgepedia.org/zh/poisson-regression)更为合适，因为流量是非负整数计数。<sup>[10](https://gistbok-ltb.ucgis.org/34/concept/10462)</sup> 在一个迁移实例中，在观测数据上校准参数使估计流量矩阵的 \( R^2 \) 升至 0.32，比未校准模型多解释了约 14 个百分点的变异。<sup>[5](https://discovery.ucl.ac.uk/id/eprint/10052338/7/Dennett_38-41-115-1-10-20181111.pdf)</sup> 一项跨出行分布定律的基准研究还发现，引力定律的单一参数仅取决于地理单元的尺度，从而无需详细数据即可校准。<sup>[11](https://www.sciencedirect.com/science/article/abs/pii/S0966692315002422)</sup>

## 起源

最早的空间交互模型被归入引力模型一类，其主要特征是它们建模的是需求或供给群体的行为，而非个人或企业的行为。<sup>[1](https://link.springer.com/article/10.1007/s10110-003-0189-4)</sup> 早期零售应用建立在牛顿类比之上，假设购物中心对消费者的吸引力与规模成正比、与距离成反比。<sup>[12](https://quantile.info/wp-content/uploads/2014/09/4-spatial-interaction-shopping.pdf)</sup>

形式化始于 A. G. Wilson 1967 年发表于 *Transportation Research* 的论文《空间分布模型的统计理论》，该文引入了熵最大化统计理论，后来被视为空间交互模型族的奠基之作。<sup>[6](https://doi.org/10.1016/0041-1647%2867%2990035-4)</sup> Wilson 对熵理论的发展为当时的城市与区域建模者——包括 Alonso、Batty、Evans、Harris、Herbert、Lakshmanan、Stevens 和 Webber——的工作提供了统一基础。<sup>[13](https://onlinelibrary.wiley.com/doi/10.1111/j.1538-4632.2010.00803.x)</sup> 关于四类型模型族是始于 1967 年论文还是 Wilson 后来 1971 年的论文，文献记载不一；这一分歧在文献中尚未解决。<sup>[10](https://gistbok-ltb.ucgis.org/34/concept/10462)</sup><sup> • </sup><sup>[14](https://cran.r-project.org/web/packages/simodels/vignettes/sims-first-principles.html)</sup>

## 变体

Wilson 的模型族包含四种形式，以流量矩阵的哪些边际约束估计来区分：无约束模型、生产（起点）约束模型、吸引（终点）约束模型和双约束模型。<sup>[5](https://discovery.ucl.ac.uk/id/eprint/10052338/7/Dennett_38-41-115-1-10-20181111.pdf)</sup><sup> • </sup><sup>[9](https://discovery.ucl.ac.uk/id/eprint/10196059/1/sim-chp.pdf)</sup>

若干替代方案放松了引力假设。介入机会模型由 Samuel A. Stouffer 于 1940 年在 *American Sociological Review* 上首次提出，它将起点与终点之间的机会而非距离本身视为移动性的关键因素。<sup>[15](https://doi.org/10.2307/2084520)</sup><sup> • </sup><sup>[8](https://iopscience.iop.org/article/10.1088/2632-072X/ae35ba)</sup> 辐射模型由 Filippo Simini、Marta C. González、[Amos Maritan](https://www.edgepedia.org/zh/amos-maritan) 和 [Albert-László Barabási](https://www.edgepedia.org/zh/albert-laszlo-barabasi) 于 2012 年在 *Nature* 上提出，是移动与迁移模式的通用模型；后续工作产生了考虑有限尺寸效应的归一化版本，以及带有可根据数据校准的参数的扩展版本。<sup>[16](https://doi.org/10.1038/nature10856)</sup><sup> • </sup><sup>[17](https://pmc.ncbi.nlm.nih.gov/articles/PMC6170557/)</sup> Fotheringham 的竞争目的地模型发表于 1983 年的 *Environment and Planning A*，通过添加目的地竞争项来回应引力模型中被证明的设定错误。<sup>[18](https://doi.org/10.1177/0308518x8301500103)</sup>

在适当假设下，引力模型、熵模型和离散选择目的地模型是空间交互模型的数学等价特例，因此它们之间的选择往往是实用性的而非概念性的。<sup>[4](https://tfresource.org/topics/Destination_Choice_Theoretical_Foundations)</sup> 然而在当前出行需求实践中，最常见的目的地选择模型是随机效用模型，通常为多项或嵌套 logit。<sup>[4](https://tfresource.org/topics/Destination_Choice_Theoretical_Foundations)</sup>

## 应用

由于引力模型生成位置之间的空间流动和交通需求，它们被用于交通规划、空间经济学和流行病传播建模。<sup>[2](https://www.nature.com/articles/s41467-021-26752-4)</sup> 更广泛地说，空间交互建模处理空间不同点上的实体进行接触、需求与供给决策或区位选择时产生的流动，涵盖住房、就业、零售、学校和出行。<sup>[1](https://link.springer.com/article/10.1007/s10110-003-0189-4)</sup> 在出行分布中，双约束形式是最常见的选择，因为它同时再现观测到的流出量和流入量。<sup>[10](https://gistbok-ltb.ucgis.org/34/concept/10462)</sup>

## 局限与替代方案

有记载的最明显失效模式是竞争目的地下的设定错误。当目的地相互竞争时，引力模型族成员出现设定错误，其结果之一是估计的距离衰减参数中出现不良的“空间结构效应”；竞争目的地模型的提出是为了在纯行为解释下产生更准确的交互预测和参数估计。<sup>[18](https://doi.org/10.1177/0308518x8301500103)</sup> 随后出现了关于空间结构作用的五十年方法论辩论，产生了若干方法，包括带可达性度量的竞争目的地模型、空间计量建模和特征向量空间滤波。<sup>[19](https://journals.sagepub.com/doi/10.1177/0309132520968134)</sup><sup> • </sup><sup>[9](https://discovery.ucl.ac.uk/id/eprint/10196059/1/sim-chp.pdf)</sup>

对数正态估计路径带有具体问题：流量服从对数正态分布的不现实假设、对数变换带来的反变换偏差、同方差误差假设的违反，以及零值流量对数无定义。<sup>[10](https://gistbok-ltb.ucgis.org/34/concept/10462)</sup> 实证上，引力定律对通勤流量及其距离分布的拟合优于介入机会定律，但在大距离流量预测上失效。<sup>[11](https://www.sciencedirect.com/science/article/abs/pii/S0966692315002422)</sup> 一项对九种空间交互模型的早期实证研究发现，基于理论的模型并未比某些经验导出模型取得显著更好的表现，且两类模型均未能充分拟合。<sup>[20](https://journals.sagepub.com/doi/10.1068/a080023)</sup> 与深度神经网络相比，传统引力模型也难以捕捉非线性空间模式和现实世界移动性的异质性，已发表的比较报告称深度网络在流量预测上可显著优于校准的引力模型。<sup>[21](https://www.mdpi.com/2076-3417/15/20/11290)</sup> 相对于机器学习，权衡在于可解释性：引力模型易于解释但预测精度有限，而具有数十个特征和数千个参数的机器学习模型预测更准确但对行为洞察甚少；神经和通用空间交互模型还不允许推断，限制了模型构建和假设检验。<sup>[7](https://www.nature.com/articles/s41467-025-56495-5)</sup><sup> • </sup><sup>[10](https://gistbok-ltb.ucgis.org/34/concept/10462)</sup> 然而，学习模型与经典模型之间的精度比较尚无定论，因为一项 2025 年研究报道，简单的机器学习闭式类引力模型预测移动流量的精度与复杂机器学习模型相当，外推更好，同时保持可解释性。<sup>[7](https://www.nature.com/articles/s41467-025-56495-5)</sup>

## References

1. [Spatial interaction modelling (Papers in Regional Science)](https://link.springer.com/article/10.1007/s10110-003-0189-4)
2. [A Deep Gravity model for mobility flows generation](https://www.nature.com/articles/s41467-021-26752-4)
3. [Gravity and Spatial Interaction Models (WVU Research Repository book chapter)](https://researchrepository.wvu.edu/cgi/viewcontent.cgi?article=1010&context=rri-web-book)
4. [Destination Choice: Theoretical Foundations | TF Resource](https://tfresource.org/topics/Destination_Choice_Theoretical_Foundations)
5. [An introduction to spatial interaction models (UCL / Dennett)](https://discovery.ucl.ac.uk/id/eprint/10052338/7/Dennett_38-41-115-1-10-20181111.pdf)
6. [A statistical theory of spatial distribution models (Transportation Research, 1967)](https://doi.org/10.1016/0041-1647%2867%2990035-4)
7. [Human mobility is well described by closed-form gravity-like models learned automatically from data | Nature Communications](https://www.nature.com/articles/s41467-025-56495-5)
8. [A hybrid deep learning model for human mobility prediction](https://iopscience.iop.org/article/10.1088/2632-072X/ae35ba)
9. [Spatial Interaction Modelling: A Manifesto](https://discovery.ucl.ac.uk/id/eprint/10196059/1/sim-chp.pdf)
10. [UCGIS GIS&T BoK | [AM-03-010] Spatial Interaction](https://gistbok-ltb.ucgis.org/34/concept/10462)
11. [Systematic comparison of trip distribution laws and models](https://www.sciencedirect.com/science/article/abs/pii/S0966692315002422)
12. [Spatial interaction models for shopping (course notes)](https://quantile.info/wp-content/uploads/2014/09/4-spatial-interaction-shopping.pdf)
13. [Entropy-Based Spatial Interaction Models for Trip Distribution](https://onlinelibrary.wiley.com/doi/10.1111/j.1538-4632.2010.00803.x)
14. [An introduction to spatial interaction models: from first principles (simodels R package vignette)](https://cran.r-project.org/web/packages/simodels/vignettes/sims-first-principles.html)
15. [Samuel A. Stouffer (1940). Intervening Opportunities: A Theory Relating Mobility and Distance. American Sociological Review.](https://doi.org/10.2307/2084520)
16. [Filippo Simini and colleagues (2012). A universal model for mobility and migration patterns. Nature.](https://doi.org/10.1038/nature10856)
17. [Measuring accessibility using gravity and radiation models](https://pmc.ncbi.nlm.nih.gov/articles/PMC6170557/)
18. [A S Fotheringham (1983). A New Set of Spatial-Interaction Models: The Theory of Competing Destinations. Environment and Planning A Economy and Space.](https://doi.org/10.1177/0308518x8301500103)
19. [The spatial structure debate in spatial interaction modeling: 50 years on](https://journals.sagepub.com/doi/10.1177/0309132520968134)
20. [An Empirical Study of Some Spatial Interaction Models](https://journals.sagepub.com/doi/10.1068/a080023)
21. [The Use of Deep Neural Networks (DNN) in Travel Demand Modelling](https://www.mdpi.com/2076-3417/15/20/11290)

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

Topic: 地点与地理 › 地理学总论与地理参考资料

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/spatial-interaction-model

English original: https://www.edgepedia.org/spatial-interaction-model
