DeepanSadhukhan's picture
|
download
raw
10.7 kB
# Guide to the Hugging Face bucket `DeepanSadhukhan/sbcs`
Written 2026-10-11 from a full listing of the bucket (137,797 files, 46.6 GB, 1,122 run folders); `envtest/` added
2026-10-12. The bucket holds raw outputs only. Apart from `envtest/envtest_v1/README.md` and the code copies beside it,
it has no code, no documentation, no reports and no figures: those are in the SBCS repository.
## What is in it
| Folder | Contents |
|---|---|
| `runs/<run id>/` | One training run: `config.json` (all settings), `metrics.jsonl` (one line per training iteration), `events/*.parquet` (every recorded junction conflict), `replays/*.msgpack.zst` (recorded episodes: every car's position per step), `policy.pt` (trained networks), `ckpt.pt` (full checkpoint), `status.json` |
| `citytest_*/` | City driving tests of trained fleets: trip tables (`NNNN.parquet`: outcome, distance, duration per trip) and `replays/*.json` (positions every 0.2 s) |
| `crossplay/<set>/` | Evaluations that mix or move fleets: mixed-budget pairs, fleets tested at other junction types, copies of one network, licensed-driver probes, the signal control |
| `review3/` | Extra evaluation tables made for the paper review |
| `envtest/envtest_v1/` | Environment tests (2026-10-12): every stage's policy at eight environments, alone and in traffic, and the final fleets at several traffic volumes. Tables per task: rows, `trips_`, `events_`, `traj_`. Read its `README.md` first. `envtest/envtest_smoke/` is a 14-test trial run |
`metrics.jsonl` keys per iteration: `agent_steps`, `reward_per_step`, `cost_per_step`, the four cost parts
(`cost_collision`, `cost_ttc`, `cost_pet`, `cost_road`), `budget`, `lam_mean`, `lam_max`, trip-end rates (`rate_arrive`,
`rate_crash`, `rate_out`, `rate_wrong`, `rate_timeout`) and infractions per 1,000 steps. These are aggregated over all
environments of the run: a run that trains on several scenes has one curve, not one per scene.
## Which runs count
Use `v5-school-*`, `v6-school-*`, `v5r-*`, `v6-*`, `v6r2-*`, `v6x-*` and `v7-iso-*`. Everything else (`P0-*`, `P1-*`, `v2-*`, `v3-*`,
`v3c-*`, `v5-P0-*`, `lab*`, `chk*`, `smoke*`) is development or an older version of the environment.
Run names read `<version>-<experiment>-<scene>-<observations>-<budget>-s<seed>-<stage>`. Budgets: `none` = plain PPO,
no constraint; `d0.00158`, `d0.00079`, `d0.000316` = PPO-Lagrangian at 1/2, 1/4, 1/10 of the unconstrained crossing cost
(0.00316 per car-step); `lam1`, `lam4` = PPO with a fixed penalty weight.
## The experiments in their intended order
**A. Driving school: one car alone learns to drive (no traffic, so no right-of-way can form).** Each stage starts from
the previous stage's policy and ends when 90 % of trips arrive with at most 5 % road departures.
1. `A1-street`: a straight street: pull out of a kerb space, drive, park.
2. `A2-highway`: a straight multi-lane highway at speed.
3. `A3-lanechange`: changing lanes for an exit, and merging from a ramp.
4. `A4-curves`: curves at advisory speeds.
5. `A5-turns`: turning at a 4-way crossing, a roundabout and a signalised crossing.
6. `A6-test`: all of the above mixed.
7. `A7-city` (`v6-school-*`): the city's junction designs (T, Y, staggered T, arterial crossing, roundabout, diamond
interchange, freeway end) and whole-city trips, lights off.
Seeds: 20 with full observations, 10 without arrival times, 5 lidar-only, 10 left-hand traffic (A1 to A6); 10 for A7.
From A2 on, a third of the environments rehearse earlier scenes, so each stage's curve is a mixture.
**B. Pilots in traffic at one environment (8 cars, `v5r-P0`, `v5r-P1`, `v5r-P2`).**
8. `P0`: no budget at the crossing, the roundabout and the highway merge (3 seeds each). Sets the unconstrained cost.
9. `P1`: PPO-Lagrangian at four budgets, 5 seeds each, at the crossing, the roundabout and the merge (60 runs). The only
standalone traffic runs for the roundabout and the merge. The merge budgets were infeasible. The roundabout geometry
was changed afterwards.
10. `P2`: two multiplier updates compared at the crossing (gradient ascent against PID; 15 runs each).
**C. Study 1: the isolated 4-way crossing (8 independent cars, 60M steps, `v5r-S1`).**
11. No budget and budgets 1/2, 1/4, 1/10; 10 seeds; full observations and no arrival times: 80 fleets.
12. Controls (`v5r-S1c`, 5 seeds each): different starting driver per car, no anneal, multiplier step x0.3 and x3, one
shared network, lidar only.
13. Fixed penalty weight (`v5r-S1x`, lam 1 and 4; 20 runs) and one multiplier shared by the fleet (`v5r-S1r2`; 5 runs).
**D. Study 2: the lights-off city (8 operators, 24 cars, `v6-S2`).**
14. Curriculum plan: `B1-sites` (eight junction designs, 8 cars) then `B2-districts` (four city districts, 16 cars) then
`B3-city` (whole city, 24 cars). No budget, 1/2, 1/4; 10 seeds each.
15. Direct plan: `B3-city` only, same total steps. No budget and 1/2 (10 seeds); 1/4 (`v6r2`, 9 seeds).
**E. Follow-ups in the city (`v6x`).**
16. `ann`: slower budget anneal. `flo`: higher exploration-noise floor (also without a budget). `thaw`: frozen fleets
continued without a budget (continue, fresh critic, noise reset). `pol`, `pll`, `pl2`: extra training for city
driving skill.
**F. Evaluations of trained fleets.**
17. City driving tests (`citytest_*`): one car alone and 24 cars in traffic; training-length and whole-city trips.
18. `crossplay/`: fleets of different budgets mixed (`xplay_S1`, `f4_xplay_city`, `f8_*`, `r3_*`); fleets tested at
other junction types (`transfer_s1`, `transfer_s2`: crossing, roundabout, T, Y, staggered T, arterial); one
network copied to all cars (`f3_twins`, `f3c_roles`); licensed drivers before traffic (`probe*`); signal control
(`pc_signal*`).
**G. Isolated scenarios, each trained on its own (`v7-iso-*`, 12 to 13 October 2026).** 355 runs, 5 seeds each, from the
city-school graduate, 8 operators, lights off, 30M steps (full city 120M). Definitions, measures and wording for the
comparison methods: `envtest/SCENARIOS.md`. Run id `v7-iso-<scenario>-<condition>-s<seed>-I`.
- Scenarios: `street`, `t`, `cross`, `roundabout`, `merge`, `diamond`, `grid` (and `city` for the shared baseline only).
- Conditions: `none` (direct PPO), `d0.00158`, `d0.00079`, `d0.000316` (PPO-Lagrangian at 1/2, 1/4, 1/10), `lam1`, `lam4`
(fixed price), `shared` (one network), `mappo`, `mappol` (central critic; with a 1/2 budget), `coord45` (CoPO's reward
mixing with a fixed angle). The last three are our own re-implementations, not the authors' code.
- Every run has `policy.pt`, `config.json`, `status.json`, `metrics.jsonl`. Conflict records and replays from training
are partial for most of these runs (uploads from the cluster failed for hours); use the tests for final behaviour.
- Tests of these fleets at their own scenario and several traffic volumes: `envtest/envtest_iso/` (none, 1/2, 1/4,
shared; 720 tests), `envtest/envtest_isoextra/` (1/10, fixed price; 540), `envtest/envtest_isosota/` (mappo, mappol,
coord45; 540), `envtest/envtest_isocity/` (city shared baseline; 30). Same tables as `envtest/envtest_v1/`.
- Finished report with result tables, learning curves, volume curves, cost parts, heat maps and who-goes-first shares
for all eight scenarios: `envtest/report/` (start at its `README.md`).
19. Environment tests (`envtest/envtest_v1/`): seeds 1 to 5; stages A1 to A7, B1 to B3 (no budget, 1/2, 1/4), direct and
polished fleets; straight street, T-junction, 4-way crossing, roundabout, highway on-ramp, diamond interchange,
street grid (south-west district), full city; 1 car and the usual number of cars, and for the final fleets 1 to 12
cars (unit scenes) or 1 to 48 cars (grid, city). 2,850 tests, evaluation only.
## Coverage of the new paper outline
| Outline item | In the bucket? |
|---|---|
| 3. Learning growth, per environment | Yes, by stage: `envtest_v1` tests every stage's policy at each of the eight environments, with one car and in traffic. Step-by-step curves exist per stage (`metrics.jsonl`), mixed over that stage's scenes |
| 3. Straight roads | Yes: `A1-street` training (one car); `envtest_v1` scene `school_street` (a kerb-to-kerb street move) |
| 3. T-junctions | Yes: `envtest_v1` scene `site_t`; trained only inside mixed stages (`A7`, `B1-sites`) |
| 3. 4-way crossings | Yes, fully: pilots, Study 1, `envtest_v1` scene `cross` |
| 3. Roundabouts | Yes: `envtest_v1` scene `roundabout` (final geometry); `P0`/`P1` pilots alone (5 seeds, older geometry) |
| 3. Highway on/off ramps | Yes: `envtest_v1` scene `merge` (on-ramp; no fleet trained there in traffic) and the diamond's ramps; `A2`, `A3` one car; merge pilots `P0`/`P1` |
| 3. Diamond interchange | Yes: `envtest_v1` scene `site_diamond`; trained inside `A7` and `B1-sites` |
| 3. Grid | Yes: `envtest_v1` scene `city@sw`; trained in `B2-districts` (four districts in one curve) |
| 3. Full city | Yes, fully |
| 3a. Metric per environment | Yes: `envtest_v1` rows and trips per environment (arrival, crash, road departure, travel time, stops, cost parts) |
| 3b. Numbers and graphs | Data yes; the graphs are not drawn |
| 3c. Variable traffic volume | Yes: `envtest_v1`, final fleets at 1, 2, 4, 8, 12 cars (unit scenes) and 1, 8, 16, 24, 32, 48 cars (grid, city) |
| 3d. Qualitative analysis | Data yes: `envtest_v1` `traj_` tables (positions every 0.2 s per environment, stage and volume) and conflict events; replays and events in every training run. Plots not made |
| 4. Direct PPO, PPO curriculum, PPO-Lagrangian | Yes, in the city, and side by side at every environment and volume in `envtest_v1`. Every fleet starts from the driving school; there is no run from scratch |
| 4a. Reward and constraint definitions | In the code and `config.json`, not as text in the bucket |
| 4b. Ablations | Yes: observations, multiplier update and step, fixed penalty, shared network, shared multiplier, anneal, noise floor, curriculum against direct |
| 5. Safety factors, results | Yes: cost parts per iteration in training; per environment and volume in `envtest_v1` (cost parts, TTC and PET per conflict, crash trips) |
## What is still not there
1. A baseline trained from scratch with no driving school, if "direct PPO" is meant that way.
2. CoPO with its learned coordination angle, MACPO, and MAPPO-Lagrangian in the full city were not run.
3. Paper-quality figures: `envtest/report/` holds working figures (PNG) and every table as CSV; figures in the paper's
own style still have to be drawn.
4. Three fixed-price crossing runs (`v5r-S1x-cross-O-full-lam4-s6`, `-s11`, `-s14`) stopped at 59.0 to 59.9M of 60M.

Xet Storage Details

Size:
10.7 kB
·
Xet hash:
84f2ba992e871de39755c94a556cb70977941f10a86eb743dc062a791c4be2f1

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.