Label-free Industrial Fault Detection via Adversarial Inverse Reinforcement Learning: A System for Run-to-Failure Prognostics

arXiv cs.LG Papers

Summary

The paper proposes an adversarial inverse reinforcement learning framework for machinery fault detection that learns a health reward from normal operational data without requiring fault labels, achieving consistent detection across multiple benchmarks.

arXiv:2607.22987v1 Announce Type: new Abstract: Machinery fault detection (MFD) remains heavily reliant on supervised learning, which struggles with the scarcity of fault labels in real-world settings. While reinforcement learning (RL) offers a framework to model the sequential nature of degradation, current ``RL-based'' MFD methods reduce the problem to a static contextual bandit (CB) formulation: by ignoring state transitions and discarding the temporal discount factor, they collapse to standard supervised classification. We propose an adversarial inverse reinforcement learning (AIRL) framework that treats MFD as an offline IRL problem. Unlike reconstruction-based approaches that rely on static error margins, or CBs that ignore dynamics, our method recovers an intrinsic "health" reward directly from observational state transitions, requiring neither manual reward engineering nor fault labels. On three run-to-failure benchmarks (HUMS2023, IMS, XJTU-SY), AIRL is the only method achieving non-saturated post-detection consistency across all datasets, while CB baselines fail to detect gradual degradation and reconstruction models collapse into always-anomalous states. Code and data: https://github.com/dhirajneupane/AIRL-MFD-DN.
Original Article
View Cached Full Text

Cached at: 07/28/26, 06:24 AM

# Label-free Industrial Fault Detection via Adversarial Inverse Reinforcement Learning: A System for Run-to-Failure Prognostics
Source: [https://arxiv.org/html/2607.22987](https://arxiv.org/html/2607.22987)
###### Abstract\.

Machinery fault detection \(MFD\) remains heavily reliant on supervised learning, which struggles with the scarcity of fault labels in real\-world settings\. While reinforcement learning \(RL\) offers a framework to model the sequential nature of degradation, current “RL\-based” MFD methods reduce the problem to a static contextual bandit \(CB\) formulation: by ignoring state transitions and discarding the temporal discount factor, they collapse to standard supervised classification\. We propose an adversarial inverse reinforcement learning \(AIRL\) framework that treats MFD as an offline IRL problem\. Unlike reconstruction\-based approaches that rely on static error margins, or CBs that ignore dynamics, our method recovers an intrinsic “health” reward directly from observational state transitions, requiring neither manual reward engineering nor fault labels\. On three run\-to\-failure benchmarks \(HUMS2023, IMS, XJTU\-SY\), AIRL is the only method achieving non\-saturated post\-detection consistency across all datasets, while CB baselines fail to detect gradual degradation and reconstruction models collapse into always\-anomalous states\. Code and data:[https://github\.com/dhirajneupane/AIRL\-MFD\-DN](https://github.com/dhirajneupane/AIRL-MFD-DN)\.

## 1\.Introduction

Machinery fault detection \(MFD\) is essential for industrial reliability, yet acquiring labelled fault data for every fault type, severity, and component remains prohibitively expensive\. Supervised learning dominates the field \(≈\\approx81% of studies, vs\. just 1% for RL\(Neupaneet al\.,[2024b](https://arxiv.org/html/2607.22987#bib.bib5)\)\) but inherits this labelling bottleneck\. Semi\-supervised and unsupervised methods partially mitigate it\(Ramírez\-Sanzet al\.,[2023](https://arxiv.org/html/2607.22987#bib.bib3); Neupaneet al\.,[2025](https://arxiv.org/html/2607.22987#bib.bib2); Zhaoet al\.,[2021](https://arxiv.org/html/2607.22987#bib.bib4); Nianet al\.,[2020](https://arxiv.org/html/2607.22987#bib.bib8)\)but struggle with robustness under variable operating conditions\. Reinforcement learning \(RL\) is a promising alternative through interactive, sequential decision\-making, yet current applications neglect the temporal structure of fault progression\(Neupaneet al\.,[2024b](https://arxiv.org/html/2607.22987#bib.bib5)\)\.

Existing “RL\-based” MFD methods\(Dinget al\.,[2019](https://arxiv.org/html/2607.22987#bib.bib6); Qian and Liu,[2022](https://arxiv.org/html/2607.22987#bib.bib7); Liet al\.,[2025b](https://arxiv.org/html/2607.22987#bib.bib12),[a](https://arxiv.org/html/2607.22987#bib.bib14)\)reduce fault detection to a staticcontextual\-bandit\(CB\) trial: each sensor segment is treated as an independent state, the agent issues a one\-shot label, the discount factorγ\\gammais effectively zero, and episodes terminate after a single action\. The sequential premise of RL therefore collapses into supervised classification\. Moving beyond this requires multi\-step interactions \(γ\>0\\gamma\>0\) and rewards reflecting long\-term outcomes, but designing such rewards is difficult: fault progression is subtle, system dynamics are only partially understood, and most industrial datasets are prerecorded, making online RL infeasible\. Even existing offline RL approaches still rely on manual reward design\.

These challenges highlight the potential of inverse reinforcement learning \(IRL\)\(Nget al\.,[2000](https://arxiv.org/html/2607.22987#bib.bib15)\), which bypasses manual reward specification by learning directly from healthy operational trajectories offline\. Despite its ability to capture normal machinery behaviour, IRL remains unexplored in machinery fault detection \(MFD\)\. To address this gap, we introduce adversarial inverse reinforcement learning \(AIRL\)\(Fuet al\.,[2018](https://arxiv.org/html/2607.22987#bib.bib49)\)for MFD, marking its first application in this domain\. AIRL operates fully offline, learning a reward model of normal sequential patterns to detect anomalies as deviations from these dynamics\. This approach retains RL’s strengths while providing a robust, practical solution\. Extensive experiments across multiple run\-to\-failure datasets demonstrate that our framework achieves earlier fault detection and more stable anomaly scoring than conventional one\-class and reconstruction\-based methods\.

##### Applied contributions\.

A two\-page extended abstract of this formulation appeared at AAMAS 2026\(Neupaneet al\.,[2026](https://arxiv.org/html/2607.22987#bib.bib71)\)with preliminary HUMS2023 results\. This full paper substantially extends that prior work into a comprehensive prognostic system\. Our specific contributions are: \(1\) a label\-free detection pipeline applying the state\-only imitation learning \(SOIL\) approach\(Torabiet al\.,[2018](https://arxiv.org/html/2607.22987#bib.bib36)\)to offline industrial sensor sequences; \(2\) validated generalization across three distinct real\-world run\-to\-failure datasets \(HUMS2023, IMS, XJTU\-SY\); \(3\) an extended baseline comparison that demonstrates why AUROC is structurally inapplicable, alongside a novel post\-detection consistency \(PDC\) analysis ofsaturation failure; \(4\) an evaluation of seven automatic thresholding strategies with practical deployment recommendations; \(5\) a computational cost analysis validating AIRL’s compact architecture for edge deployment; and \(6\) an ablation study isolating the role of the discount factor in sequential modeling\.

## 2\.Background and Related Works

### 2\.1\.Machinery Fault Detection Problem

Industrial machinery often operates under harsh conditions, resulting in gradual faults—such as wear, cracks, and broken teeth—that vary in type, severity, and the components they affect\(Nuneset al\.,[2023](https://arxiv.org/html/2607.22987#bib.bib17)\)\. As shown by Neupane et al\.\(Neupaneet al\.,[2025](https://arxiv.org/html/2607.22987#bib.bib2)\), most publicly available datasets reflect this variety, yet are strictly offline and designed for classification tasks with predefined labels\. However, in real\-world settings, healthy data is abundant, whereas acquiring and labeling faulty data for every possible failure mode is a significant challenge\. Consequently, treating MFD as an anomaly detection task, training on abundant normal data to flag deviations at test time, is a convincing and practical approach\. While the current research trend remains heavily skewed towards fault classification under supervised learning, robust fault detection remains the foundational necessity in industrial applications\.

### 2\.2\.Adversarial Inverse Reinforcement Learning

Reinforcement learning models sequential decision\-making via Markov decision processes \(MDPs\), optimizing policies to maximize cumulative reward\(Sutton and Barto,[2020](https://arxiv.org/html/2607.22987#bib.bib1)\)\. However, designing reward functions that precisely encode desired behaviors is challenging, particularly for complex tasks like MFD\. IRL addresses this by inferring the underlying reward directly from expert demonstrations\(Deshpandeet al\.,[2025](https://arxiv.org/html/2607.22987#bib.bib18)\)\. While traditional IRL struggles with high\-dimensional environments, AIRL\(Fuet al\.,[2018](https://arxiv.org/html/2607.22987#bib.bib49)\)scales effectively by employing a generative adversarial framework\. AIRL trains a discriminator to differentiate between expert \(healthy\) and policy\-generated trajectories, simultaneously updating a policy to imitate the expert behavior\. Importantly, AIRL learns a robust reward function that is disentangled from the environment’s specific dynamics, making it highly suitable for anomaly detection where explicit reward formulation is impractical\. The discriminator’s output is formulated as\(Fuet al\.,[2018](https://arxiv.org/html/2607.22987#bib.bib49)\):

\(1\)D​\(s,a,s′\)=exp⁡\(r​\(s,a\)\+γ​V​\(s′\)−V​\(s\)\)exp⁡\(r​\(s,a\)\+γ​V​\(s′\)−V​\(s\)\)\+π​\(a∣s\),D\(s,a,s^\{\\prime\}\)=\\frac\{\\exp\\\!\\left\(r\(s,a\)\+\\gamma\\,V\(s^\{\\prime\}\)\-V\(s\)\\right\)\}\{\\exp\\\!\\left\(r\(s,a\)\+\\gamma\\,V\(s^\{\\prime\}\)\-V\(s\)\\right\)\+\\pi\(a\\mid s\)\},where\(s,a,s′\)\(s,a,s^\{\\prime\}\)is the transition tuple consisting of the current statess, actionaa, and next states′s^\{\\prime\},r​\(s,a\)r\(s,a\)is the learned reward,V​\(s\)V\(s\)the state\-value function,π​\(a∣s\)\\pi\(a\\mid s\)the stochastic policy, andγ\\gammathe discount factor\. This architecture ensures the recovered reward remains invariant to dynamic shifts, providing a stable basis for evaluating operational health\.

### 2\.3\.RL vs\. Contextual\-Bandit Practice in MFD

The application of RL to rotating machinery fault detection has gained popularity since 2019, as summarized in Table[1](https://arxiv.org/html/2607.22987#S2.T1)\. However, a consistent pattern emerges: despite the variety of agents and reported episode lengths, these studies formulate the problem as a single\-step classification task rather than a true MDP\. Specifically:

- •Datasets are typically pre\-shuffled, treating each sensor signal segment as aniid\(independent and identically distributed\) context\. The agent predicts a single label, and the episode immediately terminates\.
- •Because transitions\(s,a,s′\)\(s,a,s^\{\\prime\}\)are ignored, the discount factorγ\\gamma\(even if nonzero\) plays no mathematical role in credit assignment\.

Formally, these setups aresingle\-step contextual bandits \(CBs\)\. Even when studies report episode lengths of several hundred steps \(Table[1](https://arxiv.org/html/2607.22987#S2.T1)\), each step remains an independent sample with no dependency on previous actions\. The Bellman equation collapses into a supervised classifier optimized via a reward\-based loss\. While this approach is valuable for static labelling, using RL terminology misrepresents the methodological novelty\. More importantly, it fails to exploit RL’s core strength: modelling sequential system evolution for faultprogressionandearly\-warningobjectives\.

Table 1\.RL formulations in recent MFD research\.Ref/YearStateAction𝜸\\boldsymbol\{\\gamma\}Ep\. Len\.Agent\(Dinget al\.,[2019](https://arxiv.org/html/2607.22987#bib.bib6)\)/19RandomLabel01SAE\(Liet al\.,[2021](https://arxiv.org/html/2607.22987#bib.bib25)\)/21RandomLabel\-1CapNet\(Qian and Liu,[2022](https://arxiv.org/html/2607.22987#bib.bib7)\)/22RandomLabel01CNN\-GRU\(Yanget al\.,[2023](https://arxiv.org/html/2607.22987#bib.bib26)\)/23RandomLabel0\.1\*500†ConvResAE\(Xiaoet al\.,[2024](https://arxiv.org/html/2607.22987#bib.bib27)\)/24RandomLabel0\.1\*504†1D\-CNN\(Liet al\.,[2025b](https://arxiv.org/html/2607.22987#bib.bib12)\)/25RandomLabel0\.99\*1Eq\. DQN\(Liet al\.,[2025a](https://arxiv.org/html/2607.22987#bib.bib14)\)/25RandomLabel0\.99\*1ConvTrans\(Saiedet al\.,[2025](https://arxiv.org/html/2607.22987#bib.bib23)\)/25RandomLabel0\.1\*1Duel\-DQN

Note:\*γ\\gammanot used for credit assignment\.†Samples pre\-shuffled\.

## 3\.AIRL Framework for MFD

Building on the problem formulation and related work discussed earlier, this section presents the proposed adversarial inverse reinforcement learning framework for machinery fault detection\. The framework uses preprocessed vibration sequences to autonomously learn reward dynamics that characterize normal operational behavior and deviations from it\. It consists of three main components: \(i\) transition construction from vibration signals, \(ii\) neural architectures for reward, value, and policy estimation, and \(iii\) adversarial training and threshold\-based anomaly scoring\.

### 3\.1\.Transition Construction for AIRL

LetX=\{x1,x2,…,xL\}X=\\\{x\_\{1\},x\_\{2\},\\dots,x\_\{L\}\\\}denote a vibration record of lengthLLsamples, and letx~t\\tilde\{x\}\_\{t\}denote thezz\-normalized version ofxtx\_\{t\}using statistics computed solely from the healthy training partition \(to prevent test\-train leakage\)\. Records are sorted chronologically and split into a healthy expert set𝒟exp\\mathcal\{D\}\_\{\\text\{exp\}\}used for training and a held\-out test set𝒟test\\mathcal\{D\}\_\{\\text\{test\}\}containing the degradation phase\. Dataset\-specific partitions, record lengths, and acquisition details are reported in Section[4](https://arxiv.org/html/2607.22987#S4)\.

To construct the AIRL input, state\-action\-next\-state tuples are generated from each normalized sequence:

\(2\)st=x~t,at=x~t\+1,st\+1=x~t\+1\.s\_\{t\}=\\tilde\{x\}\_\{t\},\\quad a\_\{t\}=\\tilde\{x\}\_\{t\+1\},\\quad s\_\{t\+1\}=\\tilde\{x\}\_\{t\+1\}\.Since the data is offline and purely observational, no recorded control actions are available\. We adopt the SOIL approach\(Torabiet al\.,[2018](https://arxiv.org/html/2607.22987#bib.bib36)\)and treat the next observationx~t\+1\\tilde\{x\}\_\{t\+1\}as a proxy action, effectively learning an inverse\-dynamics model that scores the plausibility of state transitions\(st,st\+1\)\(s\_\{t\},s\_\{t\+1\}\)rather than maximizing a static classification reward\. This aligns with state\-only imitation and inverse\-RL methods such as GAIfO\(Torabiet al\.,[2019](https://arxiv.org/html/2607.22987#bib.bib37)\), Diffusion\-IfO\(Huanget al\.,[2024](https://arxiv.org/html/2607.22987#bib.bib38)\), and OPOLO\(Zhuet al\.,[2020](https://arxiv.org/html/2607.22987#bib.bib40)\), which optimize a discriminator over state transitions rather than explicit control actions\. The construction enables AIRL to model the temporal evolution of healthy and faulty sequences without introducing artificial control variables\.

### 3\.2\.Model Architecture

The proposed AIRL framework comprises three neural components: a reward networkr​\(s,a\)r\(s,a\), a value networkV​\(s\)V\(s\), and a stochastic policyπ​\(a\|s\)\\pi\(a\|s\)\. Note that while we denote the input asaato maintain standard RL notation,aacorresponds to the next statex~t\+1\\tilde\{x\}\_\{t\+1\}\. Each network is a two\-layer MLP of the formf​\(x\)=W2​ϕ​\(W1​x\+b1\)\+b2f\(x\)=W\_\{2\}\\,\\phi\(W\_\{1\}x\+b\_\{1\}\)\+b\_\{2\}, whereϕ​\(⋅\)\\phi\(\\cdot\)is the ReLU activation, the hidden layer has 64 units, andb1,b2b\_\{1\},b\_\{2\}are learnable biases\. The networks differ only in their input dimension and output role:

- •Reward network \(rr\):Maps the concatenated state\-action vector\[s;a\]∈ℝ2\[s;a\]\\in\\mathbb\{R\}^\{2\}to a scalar reward distinguishing healthy \(expert\) from faulty \(policy\-generated\) transitions\.
- •Value network \(VV\):Takes scalar states∈ℝs\\in\\mathbb\{R\}and outputs the expected cumulative reward, providing a potential\-based shaping term for reward generalization\.
- •Policy network \(π\\pi\):Takes scalar states∈ℝs\\in\\mathbb\{R\}and outputs the meanμ​\(s\)\\mu\(s\)of a Gaussian policyπ​\(a\|s\)=𝒩​\(μ​\(s\),σ2\)\\pi\(a\|s\)=\\mathcal\{N\}\(\\mu\(s\),\\sigma^\{2\}\); the state\-independent log\-standard\-deviationlog⁡σ\\log\\sigmais learned separately\. This stochasticity encourages exploration during roll\-outs and mitigates overfitting to logged demonstrations\.

The total parameter count is 644 \(reward: 257, value: 193, policy: 194\)\.

### 3\.3\.Training Procedure

Each AIRL training epoch consists of two phases: \(i\) discriminator learning and \(ii\) policy improvement\. During discriminator learning, mini\-batches of 128 expert and policy\-generated transitions are drawn, and the reward and value networks are jointly updated by minimizing the standard AIRL cross\-entropy loss:

ℒdisc=\\displaystyle\\mathcal\{L\}\_\{\\text\{disc\}\}=\\;−\[logσ\(rϕ\(s,a\)\+γVψ\(s′\)−Vψ\(s\)\)\\displaystyle\-\\biggl\[\\log\\sigma\\bigl\(r\_\{\\phi\}\(s,a\)\+\\gamma V\_\{\\psi\}\(s^\{\\prime\}\)\-V\_\{\\psi\}\(s\)\\bigr\)\(3\)\+log\(1−σ\(rϕ\(s,aπ\)\+γVψ\(sπ′\)−Vψ\(sπ\)\)\)\]\\displaystyle\\qquad\+\\;\\log\\Bigl\(1\-\\sigma\\bigl\(r\_\{\\phi\}\(s,a\_\{\\pi\}\)\+\\gamma V\_\{\\psi\}\(s^\{\\prime\}\_\{\\pi\}\)\-V\_\{\\psi\}\(s\_\{\\pi\}\)\\bigr\)\\Bigr\)\\biggr\]whereσ​\(⋅\)\\sigma\(\\cdot\)is the logistic function andγ=0\.99\\gamma=0\.99\.

During policy improvement,π\\piis rolled out in the learned reward landscape to estimate the REINFORCE gradient:

\(4\)∇𝔼π​\[r​\(s,a\)\]=𝔼π​\[∇log⁡π​\(a\|s\)​Gt\],\\nabla\\,\\mathbb\{E\}\_\{\\pi\}\\\!\[r\(s,a\)\]=\\mathbb\{E\}\_\{\\pi\}\[\\nabla\\log\\pi\(a\|s\)\\,G\_\{t\}\],using 50\-step returnsGtG\_\{t\}, alongside an entropy bonusβ=0\.01\\beta=0\.01to encourage exploration\. All networks are optimized with Adam \(α=10−3\\alpha=10^\{\-3\}\) forNepochs=300N\_\{\\text\{epochs\}\}=300with 50 policy episodes per epoch\.

### 3\.4\.Anomaly Scoring and Thresholding

Within AIRL, the discriminator assigns each transition\(s,a,s′\)\(s,a,s^\{\\prime\}\)a confidenceDϕ​\(s,a,s′\)D\_\{\\phi\}\(s,a,s^\{\\prime\}\), which we convert to an anomaly score:

\(5\)α​\(s,a,s′\)=1−Dϕ​\(s,a,s′\),\\alpha\(s,a,s^\{\\prime\}\)=1\-D\_\{\\phi\}\(s,a,s^\{\\prime\}\),where higher values indicate greater deviation from expert behavior\. Let\{αi\}i=1N\\\{\\alpha\_\{i\}\\\}\_\{i=1\}^\{N\}denote scores computed onhealthytraining transitions\. We construct data\-driven thresholdsτ\\taufrom these healthy scores and flag a test sample as anomalous whenα\>τ\\alpha\>\\tau\(upper\-tail rule\)\.

Seven strategy families are evaluated: \(1\) mean\+k​σk\\sigma\(k∈\{2,3\}k\\in\\\{2,3\\\}\)\(Neupaneet al\.,[2024a](https://arxiv.org/html/2607.22987#bib.bib13)\); \(2\) median\+3MAD\(Romo\-Chaveroet al\.,[2024](https://arxiv.org/html/2607.22987#bib.bib61)\); \(3\) max\-based variants \(max, max−\-SE, max−\-2SE\)\(Yanget al\.,[2025](https://arxiv.org/html/2607.22987#bib.bib63)\); \(4\) percentilep99p\_\{99\}\(Umsonstet al\.,[2022](https://arxiv.org/html/2607.22987#bib.bib62)\); \(5\) Otsu’s method\(Otsu and others,[1975](https://arxiv.org/html/2607.22987#bib.bib54)\); \(6\)kk\-means midpoint\(McQueen,[1967](https://arxiv.org/html/2607.22987#bib.bib55)\); \(7\) GPD tail fit \(top 5% of\{αi\}\\\{\\alpha\_\{i\}\\\}\)\(Pickands III,[1975](https://arxiv.org/html/2607.22987#bib.bib56)\)\. All thresholds are computed once from healthy training scores and fixed at test time\.

## 4\.Experimental Section

### 4\.1\.Datasets and Preprocessing

![Refer to caption](https://arxiv.org/html/2607.22987v1/humsPng.png)Figure 1\.Cracked planet gear: crack path indicated by red arrow \(left\), and full crack viewed from the inner bore of the planet gear’s bearing raceway \(right\)\(Wanget al\.,[2023b](https://arxiv.org/html/2607.22987#bib.bib9)\)\.We evaluate the proposed framework on three real\-world run\-to\-failure datasets encompassing distinct machinery types, operating conditions, and fault modes\. All methods use healthy\-only training partitions and mixed \(healthy \+ faulty\) test partitions, as detailed in Table[2](https://arxiv.org/html/2607.22987#S4.T2)\.

HUMS2023\(Wanget al\.,[2023b](https://arxiv.org/html/2607.22987#bib.bib9)\): This dataset captures the progressive degradation of a full\-scale helicopter gearbox under authentic load conditions\. Fatigue cracks were initiated via EDM notches and propagated under 125% torque \(see Figure[1](https://arxiv.org/html/2607.22987#S4.F1)\. Hunting Tooth Synchronous Averaging \(H\-SSA\) was utilized to align the vibration patterns with gear\-meshing cycles\(Sawalhiet al\.,[2024](https://arxiv.org/html/2607.22987#bib.bib10)\)\. The ground truth degradation onset is verified by the challenge committee as Day 24 \(sample \#264\)\.

IMS Test 1\(Sacerdotiet al\.,[2023](https://arxiv.org/html/2607.22987#bib.bib42)\): This is a widely used bearing dataset recorded at 20 kHz across 8 channels, from which Channel 1 is utilized for our evaluation\. The ground truth degradation onset is established in the literature as mid\-November\(Sacerdotiet al\.,[2023](https://arxiv.org/html/2607.22987#bib.bib42); Berghoutet al\.,[2021](https://arxiv.org/html/2607.22987#bib.bib66)\), which eventually culminates in catastrophic failure on Nov 25\.

XJTU\-SY\(Wanget al\.,[2020](https://arxiv.org/html/2607.22987#bib.bib48)\): This dataset features accelerated bearing degradation under heavy operational loads \(Bearing 3\_1; 40 kHz, 10 kN\)\. The ground truth degradation onset is formally defined at≈\\approx500 min\(Maoet al\.,[2024](https://arxiv.org/html/2607.22987#bib.bib47)\)\.

Table 2\.Training and testing splits\.DatasetTraining \(healthy\)Testing \(mixed\)HUMSDay 17–20; Total: 282Day 21–27; Total: 526IMSOct 1–31; Total: 1,840Nov 1–25; Total: 8,940XJTU–SYFirst 2,000 \(∼\\sim250 min\)Remaining 18,295To maintain consistent temporal resolution and input dimensionality across the entire framework, all raw vibration sequences arezz\-normalized and segmented into uniform observation windows \(4095 points for HUMS H\-SSA samples, and 4096\-point segments for IMS and XJTU\-SY, yielding 5 segments per IMS sample and 8 per XJTU\-SY sample\)\.

### 4\.2\.Baseline Methods

For comparison with AIRL, we trained a set of widely used unsupervised and one\-class methods using only healthy data and evaluated them on both healthy and faulty segments\. These baselines encompass a range of approaches, from traditional machine learning to deep learning models designed to capture temporal dependencies\.

#### 4\.2\.1\.Unsupervised and One\-Class Baselines

All baselines are trained on healthy data only and scored with the same thresholding rules as AIRL\.

- •IF\(Isolation Forest\)\(Liuet al\.,[2008](https://arxiv.org/html/2607.22987#bib.bib50)\)andOCSVM\(One\-Class Support Vector Machine\)\(Schölkopfet al\.,[1999](https://arxiv.org/html/2607.22987#bib.bib45)\): classical one\-class methods\. IF: 400 estimators, max\_samples=256; OCSVM: RBF kernel,ν=0\.05\\nu=0\.05\.
- •AE\(Autoencoder\)\(Zhou and Paffenroth,[2017](https://arxiv.org/html/2607.22987#bib.bib51)\)andVAE\(Variational Autoencoder\)\(Kingma and Welling,[2013](https://arxiv.org/html/2607.22987#bib.bib52)\): reconstruction\-error anomaly scorers \(hidden dims \{1024,256,64\}, latent 64\)\. \(∼\\sim8\.95M /∼\\sim8\.97M params\)
- •LSTM\-AEandLSTM\-VAE\(Malhotraet al\.,[2016](https://arxiv.org/html/2607.22987#bib.bib46); Chunget al\.,[2015](https://arxiv.org/html/2607.22987#bib.bib53)\): Long Short\-Term Memory \(LSTM\) recurrent variants of AE/VAE for sequence modeling\. \(LSTM hidden=128, latent=64;∼\\sim167K /∼\\sim184K params\)
- •TCAE\(Temporal Convolutional Autoencoder\)\(Baiet al\.,[2018](https://arxiv.org/html/2607.22987#bib.bib72)\): 1D convolutional AE with strided convolutions \(spatial4096→644096\\\!\\to\\\!64via three stride\-4 Conv1d layers, kernel 9, channels 1→\\to16→\\to32→\\to8\)\. \(∼\\sim14K params\)
- •CTCAE\(Contrastive TCAE\)\(Chenet al\.,[2020](https://arxiv.org/html/2607.22987#bib.bib65)\): TCAE \+ SimCLR contrastive loss on noise\-augmented views\. \(wider bottleneck: channels 1→\\to16→\\to32→\\to64,∼\\sim47K backbone params\)
- •USAD\(Unsupervised Anomaly Detection\)\(Audibertet al\.,[2020](https://arxiv.org/html/2607.22987#bib.bib67)\): dual\-decoder adversarial AE; anomaly score combines both decoders’ outputs \(∼\\sim13\.4M params\)\.
- •ATF\(Anomaly Transformer\)\(Xuet al\.,[2022](https://arxiv.org/html/2607.22987#bib.bib68)\): uses association\-discrepancy between a Gaussian prior and learned softmax attention; ConvStem tokenizes inputs into 91 tokens for HUMS \(4095 pts\) and 92 tokens for IMS/XJTU\-SY \(4096 pts\) \(2 blocks, 64 dim, 4 heads,∼\\sim146K params\)\.

#### 4\.2\.2\.Contextual\-Bandit Baseline

We reproduce the LiteDPER–CTQN agent\(Liet al\.,[2025a](https://arxiv.org/html/2607.22987#bib.bib14)\)\(reimplemented in PyTorch\) as a representative of the common RL\-as\-classifier pattern in MFD\. It trains on balanced Normal/Faulty splits \(HUMS: Days 19–20 vs\. 26–27; IMS: 1370 Oct segments vs\. last 1370 Nov segments; XJTU\-SY: first 2000 vs\. last 2000 segments\) and is tested on the remaining unlabeled files\.

### 4\.3\.Evaluation Criteria

Our primary objective is evaluatingearliest detection, i\.e\., how soon a model reliably signals anomalies within the incipient degradation window\. Because early warnings are operationally useless alongside continuous false positives, we also assess the pre\-onsetFalse Alarm Rate\(FAR\) andpost\-detection consistencyto ensure the stability of valid alerts\.

Why AUROC is inapplicable:Run\-to\-failure data lacks per\-sample binary labels, and retrospective fault onsets are inherently uncertain \(e\.g\., the HUMS2023 onset spans Days 22–24\)\. Consequently, AUROC computed against a rigid boundary is fragile and indifferent to detection earliness\. Following standard practices\(Leiet al\.,[2018](https://arxiv.org/html/2607.22987#bib.bib69); Liet al\.,[2018](https://arxiv.org/html/2607.22987#bib.bib70)\), we instead evaluate reliability viatimeliness,FAR, andPDC, explicitly flaggingsaturation failure\(achieving high PDC merely through persistent, indiscriminate alerting\)\.

### 4\.4\.Experimental Setup

All models use the splits in Table[2](https://arxiv.org/html/2607.22987#S4.T2), trained over ten random seeds \(scores averaged\)\. AIRL uses the hyperparameters in Section[3\.3](https://arxiv.org/html/2607.22987#S3.SS3)\. AE\-family baselines use symmetric encoder–decoders with hidden dims \{1024,256,64\}, latent 64\. IF uses 400 estimators; OCSVM uses an RBF kernel\. All methods share the same thresholding rules \(Section[3\.4](https://arxiv.org/html/2607.22987#S3.SS4)\)\.

## 5\.Evaluation

### 5\.1\.Earliest Fault Detection

![Refer to caption](https://arxiv.org/html/2607.22987v1/x1.png)Figure 2\.Comparison of Earliest Fault Detection for HUMS2023 DatasetTable 3\.Earliest fault detection across datasets \(max−\-2SE threshold\)\.ModelHUMSIMSXJTU\-SYGTDay 24 \#264mid\-Nov∼\\sim500 minIFDay 21 \#92003\-11\-08 11:41:44279OCSVMDay 21 \#12003\-11\-01 00:41:44264AEDay 21 \#12003\-11\-01 05:31:44309VAEDay 21 \#372003\-11\-22 17:36:56†332LSTM\-AEDay 21 \#362003\-11\-22 17:36:56†332LSTM\-VAEDay 21 \#372003\-11\-22 17:36:56†332TCAEDay 21 \#492003\-11\-03 11:51:44265CTCAENo FaultNo FaultNo FaultUSADDay 21 \#92003\-11\-01 11:11:44264ATFDay 21 \#372003\-11\-14 11:12:17310CTQN \(CB\)Day 21 \#1‡2003\-11\-01 01:21:44455AIRL \(γ=0\\gamma=0\)Day 22 \#1632003\-11\-09 01:01:44277AIRL \(Ours\)Day 22 \#1632003\-11\-17 12:22:30459

GT:Provided Ground Truth\.AIRL \(γ=0\\gamma=0\):Ablation results \(Sec[6](https://arxiv.org/html/2607.22987#S6)\)\.†Post\-GT:Misses onset window under strict threshold\.‡CTQN:Binary classification collapse \(all\-Faulty constant score≈\\approx0\.546\)\.

Table[3](https://arxiv.org/html/2607.22987#S5.T3)summarizes the earliest anomaly detections across the three datasets\. On HUMS, nearly every baseline triggered on Day 21 \(the first day of the test partition, which contains 89 files indexed \#1–\#89; baseline detections clustered in the early portion of this range, between \#1 and \#49\), well before the committee\-verified onset of Day 24 \#264, indicating premature false alarms\. CTQN exhibited mode collapse: all 416 HUMS test files \(Days 21–25\) flagged faulty with a near\-constant score≈\\approx0\.546, while CTCAE failed in the opposite direction, producing no detections at all\. AIRL detected at Day 22 \#163, late enough to clear the false\-alarm zone, early enough to precede committee ground truth\. Figure[2](https://arxiv.org/html/2607.22987#S5.F2)illustrates this against prior HUMS2023 work: AIRL falls between FRESH filter\(Vaerenberget al\.,[2025](https://arxiv.org/html/2607.22987#bib.bib41)\)\(Day 22 \#127\) and the official challenge winner\(Peeterset al\.,[2024](https://arxiv.org/html/2607.22987#bib.bib11)\)\(Day 23 \#175\), aligning with the committee\-verified onset\.

On IMS, evaluated against the mid\-November onset\(Berghoutet al\.,[2021](https://arxiv.org/html/2607.22987#bib.bib66); Sacerdotiet al\.,[2023](https://arxiv.org/html/2607.22987#bib.bib42)\)\(catastrophic failure Nov 25\), baselines split into three failure modes\. OCSVM, AE, USAD, and CTQN triggered Nov 1, with TCAE on Nov 3, indicating pre\-GT false alarms days before any physical degradation\. IF and ATF \(Nov 8 and Nov 14\) fall earlier than the established window\. Conversely, VAE, LSTM\-AE, and LSTM\-VAE first flag only on Nov 22, missing the prognostic window entirely\. AIRL alone triggered onNov 17, precisely within the mid\-November onset\. The ablated AIRL \(γ=0\\gamma=0\) flagged on Nov 9, behaving like the statistical baselines and confirming that the discount factor is what separates genuine degradation from operational noise\.

On XJTU\-SY \(healthy window ends at≈\\approx500 min\(Maoet al\.,[2020](https://arxiv.org/html/2607.22987#bib.bib64)\)\), every baseline except CTQN triggered between Files 264–332, more than 150 min before the onset boundary and well within the established healthy range; these are clear pre\-onset false alarms\. CTCAE failed to register any deviation\. Two methods produced detections close to the onset boundary: CTQN at File 455 and AIRL at File 459\. Given that the∼\\sim500\-min reference is itself an approximate onset annotation rather than a hard cutoff, both detections fall within a 45\-min precursor window of the verified degradation transition, and are best interpreted as operationally reasonable early warnings rather than false alarms\. On this dataset alone, CTQN’s bandit formulation produced a comparably reasonable detection point; however, its performance on HUMS \(mode collapse\) and IMS \(false alarm Nov 1\) shows this is not a stable property of the formulation\. AIRL achieves comparable near\-onset detection on XJTU\-SYandstable behaviour on the other two datasets, which is the broader claim the bandit baseline cannot match\.

No single method dominates every individual benchmark, e\.g\., ATF achieves the lowest FAR on IMS under Otsu \(Section[5\.2](https://arxiv.org/html/2607.22987#S5.SS2)\)\. What AIRL alone achieves is cross\-dataset reliability: across all three datasets, AIRL avoids both failure modes the baselines exhibit: the oversensitivity of reconstruction and one\-class methods \(premature false alarms, or onset\-missing as VAE and LSTM variants do on IMS\), and the instability of static binary classifiers and contrastive methods \(mode collapse, saturation, or total detection failure\)\. This is exactly what the contextual\-bandit analysis in Section[2\.3](https://arxiv.org/html/2607.22987#S2.SS3)predicted: without state transitions or temporal credit assignment, an agent cannot stabilize on a meaningful decision boundary\. AIRL’s combination of sequential reasoning and adversarial reward learning is what delivers timely, trustworthy early warnings consistently across gearbox and bearing fault types\.

### 5\.2\.Post\-Detection Consistency

Table 4\.Pre\-GT FAR and PDC after Ground Truth \(Otsu\)\.MethodHUMSIMSXJTU\-SYFAR%PDC%FAR%PDC%FAR%PDC%IF\[95\.1\]\[99\.62\]57\.259\.7050\.350\.52OCSVM\[99\.2\]\[100\.0\]60\.361\.8658\.959\.18AE\[100\.0\]\[100\.0\]82\.690\.73\[97\.8\]\[98\.55\]VAE89\.199\.8650\.049\.9146\.846\.85LSTM\-AE\[93\.2\]\[99\.24\]50\.250\.1846\.546\.58LSTM\-VAE\[91\.6\]\[99\.24\]50\.250\.1246\.546\.58TCAE41\.868\.0688\.392\.6886\.387\.62CTCAE0\.00\.000\.00\.000\.00\.00CTQN \(CB\)\[100\.0\]\[100\.0\]52\.790\.063\.0100\.0USAD\[99\.8\]\[99\.8\]70\.170\.981\.481\.5ATF\[94\.9\]\[96\.32\]11\.694\.3\[100\.0\]\[81\.79\]AIRL \(Ours\)42\.279\.0988\.190\.1568\.468\.38

\[ \]denotes saturation failure \(FAR\>\>90%\); high PDC reflects false\-alarm persistence, not genuine discrimination\.

Beyond detection timing, a practical prognostic system must remain stable throughout the degradation period\.Post\-detection consistencymeasures the proportion of files correctly flagged as anomalous after the confirmed ground\-truth onset\(Leiet al\.,[2018](https://arxiv.org/html/2607.22987#bib.bib69); Liet al\.,[2018](https://arxiv.org/html/2607.22987#bib.bib70)\); a high PDC indicates that the model tracks fault progression steadily without frequent dropouts\. Critically, PDC must always be interpreted alongside detection timing: a method that triggers prematurely and never stops alarming will accumulate a near\-perfect PDC through false\-alarm persistence, not genuine discrimination\. We term thissaturation failure, and it renders the PDC score functionally meaningless for that method\.

##### Two\-threshold evaluation framework\.

Table[3](https://arxiv.org/html/2607.22987#S5.T3)\(earliest detection\) uses themax−\-2SE threshold, which is calibrated from the maximum healthy training score and is one of the max\-based strategies producing earliest within\-window detection across all three datasets in Table[5](https://arxiv.org/html/2607.22987#S5.T5); it answers “whendoes the method first alarm under strict, max\-based calibration?” Table[4](https://arxiv.org/html/2607.22987#S5.T4)PDC uses Otsu’s adaptive threshold, which partitions test scores globally to maximize between\-class variance; it answers “how reliablydoes the method track fault progression after onset?”

HUMS2023 Gearbox:All reconstruction\-based baselines achieve\>\>99% PDC on HUMS under the Otsu threshold, but only because they trigger prematurely on Day 21 and flag virtually every subsequent file, collapsing to an “always\-anomalous” state\. USAD exhibits the same pattern across all three datasets\. ATF saturates on HUMS \(FAR=95%\)\. CTCAE scores 0% PDC on HUMS, indicating total detection failure\. CTQN scores 100% PDC on HUMS but with 100% FAR \(all files flagged Faulty from Day 21 \#1\), confirming saturation failure rather than genuine detection; its high PDC is as meaningless as any other saturated method\. TCAE achieves 68\.06% PDC on HUMS, with its bearing\-dataset numbers similarly inflated by pre\-GT false\-alarm persistence \(Table[4](https://arxiv.org/html/2607.22987#S5.T4)\)\.

IMS Bearings:On IMS, AIRL achieves PDC of 90\.15% with a FAR of 88%\. ATF achieves a low FAR \(12%\) on IMS but collapses to zero post\-GT detections under strict thresholds, confirming its IMS score range is inadequately spread for conservative calibration\. TCAE and IF achieve competitive PDC \(92\.68%, 59\.70%\) but at the cost of high pre\-GT FAR \(88%, 57% respectively\), confirming that their IMS performance is inflated by persistent flagging begun well before degradation onset\. CTQN achieves PDC of 90\.0% with a FAR of 52\.7% on IMS, with detection from Nov 1 \(01:21:44\), well before the mid\-November onset, indicating its IMS PDC is partially inflated by early false\-alarm persistence beginning from the first test day\.

XJTU\-SY Bearings:On XJTU\-SY, ATF completely saturates \(FAR=100%\) while AIRL maintains a FAR of 68% with a PDC of 68\.38%\. The compressed score range of this bearing dataset makes Otsu partitioning less precise for all methods; nonetheless, AIRL is the only method achieving consistent non\-saturated behavior across this dataset as well\. CTQN achieves PDC of 100% with FAR of 63\.0% on XJTU\-SY, with first detection at minute 455 \(pre\-GT\), suggesting competitive post\-fault tracking, but this is evaluated on a 16,295\-file subset \(the last 2,000 test files are withheld as training data\), so the post\-GT window differs from other methods\.

AIRL \(Ours\) is the only method achieving meaningful, non\-saturated PDC across all three datasets: 79\.09% \(HUMS\), 90\.15% \(IMS\), and 68\.38% \(XJTU\-SY\)\. On HUMS, AIRL significantly outperforms every non\-saturated baseline\. IMS is AIRL’s weakest dataset: the pre\-GT FAR of 88% reflects that gradual bearing degradation produces a compressed AIRL score range, where Otsu’s adaptive split places the decision boundary close to the healthy distribution\. ATF achieves a lower IMS FAR \(12%\) under Otsu but saturates on HUMS \(FAR=94\.9%\) and XJTU\-SY \(FAR=100%\), and collapses to zero post\-GT detections under strict thresholds \(Table[3](https://arxiv.org/html/2607.22987#S5.T3)\); its IMS success is dataset\-specific, not a general property\. TCAE matches AIRL’s IMS FAR \(88%\) but is itself saturated on HUMS and XJTU\-SY\. AIRL is the only method whose FAR stays below the 90% saturation ceiling on every dataset, demonstrating that the temporal reward signal generalises across distinct fault types where reconstruction and attention\-based baselines do not\. High reconstruction capacity does not prevent saturation\-or\-collapse; temporal reward modeling does\.

### 5\.3\.Threshold Sensitivity Analysis

Threshold choice is a practical deployment concern\. Table[5](https://arxiv.org/html/2607.22987#S5.T5)compares the earliest AIRL detection under all threshold strategy families described in Section[3\.4](https://arxiv.org/html/2607.22987#S3.SS4)\.

On HUMS, five independent strategies converge to the same detection point \(Day 22, \#163\): mean\+3σ\\sigma, all three max\-based variants, and GPD tail \(p99p\_\{99\}\)\. Percentilep99p\_\{99\}is also within the onset window \(Day 22 \#100\)\. This cross\-strategy consistency confirms that the AIRL reward signal produces a clean, threshold\-invariant separation on gearbox data\. Loose strategies \(Otsu,kk\-means\) trigger on Day 21 \#2\.

On IMS, the threshold landscape is sharply polarised\. All loose and moderate strategies \(mean\+k​σk\\sigma, median\+3MAD, percentile, Otsu,kk\-means\) trigger false alarms from Nov 1, well before the mid\-November degradation window, while GPD tail \(p99p\_\{99\}\) triggers on Nov 8\. In contrast, all three max\-based strategies \(Max, Max−\-SE, Max−\-2SE\) converge to exactly one anomalous file across the entire 8,940\-file test set: Nov 17 12:22:30, precisely within the mid\-November onset window\. This binary behaviour, either saturation or single\-point detection, reflects the compressed AIRL score range on IMS, where the Nov 17 file is the sole test sample that marginally exceeds the healthy training maximum\.

On XJTU\-SY, the usable strategy space is narrower due to the compressed score range: mean\+2σ\\sigma, mean\+3σ\\sigma, median\+3MAD, and Max yield no detection because no test file exceeds the corresponding threshold\. The reported onset is approximately 500 minutes \(end of the healthy window\); the precise transition is subtle\. Both Max−\-2SE \(minute 459\) and Max−\-SE \(minute 533\) detect within a 75\-minute window of this boundary, with Max−\-2SE flagging the earliest pre\-onset deviation and Max−\-SE confirming detection just after\. For prognostic deployments where early warning matters, Max−\-2SE is preferable; for confirmed\-fault detection, Max−\-SE is more conservative\. GPD tail \(p99p\_\{99\}\) is excessively delayed \(minute 1748\), and Otsu andkk\-means saturate from minute 251\.

Across all three datasets, the max\-based family \(Max−\-SE and Max−\-2SE\) provides the most reliable detection\. Both variants produce identical detections on HUMS \(Day 22 \#163\) and IMS \(Nov 17\), and bracket the XJTU\-SY onset by under 75 minutes\. We recommend Max−\-2SE as the default for prognostic early warning \(earliest detection within the onset window across all three datasets\), and Max−\-SE as the conservative alternative when post\-onset confirmation is preferred\. Both are self\-calibrating from healthy training scores and require no held\-out validation set or manual tuning\.

Table 5\.Earliest AIRL detection per threshold strategyThresholdHUMS \(Day \#\)IMS \(date\)XJTU\-SY \(min\)Mean\+2σ\\sigmaDay 21 \#88‡\\ddaggerNov 1‡\\ddagger—Mean\+3σ\\sigmaDay 22 \#163†\\daggerNov 1‡\\ddagger—Median\+3MADDay 21 \#80‡\\ddaggerNov 1‡\\ddagger—MaxDay 22 \#163†\\daggerNov 17†\\dagger—Max−\-SEDay 22 \#163†\\daggerNov 17†\\dagger533†\\daggerMax−\-2SEDay 22 \#163†\\daggerNov 17†\\dagger459†\\daggerPercentile \(p99p\_\{99\}\)Day 22 \#100†\\daggerNov 1‡\\ddagger267‡\\ddaggerOtsuDay 21 \#2§\\SNov 1§\\S251§\\Skk\-means midpointDay 21 \#2§\\SNov 1§\\S251§\\SGPD tail \(p99p\_\{99\}\)Day 22 \#163†\\daggerNov 8‡\\ddagger1748†\\daggerGround truth onsetDay 24 \#264mid\-Nov\.∼\\sim500 min

†Valid:Within\-window / post\-GT\.‡False Alarm:Pre\-GT\. §Saturation:Flags first test file\. —No Detection:Threshold not met\.

### 5\.4\.Computational Cost and Deployment

Adversarial training is commonly cited as expensive; in practice, AIRL’s overhead is modest due to two structural properties\. First, its three networks \(reward, value, policy\) contain only 644 parameters, one to four orders of magnitude fewer than the deep baselines \(TCAE∼\\sim14K, LSTM\-AE∼\\sim167K, ATF∼\\sim146K, AE∼\\sim9\.0M, USAD∼\\sim13\.4M\)\. Second, at inference time AIRL operates on consecutive scalar pairs\(xt,xt\+1\)\(x\_\{t\},x\_\{t\+1\}\): each full\-length file is reduced to a single transition pair before scoring, requiring no matrix multiplication over high\-dimensional vectors\. All reconstruction\-based methods \(AE, TCAE, USAD, ATF\) must forward\-pass the full sequence vector per file\. This makes AIRL’s per\-file inference constant, minimal, and compatible with edge controllers that cannot buffer complete sample windows\. For deployment: \(i\) collect≥\\geq250 healthy files; \(ii\) train AIRL offline once on healthy transitions; \(iii\) at runtime, score each new acquisition file using the frozen reward and value networks; \(iv\) apply a Max−\-2SE threshold \(or Max−\-SE for more conservative post\-onset detection\) calibrated on training scores for automated alarming\.

## 6\.Discussion and Conclusion

This paper presented a label\-free, offline\-trainable fault detection system based on adversarial inverse reinforcement learning, evaluated on three industrial run\-to\-failure benchmarks\. While our primary objective remains achieving theearliest possible detection, AIRL was the only method to validate these early warnings by achieving non\-saturated, consistent PDC \(68–90%\) across all three datasets while respecting onset ground\-truth timelines\. Reconstruction\-based baselines \(AE, VAE, LSTM variants, USAD\) saturate indiscriminately; TCAE and CTCAE suffer mode collapse on HUMS; ATF saturates on HUMS and XJTU\-SY, and collapses on IMS under strict thresholds despite low FAR under Otsu\. These results confirm that higher reconstruction capacity does not prevent the saturation\-or\-collapse failure inherent to run\-to\-failure prognostics\. AIRL’s temporal reward modeling is the key differentiator\.

Scope of the RL claim:Our argument is precise and deliberate: we are not claiming reinforcement learning is universally superior to supervised or signal\-processing methods for fault detection\. Simple machine\-learning and signal\-processing baselines frequently match or outperform deep models in this domain\(Wanget al\.,[2023a](https://arxiv.org/html/2607.22987#bib.bib32); Neupaneet al\.,[2024a](https://arxiv.org/html/2607.22987#bib.bib13); Sawalhiet al\.,[2024](https://arxiv.org/html/2607.22987#bib.bib10)\), and supervised methods remain the right tool for faultclassificationonce detection has flagged an anomaly\(Zhanget al\.,[2020](https://arxiv.org/html/2607.22987#bib.bib33); Kibreteet al\.,[2024](https://arxiv.org/html/2607.22987#bib.bib34)\)\. Our claim is the more specific one:ifRL is to be applied to MFD, the prevailing contextual\-bandit formulation defeats its purpose\. Genuine RL, whether online or offline, is distinguished by reasoning overstate transitionsand credit\-assignment throughdelayed reward\(Barto and Dietterich,[2004](https://arxiv.org/html/2607.22987#bib.bib29)\); an episode that terminates after a single observation reduces to supervised learning\. To operationalize sequential reasoning without physical control actions, we adopted a state\-only imitation learning perspective\(Torabiet al\.,[2018](https://arxiv.org/html/2607.22987#bib.bib36)\), framing the next observation as a proxy action\. This recovers a reward function that measures theplausibility of the transition itself, shifting focus from “what does the signal look like?” to “how is the signal evolving?” The contextual\-bandit baseline \(CTQN\), which lacks this temporal reasoning, exhibited mode collapse on HUMS \(all files flagged Faulty, FAR=100%\) and pre\-GT false alarms on IMS, empirically confirming the theoretical argument; its near\-onset detection on XJTU\-SY \(File 455\) does not generalize\.

Contribution:To our knowledge this is the first principled application of inverse RL to machinery fault detection, demonstrating that offline RL can be applied to industrial prognostic data without collapsing into supervised classification\. The contribution is methodological: a transferable blueprint for using sequential RL on offline industrial sensor data, with an associated evaluation framework \(timeliness, FAR, PDC, saturation flagging\) that surfaces failure modes which standard metrics like AUROC hide\.

Limitations and future work:Three limitations are worth naming explicitly\. First, AIRL operates on single\-channel scalar transitions\(xt,xt\+1\)∈ℝ2\(x\_\{t\},x\_\{t\+1\}\)\\in\\mathbb\{R\}^\{2\}, which keeps the network compact and edge\-deployable but discards cross\-channel correlations that multi\-sensor industrial systems routinely provide; multi\-sensor fusion with shared discriminator architectures is a logical extension\. Second, AIRL’s performance is dataset\-dependent: on IMS, the gradual nature of bearing degradation produces a compressed AIRL score range, which translates to a higher pre\-GT FAR \(88%\) than on HUMS \(42%\) or XJTU\-SY \(68%\)\. While AIRL remains the only method maintaining non\-saturated FAR across all three datasets, the IMS result indicates that gradual bearing degradation is the harder setting for transition\-based reward learning, and motivates non\-stationary or distribution\-shift\-aware threshold adaptation\. Third, validation is currently limited to three public run\-to\-failure datasets; larger industrial corpora, online deployment trials, and uncertainty quantification on the learned reward function remain future work\.

## Appendix AAblation Study: Impact of Sequential Reasoning

To validate the role of sequential modeling, we ablated the discount factor \(γ\\gamma\), comparing AIRL \(γ=0\.99\\gamma=0\.99\) against a myopic variant \(γ=0\\gamma=0\) that reduces the agent to a contextual bandit\. The sequential formulation offers three measurable advantages, each targeting a distinct failure mode of the bandit formulation:

\(i\) Tighter healthy\-manifold representation:On HUMS2023, the sequential discriminator loss stabilized at≈0\.75\\approx 0\.75versus≈0\.83\\approx 0\.83for the myopic baseline, and thep99p\_\{99\}anomaly threshold was lower \(τ≈0\.319\\tau\\approx 0\.319vs\.0\.3470\.347\)\. Despite the stricter threshold, the sequential model flagged a higher total anomaly volume, indicating that the value function characterizes healthy behavior precisely enough that subtle fault indicators register with high confidence rather than requiring large deviations\.

\(ii\) Noise filtering via temporal credit:On XJTU\-SY, the myopic model triggered false alarms within the known healthy window \(<500<500min\): File 277 under max\-SE and File 261 under max\-2SE\. The sequential model filtered these fluctuations and delayed detection to File 533 \(max\-SE\) and File 459 \(max\-2SE\)\. Without temporal credit assignment, the bandit formulation cannot distinguish transient instability from genuine degradation\.

\(iii\) Stability across thresholds:On IMS, the myopic baseline produced zero detections under strict thresholds \(max, max\-SE\); its earliest detection \(Nov 9\) required loose adaptive thresholds \(GPD\) and collapsed under stricter calibration\. The sequential model triggered on Nov 17, within the mid\-November degradation window\(Berghoutet al\.,[2021](https://arxiv.org/html/2607.22987#bib.bib66)\), and maintained dense, stable detection across the full threshold hierarchy\.

Their cumulative effect explains why AIRL’s fullγ=0\.99\\gamma=0\.99configuration consistently outperforms the myopic ablation across all three datasets reported in the main results\.

## Usage of Generative AI

The GenAI models \(and Copilot\) were used only to fix the LaTeX equations and formatting issues, refine sentences or words, fixing minor bugs in code\. All the generated suggestions were thoroughly verified, edited, and rewritten by the authors, and no AI text, figures, or code appears in the manuscript\. The authors maintain full responsibility and accountability for all concepts & methodology, data, analysis, and results & conclusions, and this limited use of GenAI complies with ACM’s authorship and transparency policies\.

## References

- J\. Audibert, P\. Michiardi, F\. Guyard, S\. Marti, and M\. A\. Zuluaga \(2020\)USAD: unsupervised anomaly detection on multivariate time series\.InProceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining,pp\. 3395–3404\.Cited by:[6th item](https://arxiv.org/html/2607.22987#S4.I1.i6.p1.1)\.
- S\. Bai, J\. Z\. Kolter, and V\. Koltun \(2018\)An empirical evaluation of generic convolutional and recurrent networks for sequence modeling\.arXiv preprint arXiv:1803\.01271\.Cited by:[4th item](https://arxiv.org/html/2607.22987#S4.I1.i4.p1.5)\.
- A\. G\. Barto and T\. G\. Dietterich \(2004\)Reinforcement learning and its relationship to supervised learning\.Handbook of learning and approximate dynamic programming10,pp\. 9780470544785\.Cited by:[§6](https://arxiv.org/html/2607.22987#S6.p2.1)\.
- T\. Berghout, M\. Benbouzid, and L\. Mouss \(2021\)Leveraging label information in a knowledge\-driven approach for rolling\-element bearings remaining useful life prediction\.Energies14\(8\),pp\. 2163\.Cited by:[Appendix A](https://arxiv.org/html/2607.22987#A1.p4.1),[§4\.1](https://arxiv.org/html/2607.22987#S4.SS1.p3.1),[§5\.1](https://arxiv.org/html/2607.22987#S5.SS1.p2.1)\.
- T\. Chen, S\. Kornblith, M\. Norouzi, and G\. Hinton \(2020\)A simple framework for contrastive learning of visual representations\.InInternational conference on machine learning,pp\. 1597–1607\.Cited by:[5th item](https://arxiv.org/html/2607.22987#S4.I1.i5.p1.4)\.
- J\. Chung, K\. Kastner, L\. Dinh, K\. Goel, A\. C\. Courville, and Y\. Bengio \(2015\)A recurrent latent variable model for sequential data\.Advances in neural information processing systems28\.Cited by:[3rd item](https://arxiv.org/html/2607.22987#S4.I1.i3.p1.2)\.
- S\. Deshpande, R\. Walambe, K\. Kotecha, G\. Selvachandran, and A\. Abraham \(2025\)Advances and applications in inverse reinforcement learning: a comprehensive review\.Neural Computing and Applications,pp\. 1–53\.Cited by:[§2\.2](https://arxiv.org/html/2607.22987#S2.SS2.p1.1)\.
- Y\. Ding, L\. Ma, J\. Ma, M\. Suo, L\. Tao, Y\. Cheng, and C\. Lu \(2019\)Intelligent fault diagnosis for rotating machinery using deep q\-network based health state classification: a deep reinforcement learning approach\.Advanced Engineering Informatics42,pp\. 100977\.Cited by:[§1](https://arxiv.org/html/2607.22987#S1.p2.2),[Table 1](https://arxiv.org/html/2607.22987#S2.T1.1.1.2.1)\.
- J\. Fu, K\. Luo, and S\. Levine \(2018\)Learning robust rewards with adversarial inverse reinforcement learning\.InInternational Conference on Learning Representations \(ICLR\),External Links:[Link](https://openreview.net/forum?id=rkHywl-A-)Cited by:[§1](https://arxiv.org/html/2607.22987#S1.p3.1),[§2\.2](https://arxiv.org/html/2607.22987#S2.SS2.p1.1)\.
- B\. Huang, C\. Yang, C\. Lai, D\. Wu, and S\. Sun \(2024\)Diffusion imitation from observation\.InAdvances in Neural Information Processing Systems,A\. Globerson, L\. Mackey, D\. Belgrave, A\. Fan, U\. Paquet, J\. Tomczak, and C\. Zhang \(Eds\.\),Vol\.37,pp\. 137190–137217\.External Links:[Link](https://proceedings.neurips.cc/paper_files/paper/2024/file/f7faa46b563c2e5343a728c85bace833-Paper-Conference.pdf)Cited by:[§3\.1](https://arxiv.org/html/2607.22987#S3.SS1.p2.2)\.
- F\. Kibrete, D\. E\. Woldemichael, and H\. S\. Gebremedhen \(2024\)Multi\-sensor data fusion in intelligent fault diagnosis of rotating machines: a comprehensive review\.Measurement,pp\. 114658\.Cited by:[§6](https://arxiv.org/html/2607.22987#S6.p2.1)\.
- D\. P\. Kingma and M\. Welling \(2013\)Auto\-encoding variational bayes\.arXiv preprint arXiv:1312\.6114\.Cited by:[2nd item](https://arxiv.org/html/2607.22987#S4.I1.i2.p1.2)\.
- Y\. Lei, N\. Li, L\. Guo, N\. Li, T\. Yan, and J\. Lin \(2018\)Machinery health prognostics: a systematic review from data acquisition to rul prediction\.Mechanical systems and signal processing104,pp\. 799–834\.Cited by:[§4\.3](https://arxiv.org/html/2607.22987#S4.SS3.p2.1),[§5\.2](https://arxiv.org/html/2607.22987#S5.SS2.p1.1)\.
- G\. Li, J\. Wu, C\. Deng, X\. Xu, and X\. Shao \(2021\)Deep reinforcement learning\-based online domain adaptation method for fault diagnosis of rotating machinery\.IEEE/ASME Transactions on Mechatronics27\(5\),pp\. 2796–2805\.Cited by:[Table 1](https://arxiv.org/html/2607.22987#S2.T1.1.1.3.1)\.
- X\. Li, Q\. Ding, and J\. Sun \(2018\)Remaining useful life estimation in prognostics using deep convolution neural networks\.Reliability Engineering & System Safety172,pp\. 1–11\.Cited by:[§4\.3](https://arxiv.org/html/2607.22987#S4.SS3.p2.1),[§5\.2](https://arxiv.org/html/2607.22987#S5.SS2.p1.1)\.
- Z\. Li, H\. Jiang, and Y\. Dong \(2025a\)A convolutional\-transformer reinforcement learning agent for rotating machinery fault diagnosis\.Expert Systems with Applications271,pp\. 126669\.Cited by:[§1](https://arxiv.org/html/2607.22987#S1.p2.2),[Table 1](https://arxiv.org/html/2607.22987#S2.T1.1.1.8.1),[§4\.2\.2](https://arxiv.org/html/2607.22987#S4.SS2.SSS2.p1.1)\.
- Z\. Li, H\. Jiang, and X\. Wang \(2025b\)A novel reinforcement learning agent for rotating machinery fault diagnosis with data augmentation\.Reliability Engineering & System Safety253,pp\. 110570\.Cited by:[§1](https://arxiv.org/html/2607.22987#S1.p2.2),[Table 1](https://arxiv.org/html/2607.22987#S2.T1.1.1.7.1)\.
- F\. T\. Liu, K\. M\. Ting, and Z\. Zhou \(2008\)Isolation forest\.In2008 Eighth IEEE International Conference on Data Mining,pp\. 413–422\.Cited by:[1st item](https://arxiv.org/html/2607.22987#S4.I1.i1.p1.1)\.
- P\. Malhotra, A\. Ramakrishnan, G\. Anand, L\. Vig, P\. Agarwal, and G\. Shroff \(2016\)LSTM\-based encoder\-decoder for multi\-sensor anomaly detection\.arXiv preprint arXiv:1607\.00148\.Cited by:[3rd item](https://arxiv.org/html/2607.22987#S4.I1.i3.p1.2)\.
- W\. Mao, Z\. Chen, Y\. Zhang, and Z\. Zhong \(2024\)Harmony better than uniformity: a new pre\-training anomaly detection method with tensor domain adaptation for early fault evaluation\.Engineering Applications of Artificial Intelligence127,pp\. 107427\.Cited by:[§4\.1](https://arxiv.org/html/2607.22987#S4.SS1.p4.1)\.
- W\. Mao, D\. Zhang, S\. Tian, and J\. Tang \(2020\)Robust detection of bearing early fault based on deep transfer learning\.Electronics9\(2\),pp\. 323\.Cited by:[§5\.1](https://arxiv.org/html/2607.22987#S5.SS1.p3.2)\.
- J\. B\. McQueen \(1967\)Some methods of classification and analysis of multivariate observations\.InProc\. of 5th Berkeley Symposium on Math\. Stat\. and Prob\.,pp\. 281–297\.Cited by:[§3\.4](https://arxiv.org/html/2607.22987#S3.SS4.p2.7)\.
- D\. Neupane, M\. R\. Bouadjenek, R\. Dazeley, and S\. Aryal \(2024a\)A comparative study of semi\-supervised anomaly detection methods for machine fault detection\.InPHM Society European Conference,Vol\.8,pp\. 10–10\.Cited by:[§3\.4](https://arxiv.org/html/2607.22987#S3.SS4.p2.7),[§6](https://arxiv.org/html/2607.22987#S6.p2.1)\.
- D\. Neupane, M\. R\. Bouadjenek, R\. Dazeley, and S\. Aryal \(2024b\)Machinery fault detection using advanced machine learning techniques\.InPHM Society European Conference,Vol\.8,pp\. 4–4\.Cited by:[§1](https://arxiv.org/html/2607.22987#S1.p1.1)\.
- D\. Neupane, M\. R\. Bouadjenek, R\. Dazeley, and S\. Aryal \(2025\)Data\-driven machinery fault diagnosis: a comprehensive review\.Neurocomputing,pp\. 129588\.Cited by:[§1](https://arxiv.org/html/2607.22987#S1.p1.1),[§2\.1](https://arxiv.org/html/2607.22987#S2.SS1.p1.1)\.
- D\. Neupane, R\. Dazeley, M\. R\. Bouadjenek, and S\. Aryal \(2026\)Learning rewards, not labels: adversarial inverse reinforcement learning for machinery fault detection\.InProceedings of the 25th International Conference on Autonomous Agents and Multiagent Systems \(AAMAS\),External Links:[Document](https://dx.doi.org/10.65109/AXYX4522)Cited by:[§1](https://arxiv.org/html/2607.22987#S1.SS0.SSS0.Px1.p1.1)\.
- A\. Y\. Ng, S\. Russell,et al\.\(2000\)Algorithms for inverse reinforcement learning\.\.InIcml,Vol\.1,pp\. 2\.Cited by:[§1](https://arxiv.org/html/2607.22987#S1.p3.1)\.
- R\. Nian, J\. Liu, and B\. Huang \(2020\)A review on reinforcement learning: introduction and applications in industrial process control\.Computers & Chemical Engineering139,pp\. 106886\.Cited by:[§1](https://arxiv.org/html/2607.22987#S1.p1.1)\.
- P\. Nunes, J\. Santos, and E\. Rocha \(2023\)Challenges in predictive maintenance–a review\.CIRP Journal of Manufacturing Science and Technology40,pp\. 53–67\.Cited by:[§2\.1](https://arxiv.org/html/2607.22987#S2.SS1.p1.1)\.
- N\. Otsuet al\.\(1975\)A threshold selection method from gray\-level histograms\.Automatica11\(285\-296\),pp\. 23–27\.Cited by:[§3\.4](https://arxiv.org/html/2607.22987#S3.SS4.p2.7)\.
- C\. Peeters, W\. Wang, D\. Blunt, T\. Verstraeten, and J\. Helsen \(2024\)Fatigue crack detection in planetary gears: insights from the hums2023 data challenge\.Mechanical Systems and Signal Processing212,pp\. 111292\.Cited by:[§5\.1](https://arxiv.org/html/2607.22987#S5.SS1.p1.1)\.
- J\. Pickands III \(1975\)Statistical inference using extreme order statistics\.the Annals of Statistics,pp\. 119–131\.Cited by:[§3\.4](https://arxiv.org/html/2607.22987#S3.SS4.p2.7)\.
- G\. Qian and J\. Liu \(2022\)Development of deep reinforcement learning\-based fault diagnosis method for rotating machinery in nuclear power plants\.Progress in Nuclear Energy152,pp\. 104401\.Cited by:[§1](https://arxiv.org/html/2607.22987#S1.p2.2),[Table 1](https://arxiv.org/html/2607.22987#S2.T1.1.1.4.1)\.
- J\. M\. Ramírez\-Sanz, J\. Maestro\-Prieto, Á\. Arnaiz\-González, and A\. Bustillo \(2023\)Semi\-supervised learning for industrial fault detection and diagnosis: a systemic review\.ISA Transactions\.Cited by:[§1](https://arxiv.org/html/2607.22987#S1.p1.1)\.
- M\. A\. Romo\-Chavero, J\. A\. Cantoral\-Ceballos, J\. A\. Pérez\-Díaz, and C\. Martinez\-Cagnazzo \(2024\)Median absolute deviation for bgp anomaly detection\.Future Internet16\(5\),pp\. 146\.Cited by:[§3\.4](https://arxiv.org/html/2607.22987#S3.SS4.p2.7)\.
- D\. Sacerdoti, M\. Strozzi, and C\. Secchi \(2023\)A comparison of signal analysis techniques for the diagnostics of the ims rolling element bearing dataset\.Applied Sciences13\(10\),pp\. 5977\.Cited by:[§4\.1](https://arxiv.org/html/2607.22987#S4.SS1.p3.1),[§5\.1](https://arxiv.org/html/2607.22987#S5.SS1.p2.1)\.
- M\. Saied, N\. Tahan, K\. Chreif, C\. Francis, and Z\. Noun \(2025\)Development of deep reinforcement learning\-based fault diagnosis method for actuator faults in unmanned aerial vehicles\.The Aeronautical Journal,pp\. 1–17\.Cited by:[Table 1](https://arxiv.org/html/2607.22987#S2.T1.1.1.9.1)\.
- N\. Sawalhi, W\. Wang, and D\. Blunt \(2024\)Helicopter planet gear rim crack diagnosis and trending using cepstrum editing enhanced with deconvolution\.Sensors24\(8\),pp\. 2593\.Cited by:[§4\.1](https://arxiv.org/html/2607.22987#S4.SS1.p2.1),[§6](https://arxiv.org/html/2607.22987#S6.p2.1)\.
- B\. Schölkopf, R\. C\. Williamson, A\. Smola, J\. Shawe\-Taylor, and J\. Platt \(1999\)Support vector method for novelty detection\.Advances in neural information processing systems12\.Cited by:[1st item](https://arxiv.org/html/2607.22987#S4.I1.i1.p1.1)\.
- R\. S\. Sutton and A\. G\. Barto \(2020\)Reinforcement learning: an introduction\.Second edition,Adaptive Computation and Machine Learning,MIT Press,Cambridge, Massachusetts London, England\.Cited by:[§2\.2](https://arxiv.org/html/2607.22987#S2.SS2.p1.1)\.
- F\. Torabi, G\. Warnell, and P\. Stone \(2018\)Generative adversarial imitation from observation\.arXiv preprint arXiv:1807\.06158\.Cited by:[§1](https://arxiv.org/html/2607.22987#S1.SS0.SSS0.Px1.p1.1),[§3\.1](https://arxiv.org/html/2607.22987#S3.SS1.p2.2),[§6](https://arxiv.org/html/2607.22987#S6.p2.1)\.
- F\. Torabi, G\. Warnell, and P\. Stone \(2019\)Adversarial imitation learning from state\-only demonstrations\.InProceedings of the 18th International Conference on Autonomous Agents and MultiAgent Systems,pp\. 2229–2231\.Cited by:[§3\.1](https://arxiv.org/html/2607.22987#S3.SS1.p2.2)\.
- D\. Umsonst, J\. Ruths, and H\. Sandberg \(2022\)Finite sample guarantees for quantile estimation: an application to detector threshold tuning\.IEEE Transactions on Control Systems Technology31\(2\),pp\. 921–928\.Cited by:[§3\.4](https://arxiv.org/html/2607.22987#S3.SS4.p2.7)\.
- R\. Vaerenberg, A\. Ricardo Mauricio, and K\. Gryllias \(2025\)Detecting planet gear crack propagation using fresh filters\.In14th Defence Science & Technology \(DST\) International Conference on Health and Usage Monitoring HUMS2025 Proceedings,Cited by:[§5\.1](https://arxiv.org/html/2607.22987#S5.SS1.p1.1)\.
- B\. Wang, Y\. Lei, N\. Li, and N\. Li \(2020\)A hybrid prognostics approach for estimating remaining useful life of rolling element bearings\.IEEE Transactions on Reliability69\(1\),pp\. 401–412\.External Links:[Document](https://dx.doi.org/10.1109/TR.2018.2882682)Cited by:[§4\.1](https://arxiv.org/html/2607.22987#S4.SS1.p4.1)\.
- W\. Wang, K\. Vos, J\. Taylor, C\. Jenkins, B\. Bala, L\. Whitehead, and Z\. Peng \(2023a\)Is deep learning superior to traditional techniques in machine health monitoring applications\.The Aeronautical Journal127\(1318\),pp\. 2105–2117\.Cited by:[§6](https://arxiv.org/html/2607.22987#S6.p2.1)\.
- W\. Wang, D\. Blunt, and J\. Kappas \(2023b\)Helicopter main gearbox planet gear crack propagation test dataset\.Cited by:[Figure 1](https://arxiv.org/html/2607.22987#S4.F1),[§4\.1](https://arxiv.org/html/2607.22987#S4.SS1.p2.1)\.
- S\. Xiao, Q\. Feng, X\. Li, and H\. Li \(2024\)Research on intelligent fault diagnosis for railway point machines using deep reinforcement learning\.Transportation Safety and Environment6\(4\),pp\. tdae007\.Cited by:[Table 1](https://arxiv.org/html/2607.22987#S2.T1.1.1.6.1)\.
- J\. Xu, H\. Wu, J\. Wang, and M\. Long \(2022\)Anomaly transformer: time series anomaly detection with association discrepancy\.InInternational Conference on Learning Representations \(ICLR\),Cited by:[7th item](https://arxiv.org/html/2607.22987#S4.I1.i7.p1.1)\.
- D\. Yang, H\. R\. Karimi, and M\. Pawelczyk \(2023\)A new intelligent fault diagnosis framework for rotating machinery based on deep transfer reinforcement learning\.Control Engineering Practice134,pp\. 105475\.Cited by:[Table 1](https://arxiv.org/html/2607.22987#S2.T1.1.1.5.1)\.
- X\. Yang, E\. Howley, and M\. Schukat \(2025\)Agent\-based dynamic thresholding for adaptive anomaly detection using reinforcement learning\.Neural Computing and Applications37\(23\),pp\. 18775–18791\.Cited by:[§3\.4](https://arxiv.org/html/2607.22987#S3.SS4.p2.7)\.
- S\. Zhang, S\. Zhang, B\. Wang, and T\. G\. Habetler \(2020\)Deep learning algorithms for bearing fault diagnostics—a comprehensive review\.IEEE access8,pp\. 29857–29881\.Cited by:[§6](https://arxiv.org/html/2607.22987#S6.p2.1)\.
- Z\. Zhao, Q\. Zhang, X\. Yu, C\. Sun, S\. Wang, R\. Yan, and X\. Chen \(2021\)Applications of unsupervised deep transfer learning to intelligent fault diagnosis: a survey and comparative study\.IEEE Transactions on Instrumentation and Measurement70\(\),pp\. 1–28\.External Links:[Document](https://dx.doi.org/10.1109/TIM.2021.3116309)Cited by:[§1](https://arxiv.org/html/2607.22987#S1.p1.1)\.
- C\. Zhou and R\. C\. Paffenroth \(2017\)Anomaly detection with robust deep autoencoders\.InProceedings of the 23rd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining,pp\. 665–674\.Cited by:[2nd item](https://arxiv.org/html/2607.22987#S4.I1.i2.p1.2)\.
- Z\. Zhu, K\. Lin, B\. Dai, and J\. Zhou \(2020\)Off\-policy imitation learning from observations\.Advances in neural information processing systems33,pp\. 12402–12413\.Cited by:[§3\.1](https://arxiv.org/html/2607.22987#S3.SS1.p2.2)\.

Similar Articles

AgentForesight: Online Auditing for Early Failure Prediction in Multi-Agent Systems

arXiv cs.CL

This paper introduces AgentForesight, a framework for online auditing and early failure prediction in LLM-based multi-agent systems. It presents a new dataset, AFTraj-22K, and a specialized model, AgentForesight-7B, which outperforms leading proprietary models in detecting decisive errors during trajectory execution.