🗓️ Last updated: September 6, 2025
GraphCSVAE: Graph Categorical Structured Variational Autoencoder for Spatiotemporal Auditing of Physical Vulnerability Towards Sustainable Post-Disaster Risk Reduction
This code depends on MATLAB R2025b, QGIS 3.40.5-Brastislava, or any newer versions. The MATLAB toolboxes for Mapping, Financial, Statistics and Machine Learning, and Deep Learning must also be installed to enable the data import and export of GeoTIFF files (*.tif) and perform the deep learning training. Educational license is available for schools and universities.
- In
code\main\
:KhurushkulBGD.m
- a script for training and inference for the case study in Khurushkul, BGD.FreetownSLE.m
- a script for training and inference for the case study in Freetown, SLE.
- In
code\models\OV\
:decoderOV.m
- a function for decoder networkencoderOV.m
- a function for encoder networkinitializePOV.m
- a function that initializes the encoder-decoder architecture
- In
code\helper\
trainingFigs\
- a set of functions to initialize figures for trainingutility\
- a set of functions for various purposes like construction of grid-based adjacency matrices
- In
gnn\
: contains the trained GraphCSVAE models - In
plot\
: contains the corresponding loss plots
.
├── LICENSE
├── code
│ ├── helper
│ │ ├── trainingFigs
│ │ │ └── initializeOVfig.m
│ │ └── utility
│ │ ├── initializeGlorot.m
│ │ ├── modelOVlossSHOCK.m
│ │ └── sparse_dilate_ultra.m
│ ├── main
│ │ ├── FreetownSLE.m
│ │ └── KhurushkulBGD.m
│ └── models
│ └── OV
│ ├── decoderOV.m
│ ├── encoderOV.m
│ ├── initializePOV.m
│ └── modelOVloss.m
├── gnn
│ ├── FreetownSLE
│ │ └── GraphVSSM_OVparameters.mat
│ └── KhurushkulBGD
│ └── GraphVSSM_OVparameters.mat
├── plot
│ ├── FreetownSLE
│ │ ├── OV_KL.fig
│ │ └── OV_ReconLoss.fig
│ └── KhurushkulBGD
│ ├── OV_KL.fig
│ └── OV_ReconLoss.fig
└── README.md
We performed all experiments using a MacBook Pro (Apple M3 Max) with 48GB memory. Fortunately, our experiments did not need to use GPU. Due to ease of implementation and our familiarity, we used the deep learning and mapping toolboxes of MATLAB. However, other software libraries and frameworks can be used to reproduce our results.
This work is funded by the UKRI Centre for Doctoral Training in Application of Artificial Intelligence to the study of Environmental Risks (AI4ER) (EP/S022961/1).
@conference{example_conference,
title = {GraphCSVAE: Graph Categorical Structured Variational Autoencoder for Spatiotemporal Auditing of Physical Vulnerability Towards Sustainable Post-Disaster Risk Reduction},
author = {Dimasaka, Joshua and Gei{\ss}, Christian and Muir-Wood, Robert and So, Emily},
year = 2025,
month = {October},
booktitle = {Proceedings of the 8th International Disaster and Risk Conference},
address = {Nicosia, Cyprus}
}