Researchers show that a single 'stop' label per unsafe moment can teach the whole trajectory, by redistributing the safety signal backward through every earlier action.
Picture a self-driving car that only hears "stop, that was unsafe" at the first bad moment. No per-step labels, no play-by-play. The system knows it crossed a line, but not which earlier move put it there. A new method, Redistribution-based Cost Inference (RCI), teaches the system to avoid the whole unsafe path by redistributing that single "stop" backward through every earlier action, the way a chess player retraces a lost game to find the real losing move.
The paper comes from Ebenezer Gelo, Geraud Nangue Tasse, Steven James, and Benjamin Rosman at the University of the Witwatersrand, and was accepted at the 1st IJCAI Workshop on Safe Physical AI (SPAI 2026). The arXiv preprint was posted on August 12, 2026.
Safe offline reinforcement learning, a flavor of AI training where a system learns from logged experience rather than live trial-and-error, typically assumes the trainer can mark every unsafe action with a per-step cost. Real supervisors rarely do. A safety driver in a car, a teleoperator guiding a robot arm, or a human reviewing a fleet's behavior log almost never annotates every step; they flag the first moment something went wrong. That gives the system a single binary "stop" at the end of an unsafe trajectory, not a dense ledger of which earlier actions were to blame. Recovery becomes a temporal credit-assignment problem: how do you turn one terminal signal into training pressure that runs through the whole path?
The method runs in three stages, as detailed in the paper's HTML body. First, collect trajectory-level stop feedback at the first unsafe transition. Second, train a sequence model to predict the total cost of a trajectory from its prefix, then redistribute that cost backward by differencing successive prefix predictions and adding a terminal compensation term δ_T that enforces return equivalence. The differencing is the load-bearing trick: it converts a single end-of-trajectory signal into a dense per-step cost curve, the same way an accountant would split a quarterly loss across the months that caused it. Third, hand the resulting cost labels to any constrained offline RL algorithm, in this case BCQ-Lagrangian, to learn a policy that avoids the unsafe regions.
Proposition 1 and Theorem 1 are the load-bearing claim: any return-equivalent redistribution preserves the feasible policy set and the optimal Lagrangian in a CMDP, a constrained Markov decision process and the standard formalism for safe RL. The authors call this Policy Invariance. Redistributing the cost signal is mathematically lossless for the constrained optimization, so a learner trained on the redistributed labels should converge to the same constrained optimum it would have reached with dense labels. Any sequence model whose per-step accuracy is high enough to keep return equivalence intact will do. The paper instantiates the model as an LSTM following RUDDER, but the redistribution stage also accepts GRD-style decompositions, and the policy stage also accepts CPQ or CDT.
On two benchmark domains, a highway driving simulator and a simulated robot manipulation task, the team reports substantially lower violation rates than sparse and classifier-based baselines across datasets generated by unsafe, random, and mixed behavior policies. They also report robustness to label noise and heterogeneous dataset composition, the realistic case where the logged data is messier than the test bench. The result, in the authors' phrase, is a better-conditioned cost critic that turns a single sparse stop into supervision dense enough to actually train against.
The contribution is real, and the limits are equally real. The "lossless" guarantee is a theoretical CMDP result about the feasible policy set and the optimal Lagrangian, not a worst-case safety claim about deployed robots or self-driving systems. Results are on benchmark tasks, not on hardware. The paper is a workshop-tier preprint from a single institution, with no third-party independent replication and no industry deployment evidence. The mechanism, redistribution backward through a sequence model, presumes a logged offline dataset. The paper distinguishes itself from TraCeS and RLSF precisely by not requiring interactive labeler queries, but it inherits the usual offline-RL caveats about distribution shift and out-of-distribution actions.
Dense per-step safety labels are the bottleneck for scaling safe behavior to real robots and vehicles. If a single "stop" per unsafe episode can be redistributed to teach the whole trajectory, safety supervision becomes cheaper and more accessible to smaller teams and safety-focused builders, not just well-resourced labs. The next milestone to watch is a third-party benchmark run, ideally on a non-toy driving or manipulation task, that tests whether the theoretical Policy Invariance holds up when the sequence model's predictions drift off the return-equivalent manifold.