A Twin Transformer Architecture Approach to Traffic Congestion Analysis
Traffic Congestion is one of the most need of hour problem This paper focuses on detection of traffic congestion through live CCTV footages. This estimation is challenging and requires effective spatial and temporal pattern modelling in order to capture the dynamic vehicle motion, variable vehicle density, and noise produced due to the camera. The paper proposes a transformer based architecture model framework that evolves in three main phases from a basic twin frame model to a triple frame transformer model comprising of temporal context, to improvise the congestion classification by the use of a Swim transformer encoder. The shared Swin Transformer encoder extracts basic features from the first few frames which are further combined using temporal statistical measures such as mean and variance to highlight traffic density and movement statistics. A staged optimisation strategy of freeze-unfreeze and a window based labelling criteria is employed to enhance the learning robustness. This process helps to achieve an overall accuracy of 94.26% with use of temporal fusion, demonstrating reliable performance and effective generalisation to unseen datasets.
Authors
- Surbhi Bharti (ORCID: https://orcid.org/0000-0002-5901-0380)
- Ashwni Kumar (ORCID: https://orcid.org/0009-0000-8322-2343)
- Mehar Kapoor
Institutions
- Indira Gandhi Delhi Technical University for Women (IN)
Publication Details
- Journal
- Research Square
- Published
- 2026-11-30
- DOI
- https://doi.org/10.21203/rs.3.rs-10107228/v1
- Primary Topic
- Video Surveillance and Tracking Methods
- Type
- preprint