A Grid-Based Framework for E-Scooter Demand Representation and Temporal Input Design for Deep Learning: Evidence from Austin, Texas
Organizations: Department of Electrical and Software Engineering, Schulich School of Engineering, University of Calgary, Calgary, AB T2N 1N4, Canada · Department of Civil Engineering, Schulich School of Engineering, University of Calgary, Calgary, AB T2N 1N4, Canada
Abstract
Despite progress in deep learning for shared micromobility demand prediction, the systematic design and statistical validation of temporal input structures remain underexplored. Temporal features are often selected heuristically, even though historical demand strongly affects model performance and generalizability. This paper introduces a reproducible data-processing pipeline and a statistically grounded method for designing temporal input structures for image-to-image demand prediction. Using large-scale e-scooter data from Austin, Texas, we build a grid-based spatiotemporal dataset by converting trip records into hourly pickup and dropoff demand images. The pipeline includes trip filtering, mapping Census Tracts to spatial locations, grid construction, demand aggregation, and creation of a global activity mask that limits evaluation to historically active areas. This representation supports consistent spatial learning while preserving demand patterns. We then introduce a combined correlation- and error-based procedure to identify informative historical inputs. Optimal temporal depth is selected through an ablation study using a baseline UNET model with paired non-parametric tests and Holm correction. The resulting temporal structures capture short-term persistence as well as daily and weekly cycles. Compared with adjacent-hour and fixed-period baselines, the proposed design reduces mean squared error by up to 37 percent for next-hour prediction and 35 percent for next-24-hour prediction. These results highlight the value of principled dataset construction and statistically validated temporal input design for spatiotemporal micromobility demand prediction.
Figures & tables
| Filter Category | Condition Applied |
| Vehicle type | Retain e-scooter trips only. |
| Trip year | Retain trips occurring within the 2019 calendar year. |
| Trip duration | Keep trips between 1 and 120 minutes inclusive. |
| Trip distance | Keep trips between 0.1 and 35 kilometers inclusive. |
| Average speed | Keep trips with speed between 2 and 26 kilometers per hour inclusive. |
| Tract GEOID | Trip origin and destination must have valid census tract identifiers. |
| Next-hour | Next 24-hour | ||
| Rank final ( ) | (hours) | Rank final ( ) | (hours) |
| 1 | 1 | 1 | 24 |
| 4 | 2 | 3 | 25 |
| 17 | 3 | 10 | 26 |
| 11 | 22 | 9 | 48 |
| 5 | 23 | 12 | 143 |
| Prediction Horizon | Configuration Type | Channels | Time-lag set (hours) |
| Next-hour | Proposed method | 36 | |
| Recent adjacent history | 36 | ||
| Fixed-period history | 36 | ||
| Next 24-hour | Proposed method | 18 | |
| Recent adjacent history | 18 |
| Prediction Horizon | Configuration | Input Channels | MSE* | Time Lags ( ) (See Table II ) |
| Next-hour | Minimum MSE | 36 | 20.11 | Top 18 |
| Minimal non-inferior | Same as minimum-MSE configuration | |||
| Next 24-hour | Minimum MSE | 26 | 61.20 | Top 13 |
| Minimal non-inferior | 18 | 63.42 | Top 9 | |
| Configuration | MSE | MAE | MaxAE | |
| Proposed method | 8.45 | 0.50 | 0.78 | 24.33 |
| Recent adjacent history | 11.40 | 0.57 | 0.57 | 34.51 |
| Fixed-period history | 13.48 | 0.61 | 0.55 | 38.03 |
| Configuration | MSE | MAE | MaxAE | |
| Proposed method | 26.37 | 0.75 | -0.77 | 50.47 |
| Recent adjacent history | 40.46 | 0.87 | -1.71 | 64.46 |
| Fixed-period history | 30.86 | 0.85 | -0.36 | 53.26 |
| Horizon | Comparison | Better Configuration | Holm corrected p-value |
| Next-hour | Proposed method vs. recent adjacent history | Proposed method | |
| Proposed method vs. fixed-period history | Proposed method | ||
| Recent adjacent vs. fixed-period history | Recent adjacent history | ||
| Next 24-hour | Proposed method vs. recent adjacent history | Proposed method | |
| Proposed method vs. fixed-period history | Proposed method | ||
| Recent adjacent vs. fixed-period history | Fixed-period history |
Spatiotemporal Forecasting
Spatiotemporal forecasting predicts how quantities change across locations and time, from traffic and weather to disease and environmental systems.
See all 423 papers