Action-Conditioned Transition Irreversibility for Out-of-Distribution Detection in Reinforcement Learning
Abstract
Reinforcement-learning agents shape the observations they encounter; consequently, detecting out-of-distribution (OOD) states requires analysing action-conditioned trajectories rather than treating inputs as independent samples. We propose Action-Conditioned Transition Irreversibility (ACTI), a detector that evaluates forward and backward transition likelihoods, calibrates this comparison against the in-distribution profile at each timestep, and smooths the score over a short window, using no future information. We tested ACTI across six environments and fifteen detectors within OOD-RL-Bench, using the four anomaly mechanisms that qualified in every environment, with ten policy replicates per environment. All primary metrics are matched-time: each score after anomaly onset is compared with a clean twin rollout's score at the same timestep. Our method secured the top macro matched-time AUROC, outperforming the dynamics-model baseline (PEDM), while scoring transitions roughly two orders of magnitude faster. Compared to the state-only variant, ACTI achieved a small but consistent AUROC gain and a shorter detection delay. The capacity-matched forward-only baseline, ACTI-Forward, secured a statistically significant advantage in AUPRC alongside a reduced detection delay. The discrepancy in AUROC did not reach statistical significance. Ablation studies suggest instead that performance improvements stem from action conditioning, calibration at each timestep, and smoothing of the transition-likelihood scores. Based on these results, we recommend using ACTI-Forward.
Create a lesson
Related papers
On Adaptive Step Sizes for Eligibility Traces in Deep Reinforcement Learning
Shared title terminology · Esraa Elelimy, Martha White
ARC: Adaptive Rollout Control for Efficient Synchronous LLM Reinforcement Learning
Shared title terminology · Yihui Zhang, Tianyu Wo, Jinghao Wang et al.
VeriLogic: Reinforcement Learning over Verifiable Logical Reasoning Traces
Shared title terminology · ZeLiang Chen, Yunyao Zhang, Xinglang Zhang et al.
ArrythML-II: An Optimized TinyML Framework for ECG Arrhythmia Detection and Multi-Class Beat Classification on Wearable Devices
Shared title terminology · Nagarajan S, Kurian Polachan
Operating-Condition Normalization in C-MAPSS: Matched Historical Baselines, Multi-Seed Robustness, and Prognostic-Score Trade-offs
Shared title terminology · Mohammad Adeel
When a Permitted Action Completes a Forbidden Workflow: Designing Consequence-Oriented Approval for LLM Agents
Shared title terminology · S M Asif Hossain, Ruksat Khan Shayoni, Md Kishor Morol et al.