Skip to main content
QUICK REVIEW

[Paper Review] Investigating performance of neural networks and gradient boosting models approximating microscopic traffic simulations in traffic optimization tasks

Paweł Góra, Maciej Brzeski|arXiv (Cornell University)|Dec 2, 2018
Data Visualization and AnalyticsComputer Science10 references4 citations
TL;DR

This paper investigates why neural networks and LightGBM models used to approximate microscopic traffic simulations for traffic signal optimization exhibit significantly higher prediction errors on solutions found by genetic algorithms—particularly near local optima—despite strong generalization on random test sets. The study identifies underrepresentation of these regions in training data and model bias toward minimizing approximation error as key causes, and proposes active learning and ensemble methods to mitigate the issue.

ABSTRACT

We analyze the accuracy of traffic simulations metamodels based on neural networks and gradient boosting models (LightGBM), applied to traffic optimization as fitness functions of genetic algorithms. Our metamodels approximate outcomes of traffic simulations (the total time of waiting on a red signal) taking as an input different traffic signal settings, in order to efficiently find (sub)optimal settings. Their accuracy was proven to be very good on randomly selected test sets, but it turned out that the accuracy may drop in case of settings expected (according to genetic algorithms) to be close to local optima, which makes the traffic optimization process more difficult. In this work, we investigate 16 different metamodels and 20 settings of genetic algorithms, in order to understand what are the reasons of this phenomenon, what is its scale, how it can be mitigated and what can be potentially done to design better real-time traffic optimization methods.

Motivation & Objective

  • To investigate the performance degradation of machine learning metamodels (neural networks and LightGBM) when approximating traffic simulation outputs in real-time traffic optimization.
  • To understand why prediction errors increase for traffic signal settings identified by genetic algorithms as near-optimal, despite strong generalization on random test sets.
  • To analyze the impact of model architecture (e.g., activation functions) and genetic algorithm hyperparameters on error distribution in optimization trajectories.
  • To identify causes of increased error in local optima regions and propose mitigation strategies for real-world deployment of ML-accelerated traffic optimization.
  • To share a publicly available dataset of 85,336 traffic simulation evaluations to enable further research in traffic simulation metamodeling.

Proposed method

  • Trained 8 neural network and 8 LightGBM metamodels on a dataset of 85,336 traffic signal settings generated via microscopic traffic simulations using the Traffic Simulation Framework (TSF).
  • Used the metamodels as fitness functions within genetic algorithms to optimize traffic signal timing, minimizing total waiting time on red signals.
  • Evaluated model performance on random test sets and on settings extracted from genetic algorithm trajectories, particularly focusing on the final (best) solutions.
  • Conducted error analysis comparing predicted vs. simulated waiting times, with focus on distribution shifts in high-accuracy regions.
  • Applied principal component analysis (PCA) to visualize convergence patterns of genetic algorithms across different metamodels.
  • Proposed mitigation strategies including active learning (selective retraining with new GA-generated samples) and ensemble learning (averaging predictions from multiple models).

Experimental results

Research questions

  • RQ1Why do machine learning metamodels used in traffic optimization exhibit significantly higher prediction errors on solutions found by genetic algorithms compared to random test sets?
  • RQ2How do hyperparameters such as activation functions in neural networks influence the distribution and magnitude of approximation errors in optimization trajectories?
  • RQ3To what extent does the underrepresentation of locally optimal traffic signal settings in the training data contribute to increased error in these regions?
  • RQ4Do different metamodels (neural networks vs. LightGBM) lead to divergent convergence points in the solution space, and how does this affect optimization robustness?
  • RQ5Can active learning or ensemble methods effectively reduce the disruptive impact of high errors in locally optimal regions during real-time traffic optimization?

Key findings

  • The average error of metamodels on settings found by genetic algorithms was 2.16%, significantly higher than the 1.7–2.0% average error on random test sets.
  • In 14 out of 16 models, the maximum error on GA-identified settings exceeded 12.9%, with some reaching up to 21.5%, indicating a substantial performance drop in critical optimization regions.
  • For ReLU-activated neural networks, predictions consistently underestimated simulation results, while tanh-activated networks showed a more symmetric error distribution.
  • Genetic algorithms still found better-than-initial solutions despite increased errors, but the optimization process became significantly more difficult due to unreliable fitness function estimates.
  • Principal component analysis revealed that different metamodels led to convergence in distinct regions of the solution space, suggesting model-dependent optimization paths.
  • The phenomenon of increased error near local optima is universal across both neural networks and LightGBM, but its scale and characteristics depend on model-specific hyperparameters such as activation functions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.