MR

Martin Raubal

info

Please Note

14 records found

Personalized Immersive Training for Household Situation Awareness

Conference paper (2026) - Tianyi Xiao, Yan Feng, Suvodip Chakraborty, Peter Kiefer, Phoebe O. Toups Dugas, Martin Raubal
As wildfires become increasingly frequent and severe worldwide, at-risk homeowners face greater responsibility in assessing the fire situation and making safety-critical decisions. This requires specific training in situational awareness (SA). However, the effectiveness of conventional wildfire response training (WRT) methods (e.g., videos, brochures) is limited, as they cannot replicate the unpredictability of wildfires nor provide real-world context. This research introduces Personalized Immersive Training (PIT), a novel paradigm designed to embed WRT in real-world contexts. We implemented PIT in Wildfire@Home, intending to increase homeowners' SA capabilities. Learners first use a desktop wildfire simulator to build mental models of how terrain, vegetation, and wind shape fire spread. Then, experience a realistic and immersive 3D rendering of the simulation in a VR wildfire visualizer. Learners can personalize the training scenario by uploading 3D models and geospatial data. ...
Journal article (2025) - Rushan Wang, Yanan Xin, Yatao Zhang, Fernando Perez-Cruz, Martin Raubal
Deep learning models are widely used in traffic forecasting and have achieved state-of-the-art prediction accuracy. However, their black-box nature presents challenges for interpretability and usability, particularly when predictions are significantly influenced by complex urban contextual features. This study aims to leverage an explainable artificial intelligence (AI) approach, counterfactual explanations, to enhance the explainability of deep learning-based traffic forecasting models and elucidate their relationships with various contextual features. We present a comprehensive framework that generates counterfactual explanations for traffic forecasting. The study first implements a graph convolutional network (GCN) to predict traffic speed based on historical traffic data and contextual variables. Counterfactual explanations are generated through a multi-objective optimization process, with four objectives, validity, proximity, sparsity, and plausibility, each emphasizing different aspects of optimization. We investigated the impact of contextual features on traffic speed prediction under varying spatial and temporal conditions. The scenario-driven counterfactual explanations integrate two types of user-defined constraints, directional and weighting constraints, to tailor the search for counterfactual explanations to specific use cases. These tailored explanations benefit machine learning practitioners who aim to understand the model's learning mechanisms and traffic domain experts who seek insights for necessity factors to alter traffic condition. The results showcase the effectiveness of counterfactual explanations in revealing traffic patterns learned by deep learning models and explaining the relationship between traffic prediction and contextual features, demonstrating its potential for interpreting black-box deep learning models. ...
Journal article (2025) - Ye Hong, Yanan Xin, Simon Dirmeier, Fernando Perez-Cruz, Martin Raubal
Deep neural networks are increasingly utilized in mobility prediction tasks, yet their intricate internal workings pose challenges for interpretability, especially in comprehending how various aspects of mobility behavior affect predictions. This study introduces a causal intervention framework to assess the impact of mobility-related factors on neural networks designed for next location prediction — a task focusing on predicting the immediate next location of an individual. To achieve this, we employ individual mobility models to synthesize location visit sequences and control behavior dynamics by intervening in their data generation process. We evaluate the interventional location sequences using mobility metrics and input them into well-trained networks to analyze performance variations. The results demonstrate the effectiveness in producing location sequences with distinct mobility behaviors, thereby facilitating the simulation of diverse yet realistic spatial and temporal changes. These changes result in performance fluctuations in next location prediction networks, revealing impacts of critical mobility behavior factors, including sequential patterns in location transitions, proclivity for exploring new locations, and preferences in location choices at population and individual levels. The gained insights hold value for the real-world application of mobility prediction networks, and the framework is expected to promote the use of causal inference to enhance the interpretability and robustness of neural networks in mobility applications. ...
Preprint (2024) - Rushan Wang, Yanan Xin, Yatao Zhang, Fernando Perez-Cruz, Martin Raubal
Deep learning models are widely used in traffic forecasting and have achieved state-of-the-art prediction accuracy. However, the black-box nature of those models makes the results difficult to interpret by users. This study aims to leverage an Explainable AI approach, counterfactual explanations, to enhance the explainability and usability of deep learning-based traffic forecasting models. Specifically, the goal is to elucidate relationships between various input contextual features and their corresponding predictions. We present a comprehensive framework that generates counterfactual explanations for traffic forecasting and provides usable insights through the proposed scenario-driven counterfactual explanations. The study first implements a deep learning model to predict traffic speed based on historical traffic data and contextual variables. Counterfactual explanations are then used to illuminate how alterations in these input variables affect predicted outcomes, thereby enhancing the transparency of the deep learning model. We investigated the impact of contextual features on traffic speed prediction under varying spatial and temporal conditions. The scenario-driven counterfactual explanations integrate two types of user-defined constraints, directional and weighting constraints, to tailor the search for counterfactual explanations to specific use cases. These tailored explanations benefit machine learning practitioners who aim to understand the model's learning mechanisms and domain experts who seek insights for real-world applications. The results showcase the effectiveness of counterfactual explanations in revealing traffic patterns learned by deep learning models, showing its potential for interpreting black-box deep learning models used for spatiotemporal predictions in general. ...
Journal article (2024) - Nina Wiedemann, Yanan Xin, Vasco Medici, Lorenzo Nespoli, Esra Suel, Martin Raubal
The proliferation of car sharing services in recent years presents a promising avenue for advancing sustainable transportation. Beyond merely reducing car ownership rates, these systems can play a pivotal role in bolstering grid stability through the provision of ancillary services via vehicle-to-grid (V2G) technologies - a facet that has received limited attention in previous research. In this study, we analyze the potential of V2G in car sharing by designing future scenarios for a national-scale service in Switzerland. We propose an agent-based simulation pipeline that considers population changes as well as different business strategies of the car sharing service, and we demonstrate its successful application for simulating scenarios for 2030. To imitate car sharing user behavior, we develop a data-driven mode choice model. Our analysis reveals important differences in the examined scenarios, such as higher vehicle utilization rates for a reduced fleet size as well as in a scenario featuring new car sharing stations. These disparities translate into variations in the power flexibility of the fleet available for ancillary services, ranging from 12 to 50 MW, depending on the scenario and the time of the day. Furthermore, we conduct a case study involving a subset of the car sharing fleet, incorporating real-world electricity pricing data. The case study substantiates the existence of a sweet spot involving monetary gains for both power grid operators and fleet owners. Our findings provide guidelines to decision makers and underscore the pressing need for regulatory enhancements concerning power trading within the realm of car sharing. ...

Willingness for flexibility in reservation times in Switzerland

Journal article (2024) - Esra Suel, Yanan Xin, Nina Wiedemann, Lorenzo Nespoli, Vasco Medici, Antonin Danalet, Martin Raubal
Combining vehicle-to-grid (V2G) with car sharing can substantially contribute to decarbonization of both energy and transportation sectors. Car-sharing users’ booking slot flexibility is crucial for integration yet remains underexplored. We developed an integrated choice and latent variable model to estimate the value of financial incentives needed for shifting slots and how it is affected by socio-demographics, latent attitudes, trip-level characteristics. We conducted a stated preference survey with car sharing users in Switzerland. The value of time in our sample ranged between 22.4 CHF/h and 35.5 CHF/h (23.5 USD/h and 37.2 USD/h). Older adults, lower income groups, individuals in employment and with a university degree had lower time flexibility. Work, leisure, trips involving others, trips taking place during weekdays and morning peaks were harder to alter. This flexibility has the potential to encourage car-sharing operators and users to engage in V2G initiatives, contributing to decarbonization of transportation and energy systems. ...
Preprint (2024) - Ye Hong, Yanan Xin, Simon Dirmeier, Fernando Perez-Cruz, Martin Raubal
Deep neural networks are increasingly utilized in mobility prediction tasks, yet their intricate internal workings pose challenges for interpretability, especially in comprehending how various aspects of mobility behavior affect predictions. This study introduces a causal intervention framework to assess the impact of mobility-related factors on neural networks designed for next location prediction -- a task focusing on predicting the immediate next location of an individual. To achieve this, we employ individual mobility models to synthesize location visit sequences and control behavior dynamics by intervening in their data generation process. We evaluate the interventional location sequences using mobility metrics and input them into well-trained networks to analyze performance variations. The results demonstrate the effectiveness in producing location sequences with distinct mobility behaviors, thereby facilitating the simulation of diverse yet realistic spatial and temporal changes. These changes result in performance fluctuations in next location prediction networks, revealing impacts of critical mobility behavior factors, including sequential patterns in location transitions, proclivity for exploring new locations, and preferences in location choices at population and individual levels. The gained insights hold value for the real-world application of mobility prediction networks, and the framework is expected to promote the use of causal inference to enhance the interpretability and robustness of neural networks in mobility applications. ...
Journal article (2024) - Dominik J. Mühlematter, Nina Wiedemann, Yanan Xin, Martin Raubal
In recent years, car-sharing services have emerged as viable alternatives to private individual mobility, promising more sustainable and resource-efficient, but still comfortable transportation. Research on short-term prediction and optimization methods has improved operations and fleet control of car-sharing services; however, long-term projections and spatial analysis are sparse in the literature. We propose to analyze the average monthly demand in a station-based car-sharing service with spatially-aware learning algorithms that offer high predictive performance as well as interpretability. Our study utilizes a rich set of socio-demographic, location-based (e.g., POIs), and car-sharing-specific features as input, extracted from a large proprietary car-sharing dataset and publicly available datasets. We first compare the performance of different modeling approaches and find that a global Random Forest with geo-coordinates as part of input features achieves the highest predictive performance with an R-squared score of 0.87 on test data. While a local linear model, Geographically Weighted Regression, performs almost on par in terms of out-of-sample prediction accuracy. We further leverage the models to identify spatial and socio-demographic drivers of car-sharing demand. An analysis of the Random Forest via SHAP values, as well as the coefficients of GWR and MGWR models, reveals that besides population density and the car-sharing supply, other spatial features such as surrounding POIs play a major role. In addition, MGWR yields exciting insights into the multiscale heterogeneous spatial distributions of factors influencing car-sharing behaviour. Together, our study offers insights for selecting effective and interpretable methods for diagnosing and planning the placement of car-sharing stations. ...
Journal article (2023) - Lorenzo Nespoli, Nina Wiedemann, Esra Suel, Yanan Xin, Martin Raubal, Vasco Medici
Deploying real-time control on large-scale fleets of electric vehicles (EVs) is becoming pivotal as the share of EVs over internal combustion engine vehicles increases. In this paper, we present a Vehicle-to-Grid (V2G) algorithm to simultaneously schedule thousands of EVs charging and discharging operations, that can be used to provide ancillary services. To achieve scalability, the monolithic problem is decomposed using the alternating direction method of multipliers (ADMM). Furthermore, we propose a method to handle bilinear constraints of the original problem inside the ADMM iterations, which changes the problem class from Mixed-Integer Quadratic Program (MIQP) to Quadratic Program (QP), allowing for a substantial computational speed up. We test the algorithm using real data from the largest carsharing company in Switzerland and show how our formulation can be used to retrieve flexibility boundaries for the EV fleet. Our work thus enables fleet operators to make informed bids on ancillary services provision, thereby facilitating the integration of electric vehicles. ...
Preprint (2023) - Jingyan Li, Yanan Xin, Ye Hong, Martin Raubal
Deep learning (DL) models have shown strong predictive power in solving traffic problems in the past few years. Due to their lack of interpretability and transparency, applications of such models are sometimes controversial. To ensure trust in the model, it is crucial for model end-users and decision-makers to understand how the spatiotemporal dynamics of traffic states are captured and how contextual factors are utilized by the model. Inspired by feature attribution approaches in the Explainable Artificial Intelligence field, we propose a pipeline to interpret how the UNet model, a winning DL model in the image-based short-term traffic forecast competition, learns various dependencies from data for traffic forecast. By extending the classical saliency map method, we obtain an attribution value for each element in the input data to understand its influence on the prediction. Moreover, we propose multiple aggregations over the raw pixel-level attribution results, enhancing their interpretability for traffic forecast applications. Our results show that the most recent timestamp consistently contributes the most to predicting both traffic volume and speed. The global and local spatial dependencies captured by the UNet model suggest a pattern akin to the road network, yet they differ between urban and rural contexts. Finally, we compare the contribution of static contextual factors and dynamic features. Although they share similar spatial influential boundaries, contextual factors contribute less than speed and volume features. This study provides a systematic analytical pipeline to understand how a DL model utilizes the spatial, temporal, and contextual dependencies in traffic data for traffic forecast, assisting in decision-making for intelligent transportation systems. ...
Journal article (2023) - Ye Hong, Henry Martin, Yanan Xin, Dominik Bucher, Daniel J. Reck, Kay W. Axhausen, Martin Raubal
Quantifying intra-person variability in travel choices is essential for the comprehension of activity–travel behaviour. Due to a lack of empirical studies, there is limited understanding of how an individual's travel pattern evolves over months and years. We use two high-resolution user-labelled datasets consisting of billions of GPS track points from ∼3800 individuals to analyse individuals’ activity–travel behaviour over the long term. The general movement patterns of the considered population are characterised using mobility indicators. Despite the differences in the mobility patterns, we find that individuals from both datasets maintain a conserved quantity in the number of essential travel mode and activity location combinations over time, resulting from a balance between exploring new choice combinations and exploiting existing options. A typical individual maintains ∼15 mode–location combinations, of which ∼7 are travelled with a private vehicle every 5 weeks. The dynamics of this stability reveal that the exploration speed of locations is faster than the one for travel modes, and they can both be well modelled using a power-law fit that slows down over time. Our findings enrich the understanding of the long-term intra-person variability in activity–travel behaviour and open new possibilities for designing mobility simulation models. ...
Conference paper (2023) - Jascha Grubel, Carlos Vivar Rios, Chenyu Zuo, Sabrina Ossey, Robin M. Franken, Milos Balac, Yanan Xin, Kay W. Axhausen, Martin Raubal, Oksana Riba-Grognuz
Complex simulations and machine-learning models increase in application in research, industry, and governance. However, applying these systems with reasonable accuracy and efficiency requires large-scale efforts of data collection, data transformation, data analysis, and data visualization. At the same time, maintaining the required infrastructure, software, and personnel skyrockets making these tools unavailable to many potential users. The paradigm of the digital twin offers a novel perspective on how to manage the data efficiently and make these systems available more steadily at a lower cost. We introduce the first prototype of the Open Digital Twin Platform (ODTP) that is designed to be openly available to all interested parties to enable a common framework and baseline for digital twin based research. ODTP uses containerization, loose coupling, and micro-services to provide dynamically composable digital twins. ODTP also provides tools for licensing resolution, privacy and access control, and reproducibility. In its first iteration presented here, ODTP implements a common mobility research pipeline of the eqasim pipeline for MATSim. These kind of programs are usually difficult to assemble and use, thus leading to dangerous versions of 'never change a running system'. ODTP converts them into an easy-to-use version making it possible to initiate mobility simulations with one click. ODTP enables the quick adding of relevant data sources and analytical pipelines related to any topic and make them easily usable, accessible and shareable to research, industry, and governance. Thus, ODTP expands the FAIR principle from data to the complete data life cycle. ...

Causal inference for interpretable and robust machine learning in mobility analysis

Conference paper (2022) - Yanan Xin, Natasa Tagasovska, Fernando Perez-Cruz, Martin Raubal
Artificial intelligence (AI) is revolutionizing many areas of our lives, leading a new era of technological advancement. Particularly, the transportation sector would benefit from the progress in AI and advance the development of intelligent transportation systems. Building intelligent transportation systems requires an intricate combination of artificial intelligence and mobility analysis. The past few years have seen rapid development in transportation applications using advanced deep neural networks. However, such deep neural networks are difficult to interpret and lack robustness, which slows the deployment of these AI-powered algorithms in practice. To improve their usability, increasing research efforts have been devoted to developing interpretable and robust machine learning methods, among which the causal inference approach recently gained traction as it provides interpretable and actionable information. Moreover, most of these methods are developed for image or sequential data which do not satisfy specific requirements of mobility data analysis. This vision paper emphasizes research challenges in deep learning-based mobility analysis that require interpretability and robustness, summarizes recent developments in using causal inference for improving the interpretability and robustness of machine learning methods, and highlights opportunities in developing causally-enabled machine learning models tailored for mobility analysis. This research direction will make AI in the transportation sector more interpretable and reliable, thus contributing to safer, more efficient, and more sustainable future transportation systems. ...
Journal article (2022) - Haojun Cai, Yanan Xin, Henry Martin, Martin Raubal
The number of electric vehicles (EVs) has been rapidly increasing over the last decade, motivated by the effort to decrease greenhouse gas emissions and the fast development of battery technology. This trend challenges distribution grids since EVs will bring significant stress if the charging of many EVs is not coordinated. Among the many strategies to cope with this challenge, next-day EV energy demand forecasting plays a key role. Existing studies have focused on predicting the next-day energy demand of EVs on the aggregated and individual levels. However, these studies have not yet extensively considered individual user mobility behaviors, which exhibit a high level of predictability. In this study, we consider several mobility features of individual users when forecasting the next-day energy demand of individual EVs. Three types of quantile regression models are used to generate probabilistic forecasts of energy demand, particularly the next-day energy consumption and parking duration. Based on the prediction results, two time-shifting smart charging strategies are designed: unidirectional and bidirectional smart charging. These two strategies are compared with an uncontrolled charging baseline to evaluate their financial benefits and peak-shaving effects. Our results show that human mobility features can partially improve the prediction of next-day individual EV energy demand. Additionally, users and distribution grids can benefit from smart charging strategies both financially and technically. ...