Repository logo
 

Test-Time Training with Adaptive Memory for Traffic Accident Severity Prediction

aut.relation.endpage186
aut.relation.issue5
aut.relation.journalComputers
aut.relation.startpage186
aut.relation.volume14
dc.contributor.authorPeng, Duo
dc.contributor.authorYan, Wei Qi
dc.date.accessioned2025-05-13T20:40:58Z
dc.date.available2025-05-13T20:40:58Z
dc.date.issued2025-05-10
dc.description.abstractTraffic accident prediction is essential for improving road safety and optimizing intelligent transportation systems. However, deep learning models often struggle with distribution shifts and class imbalance, leading to degraded performance in real-world applications. While distribution shift is a common challenge in machine learning, Transformer-based models—despite their ability to capture long-term dependencies—often lack mechanisms for dynamic adaptation during inferencing. In this paper, we propose a TTT-Enhanced Transformer that incorporates Test-Time Training (TTT), enabling the model to refine its parameters during inferencing through a self-supervised auxiliary task. To further boost performance, an Adaptive Memory Layer (AML), a Feature Pyramid Network (FPN), Class-Balanced Attention (CBA), and Focal Loss are integrated to address multi-scale, long-term, and imbalance-related challenges. Our experimental results show that our model achieved an overall accuracy of 96.86% and a severe accident recall of 95.8%, outperforming the strongest Transformer baseline by 5.65% in accuracy and 9.6% in recall. The results of our confusion matrix and ROC analyses confirm our model’s superior classification balance and discriminatory power. These findings highlight the potential of our approach in enhancing real-time adaptability and robustness under shifting data distributions and class imbalances in intelligent transportation systems.
dc.identifier.citationComputers, ISSN: 2073-431X (Online), MDPI AG, 14(5), 186-186. doi: 10.3390/computers14050186
dc.identifier.doi10.3390/computers14050186
dc.identifier.issn2073-431X
dc.identifier.urihttp://hdl.handle.net/10292/19188
dc.languageen
dc.publisherMDPI AG
dc.relation.urihttps://www.mdpi.com/2073-431X/14/5/186
dc.rights© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
dc.rights.accessrightsOpenAccess
dc.rights.urihttps://creativecommons.org/licenses/by/4.0/
dc.subject40 Engineering
dc.subject46 Information and computing sciences
dc.titleTest-Time Training with Adaptive Memory for Traffic Accident Severity Prediction
dc.typeJournal Article
pubs.elements-id604731

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
computers-14-00186(PengDuo).pdf
Size:
4.68 MB
Format:
Adobe Portable Document Format
Description:
Journal article