# GridTuner: Reinvestigate Grid Size Selection for Spatiotemporal Prediction Models [Technical Report]

arXiv: https://arxiv.org/abs/2201.03244 · HTML: https://mlsanity.com/paper/2201.03244/

## Key facts

- Cited by 4 papers in the map (data through 14 Oct 2026).
- Builds on 5 of its 29 references that are in the map.
- First posted on arXiv 10 Jan 2022.

## Builds on (most cited first, 5 of 5)

- [Deep Spatio-Temporal Residual Networks for Citywide Crowd Flows Prediction](https://mlsanity.com/paper/1610.00081/) (2016)
- [Deep Multi-View Spatial-Temporal Network for Taxi Demand Prediction](https://mlsanity.com/paper/1802.08714/) (2018)
- [Spatiotemporal Recurrent Convolutional Networks for Traffic Prediction in Transportation Networks](https://mlsanity.com/paper/1705.02699/) (2017)
- [PCNN: Deep Convolutional Networks for Short-term Traffic Congestion Prediction](https://mlsanity.com/paper/2003.07033/) (2020)
- [A Queueing-Theoretic Framework for Vehicle Dispatching in Dynamic Car-Hailing [technical report]](https://mlsanity.com/paper/2107.08662/) (2021)

## Built on by (most cited first, 4 of 4)

- [INCREASE: Inductive Graph Representation Learning for Spatio-Temporal Kriging](https://mlsanity.com/paper/2302.02738/) (2023)
- [RNTrajRec: Road Network Enhanced Trajectory Recovery with Spatial-Temporal Transformer](https://mlsanity.com/paper/2211.13234/) (2022)
- [A Unified Model for Spatio-Temporal Prediction Queries with Arbitrary Modifiable Areal Units](https://mlsanity.com/paper/2403.07022/) (2024)
- [UCTB: An Urban Computing Tool Box for Building Spatiotemporal Prediction Services](https://mlsanity.com/paper/2306.04144/) (2023)

## Abstract (arXiv)

With the development of traffic prediction technology, spatiotemporal prediction models have attracted more and more attention from academia communities and industry. However, most existing researches focus on reducing model's prediction error but ignore the error caused by the uneven distribution of spatial events within a region. In this paper, we study a region partitioning problem, namely optimal grid size selection problem (OGSS), which aims to minimize the real error of spatiotemporal prediction models by selecting the optimal grid size. In order to solve OGSS, we analyze the upper bound of real error of spatiotemporal prediction models and minimize the real error by minimizing its upper bound. Through in-depth analysis, we find that the upper bound of real error will decrease then increase when the number of model grids increase from 1 to the maximum allowed value. Then, we propose two algorithms, namely Ternary Search and Iterative Method, to automatically find the optimal grid size. Finally, the experiments verify that the error of prediction has the same trend as its upper bound, and the change trend of the upper bound of real error with respect to the increase of the number of model grids will decrease then increase. Meanwhile, in a case study, by selecting the optimal grid size, the order dispatching results of a state-of-the-art prediction-based algorithm can be improved up to 13.6%, which shows the effectiveness of our methods on tuning the region partition for spatiotemporal prediction models.
