Traffic-Management-System

🚦 AURA v2.0: AI-Powered Smart Traffic Management

React NodeJS PyTorch ONNX Runtime SUMO IEEE T-ITS DOI

AURA v2.0 (Adaptive Urban Routing and Actuation), submitted to IEEE Transactions on Intelligent Transportation Systems (IEEE T-ITS) and developed for Smart India Hackathon 2026, is a next-generation decentralized traffic optimization, multi-agent coordination, and emergency vehicle preemption system.

It combines a Semi-Markov Decision Process (SMDP) Q-network with Continuous-Time Neural Ordinary Differential Equations (NeurODEs), Spatial-Temporal Graph Attention (ST-GAT) neighbor message passing, Dynamic Congestion Influx Adaptation, and sub-millisecond edge deployment (<7 Β΅s inference via ONNX Runtime).


✨ Key Features (v2.0 Release)


⚑ Edge Micro-Benchmark Results

AURA Edge Benchmark

Benchmarked over 10,000 iterations on CPU / Embedded profile:

Inference Engine Precision Mean Latency P99 Latency Throughput Model Size
PyTorch (CPU JIT) FP32 24.83 Β΅s 50.59 Β΅s 40,051 FPS 18.52 KB
ONNX Runtime (AURA Native) FP32 6.06 Β΅s 11.08 Β΅s 162,074 FPS 19.21 KB
ONNX Runtime (Dynamic Quantized) INT8 8.47 Β΅s 15.77 Β΅s 116,257 FPS 8.33 KB

Performance Gain: ONNX Runtime delivers a 4.10x speedup over PyTorch CPU, exceeding the statutory 1,000 Β΅s municipal safety margin by 165x.


πŸ—οΈ System Architecture & Folder Structure

Traffic-Management-System/
β”œβ”€β”€ run_aura.sh               # πŸš€ Master One-Click Orchestrator Script
β”œβ”€β”€ paper/                    # Complete IEEE T-ITS Journal Research Paper Package
β”‚   β”œβ”€β”€ main.tex              # Master LaTeX document (IEEEtran journal class)
β”‚   β”œβ”€β”€ references.bib        # 22 references
β”‚   └── sections/             # Modular paper sections (Intro, Related, Method, Exp, Concl)
β”œβ”€β”€ traffic-ai/               # AI Engine, SUMO Microscopic TraCI Simulation
β”‚   β”œβ”€β”€ marl_graph_agent.py   # Spatial-Temporal Graph Attention MARL Network
β”‚   β”œβ”€β”€ export_onnx.py        # ONNX & Dynamic INT8 Quantization Exporter
β”‚   β”œβ”€β”€ benchmark_edge_onnx.py# Sub-millisecond Edge Benchmarking Suite
β”‚   β”œβ”€β”€ models/               # Compiled ONNX & INT8 quantized models
β”‚   β”œβ”€β”€ run_marl_corridor.py  # 10-node cooperative MARL corridor simulation
β”‚   β”œβ”€β”€ evaluate_real_manhattan.py # 177-intersection Midtown Manhattan benchmark
β”‚   β”œβ”€β”€ evaluate_rigorous_benchmark.py # SOTA corridor benchmark
β”‚   └── manhattan.net.xml     # Real OpenStreetMap road network (177 traffic lights)
β”œβ”€β”€ traffic-backend/          # Node.js WebSocket & REST Synchronization Hub
β”‚   β”œβ”€β”€ server.js             # Real-time state hub, WebSocket broadcast, EV injection
β”‚   └── package.json
└── traffic-dashboard/        # React + Vite + Tailwind CSS Web Dashboard
    β”œβ”€β”€ src/App.jsx           # Multi-tab UI: 10-Node Grid, A0 Junction, Analytics
    └── package.json

πŸš€ One-Click Quickstart

To launch the complete system (Backend, Live Web Dashboard, and SUMO MARL Simulation):

chmod +x run_aura.sh
./run_aura.sh

Docker One-Click Deployment

You can also run the entire system (Node.js Backend + React Dashboard + SUMO Simulation) in isolated containers without installing SUMO or Node locally:

docker compose up --build

Additional CLI Modes

# Launch full system with interactive SUMO-GUI window
./run_aura.sh --gui

# Run Edge Computer Vision vehicle detector (CCTV / Webcam)
./run_aura.sh --vision

# Run Hardware-in-the-Loop physical LED controller bridge
./run_aura.sh --hil

# Run the single-intersection (A0) production demo
./run_aura.sh --demo

# Run the 177-intersection Midtown Manhattan benchmark
./run_aura.sh --manhattan

# Run the sub-millisecond edge ONNX benchmark
./run_aura.sh --edge-benchmark

# Launch via Docker Compose
./run_aura.sh --docker

# Run dependency & port pre-flight checks
./run_aura.sh --test

πŸ“„ Research Paper & Academic Citation

Submitted to IEEE Transactions on Intelligent Transportation Systems (IEEE T-ITS).

@article{deepak2026aura,
  author    = {Deepak R.},
  title     = {AURA: Resilient Urban Traffic Signal Control via Semi-Markov Reinforcement Learning with Action-Duration Bounds and Shockwave-Mitigated Preemption},
  journal   = {IEEE Transactions on Intelligent Transportation Systems},
  year      = {2026},
  doi       = {10.5281/zenodo.20265627},
  note      = {Submitted for peer review}
}

βš–οΈ License

Developed under the Apache 2.0 / MIT License. Open-source for academic and municipal smart-city research.