Few-Shot Transfer Learning for Cross-City Pedestrian Level-of-Service Mapping Using Spatio-Temporal Graph Models
Atakilti Brhanu Kiros, Jonathan Dortheimer, Noam Teshuva, Achituv CohenUrban planners need scalable ways to monitor pedestrian conditions across heterogeneous cities, but conventional Level-of-Service (LOS) methods are often locally calibrated and difficult to transfer. This study proposes a city-adaptive framework for pedestrian LOS mapping using spatio-temporal graph models and few-shot transfer learning. Pedestrian count data from Melbourne, Dublin, and Zurich were converted into six ordinal LOS classes using city-specific percentile thresholds computed from the training data, yielding a relative congestion measure rather than an absolute cross-city standard. We developed a spatio-temporal graph transformer with an ordinal prediction head and evaluated it under in-domain, zero-shot, few-shot, and domain-adaptive settings. The results show strong in-domain performance in Melbourne (accuracy 79.7%; Acc ± 1 99.1%) and effective adaptation to the city-adaptive ordinal classification task. Few-shot fine-tuning with only 5% labeled target city data recovered 95–99% of in-domain performance, suggesting that small amounts of local supervision can substantially reduce calibration requirements in data-scarce environments. KernelSHAP analysis indicates that short-term temporal lag features dominate predictions across cities, whereas spatial and contextual features vary more strongly with local urban structure. The findings suggest that few-shot transfer learning can support pedestrian LOS estimation in cities with limited labeled data; however, the proposed LOS formulation should be interpreted as a city-specific relative indicator rather than an absolute measure of pedestrian comfort, crowding, or service quality. While the framework was evaluated across three cities, additional validation in diverse urban contexts and against perceptual measures of pedestrian experience remains necessary. Overall, the study contributes a city-adaptive framework for transferable relative LOS prediction rather than a universal cross-city LOS standard.