Adapting to Skew: Imputing Spatiotemporal Urban Data with 3D Partial Convolutions and Biased Masking
Not on the map. Why?
Abstract (arXiv)
We adapt image inpainting techniques to impute large, irregular missing regions in urban settings characterized by sparsity, variance in both space and time, and anomalous events. Missing regions in urban data can be caused by sensor or software failures, data quality issues, interference from weather events, incomplete data collection, or varying data use regulations; any missing data can render the entire dataset unusable for downstream applications. To ensure coverage and utility, we adapt computer vision techniques for image inpainting to operate on 3D histograms (2D space + 1D time) commonly used for data exchange in urban settings. Adapting these techniques to the spatiotemporal setting requires handling skew: urban data tend to follow population density patterns (small dense regions surrounded by large sparse areas); these patterns can dominate the learning process and fool the model into ignoring local or transient effects. To combat skew, we 1) train simultaneously in space and time, and 2) focus attention on dense regions by biasing the masks used for training to the skew in the data. We evaluate the core model and these two extensions using the NYC taxi data and the NYC bikeshare data, simulating different conditions for missing data. We show that the core model is effective qualitatively and quantitatively, and that biased masking during training reduces error in a variety of scenarios. We also articulate a tradeoff in varying the number of timesteps per training sample: too few timesteps and the model ignores transient events; too many timesteps and the model is slow to train with limited performance gain.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 17 of its 67 references that are in the map. First posted on arXiv 10 Jan 2023.
Builds on
17 of 67 references.
References · 17
- 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
- 2016Context Encoders: Feature Learning by Inpaintingcited by 1,424
- 2021Palette: Image-to-Image Diffusion Modelscited by 1,296
- 2018Free-Form Image Inpainting with Gated Convolutioncited by 594
- 2018Generative Image Inpainting with Contextual Attentioncited by 578
- 2018Image Inpainting for Irregular Holes Using Partial Convolutionscited by 505
- 2019Coherent Semantic Attention for Image Inpaintingcited by 97
- 2021Aggregated Contextual Transformations for High-Resolution Image Inpaintingcited by 89
- 2017Learning Traffic as Images: A Deep Convolutional Neural Network for Large-Scale Transportation Network Speed Predictioncited by 67
- 2019Region Normalization for Image Inpaintingcited by 54
- 2017Spatiotemporal Recurrent Convolutional Networks for Traffic Prediction in Transportation Networkscited by 35
- 2017Predicting Citywide Crowd Flows Using Deep Spatio-Temporal Residual Networkscited by 34
5 more
- 2018Deep Sequence Learning with Auxiliary Information for Traffic Predictioncited by 29
- 2018Missing Data Reconstruction in Remote Sensing image with a Unified Spatial-Temporal-Spectral Deep Convolutional Neural Networkcited by 26
- 2020Texture Memory-Augmented Deep Patch-Based Image Inpaintingcited by 22
- 2020Learning Oracle Attention for High-fidelity Face Completioncited by 21
- 2019FairST: Equitable Spatial and Temporal Demand Prediction for New Mobility Systemscited by 13
Built on by
Citing papers per year: 2025: 1.
1 paper.