
Interactive paperOct 2026arXiv preprint
Gather or Act? Belief-Level Counterfactual Labels for Deadline-Aware Incident Response in Cyber-Physical Systems
No public cyber-physical security dataset priced every candidate action from the same situation. TE-GvA does, for 9,908 decisions on the Tennessee Eastman process, and its belief-level labels teach a defender when evidence is worth its delay.
Interactive simulation
Act now, or gather evidence first?
A reactor sensor group's readings are held: a failed sensor link or a frozen I/O module. Every candidate first action is rolled out four times for three hours, in the true world and in its twin. Switch the label, toggle the backup channel, and push the posterior toward 0.50 or toward certainty.
- Deadline, hidden
- No incident
- Posterior P(link)
- 0.50
- Best first action
- Pending
- Gather-or-act gap Δ
- Pendingcost points, simulated
An illustrative, real-time model of the labelling procedure. Tool durations, efforts and cost weights follow the paper's Table 2 (trip 100 cost points, near-limit operation 5 per hour, lost production up to 10 per hour, backup channel 0.5 per hour); the plant response is a stylised reactor-pressure model, so the simulated costs are examples. The figures reported below come from the paper's experiments.
01
Results
Trained on belief labels, the same decision rule makes better calls: 11% lower regret on the stress test set, and 27% lower where the two causes look alike and no backup channel exists.
9,908
decision points from 1,990 simulated incidents, with 143,447 labelled candidate actions and 926,764 rollouts.
33.1%
of ambiguous stress decisions without a backup channel in which gathering is best under belief labels. Hindsight labels: 1.1 to 1.3% of all decisions.
27%
lower regret where it matters most: −0.93 cost points [−1.75, −0.32], p < 0.001, significant after Holm correction over the 20 pre-specified comparisons.
11%
lower regret on the whole stress test set, the pre-specified primary comparison: −0.25 [−0.51, −0.04], p = 0.016.
Paper, Table 4 · ambiguous development decisions
Gathering is strictly the best first action
- Hindsight labels
- Belief labels
Natural set1,324 decisions
Stress, backup channel1,374 decisions
Stress, no backup channel1,416 decisions
View as table
| Subset | Decisions | Hindsight labels | Belief labels |
|---|---|---|---|
| Natural set | 1,324 | 1.6% | 15.5% |
| Stress set, backup channel | 1,374 | 1.7% | 12.5% |
| Stress set, no backup channel | 1,416 | 1.8% | 33.1% |
Paper, Table 6 · sealed test split, scored with belief labels
Belief-trained minus hindsight-trained rule: regret difference
Cost points with 95% cluster-bootstrap intervals. Left of zero: belief labels are better. Filled markers: the interval excludes zero.
Natural, all784 decisions
−0.02 [−0.10, +0.05]−2%, p = 0.63
Natural, ambiguous family336 decisions
−0.04 [−0.22, +0.13]−2%, p = 0.65
Stress, all Primary1,200 decisions
−0.25 [−0.51, −0.04]−11%, p = 0.016
Stress, ambiguous family726 decisions
−0.44 [−0.89, −0.07]−13%, p = 0.016
Stress, backup channel570 decisions
+0.07 [−0.08, +0.23]+3%, p = 0.41
Stress, ambiguous, backup348 decisions
+0.09 [−0.14, +0.37]+3%, p = 0.49
Stress, no backup channel Holm630 decisions
−0.54 [−1.02, −0.17]−24%, p < 0.001
Stress, ambiguous, no backup Holm378 decisions
−0.93 [−1.75, −0.32]−27%, p < 0.001
View as table, with hindsight scoring
| Subset | n | Belief scoring | Hindsight scoring |
|---|---|---|---|
| Natural, all | 784 | −0.02 [−0.10, +0.05], p = 0.63 | −0.06 [−0.16, +0.01], p = 0.12 |
| Natural, ambiguous family | 336 | −0.04 [−0.22, +0.13], p = 0.65 | −0.14 [−0.36, +0.03], p = 0.12 |
| Stress, all (primary) | 1,200 | −0.25 [−0.51, −0.04], p = 0.016 | −0.24 [−0.58, +0.01], p = 0.066 |
| Stress, ambiguous family | 726 | −0.44 [−0.89, −0.07], p = 0.016 | −0.42 [−1.00, +0.01], p = 0.058 |
| Stress, backup channel available | 570 | +0.07 [−0.08, +0.23], p = 0.41 | +0.08 [−0.14, +0.30], p = 0.42 |
| Stress, ambiguous family, backup channel available | 348 | +0.09 [−0.14, +0.37], p = 0.49 | +0.12 [−0.23, +0.46], p = 0.52 |
| Stress, no backup channel | 630 | −0.54 [−1.02, −0.17], p < 0.001 | −0.53 [−1.16, −0.10], p = 0.003 |
| Stress, ambiguous family, no backup channel | 378 | −0.93 [−1.75, −0.32], p < 0.001 | −0.92 [−1.91, −0.18], p = 0.002 |
All test numbers come from one pre-specified evaluation of the sealed test split (natural: 784 decisions, 199 episodes; stress: 1,200 decisions, 200 episodes), with 95% cluster-bootstrap intervals over episodes (2,000 replicates). The decision rule is a histogram gradient-boosted regressor (squared error, 300 iterations) on 90 action and 151 evidence features; it predicts each candidate's cost and picks the argmin. On the stress set it is the best policy tested, with a belief regret of 1.95 cost points: 43% below the investigate-first playbook (3.40), 69% below the act-first playbook (6.35), and statistically indistinguishable from the hindsight oracle, which knows the cause. In high-stakes decisions it lowers the trip probability of the chosen action from 0.33 under the act-first playbook to 0.19, close to the 0.14 of the cost-optimal candidate. Primary: the stress-set gain stays significant under Holm correction over the two primary tests (p = 0.016 against 0.025). Holm: significant after Holm correction over the 16 views of Table 6; the ambiguous no-backup comparison also survives correction over the 20 pre-specified comparisons.
01
Simulate a plant, a network and a toolbox
The revised Tennessee Eastman process runs in mode 1 under Ricker's decentralized control (1.8 s control interval, 41 measurements, 12 manipulated variables), wrapped in a control network with one remote I/O module per sensor group, 36 s telemetry windows and an executor for 11 defensive tools. 1,990 incidents yield 9,908 decision points.
02
Branch every candidate with common random numbers
At each decision point the labeller snapshots the whole environment, then rolls out every candidate (13.8 natural and 14.9 stress on average) as the first action, four replicates each, followed by the act-first playbook for 3 h. Shared noise paths cut the variance of paired differences to 14.0% (natural) and 22.1% (stress).
03
Replay the defender's history in a twin
Every ambiguous episode runs again under the other cause with the same seed and random streams. The module fault starts one control interval (1.8 s) earlier, so delivered readings and window summaries are bit-identical until the causes diverge, and each defender action is replayed at the same control step.
04
Weight both worlds by the exact posterior
The posterior over the pair is analytic: a prior of 0.519 (natural) or 0.388 (stress), times the likelihood of link-health reports, trace results and operator reports. Deterministic evidence that differs excludes the twin. Expected calibration error: 0.015 (natural) and 0.014 (stress).
Paper, Table 2
The defender's toolbox and what time costs
Tools have log-normal durations and pass through an executor queue with 5 s latency. Effort and all other costs are in cost points; a trip ends the rollout, so its lump stands for every later loss.
- Trip (protective shutdown)
- 100
- Near-limit operation
- 5 per hour
- Lost production
- up to 10 per hour
- Any sensor link on backup
- 0.5 per hour
| Tool | Family | Duration | Effort |
|---|---|---|---|
monitor(T)wait until τ + T | monitor | T | 0 |
query_historianrecent readings | observe | 10 s | 0.04 |
trace_linkcorrect with probability 0.97 | observe | 2 min | 0.2 |
verify_sensorfield check of a group | observe | 20 min | 1 |
switch_to_backupsame readings, 36 s late | respond | 1 min | 0.2 |
restore_primary | respond | 1 min | 0.2 |
repair_link | respond | 40 min | 2 |
recalibrate_sensorfrozen, drift, bias | respond | 60 min | 2 |
replace_io_module | respond | 60 min | 2 |
set_production | respond | 30 s | 0.2 |
escalateoperator names the true cause with probability 0.85 | escalate | 15 min | 4 |
03
Why it matters
Suppose the readings of a sensor group stop changing. A failed network link and a frozen remote I/O module both leave the controller acting on the same held values, so the plant behaves identically. The repairs differ: about 40 minutes for the link, about an hour to replace the module, and the wrong repair leaves the plant on stale measurements while it drifts toward a protective shutdown. Tracing the link takes two minutes and settles the question. Deciding when that trace is worth it needs the cost of every candidate action from the same situation, which no public cyber-physical security dataset provided until TE-GvA.
Labels computed under the true hidden cause cannot see this. Every hindsight rollout runs with the cause known, so gathering is best in only 1.1 to 1.3% of decisions, and in 29% (natural) and 45% (stress) of those the only difference is the cost of the tool itself. Measured at the defender's state of knowledge, acting as if the cause were known costs 1.55 (natural) and 2.69 (stress) cost points per ambiguous decision and is the wrong choice in 29% and 34% of them. Belief labels change the gather-or-act answer in 15% (natural) and 22% (stress) of ambiguous decisions.
The fix is principled. When the posterior is correct and the twin is faithful, belief labels have the same regression target as hindsight labels and a variance smaller by at least the between-cause term (Proposition 1, a Rao-Blackwell argument), and the noise they remove is largest exactly where gathering matters. They are also forgiving: soft labels with moderately misweighted evidence or a shifted prior were never significantly worse than hindsight labels on all decisions, while hard labels that commit to one cause were significantly worse under belief scoring. The code, the TE-GvA arrays and the datasheet are released with the paper.
04
Cite this work
@misc{mohammadiruzbahani2026gatheroract,
title = {Gather or Act? {B}elief-Level Counterfactual Labels for Deadline-Aware Incident Response in Cyber-Physical Systems},
author = {Mohammadi Ruzbahani, Ali},
year = {2026},
eprint = {2611.03974},
archivePrefix = {arXiv},
doi = {10.48550/arXiv.2611.03974},
url = {https://arxiv.org/abs/2611.03974}
}
Mohammadi Ruzbahani, A. (2026). Gather or act? Belief-level counterfactual labels for deadline-aware incident response in cyber-physical systems. arXiv:2611.03974. https://doi.org/10.48550/arXiv.2611.03974
A. Mohammadi Ruzbahani, "Gather or act? Belief-level counterfactual labels for deadline-aware incident response in cyber-physical systems," arXiv:2611.03974, 2026, doi: 10.48550/arXiv.2611.03974.

