Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.7%) to scientific vocabulary

Scientific Fields

Artificial Intelligence and Machine Learning Computer Science - 40% confidence
Last synced: 4 months ago · JSON representation ·

Repository

Basic Info
  • Host: GitHub
  • Owner: MaryamAlshehyari
  • License: mit
  • Language: Jupyter Notebook
  • Default Branch: main
  • Size: 8.09 MB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created 8 months ago · Last pushed 8 months ago
Metadata Files
Readme License Citation

README.md

🚦 Adaptive Traffic Signal Control with Lightweight Reinforcement Learning

This project presents a comparative analysis of several lightweight reinforcement learning (RL) algorithms applied to adaptive traffic signal control. It evaluates the practicality of Q-Learning, DQN, QRDQN, and PPO models under real-world and synthetic traffic scenarios using the sumo-rl environment.


System Architecture

📦 Setup

bash pip install -r requirements.txt `

Required Software

  • SUMO (Simulation of Urban Mobility)
  • Python 3.8+
  • PyTorch, Stable-Baselines3, Ray RLlib

🚀 How to Train Models

Tabular Q-Learning

bash python experiments/ql_4x4grid_hangzhou.py

PPO (Single-agent SB3)

```bash python experiments/pposingletls_cologne1.py

PPO (Multi-agent RLlib)

bash python experiments/ppo_4x4grid_hangzhou.py-

Fixed-Time Baseline

bash python experiments/fixed_single.py


📊 Results Summary

| Scenario | Best Model | KPIs Optimized | | -------- | ----------- | --------------------------------- | | Cologne1 | PPO (SB3) | ⏱️ Wait, 🚗 Arrivals, ✅ Stability | | Hangzhou | PPO (RLlib) | ⏱️ Wait, ⚡ Fast Convergence |

Visual results, metric tables, and training curves are in /outputs/ and /plots/.


🧠 Implemented Algorithms

| Model | Framework | Architecture | Type | | ----------------------- | -------------------- | -------------- | ------------------ | | Q-Learning | Custom (Tabular) | Per-TLS agent | Tabular | | DQN | SB3 / Custom PyTorch | Single & Multi | Deep RL | | Hybrid DQN (Q-init) | SB3 + Q-table bias | Single | Hybrid (Init Bias) | | QRDQN | SB3-Contrib | Single | Dist. RL | | PPO | SB3 / Ray RLlib | Single & Multi | Actor-Critic |


📍 Traffic Scenarios

  • Cologne1: Two-way real-world intersection from RESCO dataset
  • Hangzhou 4×4: Synthetic, multi-intersection city-like grid

📁 Key Outputs

  • outputs/ → CSV logs with metrics per episode
  • plots/ → Combined graphs for comparison
  • IoT_Final_Report-2.pdf → Full academic writeup

🛠️ Acknowledgements

Developed as part of a Smart Systems & IoT course project (2025). Based on sumo-rl, with extensive customization for benchmark scenarios.

© 2025 Maryam Alshehyari, Bashayer Alsereidi, Naema Alkhzaimi


Owner

  • Login: MaryamAlshehyari
  • Kind: user

Citation (CITATION.bib)

@misc{AlegreSUMORL,
    author = {Lucas N. Alegre},
    title = {{SUMO-RL}},
    year = {2019},
    publisher = {GitHub},
    journal = {GitHub repository},
    howpublished = {\url{https://github.com/LucasAlegre/sumo-rl}},
}

GitHub Events

Total
  • Push event: 4
  • Create event: 3
Last Year
  • Push event: 4
  • Create event: 3

Dependencies

.github/workflows/build-publish.yml actions
  • actions/checkout v4 composite
  • actions/download-artifact v4 composite
  • actions/setup-python v5 composite
  • actions/upload-artifact v4 composite
  • pypa/gh-action-pypi-publish release/v1 composite
.github/workflows/deploy-docs.yml actions
  • JamesIves/github-pages-deploy-action v4 composite
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
.github/workflows/linux-test.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
.github/workflows/pre-commit.yml actions
  • actions/checkout v4 composite
  • actions/setup-python v5 composite
docs/requirements.txt pypi
  • furo *
  • myst-parser *
  • sphinx *
pyproject.toml pypi
  • gymnasium >=0.28
  • numpy *
  • pandas *
  • pettingzoo >=1.24.3
  • pillow *
  • sumolib >=1.14.0
  • traci >=1.14.0
setup.py pypi