Abstract
In reinforcement learning (RL), dealing with non-stationarity is a challenging issue. However, some domains such as traffic optimization are inherently non-stationary. Causes for and effects of this are manifold. In particular, when dealing with traffic signal controls, addressing non-stationarity is key since traffic conditions change over time and as a function of traffic control decisions taken in other parts of a network. In this paper we analyze the effects that different sources of non-stationarity have in a network of traffic signals, in which each signal is modeled as a learning agent. More precisely, we study both the effects of changing the context in which an agent learns (e.g., a change in flow rates experienced by it), as well as the effects of reducing agent observability of the true environment state. Partial observability may cause distinct states (in which distinct actions are optimal) to be seen as the same by the traffic signal agents. This, in turn, may lead to sub-optimal performance. We show that the lack of suitable sensors to provide a representative observation of the real state seems to affect the performance more drastically than the changes to the underlying traffic patterns.
Introduction
Traffic signal control is a "wicked" problem for Reinforcement Learning (RL) because the environment is inherently non-stationary—the rules of the game change while the agent is playing. This non-stationarity arises from three primary sources: shifting traffic patterns (context shifts), the evolving behavior of neighboring agents (multi-agent dynamics), and the limitations of physical sensors (partial observability). While many researchers focus on algorithmic fixes for non-stationarity, this study seeks to quantify the relative impact of these factors. Specifically, it asks: what degrades RL performance more—the fact that traffic patterns change, or the fact that our sensors provide an incomplete picture of the road?
Methodology and Experimental Setup
The researchers simulated a 16-intersection network (a 4x4 grid) using the SUMO (Simulation of Urban MObility) simulator. Each intersection is controlled by an independent Q-learning (IQL) agent. To test the impact of non-stationarity, the authors introduced periodic shifts between two traffic contexts:
- Context 1 (Balanced): Equal vehicle insertion rates from all directions.
- Context 2 (Unbalanced): Heavy East-West traffic with light North-South traffic.
To evaluate the role of observability, agents were tested with two different state representations: a "Full State" including both vehicle density and queue lengths, and a "Partial State" consisting only of queue lengths. Furthermore, the study examined the impact of sensor resolution by varying the discretization of data into different bin levels.
Key Insights: The Power of Observability
The most significant finding is that high-quality sensors do more than just provide more data—they act as a buffer against non-stationarity. When agents have access to a richer state representation (density + queue), they can distinguish between different traffic contexts more effectively. This allows them to maintain stable performance even when the underlying traffic patterns shift.
In contrast, agents with limited observability (queue only) suffer from "catastrophic interference." Because they cannot distinguish between certain states in Context 1 and Context 2, they effectively overwrite their learned policies every time the traffic pattern changes. This leads to massive performance spikes—increased waiting times—at every transition point.
Results and Performance Analysis
- RL vs. Fixed Policy: Despite the challenges of non-stationarity, RL agents eventually outperformed standard fixed-time signal plans. While fixed policies resulted in approximately 2200s of waiting time, converged RL agents reduced this to roughly 500s.
- Adaptation Speed: As shown in the figures, agents using the full state representation recovered from context changes almost instantly after their first exposure. Partial-state agents, however, saw waiting times spike significantly during every adaptation phase.
- Discretization Effects: Reducing sensor resolution (e.g., from 10 bins to 4) exacerbated the issues of partial observability. This "state aliasing" caused total waiting times to triple during the adaptation phase following a context shift, as agents could no longer differentiate between moderate and heavy congestion.
Conclusion
This research demonstrates that inadequate state observability is a more destructive force in traffic signal control than the actual variability of traffic patterns. Improving sensor quality and state representation can mitigate the negative effects of non-stationarity, allowing RL agents to adapt more robustly to changing urban environments. Future work will explore whether Deep RL methods, which utilize function approximation, can further reduce the "forgetting" issues observed in tabular methods, and how these systems handle unpredictable "shocks" like accidents or road maintenance.
Summary updated