Back to search

University of Alberta

TrajGATFormer: A Graph-Based Transformer Approach for Worker and Obstacle Trajectory Prediction in Off-site Construction Environments

Abstract

dc:description.abstract

As demand grows for faster, safer construction processes, offsite construction has emerged as a solution, though it brings new safety risks due to the close interaction between workers, machinery, and moving obstacles. Predicting the future trajectories of workers and taking into account social and environmental factors is a crucial step for developing collision-avoidance systems to mitigate such risks. Traditional approaches like Kalman Filters (KF) and Hidden Markov Models (HMMs) often rely on static assumptions and hand-crafted features, making them insufficiently responsive to the dynamic nature of construction sites. Data-driven methods, including Long Short-Term Memory (LSTM) networks, have shown promise in this domain by incorporating both temporal and contextual information; however, LSTM models struggle with error accumulation, reducing their effectiveness in real-time scenarios. To address these limitations, this thesis proposes a comprehensive framework integrating YOLOv10 and DeepSORT for precise detection and tracking, alongside two novel trajectory prediction models: TrajGATFormer and TrajGATFormer-Enhanced. YOLOv10 serves as the backbone for object detection, reliably identifying workers and obstacles in diverse construction scenes, while DeepSORT efficiently tracks each detected entity over time, assigning unique IDs to maintain continuity across frames. This combination allows for accurate, real-time tracking, providing critical input data for the predictive models. The two predictive models leverage a transformer encoderdecoder architecture with Graph Attention Networks (GAT) to capture both temporal dependencies and spatial interactions. TrajGATFormer focuses on predicting worker trajectories, achieving an average displacement error (ADE) of 1.25 meters and a final displacement error (FDE) of 2.3 meters over a 4.8-second prediction horizon. TrajGATFormer-Enhanced extends this framework to handle both worker and obstacle predictions, achieving even higher accuracy, with an ADE of 1.15 meters and an FDE of 2.2 meters. Comparative analysis showed that both models significantly outperformed traditional methods, reducing ADE and FDE by up to 35% and 38%, respectively. These models can serve as the backbone for constructing collision avoidance alarm systems that can be installed at offsite construction facilities. This system once fully integrated is capable of providing workers with essential information in the event of a potential collision.

Degree

thesis:*
Name thesis:degree_name
Master of Science
Level thesis:degree_level
Master's
Discipline thesis:degree_discipline
Civil (Cross-Disciplinary)
Grantor
University of Alberta
Year dc:date.issued
2025

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Al-Duais, Mohammed Khaled Mohammed
Advisor dc:contributor.advisor
  • Qipei (Gavin) Mei (Civil and Environmental Engineering)

Subjects

dc:subject × 9

Rights

dc:rights
Statement dc:rights
  • This thesis is made available by the University of Alberta Library with permission of the copyright owner solely for non-commercial purposes. This thesis, or any portion thereof, may not otherwise be copied or reproduced without the written consent of the copyright owner, except to the extent permitted by Canadian copyright law.
Language dc:language.iso
en

Identifiers

dc:identifier.*
DOI dc:identifier.doi
https://doi.org/10.7939/83427

Chain of custody

source
Harvested from
University of Alberta
Base URL
era.library.ualberta.ca/oai
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
citation

Al-Duais, Mohammed Khaled Mohammed. TrajGATFormer: A Graph-Based Transformer Approach for Worker and Obstacle Trajectory Prediction in Off-site Construction Environments. Master's thesis, University of Alberta, 2025. https://doi.org/10.7939/83427