Prediction of Usage Probabilities of Shopping-Mall Corridors Using Heterogeneous Graph Neural Networks

Malik M. Barakathullah, Immanuel KoharXiv 2025 · DOI

This research presents a novel approach to urban planning and retail analytics by applying Heterogeneous Graph Neural Networks (GNNs) to predict pedestrian traffic—specifically the "Probability of Usage" (PoU)—within shopping mall corridors. By representing malls as complex graphs, the model estimates footfall based on a mall's spatial layout and the specific characteristics of its retail occupants.

Introduction

Understanding pedestrian movement is vital for mall operators for two primary reasons: monetization (determining shop visibility to set fair rents) and safety compliance (identifying potential congestion bottlenecks). Traditional methods often rely on expensive sensor networks or manual surveys, which are difficult to scale or apply to new, unbuilt designs.

While graph theory has long been used to analyze spatial networks, simple topological metrics often fail because they treat every destination as equal. In reality, a large department store "pulls" more traffic than a small kiosk. This paper addresses the need for a generalizable, feature-aware model that can predict usage across diverse mall floorplans by treating shops and junctions as distinct node types.

Representation of a mall floorplan as a heterogeneous graph with distinct node types for shops, entrances, and corridor junctions.

Methodology

The researchers treat the mall floorplan as a heterogeneous graph where nodes are classified into "Shop nodes" (with attributes like area and usage category) and "Non-shop nodes" (entrances and corridor junctions). Edges represent the physical corridor segments connecting these nodes.

The Architecture

The core of the work is a Graph Auto-Encoder (GAE) framework. The process follows a structured pipeline from raw floorplan data to a trained geometric model:

  1. Feature Engineering: Since junctions lack inherent "area," features are engineered based on their proximity to different shop types via shortest paths.
  2. Encoder: A 7-layer GNN using skip-connections is employed to prevent "oversmoothing," a common issue where nodes become indistinguishable in deep networks. The team evaluated several architectures, including GraphSAGE, GCN, GAT, and GIN.
  3. Edge Predictor (Decoder): To predict values for corridors (edges) rather than nodes, a custom block combines the hidden features of the two nodes at either end of an edge using commutative operations (mean and product). This ensures symmetry—the prediction for a corridor from point A to B is identical to B to A.
The end-to-end workflow for processing floorplans into graph-based datasets for training.

Datasets and Training

The study utilized 66 floorplans of shopping malls in China, converted from ESRI shapefiles into graph structures. To ensure model robustness, the researchers generated 200 synthetic samples per mall by permuting shop categories and areas. The "ground truth" was generated using a probabilistic pedestrian-routing model based on shop attraction (area + usage density) and Dijkstra’s shortest-path algorithm.

Key Insights and Results

  • Topology vs. Features: A key finding is that PoU differs significantly from Betweenness Centrality. While centrality focuses on the mathematical center of a graph, PoU shifts toward "anchor" stores and entrances. The GNN successfully learned these attraction dynamics that pure geometry misses.
  • Context-Specific Latent Features: By providing junction nodes with information about the shops they lead to, the model gains a "spatial awareness" that allows it to understand the functional role of a corridor, not just its position.
  • Performance: The model's predictions closely tracked actual usage probabilities across various layouts. Training was efficient, generally converging within 20 epochs using an L1-loss function and the Adam optimizer.

Conclusion and Future Work

While the model successfully learns probabilistic routing, it currently relies on the "shortest path" assumption, which may not fully capture stochastic "browsing" behavior. Additionally, the current 2D constraint does not account for vertical movement (elevators/escalators) in multi-story malls.

Future work will focus on validating these findings against real-world sensor data, such as WiFi tracking or camera-based footfall counters, to confirm how well the "attraction" assumptions hold up in practical retail environments.

Summary updated

BibTeX
@misc{barakathullah2025prediction,
  author = {Malik M. Barakathullah and Immanuel Koh},
  title = {{Prediction of Usage Probabilities of Shopping-Mall Corridors Using Heterogeneous Graph Neural Networks}},
  year = {2025},
  eprint = {2504.07645},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.07645},
}
Figure