Skip to content

Latest commit

ย 

History

History
53 lines (34 loc) ยท 1.73 KB

File metadata and controls

53 lines (34 loc) ยท 1.73 KB

๐Ÿšฆ Traffic Light Control Agent using Deep Reinforcement Learning

This project explores the use of Deep Reinforcement Learning (DRL) for intelligent traffic light control at a single four-way intersection, simulated using SUMO (Simulation of Urban Mobility).

Our goal was to minimize traffic congestion and vehicle waiting time by training an agent that learns to dynamically adjust traffic signal phases based on real-time conditions.


๐Ÿง  Project Overview

We designed and evaluated multiple RL-based traffic control strategies:

๐Ÿ”น Fixed Duration Control

  • Agent selects a traffic phase; duration is fixed (e.g., 30s).
  • Techniques: DQN, Double DQN, Dueling DQN, PER

๐Ÿ”น Dynamic Phase Durations

  • Agent selects both phase and duration from a discrete set.
  • Improves adaptability during varying traffic loads.

๐Ÿ”น Throughput-Based Control

  • Agent switches phases based on vehicle throughput (e.g., % of cars that have passed).
  • Yields the best performance in terms of reduced wait times and queue lengths.

๐Ÿงช Techniques Used

  • ๐Ÿง  DQN, Double DQN, Dueling DQN
  • ๐Ÿงช Prioritized Experience Replay (PER)
  • ๐ŸŽฏ Curriculum Learning
  • ๐Ÿ“ˆ Layer Normalization, Dropout, Gradient Clipping
  • โš™๏ธ Dynamic Action Spaces (phase + duration or throughput thresholds)

๐Ÿ› ๏ธ Tools & Frameworks

  • ๐Ÿงฎ PyTorch for neural network implementation
  • ๐Ÿ›ฃ๏ธ SUMO for traffic simulation
  • ๐Ÿงช Python for RL environment integration

๐Ÿ“ˆ Results

Our best-performing agent (throughput-based control) achieved:

  • ๐Ÿš— ~60% reduction in waiting time
  • ๐Ÿšฆ Significant improvement in traffic flow and queue management
  • ๐Ÿ’ก Adaptive behavior across varied traffic patterns