AutoLTS: Automating Cycling Stress Assessment via Contrastive Learning and Spatial Post-processing
Bo Lin, Shoshanna Saxe, Timothy C. Y. Chan
TL;DR
AutoLTS tackles the data-intense problem of cycling stress assessment by learning from street-view images through a two-step pipeline that first predicts road features with an ordinal-aware contrastive loss and then fuses these features with image embeddings to predict LTS. It introduces OrdCon to preserve ordinal relationships among LTS labels and a spatial post-processing module grounded in a causal model to enforce smoothness across connected road segments. On a Toronto dataset of 39,153 road segments, AutoLTS demonstrates strong LTS prediction performance, with substantial gains when street-view data are combined with partial road features and outperformance over baselines like MoCo and SupCon. The work enables scalable, image-based cycling-stress assessment with practical implications for urban planning and routing, while noting limitations such as domain shift and city-specific data needs for broader generalization.
Abstract
Cycling stress assessment, which quantifies cyclists' perceived stress imposed by the built environment and motor traffics, increasingly informs cycling infrastructure planning and cycling route recommendation. However, currently calculating cycling stress is slow and data-intensive, which hinders its broader application. In this paper, We propose a deep learning framework to support accurate, fast, and large-scale cycling stress assessments for urban road networks based on street-view images. Our framework features i) a contrastive learning approach that leverages the ordinal relationship among cycling stress labels, and ii) a post-processing technique that enforces spatial smoothness into our predictions. On a dataset of 39,153 road segments collected in Toronto, Canada, our results demonstrate the effectiveness of our deep learning framework and the value of using image data for cycling stress assessment in the absence of high-quality road geometry and motor traffic data.
