Skip to main content
QUICK REVIEW

[Paper Review] DeepTraffic: Crowdsourced Hyperparameter Tuning of Deep Reinforcement Learning Systems for Multi-Agent Dense Traffic Navigation

Lex Fridman, Jack Terwilliger|arXiv (Cornell University)|Jan 9, 2018
Reinforcement Learning in RoboticsComputer Science28 references38 citations
TL;DR

This paper presents DeepTraffic, a crowdsourced deep reinforcement learning competition for multi-agent traffic navigation, where thousands of participants tuned hyperparameters of DQN agents in a simulated urban environment. The key contribution is empirical insight into effective hyperparameter configurations—particularly large network size, minimal temporal context, and high future discounting—that significantly improved agent performance and stability.

ABSTRACT

We present a traffic simulation named DeepTraffic where the planning systems for a subset of the vehicles are handled by a neural network as part of a model-free, off-policy reinforcement learning process. The primary goal of DeepTraffic is to make the hands-on study of deep reinforcement learning accessible to thousands of students, educators, and researchers in order to inspire and fuel the exploration and evaluation of deep Q-learning network variants and hyperparameter configurations through large-scale, open competition. This paper investigates the crowd-sourced hyperparameter tuning of the policy network that resulted from the first iteration of the DeepTraffic competition where thousands of participants actively searched through the hyperparameter space.

Motivation & Objective

  • To create an accessible, large-scale platform for teaching and researching deep reinforcement learning through a real-world traffic simulation.
  • To investigate how crowds of non-expert users explore and optimize hyperparameters in a complex, black-box DRL system.
  • To study the impact of autonomous vehicles in heterogeneous traffic environments combining human-driven and AI-controlled agents.
  • To identify effective hyperparameter configurations that improve agent performance and system-level traffic stability in dense, dynamic traffic.

Proposed method

  • The DeepTraffic simulation emulates a dense, multi-lane urban traffic environment with 13,000+ agents, where a subset are controlled by DQN-based policy networks.
  • Participants submitted neural network architectures and hyperparameters via an online platform, with training and evaluation conducted in-browser using a model-free, off-policy DQN framework.
  • The state space is defined as a spatial occupancy grid around the agent, capturing vehicles in front, behind, and to the sides, with actions including lane changes and speed adjustments.
  • Performance was evaluated based on average speed, with 10 million simulation steps required to stabilize score estimates due to stochasticity and large state space.
  • Hyperparameter space included network depth, width, temporal context (number of past states), spatial field of view (front/back/side visibility), and reward discounting (gamma).
  • Crowdsourced submissions were analyzed using statistical and visualization techniques to identify trends in hyperparameter configurations and performance outcomes.

Experimental results

Research questions

  • RQ1How do crowds of non-expert users explore the hyperparameter space of deep reinforcement learning agents in a complex traffic environment?
  • RQ2Which hyperparameter configurations—such as network depth, temporal context, and spatial field of view—lead to the highest-performing agents in dense traffic navigation?
  • RQ3To what extent does incorporating past temporal states improve agent performance, and does the future matter more than the past in this environment?
  • RQ4How many simulation steps are required to achieve stable and reliable evaluation of DRL agent performance in a stochastic, high-dimensional environment?
  • RQ5What is the impact of reward discounting (gamma) on long-term planning and average speed in multi-agent traffic systems?

Key findings

  • Larger and deeper neural networks consistently outperformed smaller ones, with the best-performing agents having significantly more parameters, though with diminishing returns beyond a certain size.
  • The number of training iterations required for convergence increased with network size, indicating a higher computational cost for larger models.
  • Looking back in time (temporal context) provided little to no performance benefit; in fact, agents that used no past states achieved the highest scores, suggesting that temporal dynamics were not critical for decision-making.
  • Spatial visibility to the front of the agent had a strong positive impact on performance, with gains leveling off after 5 patches ahead; visibility to the sides peaked at 3 lanes to each side.
  • High future discounting (gamma) consistently improved performance, indicating that long-term planning and reward anticipation were crucial for achieving high average speeds.
  • Evaluation required at least 10 million simulation steps (100 evaluation runs) to stabilize performance estimates, with a standard deviation below 0.1, highlighting the computational cost and instability of DRL evaluation in large-scale environments.

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.