arXiv Science⌕ Search

arXiv subjects

Nazmul Haque

Publications and source records attributed to Nazmul Haque.

10 recordsLinked to original sources

RoadAnnoter: An AI-Assisted Desktop Tool for Semantic Segmentation Annotation of Road-Scene Images

Accurate semantic segmentation of road-scene images is essential for road safety research; however, polygon-level annotation remains labor-intensive and limits labelled dataset development. This study presents RoadAnnoter v1.0, an open-source desktop application integrating six human-in-the-loop annotation modes: manual polygon delineation, SAM Prompt, Smart Select, Edge Fill, pretrained semantic segmentation using Cityscapes-trained SegFormer models, and task-specific segmentation using TinySegNet, a lightweight MobileNetV3-Small-based network trained with accumulated annotator-generated labels. SAM-based modes use promptable segmentation with SAM and MobileSAM, while Edge Fill combines Canny edge detection with colour-similarity-based flood filling in CIELAB colour space. SegFormer generates suggestions for common road-scene categories, whereas TinySegNet supports adaptation to project-specific features through iterative training. All six modes use a shared mask-to-polygon pipeline comprising morphological processing, Gaussian smoothing, contour extraction, and Douglas-Peucker simplification; annotations are exported in YOLO segmentation format. RoadAnnoter was used to annotate Google Street View images from recorded road accident locations in Bangladesh for a vision-language model-based investigation of free-flow speed estimation. Qualitative assessment across representative scenes demonstrated the complementary applicability of the annotation modes to diverse feature geometries. Visual comparison with Roboflow indicated similar qualitative boundary characteristics for principal road-scene regions, although no quantitative accuracy assessment was conducted. RoadAnnoter provides a locally operated framework for developing road-scene segmentation datasets for transportation engineering and road safety research.

cs.CV↗

A Bias-Variance Framework for Estimating Stochastic Speed-Density Relationship Considering Constrained Sample Size

Accurate calibration of traffic speed-density fundamental diagram models is essential for freeway traffic flow analysis, yet existing approaches estimate parameters from fixed datasets without examining how estimates evolve as data availability increases. This study develops a comprehensive Bayesian stochastic calibration framework integrating sequential Markov Chain Monte Carlo (MCMC) estimation via a Metropolis-Hastings within Gibbs sampling scheme with a novel Bias-Variance Cone analysis for asymptotic parameter identification. The framework is applied to 17 macroscopic speed-density models using one full year of 5-minute PeMS loop detector data from three California freeway stations. Sequential MCMC progressively increases the number of randomly sampled days from 1 to 365, enabling systematic evaluation of parameter stability and convergence as a function of data availability. Among the 17 models, nine achieved stable posterior convergence with physically interpretable estimates, while four exhibited catastrophic structural failures due to logarithmic singularities, unit incompatibilities, and initialization sensitivity. The Bias-Variance Cone framework, representing the first application of asymptotic bias-variance decomposition to fundamental diagram calibration, establishes that free-flow speed parameters are reliably identified within approximately 30 days, whereas density and shape parameters require 100 to 182 days, providing the first quantitative minimum data requirements in the literature. Collectively, the findings provide an empirical identifiability ranking of 17 fundamental diagram models, a validated minimum data sufficiency framework, and a replicable, automated platform for large-scale stochastic fundamental diagram calibration.

stat.AP↗

Neuro-Memory Fuzzy Inference System for Mimicking Human-like Car Following Behavior

This study presents the Neuro-Memory Fuzzy Inference System (NeMeFIS), a hierarchical machine learning architecture that asymmetrically models acceleration and deceleration in car following behavior by integrating five human memory types procedural, working, episodic, semantic, and declarative. By linking external variables to memory functions via metaheuristics and validating them through factor and p-value analyses, NeMeFIS uncovers latent cognitive influences across Arterial, Collector, and Rural Highway corridors for different types of vehicles. Results from 54 different trained models emphasize cognitive thresholds shaped by driver perception limits and cognitive load. The trained NeMeFIS models outperform traditional statistical and conventional machine learning models in replicating realistic driving behavior, including comparisons with Linear Regression, ANFIS, and LSTM architectures. Fuzzy rule analysis reveals that declarative memory demands the highest rule, especially during deceleration, indicating complex braking decisions. Procedural memory drives acceleration, while semantic and declarative memory guide deceleration. Risk perception also emerges as a key factor, particularly on urban roads. Validated on both heterogeneous and homogeneous datasets, NeMeFIS offers a robust framework for modeling driver cognition. The findings support psychotherapeutic applications and the development of adaptive, human-like decision systems in Connected and Autonomous Vehicles (CAVs) to enhance traffic safety.

cs.LG↗

Bayesian Markov Chain Monte Carlo-Based Simultaneous Speed Prediction Model for Heterogeneous Traffic on Urban Primary Roads

Objectives: The study designs a simultaneous speed prediction model based on Bayesian Markov Chain Monte Carlo (MCMC) methods for heterogeneous, non-lane-based traffic on urban primary roads, with the aim of determining the effects of vehicle-specific traffic densities on the operating speeds of the six vehicle types. Methods: The traffic data were obtained from videos recorded by unmanned aerial vehicles on five main urban roads in Dhaka, Bangladesh, and were then processed by a deep learning approach in order to derive information on vehicle trajectories, traffic volumes, densities, and space-mean speeds. Six simultaneous equations for speed prediction were developed using a Bayesian MCMC framework, covering standard cars, utility vehicles, heavy vehicles, three-wheelers, two-wheelers, and non-motorized vehicles. The performance of the models was assessed by means of goodness-of-fit measures. Findings: The coefficients of determination for the models varied from 0.922 to 0.956 and the root mean square errors were between 0.50 and 1.56 km/h for the six types of vehicle. Operating speeds decreased steadily as traffic volume increased, although traffic composition had a significant effect on speed when the demand was moderate or high. Operating speeds increased and congestion was delayed when non-motorized vehicles were excluded. The transferability study showed that the models had a reliable ability to make predictions on separate road sections.

stat.AP↗

Understanding Crash Dynamics and Severity of EV Paratransit: Evidence From Easy Bike Accidents in Bangladesh

Easy bikes have emerged as a popular and affordable mode of last-mile transport in Bangladesh, yet their widespread use has been accompanied by growing concerns about road safety. This study investigates the underlying factors influencing both the occurrence and severity of easy bike crashes by analyzing nationwide crash data spanning from 2016 to 2024. The findings reveal that crashes predominantly occur during daytime, on paved (pucca) roads, and in low-density peri-urban areas. Intersections and curved road segments are also identified as high-risk zones for crash occurrence. Crash severity analysis, supported by binary logit and probit models, emphasizes that the type of collision plays a crucial role in determining the likelihood of fatal outcomes. Pedestrian-involved crashes and rear-end collisions are more frequently associated with fatalities, whereas crashes involving overturns tend to result in less severe consequences. In contrast, environmental factors such as temperature, rainfall, and time of day exhibit limited impact on crash severity. The distribution of crash types also varies across vehicle categories, with motorcycles, buses, and trucks commonly involved in more dangerous collision scenarios. These findings focus on the urgent need for targeted road safety interventions focusing on specific crash types, high-risk locations such as intersections and curves, and vulnerable road users. Moreover, the study underscores the necessity for improving crash data quality, especially in underreported cases, to support informed decision-making. Based on these insights, the study also proposes a set of evidence-based and context-specific interventions aimed at reducing both the frequency and severity of easy bike crashes in Bangladesh.

physics.soc-ph↗

CNN-Based Framework for Pedestrian Age and Gender Classification Using Far-View Surveillance in Mixed-Traffic Intersections

Pedestrian safety remains a pressing concern in congested urban intersections, particularly in low- and middle-income countries where traffic is multimodal, and infrastructure often lacks formal control. Demographic factors like age and gender significantly influence pedestrian vulnerability, yet real-time monitoring systems rarely capture this information. To address this gap, this study proposes a deep learning framework that classifies pedestrian age group and gender from far-view intersection footage using convolutional neural networks (CNNs), without relying on facial recognition or high-resolution imagery. The classification is structured as a unified six-class problem, distinguishing adult, teenager, and child pedestrians for both males and females, based on full-body visual cues. Video data was collected from three high-risk intersections in Dhaka, Bangladesh. Two CNN architectures were implemented: ResNet50, a deep convolutional neural network pretrained on ImageNet, and a custom lightweight CNN optimized for computational efficiency. Eight model variants explored combinations of pooling strategies and optimizers. ResNet50 with Max Pooling and SGD achieved the highest accuracy (86.19%), while the custom CNN performed comparably (84.15%) with fewer parameters and faster training. The model's efficient design enables real-time inference on standard surveillance feeds. For practitioners, this system provides a scalable, cost-effective tool to monitor pedestrian demographics at intersections using existing camera infrastructure. Its outputs can shape intersection design, optimize signal timing, and enable targeted safety interventions for vulnerable groups such as children or the elderly. By offering demographic insights often missing in conventional traffic data, the framework supports more inclusive, data-driven planning in mixed-traffic environments.

cs.CV↗

Modeling Chaotic Pedestrian Behavior Using Chaos Indicators and Supervised Learning

As cities around the world aim to improve walkability and safety, understanding the irregular and unpredictable nature of pedestrian behavior has become increasingly important. This study introduces a data-driven framework for modeling chaotic pedestrian movement using empirically observed trajectory data and supervised learning. Videos were recorded during both daytime and nighttime conditions to capture pedestrian dynamics under varying ambient and traffic contexts. Pedestrian trajectories were extracted through computer vision techniques, and behavioral chaos was quantified using four chaos metrics: Approximate Entropy and Lyapunov Exponent, each computed for both velocity and direction change. A Principal Component Analysis (PCA) was then applied to consolidate these indicators into a unified chaos score. A comprehensive set of individual, group-level, and contextual traffic features was engineered and used to train Random Forest and CatBoost regression models. CatBoost models consistently achieved superior performance. The best daytime PCA-based CatBoost model reached an R^2 of 0.8319, while the nighttime PCA-based CatBoost model attained an R^2 of 0.8574. SHAP analysis highlighted that features such as distance travel, movement duration, and speed variability were robust contributors to chaotic behavior. The proposed framework enables practitioners to quantify and anticipate behavioral instability in real-world settings. Planners and engineers can use chaos scores to identify high-risk pedestrian zones, apprise infrastructure improvements, and calibrate realistic microsimulation models. The approach also supports adaptive risk assessment in automated vehicle systems by capturing short-term motion unpredictability grounded in observable, interpretable features.

cs.LG↗

How does the Performance of the Data-driven Traffic Flow Forecasting Models deteriorate with Increasing Forecasting Horizon? An Extensive Approach Considering Statistical, Machine Learning and Deep Learning Models

With rapid urbanization in recent decades, traffic congestion has intensified due to increased movement of people and goods. As planning shifts from demand-based to supply-oriented strategies, Intelligent Transportation Systems (ITS) have become essential for managing traffic within existing infrastructure. A core ITS function is traffic forecasting, enabling proactive measures like ramp metering, signal control, and dynamic routing through platforms such as Google Maps. This study assesses the performance of statistical, machine learning (ML), and deep learning (DL) models in forecasting traffic speed and flow using real-world data from California's Harbor Freeway, sourced from the Caltrans Performance Measurement System (PeMS). Each model was evaluated over 20 forecasting windows (up to 1 hour 40 minutes) using RMSE, MAE, and R-Square metrics. Results show ANFIS-GP performs best at early windows with RMSE of 0.038, MAE of 0.0276, and R-Square of 0.9983, while Bi-LSTM is more robust for medium-term prediction due to its capacity to model long-range temporal dependencies, achieving RMSE of 0.1863, MAE of 0.0833, and R-Square of 0.987 at a forecasting of 20. The degradation in model performance was quantified using logarithmic transformation, with slope values used to measure robustness. Among DL models, Bi-LSTM had the flattest slope (0.0454 RMSE, 0.0545 MAE for flow), whereas ANFIS-GP had 0.1058 for RMSE and 0.1037 for flow MAE. The study concludes by identifying hybrid models as a promising future direction.

cs.LG↗

Trajectory-based real-time pedestrian crash prediction at intersections: A novel non-linear link function for block maxima led Bayesian GEV framework addressing heterogeneous traffic condition

This study develops a real-time framework for estimating pedestrian crash risk at signalized intersections under heterogeneous, non-lane-based traffic. Existing approaches often assume linear relationships between covariates and parameters, oversimplifying the complex, non-monotonic interactions among different road users. To overcome this, the framework introduces a non-linear link function within a Bayesian generalized extreme value (GEV) structure to capture traffic variability more accurately. The framework applies extreme value theory through the block maxima approach using post-encroachment time as a surrogate safety measure. A hierarchical Bayesian model incorporating both linear and non-linear link functions into GEV parameters is estimated using Markov Chain Monte Carlo simulation. It also introduces a behavior-normalized Modified Crash Risk (MRC) formula to account for pedestrians' habitual risk-taking behavior. Seven Bayesian hierarchical models were developed and compared using deviance information criterion. Models employing non-linear link functions for the location and scale parameters significantly outperformed their linear counterparts. The results revealed that pedestrian speed has a negative relationship with crash risk, while flow and speed of motorized vehicles, pedestrian flow, and non-motorized vehicles conflicting speed contribute positively. The MRC formulation reduced overestimation and provided crash predictions with 93% confidence. The integration of non-linear link functions enhances model flexibility, capturing the non-linear nature of traffic extremes. The proposed MRC metric aligns crash risk estimates with real-world pedestrian behavior in mixed-traffic environments. This framework offers a practical analytical tool for traffic engineers and planners to design adaptive signal control and pedestrian safety interventions before crashes occur.

stat.AP↗

DEEGITS: Deep Learning based Framework for Measuring Heterogenous Traffic State in Challenging Traffic Scenarios

This paper presents DEEGITS (Deep Learning Based Heterogeneous Traffic State Measurement), a comprehensive framework that leverages state-of-the-art convolutional neural network (CNN) techniques to accurately and rapidly detect vehicles and pedestrians, as well as to measure traffic states in challenging scenarios (i.e., congestion, occlusion). In this study, we enhance the training dataset through data fusion, enabling simultaneous detection of vehicles and pedestrians. Image preprocessing and augmentation are subsequently performed to improve the quality and quantity of the dataset. Transfer learning is applied on the YOLOv8 pretrained model to increase the model's capability to identify a diverse array of vehicles. Optimal hyperparameters are obtained using the Grid Search algorithm, with the Stochastic Gradient Descent (SGD) optimizer outperforming other optimizers under these settings. Extensive experimentation and evaluation demonstrate substantial accuracy within the detection framework, with the model achieving 0.794 mAP@0.5 on the validation set and 0.786 mAP@0.5 on the test set, surpassing previous benchmarks on similar datasets. The DeepSORT multi-object tracking algorithm is incorporated to track detected vehicles and pedestrians in this study. Finally, the framework is tested to measure heterogeneous traffic states in mixed traffic conditions. Two locations with differing traffic compositions and congestion levels are selected: one motorized-dominant location with moderate density and one non-motorized-dominant location with higher density. Errors are statistically insignificant for both cases, showing correlations from 0.99 to 0.88 and 0.91 to 0.97 for heterogeneous traffic flow and speed measurements, respectively.

cs.CV↗