Papers
Topics
Authors
Recent
Search
2000 character limit reached

Discrete Traffic State Encoding

Updated 9 November 2025
  • DTSE is a discrete representation of traffic states, encoding vehicle occupancy, speed, and signal phases into finite spatial and velocity cells.
  • It employs systematic quantization methods in both deep reinforcement learning and kinetic traffic models, balancing granularity and computational tractability.
  • DTSE enhances traffic control performance by reducing delays and queue lengths and accurately reproducing traffic dynamics, underpinning adaptive signal control strategies.

A Discrete Traffic State Encoding (DTSE) is a formalism by which the state of a vehicular traffic system is represented as a collection of discrete units—either spatial, velocity, or phase variables—to enable efficient and information-dense state description for control, simulation, and analytic purposes. DTSEs have been developed and utilized in both deep reinforcement learning for traffic signal control and in kinetic theory models of vehicular traffic, providing a flexible and precise bridge between microscopic reality and macroscopic modeling. The following sections systematically detail DTSE’s foundations, mathematical definitions, construction procedures, and impact in recent research.

1. Formal Foundations of Discrete Traffic State Encoding

The core principle underlying DTSE is the partition of position and velocity space into finite, discrete sets, such that the state of traffic at any moment is fully specified by occupancy and vehicle properties in each cell and velocity class. In the reinforcement learning for traffic control context, (Genders et al., 2016) defines the instantaneous state as

st=(Bt,Vt,pt)∈{0,1}M×n×[0,1]M×n×{0,1}∣A∣s_t = (B_t, V_t, p_t) \in \{0,1\}^{M \times n} \times [0,1]^{M \times n} \times \{0,1\}^{|A|}

where:

  • Bt[i,j]B_t[i,j] indicates presence (1) or absence (0) of a vehicle in spatial cell ii of lane jj,
  • Vt[i,j]V_t[i,j] is the normalized speed vi,j/vmaxv_{i,j} / v_{max} for occupied cells (else zero),
  • ptp_t is a one-hot phase vector representing the current traffic signal phase.

Analogously, (Fermo et al., 2012) describes DTSE in a kinetic theory framework as placing each vehicle into one of finitely many (xi,vk)(x_i, v_k) pairs, where xix_i marks spatial cell, and vkv_k labels velocity class. The state space is then

Bt[i,j]B_t[i,j]0

and the system is described by the distribution function Bt[i,j]B_t[i,j]1.

This formalization enables systemic discretization of both space and velocity, such that all dynamical, control, or analytical processes are executed on a finite-dimensional space.

2. DTSE Construction Methodologies

DTSE construction proceeds via sequential quantization and encoding steps. In the reinforcement learning setting (Genders et al., 2016), the process entails:

  1. Parameter Selection: Determining the observation horizon Bt[i,j]B_t[i,j]2 and cell length Bt[i,j]B_t[i,j]3; Bt[i,j]B_t[i,j]4 cells per lane.
  2. Lane Discretization: Partition of roadway segment into Bt[i,j]B_t[i,j]5 contiguous cells for each of Bt[i,j]B_t[i,j]6 incoming lanes.
  3. Occupancy Encoding Bt[i,j]B_t[i,j]7: Each vehicle detected in Bt[i,j]B_t[i,j]8 on lane Bt[i,j]B_t[i,j]9 is mapped to ii0 for ii1.
  4. Speed Encoding ii2: For each occupied cell, retrieve speed ii3 and set ii4; else set to zero.
  5. Phase Encoding ii5: Generate a one-hot vector specifying the current phase among the set of available actions.

In the kinetic theory approach (Fermo et al., 2012), the road is divided into cells ii6 of length ii7, and velocities are quantized into ii8 classes. The discrete state is thus ii9, with the population measured by jj0.

Both frameworks rely on consistent and lossless mappings from raw simulation or measurement data to the respective discrete state representations, ensuring preservation of spatial and velocity granularity.

3. Mathematical Dynamics and Numerical Implementation

Reinforcement Learning DTSE: The DTSE jj1 forms the input to a deep CNN agent. The network processes jj2 and jj3 as separate channels, using convolutional towers with the following architecture (Genders et al., 2016):

  • Conv1: 16 filters, size jj4, stride 2, ReLU activation.
  • Conv2: 32 filters, size jj5, stride 1, ReLU activation.
  • Towers are flattened, concatenated with jj6, then processed by two dense layers (sizes 128 and 64, ReLU).
  • Final linear layer produces jj7 Q-values for action selection.

Kinetic Theory DTSE: Dynamic evolution is governed by a set of ODEs for jj8: jj9 where Vt[i,j]V_t[i,j]0 is a flux-limiter (enforcing local density constraints), and Vt[i,j]V_t[i,j]1 encodes acceleration, braking, and tandem interactions via probabilistic kernels Vt[i,j]V_t[i,j]2. Numerical integration employs explicit Euler schemes under CFL-type conditions to ensure stability.

4. Parameter Choices and Representation Rationale

Reinforcement Learning Example Parameters (Genders et al., 2016):

  • Vt[i,j]V_t[i,j]3 (approximate span of 15 car lengths), Vt[i,j]V_t[i,j]4 (average vehicle length), Vt[i,j]V_t[i,j]5,
  • Vt[i,j]V_t[i,j]6 lanes,
  • Vt[i,j]V_t[i,j]7 phases,
  • Input tensor: Vt[i,j]V_t[i,j]8-dimensional for Vt[i,j]V_t[i,j]9, plus 4-dimensional vi,j/vmaxv_{i,j} / v_{max}0.

This configuration captures individual vehicle granularity while maintaining computational tractability. Observation and quantization parameters reflect a balance between spatial/velocity resolution and input dimensionality.

Kinetic Theory Example Parameters (Fermo et al., 2012):

  • vi,j/vmaxv_{i,j} / v_{max}1 cells, vi,j/vmaxv_{i,j} / v_{max}2 velocity classes, vi,j/vmaxv_{i,j} / v_{max}3, vi,j/vmaxv_{i,j} / v_{max}4, vi,j/vmaxv_{i,j} / v_{max}5, vi,j/vmaxv_{i,j} / v_{max}6, time step vi,j/vmaxv_{i,j} / v_{max}7.
  • Key parameters vi,j/vmaxv_{i,j} / v_{max}8 (road condition), vi,j/vmaxv_{i,j} / v_{max}9 (anticipation).

These parameters allow macroscopic traffic patterns—such as free/congested flow phase transition at empirically realistic critical densities—to emerge from a finite, interpretable set of microstates.

5. Expressiveness and Analytical Properties

DTSE provides a rich, yet tractable, embedding of the traffic state. In the deep RL context, the DTSE outperforms low-dimensional state representations, yielding:

  • 82% reduction in cumulative delay,
  • 66% reduction in average queue length,
  • 20% reduction in average travel time,
  • Comparable throughput to baselines

(Genders et al., 2016). The scheme’s expressive power arises from explicit modeling of individual vehicle positions and velocities per cell, as opposed to summary statistics (e.g., queue length per lane).

In kinetic traffic models, discrete state encoding enables exact reproduction of granular effects—such as queue formation behind bottlenecks and stop-and-go traffic at signals—through local and pairwise state updates (Fermo et al., 2012). The emergence of fundamental diagrams (flow vs. density, speed vs. density) and phase transitions is obtained directly from the dynamics over the discrete state space.

6. Applications in Traffic Control and Modeling

DTSE has proven especially impactful in:

  • Deep RL for Adaptive Traffic Signal Control: Feeding DTSE into convolutional agents controlling intersection signals in micro-simulated environments (SUMO) enables context-sensitive, adaptive policies with robust performance improvements over traditional methods (Genders et al., 2016).
  • Analytically Tractable Kinetic Models: DTSE forms the phase space for ODE systems in kinetic traffic theories, supporting rigorous study of large-scale, realistic networks while encapsulating microscopic features (Fermo et al., 2012).
  • Reproducibility and Benchmarking: Because the encoding is formally defined and constructed directly from raw data or simulation, DTSE-based studies are reproducible and facilitate robust cross-comparison.

These applications collectively demonstrate that information-dense, finite-dimensional representations such as DTSE are foundational to modern approaches for modeling, controlling, and analyzing vehicular traffic systems.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (2)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Discrete Traffic State Encoding (DTSE).