Measuring Counterfactual Credit in a Replayable Wildfire-Suppression Benchmark
Organizations: Department of Civil and Environmental Engineering, University of Maryland, College Park, MD, USA
Abstract
In cooperative multi-agent reinforcement learning, learned critics are usually evaluated by how well they predict the team's return. Yet predicting a team's return and assigning credit to individual actions are distinct tasks. To test credit directly, we introduce FLARE (Fireline Learning Agents in a Replayable Environment), a stochastic wildfire suppression benchmark in which any moment of a fire can be replayed with different actions under the same random events. Replaying one step measures the immediate effect of each agent's suppression, which we call simulator credit and use for training. Replaying to the end of the episode measures the effect of each action, which we use for grading critics. In a comparison over eight seeds with multi-agent proximal policy optimization (MAPPO), simulator credit reduces the interquartile mean burn score (each cell's burning time, capped and averaged over the map; lower is better) from 26.6% with shared reward to 20.9%. Learned credit from a centralized COMA-style critic does no better than the shared reward. Four trained critics predict the team's return well, yet the credit they assign is 9 to 42 times larger than the credit measured by replay. The critics also give heterogeneous agents nearly identical action rankings. These results show that a good fit to the team's return is a weak test of a critic's credit.
Figures & tables
| Signal | What each agent receives | Exact or learned? | What the critic sees |
|---|---|---|---|
| Shared reward | The team reward, the same for every agent | Exact, no replay | Fire grid |
| Simulator credit (difference reward) | Team reward with its placement minus team reward without it (Equation 3 ) | Exact, one replayed step | Fire grid |
| Local reward | Its accepted cells on or next to burning cells, counted | Exact, no replay | Fire grid |
| Learned credit (COMA-style critic) | Critic’s value of its action minus the average over its actions, weighted by its policy (Equation 4 ) | Learned, no replay | Fire grid, teammates’ actions and identity; informed critics also see positions, water and timers |
Appendix figures & tables24 assets
Supplementary material from the paper’s appendix.
Appendix
| Setting | Value |
|---|---|
| Training scenario / seeds per feedback signal | S1 / 8 |
| Grid / roster / maximum episode steps | / hand crew, dozer, aircraft / |
| Parallel environments / rollout length | / |
| Agent-steps per update / number of updates | / |
| Actor and base critic hidden width | |
| Actor / critic learning rate | / |
| Environment setting | Main heterogeneous configuration (S1) |
|---|---|
| Grid / episode limit | cells / 100 steps |
| Roster | Four hand crews, two dozers, two aircraft |
| Initial ignition | One randomly located square; radius parameter |
| Initial fuel / slope | Fuel per cell / slope |
| Agent placement | On a ring six cells from the ignition |
| Local actor input | Own-centered burning, mitigation, and fuel crops |
| Study | Rules | Purpose and sample units |
|---|---|---|
| Main learning + local control | Current | 8 seeds per 4 methods, 30 fresh fires each; local CPU, other arms CUDA. Profiles reuse evaluations; paths/action mix reuse seed 1 on the first fire. |
| Scenario transfer | Earlier | 24 policies (8 seeds per 3 methods), 5 scenarios, 30 fires each; S1 reused. Heuristic/no-suppression references: 30 fires per scenario. |
| Responsive main audit | Current | Reuse learned-credit seeds 1, 4, 7, 8; 8 contexts, 16 replays per action per critic. |
| Consistency / information | Earlier | 10 trained critic/actor pairs: 3 base, 1 tuned, 3 informed, 3 capacity-matched zero-input; 8 contexts, 16 replays per action each. |
| Audit sensitivity | Both | Reuse all 14 audits for scale, weighting and reference checks; frozen gradients use the current 4. Checkpoints analyzed separately. |
| Critic tuning | Earlier | 12 configurations 3 seeds; means over the last ten training updates. |
| Method | Burn score (IQM) | Descriptive interval |
|---|---|---|
| Shared reward (MAPPO) | ||
| Simulator credit (MAPPO) | ||
| Learned credit | ||
| Local reward |
| Seed | Shared | Simulator | Learned | Learned shared | Local |
|---|---|---|---|---|---|
| 1 | |||||
| 2 | |||||
| 3 | |||||
| 4 | |||||
| 5 | |||||
| 6 |
| Critic inputs | Seed | Clamped | No clamp | Difference |
|---|---|---|---|---|
| Informed | 1 | |||
| Zero-input | 1 | |||
| Informed | 2 | |||
| Zero-input | 2 | |||
| Informed | 3 | |||
| Zero-input | 3 |
| Rows included | Count | Shared draws | Independent draws | Variance ratio |
|---|---|---|---|---|
| All | 256 | |||
| Accepted placement | 195 | |||
| Deletion changes fields | 180 |
| Seed | Factual | Factual RMSE | Credit RMSE | Zero RMSE | Replay MCSE |
|---|---|---|---|---|---|
| 1 | 0.954 | 11.716 | 1.264 | 0.143 | 0.149 |
| 4 | 0.911 | 15.910 | 1.789 | 0.120 | 0.102 |
| 7 | 0.950 | 11.617 | 1.120 | 0.072 | 0.115 |
| 8 | 0.935 | 13.395 | 2.087 | 0.171 | 0.159 |
| Seed | [ interval] | Separate MCSE | RMSE / zero |
|---|---|---|---|
| 1 | 1.577 [0.629, 2.843] | 0.027 | 8.81 |
| 4 | 3.185 [1.308, 5.720] | 0.045 | 14.85 |
| 7 | 1.248 [0.234, 2.552] | 0.043 | 15.59 |
| 8 | 4.324 [1.381, 7.858] | 0.071 | 12.20 |
| Seed | Unique pairs | Coverage (%) | Contexts | Reversals (%) | Critic agreement (%) |
|---|---|---|---|---|---|
| 1 | 823 | 6.77 | 6/8 | 40.29 | 51.60 |
| 4 | 732 | 6.02 | 7/8 | 24.41 | 51.36 |
| 7 | 313 | 2.57 | 3/8 | 60.52 | 56.55 |
| 8 | 545 | 4.48 | 5/8 | 24.49 | 60.90 |
| Seed | Spearman | episode interval | Defined contexts | Defined agent cases |
|---|---|---|---|---|
| 1 | +0.001 | [-0.049, 0.050] | 6/8 | 33/64 |
| 4 | -0.036 | [-0.138, 0.062] | 7/8 | 45/64 |
| 7 | +0.067 | withheld | 3/8 | 17/64 |
| 8 | -0.025 | [-0.090, 0.038] | 6/8 | 35/64 |
| Critic | Credit | Zero | [ ] | MCSE | |
|---|---|---|---|---|---|
| Base seed 1 | |||||
| Base seed 2 | |||||
| Base seed 3 | |||||
| Tuned seed 1 | |||||
| Informed seed 1 | |||||
| Informed seed 2 |
| Learned credit (current rules) | Earlier MAPPO | ||||||
|---|---|---|---|---|---|---|---|
| Seed | Saturated | NLL | Entropy | Shared sat.% | Sim. sat.% | Shared NLL | Sim. NLL |
| 1 | |||||||
| 2 | |||||||
| 3 | |||||||
| 4 | |||||||
| 5 | |||||||
| Seed | Raw MSE / zero | Rescaled MSE / zero | Fitted MSE / zero | [ ] | Cosine |
|---|---|---|---|---|---|
| 1 | 77.64 | 1.818 | 1.005 | 0.091 | |
| 4 | 220.48 | 1.619 | 0.994 | 0.190 | |
| 7 | 243.19 | 1.440 | 1.019 | 0.280 | |
| 8 | 148.79 | 1.803 | 1.044 | 0.098 |
| Seed | Gradient cosine | Half cosine | Zero contexts | inner product [ MC] |
|---|---|---|---|---|
| 1 | -0.012 | -0.151 | 2/8 | |
| 4 | 0.662 | 0.410 | 1/8 | |
| 7 | 0.652 | -0.895 | 5/8 | |
| 8 | -0.109 | 0.287 | 2/8 |
| Rules | Shared | Local | Simulator | Lead [ ] | Pairs won |
|---|---|---|---|---|---|
| Current rules | 8/8, both | ||||
| Limited water | 8/8, both | ||||
| Firelines from burned ground | – | 8/8, shared | |||
| Both changes | 8/8, both |
| Training signal | Seeds | Fail check | Burn score (%) | Worse than shared |
| Shared reward | 8 | 0 | – | |
| Simulator credit | 8 | 0 | – | |
| Learned credit, no clamp | 8 | 1 | 8/8 | |
| + replay labels | 8 | 3 | 8/8 | |
| Three-seed trial (seeds 2, 3 and 7) | ||||
| Learned credit, no clamp | 3 | – | 3/3 | |
| Replays per action | Moments | Size ratio | Signal-to-noise ratio | Cases with no change |
|---|---|---|---|---|
| 16 | Original | 9–16 | 0.6–1.2 | 19–47 |
| 16 | Earlier | 11–23 | 0.9–1.0 | 3–8 |
| 64 | Original | 20–31 | 0.9–1.2 | 5–44 |
| 64 | Earlier | 20–42 | 1.1–1.4 | 0–6 |
| 256 (seed 8) | Earlier | 34 | 2.0 | 4 |
Credit Assignment in RL
Credit assignment in reinforcement learning studies how to trace rewards and failures back to the actions, states, or agents that caused them.
See all 235 papers