[RE] A Self-Learning System For Local Ramp Metering With Queue Management
Original article: Lu & Chao. "A self-learning system for local ramp metering with queue management." Transportation Planning and Technology, 40(2), 2016.
PDF URL: https://github.com/DerKevinRiehl/replication_ramp_metering_rl_2016_luetal/blob/main/_latex_paper/Full-Paper.pdf Metadata URL: https://github.com/DerKevinRiehl/replication_ramp_metering_rl_2016_luetal/blob/main/_latex_paper/overleaf_folder/metadata.yaml Code URL: https://github.com/DerKevinRiehl/replication_ramp_metering_rl_2016_luetal/
Scientific domain: Reinforcement Learning Based Control Programming language: Python Suggested editor: @rougier
Sorry again(#100). I'll assign reviewers soon.
@bengioe @zhang Coudl you review this submission?
I am volunteering as a reviewer for this submission.
For transparency about what I can offer: my background is electronic engineering and systems work, so I can run the code, check that the reported figures and numbers regenerate from it, and verify that the manuscript's claims match what the code actually does. I can follow the control strategy, but I am not a specialist in traffic engineering, so I will state explicitly in my report which claims I verified and which I was not able to assess.
@fasn98 Thanks, you can start the review.
Summary / Overall Impression
I ran the code from scratch (clean environment, my Nitro Ubuntu notebook) and reproduced the main result.
Headline confirmed: RAS matches the efficiency of ALINEA (~30% reduction in total network time) while respecting the ramp queue limit.
Reproducibility — what worked
Clean setup environment (minimal dependencies: numpy/pandas/matplotlib/tqdm). NC and ALINEA reproduced to the decimal place (deterministic): NC 7158.1/17183.8 and ALINEA 3935.5/11984.5 vs. paper 7158/17184 and 3936/11985.
RAS (seed 42, 600k episodes, ~59 min) within seed variation: 4017.8/11988.8 (43.9%/30.2%) vs. paper 3965±42/11951±60 (44.6%/30.4%).
Reproducibility — friction (constructive)
Graph scripts (TTS.py, convergence.py) do not run in a clean reproduction: fixed paths/names from the original run (e.g., actm_nveh_173897, folders RAS_10..50) and an actm_TTS_RAS_Cell2.csv that main.py does not generate. The factory main.py triggers 6M episodes; the number of episodes/seeds/strategy are hardcoded (edit lines, uncomment blocks). demand_generator.py writes to a non-existent ./2_data_source/ (the traffic_inputs.csv file is already prepared, so it doesn't block). Suggestion: a small config (episodes/seeds/strategy) + a "reproduce figures" script that regenerates from new outputs would make everything turnkey.
Correctness
The exact matching of the deterministic baselines is strong evidence that ACTM and ALINEA are implemented correctly. The Q-learning agent is classic tabular (ε-greedy + standard update), consistent with the described method. The RAS result is consistent with the original statement.
Clarity / completeness
Well-structured paper; honestly states the assumptions (Δs=20 inferred; ceiling of 600 veh for ">60"; density-based ALINEA) and limitations (single ramp scalability). Clarify: (a) authorship — the issue says "Lu & Chao", the paper is Lu & Huang (2016) (+ 2016/2017 in the reference); (b) the README cites reward with adjustable δ, but the paper uses hard penalty — reconcile; (c) sensitivity to the 600 veh ceiling.
Scope of my verification
Verified: NC, ALINEA and RAS ">60" in seed 42. Not run: constraint scan (RAS_10..50 / Table 2 / Figs 6–7) and averages of 10 seeds.
Recommendation
Based on the evidence, the natural recommendation is positive, with minor revisions: (1) make figure scripts reproducible from new outputs; (2) parameterize episodes/seeds/strategy; (3) clarify authorship and the δ/reward divergence.
Best regards Fábio Nogueira