Anomaly Detection for Electro-Hydrostatic Actuators using LSTM Autoencoder

arXiv cs.LG Papers

Summary

This paper presents an offline anomaly detection framework using an LSTM autoencoder for Electro-Hydrostatic Actuators (EHAs), achieving an average accuracy of 99.0% and high recall on sensor data, outperforming classical methods.

arXiv:2606.05274v1 Announce Type: new Abstract: Electro-Hydrostatic Actuators (EHAs) are widely used in aerospace and industrial systems, where timely detection of sensor anomalies is essential to ensure safe and reliable operation. However, the large volume and high sampling frequency of EHA sensor data pose challenges for accurate and efficient anomaly detection. Conventional statistical and classical machine-learning methods such as Z-score, Interquartile Range (IQR), Median Absolute Deviation (MAD), Isolation Forest, Gaussian Mixture, and k-means often fail to capture the temporal dependencies inherent in EHA signals, resulting in limited detection accuracy and elevated false-alarm rates. Furthermore, systematic evaluations of data-driven anomaly detection approaches for EHA systems remain scarce, particularly under varying operational conditions. This study presents an offline anomaly-detection framework for univariate EHA sensor signals, focusing on temperature and pressure data collected from a controlled test bench. The method employs a reconstruction-based Long Short-Term Memory (LSTM) autoencoder, calibrated and evaluated using validation-set reconstruction-error distributions. Performance is assessed across multiple fault-injection scenarios using accuracy, precision, recall, and F1-score, complemented by sensitivity analyses under varying operating conditions. The LSTM autoencoder achieved an average accuracy of 99.0\%, precision up to 100\%, recall between 90.2\% and 99.6\%, and F1-scores from 93.1\% to 99.8\%, demonstrating high detection sensitivity and a very low false-alarm rate across all evaluated sensors. These results highlight the feasibility of data-driven offline anomaly detection for EHAs. Future work will focus on adapting the developed framework for an online (real-time) environment.
Original Article
View Cached Full Text

Cached at: 06/05/26, 08:09 AM

# Anomaly Detection for Electro-Hydrostatic Actuators using LSTM Autoencoder.
Source: [https://arxiv.org/html/2606.05274](https://arxiv.org/html/2606.05274)
Nehal AfifiAbdelmonem ElhendawiSUPMICROTECH\-ENSMM, France\.Felix LeitenbergerIPEK \- Institute of Product Engineering, Karlsruhe Institute of Technology \(KIT\), Germany\.Nadine PiatSUPMICROTECH\-ENSMM, France\.Sven MatthiesenIPEK \- Institute of Product Engineering, Karlsruhe Institute of Technology \(KIT\), Germany\.

###### Abstract

Electro\-Hydrostatic Actuators \(EHAs\) are widely used in aerospace and industrial systems, where timely detection of sensor anomalies is essential to ensure safe and reliable operation\. However, the large volume and high sampling frequency of EHA sensor data pose challenges for accurate and efficient anomaly detection\. Conventional statistical and classical machine\-learning methods such as Z\-score, Interquartile Range \(IQR\), Median Absolute Deviation \(MAD\), Isolation Forest, Gaussian Mixture, and k\-means often fail to capture the temporal dependencies inherent in EHA signals, resulting in limited detection accuracy and elevated false\-alarm rates\. Furthermore, systematic evaluations of data\-driven anomaly detection approaches for EHA systems remain scarce, particularly under varying operational conditions\.This study presents an offline anomaly\-detection framework for univariate EHA sensor signals, focusing on temperature and pressure data collected from a controlled test bench\. The method employs a reconstruction\-based Long Short\-Term Memory \(LSTM\) autoencoder, calibrated and evaluated using validation\-set reconstruction\-error distributions\.Performance is assessed across multiple fault\-injection scenarios using accuracy, precision, recall, and F1\-score, complemented by sensitivity analyses under varying operating conditions\. The LSTM autoencoder achieved an average accuracy of 99\.0%, precision up to 100%, recall between 90\.2% and 99\.6%, and F1\-scores from 93\.1% to 99\.8%, demonstrating high detection sensitivity and a very low false\-alarm rate across all evaluated sensors\.These results highlight the feasibility of data\-driven offline anomaly detection for EHAs\. Future work will focus on adapting the developed framework for an online \(real\-time\) environment, enabling the algorithm to detect anomalies while the system is operating\. The goal is to achieve near\-real\-time performance with minimal latency and maintain high accuracy under varying operational conditions\.

###### keywords:

Anomaly Detection, LSTM Autoencoder, Deep Learning, Reconstruction Error, Fault Detection

## 1Introduction

Electro\-Hydrostatic Actuators \(EHAs\) are increasingly deployed in aerospace and industrial systems due to high power density, compactness, and improved energy efficiency compared to conventional hydraulic actuation solutionsQiaoet al\.\([2017](https://arxiv.org/html/2606.05274#bib.bib32)\)\. Because EHAs often operate in safety\-critical contexts, reliable monitoring is essential: sensor anomalies can corrupt state estimation, degrade performance, or mask developing faults\. Modern EHA test benches and fielded systems are instrumented with multiple sensors at high sampling rates, producing large volumes of time\-series measurements during operationGuoet al\.\([2022](https://arxiv.org/html/2606.05274#bib.bib33)\), which makes robust anomaly detection both important and challenging\. Classical statistical methods \(e\.g\., Z\-score, IQR, MAD\) and traditional machine\-learning approaches \(e\.g\., clustering, mixture models, Isolation Forest\) typically rely on stationarity or weak temporal assumptions and therefore struggle to represent the temporal dependencies and nonlinear dynamics characteristic of EHA signalsKhanet al\.\([2025](https://arxiv.org/html/2606.05274#bib.bib34)\)\. Reconstruction\-based deep learning, and in particular LSTM\-based autoencoders, offers a practical alternative because LSTM architectures are designed to capture long\-range temporal dependencies in sequential dataGerset al\.\([2000](https://arxiv.org/html/2606.05274#bib.bib35)\); Zhanget al\.\([2021a](https://arxiv.org/html/2606.05274#bib.bib36)\)\. However, systematic studies applying LSTM\-based anomaly detection to EHA systems, especially under controlled operating conditions and reliability\-oriented evaluation, remain limited\. This paper addresses this gap by proposing an offline LSTM autoencoder framework for univariate EHA sensor signals, calibrated using validation reconstruction\-error distributions and evaluated under fault\-injection scenarios across operating conditions\.

## 2Related Work

Anomaly detection for sensor and actuator systems is widely studied for condition monitoring in safety\-critical domains\. Because labelled fault data are scarce in operational settings, most practical methods adopt unsupervised or semi\-supervised formulations\. Early approaches rely on statistical and shallow\-learning techniques such as threshold monitoring, PCA variants, density estimation, and clusteringPaffenrothet al\.\([2018](https://arxiv.org/html/2606.05274#bib.bib11)\)\. While efficient and interpretable, these techniques often assume stationarity or linear structure and can degrade under nonlinear and temporally correlated actuator telemetry\.

Classical machine\-learning extends this line via one\-class learners and forecasting\-based detection\. One\-Class SVM and Support Vector Data Description model nominal behaviour using a learned boundaryTax and Duin \([2004](https://arxiv.org/html/2606.05274#bib.bib14)\), while autoregressive forecasting flags anomalies through large prediction residualsGünnemannet al\.\([2014](https://arxiv.org/html/2606.05274#bib.bib15)\)\. However, these methods typically struggle to scale to high\-frequency time\-series and to represent long\-horizon temporal dependencies\.

Deep\-learning\-based approaches address these limitations by learning temporal representations directly from data\. Reconstruction\-based autoencoders detect anomalies using elevated reconstruction errorChenet al\.\([2018](https://arxiv.org/html/2606.05274#bib.bib16)\), and recurrent encoder–decoder architectures \(notably LSTM\-based\) further improve performance by explicitly modelling sequence dynamicsZhanget al\.\([2021b](https://arxiv.org/html/2606.05274#bib.bib18)\); Filonovet al\.\([2017](https://arxiv.org/html/2606.05274#bib.bib19)\)\. Variants using convolutional components, variational objectives, or adversarial training have shown strong results across multiple domainsMemarzadehet al\.\([2020](https://arxiv.org/html/2606.05274#bib.bib20)\); Siegel \([2020](https://arxiv.org/html/2606.05274#bib.bib21)\), while hybrid frameworks combine reconstruction, forecasting, and density estimation to improve robustnessZonget al\.\([2018](https://arxiv.org/html/2606.05274#bib.bib24)\)\. A representative LSTM\-autoencoder thresholding pipeline demonstrated strong accuracy and robustness on real\-world environmental sensor dataWeiet al\.\([2023b](https://arxiv.org/html/2606.05274#bib.bib37)\), motivating similar temporal architectures for actuator monitoring\.

Across domains, unsupervised detectors commonly assume abnormal behaviour is statistically distinct from nominal behaviourLeeet al\.\([2001](https://arxiv.org/html/2606.05274#bib.bib38)\)\. This motivates clustering\-based anomaly identificationRajasegararet al\.\([2006](https://arxiv.org/html/2606.05274#bib.bib39)\)and probabilistic approaches based on low likelihood under Bayesian modelsWanget al\.\([2008](https://arxiv.org/html/2606.05274#bib.bib40)\), although distributional drift remains a persistent limitation\. To mitigate drift and deployment constraints, hybrid frameworks fuse statistical residual analysis with deep forecasting or reconstruction signalsMuniret al\.\([2019](https://arxiv.org/html/2606.05274#bib.bib41)\)\. Survey studies summarize trade\-offs among accuracy, computational complexity, and deployabilityErhanet al\.\([2021](https://arxiv.org/html/2606.05274#bib.bib42)\), and recent work emphasizes scalable and efficient pipelines for resource\-constrained and industrial IoT settingsJainet al\.\([2022](https://arxiv.org/html/2606.05274#bib.bib43)\); Nizamet al\.\([2022](https://arxiv.org/html/2606.05274#bib.bib44)\)\. Despite these advances, evaluations on actuator\-specific telemetry under controlled fault\-injection conditions remain limited, particularly for electro\-hydrostatic actuators where prior work is often model\-based or supervised\.

Motivated by these gaps, this work investigates a reconstruction\-based LSTM autoencoder for offline univariate anomaly detection in EHA sensor data for actuator health monitoring\.

## 3Problem Formulation

The anomaly detection literature offers mature families of methods for time\-series monitoring, including statistical detectors, one\-class learning, and deep temporal models\. Nevertheless, evidence is still fragmented with respect to actuator health monitoring: many studies emphasize generic time\-series settings, while comparatively fewer works report rigorous evaluations on actuator sensor streams acquired under controlled fault conditions and across changing operating regimes\. In parallel, labelled fault data remain limited in practice, which constrains purely supervised formulations and motivates approaches that learn nominal behaviour and detect deviations with minimal annotation\.

## 4Contribution\.

To address this gap, the present work investigates an offline, data\-driven anomaly detection framework for*univariate*EHA sensor channels, focusing on capturing the temporal characteristics of nominal operation and identifying anomalous deviations in unseen recordings\. The study is supported by a reliability\-oriented experimental evaluation on high\-resolution test\-bench measurements spanning fault\-injection scenarios and operating conditions, and includes benchmarking against representative baseline detectors to clarify the practical benefits and limitations of the proposed approach\.

## 5Methodology

We employ an offline, reconstruction\-based anomaly detection approach for univariate sensor channels\. The underlying assumption is that a model trained on nominal operation reconstructs normal temporal patterns accurately, whereas anomalous deviations lead to increased reconstruction discrepancy\. To capture temporal dependencies in the signal, we use an LSTM encoder–decoder \(autoencoder\) architecture; the model structure is illustrated in Fig\.[1](https://arxiv.org/html/2606.05274#S5.F1)\. Anomalies are detected by scoring each window using reconstruction error and applying a threshold calibrated from nominal data\.

#### Temporal Data Preprocessing\.

Letx1:T=\{x1,…,xT\}x\_\{1:T\}=\\\{x\_\{1\},\\ldots,x\_\{T\}\\\}withxt∈ℝx\_\{t\}\\in\\mathbb\{R\}denote a univariate sensor signal\. The signal is normalized using statistics computed from nominal training data\. It is then segmented into overlapping windows of fixed lengthLLwith striderr\. Each window is denoted by

𝐱i\\displaystyle\\mathbf\{x\}\_\{i\}=\[xi,…,xi\+L−1\]⊤∈ℝL,\\displaystyle=\\;\[x\_\{i\},\\ldots,x\_\{i\+L\-1\}\]^\{\\top\}\\in\\mathbb\{R\}^\{L\},\(1\)i\\displaystyle i=1,1\+r,1\+2​r,…\\displaystyle=1,1\+r,1\+2r,\\,\\ldots

#### LSTM Autoencoder and Reconstruction Error\.

Given a window𝐱i\\mathbf\{x\}\_\{i\}, the encoder maps the sequence to a latent representation and the decoder produces a reconstruction𝐱^i\\hat\{\\mathbf\{x\}\}\_\{i\}\. The model is trained on nominal windows only by minimizing the average reconstruction loss

\(θ⋆,ϕ⋆\)\\displaystyle\(\\theta^\{\\star\},\\phi^\{\\star\}\)=arg⁡minθ,ϕ⁡1N​∑i=1Nℓ​\(𝐱i,𝐱^i\),\\displaystyle=\\;\\arg\\min\_\{\\theta,\\phi\}\\ \\frac\{1\}\{N\}\\sum\_\{i=1\}^\{N\}\\ell\(\\mathbf\{x\}\_\{i\},\\hat\{\\mathbf\{x\}\}\_\{i\}\),\(2\)𝐱^i\\displaystyle\\hat\{\\mathbf\{x\}\}\_\{i\}=gϕ​\(fθ​\(𝐱i\)\)\.\\displaystyle=\\;g\_\{\\phi\}\\\!\\left\(f\_\{\\theta\}\(\\mathbf\{x\}\_\{i\}\)\\right\)\.In this work,ℓ​\(⋅,⋅\)\\ell\(\\cdot,\\cdot\)is defined as the mean absolute error \(MAE\),

ℓ​\(𝐱i,𝐱^i\)\\displaystyle\\ell\(\\mathbf\{x\}\_\{i\},\\hat\{\\mathbf\{x\}\}\_\{i\}\)=1L​∑j=1L\|xi\+j−1−x^i\+j−1\|,\\displaystyle=\\;\\frac\{1\}\{L\}\\sum\_\{j=1\}^\{L\}\\left\|x\_\{i\+j\-1\}\-\\hat\{x\}\_\{i\+j\-1\}\\right\|,\(3\)We adopt MAE because it preserves the physical units of the sensor signal and is less sensitive to occasional large spikes compared to squared\-error losses, which improved empirical stability in our experiments\. Training uses gradient\-based optimization with early stopping based on nominal validation loss\.

![Refer to caption](https://arxiv.org/html/2606.05274v1/x1.png)Figure 1:LSTM autoencoder architecture with reconstruction for nominal temporal behaviour\.
#### Anomaly Score and Thresholding\.

For each window, we define an anomaly score as its reconstruction error:

Ei\\displaystyle E\_\{i\}=ℓ​\(𝐱i,𝐱^i\),y^i\\displaystyle=\\;\\ell\(\\mathbf\{x\}\_\{i\},\\hat\{\\mathbf\{x\}\}\_\{i\}\),\\hat\{y\}\_\{i\}\\;=𝕀​\[Ei\>τ\]\.\\displaystyle=\\;\\mathbb\{I\}\[E\_\{i\}\>\\tau\]\.\(4\)A decision thresholdτ\\tauis calibrated from nominal reconstruction errors \(e\.g\., using an upper\-tail cutoff such as a high quantile or a conservative maximum\-error rule\)\. Due to window overlap, sustained deviations typically yield consecutive anomalous windows, facilitating event\-level localization in offline analysis\.

Algorithm 1Offline reconstruction anomaly detection using an LSTM AE1:Nominal signal

x1:Tx\_\{1:T\}, test signal

x1:U′x^\{\\prime\}\_\{1:U\}, window length

LL, stride

rr
2:Test\-window scores

\{Ei′\}\\\{E^\{\\prime\}\_\{i\}\\\}and labels

\{y^i\}\\\{\\hat\{y\}\_\{i\}\\\}
3:Normalize using nominal training statistics; extract windows

\{𝐱i\},\{𝐱i′\}\\\{\\mathbf\{x\}\_\{i\}\\\},\\\{\\mathbf\{x\}^\{\\prime\}\_\{i\}\\\}via \([1](https://arxiv.org/html/2606.05274#S5.E1)\)\.

4:Train LSTM\-AE on

\{𝐱i\}\\\{\\mathbf\{x\}\_\{i\}\\\}by minimizing MAE loss \([2](https://arxiv.org/html/2606.05274#S5.E2)\)–\([3](https://arxiv.org/html/2606.05274#S5.E3)\)\.

5:Compute nominal errors

Ei=ℓ​\(𝐱i,𝐱^i\)E\_\{i\}=\\ell\(\\mathbf\{x\}\_\{i\},\\hat\{\\mathbf\{x\}\}\_\{i\}\)and set threshold

τ\\taufrom their upper tail\.

6:for alltest windows

𝐱i′\\mathbf\{x\}^\{\\prime\}\_\{i\}do

7:Reconstruct

𝐱^i′\\hat\{\\mathbf\{x\}\}^\{\\prime\}\_\{i\}; compute

Ei′=ℓ​\(𝐱i′,𝐱^i′\)E^\{\\prime\}\_\{i\}=\\ell\(\\mathbf\{x\}^\{\\prime\}\_\{i\},\\hat\{\\mathbf\{x\}\}^\{\\prime\}\_\{i\}\)\.

8:Predict

y^i←𝕀​\[Ei′\>τ\]\\hat\{y\}\_\{i\}\\leftarrow\\mathbb\{I\}\[E^\{\\prime\}\_\{i\}\>\\tau\]using \([4](https://arxiv.org/html/2606.05274#S5.E4)\)\.

9:endfor

## 6Experimental Setup

All measurements used in this study were acquired on a controlled EHA test bench and measurement infrastructure described inLeitenberger and Matthiesen \([2021](https://arxiv.org/html/2606.05274#bib.bib1)\); Dörret al\.\([2022](https://arxiv.org/html/2606.05274#bib.bib3)\)\. The experimental platform provides repeatable operation under well defined regimes and synchronized high frequency sensing, supporting a reliability oriented evaluation\.

### 6\.1EHA Test Bench

The employed actuator design is shown in Fig\.[2](https://arxiv.org/html/2606.05274#S6.F2)\. The bench is operated using an ADwin Pro2 measurement and control system interfaced via EtherCAT to an external inverter\. The outer position control loop runs at 2 kHz using a magnetostrictive position senso, while the internal speed and current loops are implemented on the inverter at 4 kHz and 16 kHz, respectively\.

![Refer to caption](https://arxiv.org/html/2606.05274v1/figures/eha_design.png)Figure 2:Design of the EHA used in the experimental setupLeitenberger and Matthiesen \([2021](https://arxiv.org/html/2606.05274#bib.bib1)\)\.Experiments were conducted under two representative load conditions\. The first is an inertial load realized by an attached mass of 11\.83 kg\. The second is a spring load with stiffness 241\.381 N/mm\. The bench is instrumented with multiple sensors; this study reports results on univariate temperature and pressure channels recorded as continuous time series at high sampling rate, capturing transient dynamics and regime dependent behaviour\.

### 6\.2Data Acquisition

Recordings were checked for invalid or missing samples\. Temperature and pressure signals were acquired as continuous time series and prepared consistently with the preprocessing described in the Methodology section\. The dataset was split into training and test subsets using a 70/30 ratio\. The anomaly detection model was trained exclusively on nominal data\.

### 6\.3Dataset Construction and Labelling

To obtain a clean nominal training set, a channel wise sigma filtering rule was applied on fault free recordings\. For each sensor channel, the meanμ\\muand standard deviationσ\\sigmawere computed from nominal samples, and observations exceeding

x​\(t\)\\displaystyle x\(t\)\>μ\+k​σ,k∈\{3,4\}\\displaystyle\>\\;\\mu\+k\\sigma,\\;\\;\\;\\;k\\;\\in\\;\\\{3,4\\\}\(5\)
![Refer to caption](https://arxiv.org/html/2606.05274v1/x2.png)\(a\)Sensor distribution andμ\+k​σ\\mu\+k\\sigmabounds\.
![Refer to caption](https://arxiv.org/html/2606.05274v1/figures/training_set_creation.png)\(b\)Nominal training set\.
![Refer to caption](https://arxiv.org/html/2606.05274v1/figures/test_set_creation.png)\(c\)Test set labeling\.

Figure 3:Dataset preparation and evaluation protocol\.were removed, wherekkwas selected according to channel variability\. The test set preserves the full sensor range and contains nominal and anomalous segments\. For quantitative reporting, binary evaluation labels follow the same operational definition, withx​\(t\)≤μ\+k​σx\(t\)\\leq\\mu\+k\\sigmatreated as nominal andx​\(t\)\>μ\+k​σx\(t\)\>\\mu\+k\\sigmatreated as anomalous\. These labels are used only for evaluation and do not enter training\. Figure[3](https://arxiv.org/html/2606.05274#S6.F3)summarizes the nominal distribution used to selectσ\\sigmabounds, the nominal filtering procedure used for training set construction, and the test set labeling workflow\.

## 7Results

The proposed LSTM\-AE is evaluated using offline EHA datasets under nominal and fault\-injection conditions\. The model is trained exclusively on nominal data, with a chronological validation split used for early stopping and threshold calibration\. The final training configuration and hyperparameters are summarized in Table[1](https://arxiv.org/html/2606.05274#S7.T1)\.

Table 1:LSTM\-AE training parameters\.Model convergence is illustrated in Fig\.[4](https://arxiv.org/html/2606.05274#S7.F4), which shows smooth and stable training and validation loss curves over the training epochs, indicating effective optimisation and good generalisation without overfitting\.

![Refer to caption](https://arxiv.org/html/2606.05274v1/figures/training_validation_loss.png)Figure 4:Training and validation loss of LSTM\-AE\.Detection performance is assessed using classification metrics, including accuracy, precision, recall, F1\-score, and ROC–AUC\. To provide a system\-level evaluation, results are reported as averages across representative pressure and temperature sensor channels\.

Table 2:Comparative performance of baseline models and the proposed LSTM\-AE, averaged across key EHA sensor signals\.Table[2](https://arxiv.org/html/2606.05274#S7.T2)compares the proposed LSTM\-AE with statistical, classical machine\-learning, and deep autoencoder baselines\. Statistical methods and classical models achieve high nominal accuracy but exhibit near\-zero precision and F1\-scores due to class imbalance and the absence of temporal modelling\. Deep autoencoder baselines improve reconstruction fidelity but remain limited in recall and robustness\. In contrast, the LSTM\-AE consistently achieves high precision, recall exceeding 90%, and ROC–AUC values close to unity across sensors, demonstrating a substantially improved balance between sensitivity and false\-alarm suppression\. Qualitative inspection supports the quantitative findings\. Fig\.[5](https://arxiv.org/html/2606.05274#S7.F5)and Fig\.[6](https://arxiv.org/html/2606.05274#S7.F6)show representative spike events, where abrupt transients in the raw sensor signal are correctly identified as anomalies\. Detected anomalies form coherent segments rather than isolated points, while normal fluctuations before and after the event are not falsely flagged\. This highlights the benefit of temporal context in suppressing spurious alarms\.

![Refer to caption](https://arxiv.org/html/2606.05274v1/figures/spike_event_short.png)Figure 5:Spike event example: raw sensor signal \(blue\) and detected anomalies \(red\)\.![Refer to caption](https://arxiv.org/html/2606.05274v1/figures/spike_event_long.png)Figure 6:Sustained spike event: raw sensor signal \(blue\) and detected anomalies \(red\)\.Table 3:Comparison with representative anomaly detection approaches reported in the literature\.
## 8Discussion

The results indicate that modeling temporal dependencies with an LSTM AE yields more reliable anomaly detection on EHA sensor streams than non temporal baselines\. The main contribution is a practical detection pipeline that achieves a favorable precision recall trade off across both pressure and temperature signals, and qualitatively produces contiguous anomalous segments rather than isolated outliers, which is more suitable for condition monitoring\. The baseline comparison also highlights that high accuracy is not informative under class imbalance, as several detectors appear accurate while exhibiting near zero precision and F1 score\. In contrast, the LSTM AE improves precision, recall, and ROC AUC, consistent with improved separability when temporal structure is represented\. Three key limitations were noted, labels are derived from a transparentσ\\sigma\-rule, yet may not reflect fault criticality or slow degradation that remains within nominal bounds; the analysis is univariate and therefore does not exploit cross\-channel dependencies; and performance depends on threshold calibration, which may require retuning under regime shifts or sensor drift\. Addressing these in future work would strengthen the link between anomaly detection outputs and maintenance decision\-making\.

## 9Conclusion

This work developed an offline anomaly detection pipeline for unlabeled EHA sensor time\-series using a univariate LSTM autoencoder\. The model learns nominal temporal dynamics from data and flags deviations through reconstruction error, avoiding the need for fault labels during training\. The workflow includes sigma\-based cleaning, z\-score normalization, sliding\-window segmentation, and validation\-based threshold selection to support reproducible evaluation\. Test\-bench experiments with expert\-defined fault injections showed high detection performance across operating conditions, with accuracy above99%99\\%and low false\-alarm rates relative to statistical and conventional machine\-learning baselines, indicating that reconstruction\-based sequence models are suitable for offline EHA condition monitoring\. Key limitations are that evaluation labels follow an operationalσ\\sigma\-rule that may not reflect fault criticality or slow within\-bounds degradation, the univariate setup does not capture cross\-channel dependencies, and thresholds may require retuning under regime shifts or sensor drift\. Future work will address these points by extending the method to real\-time deployment \(e\.g\., compression and low\-latency inference\), integrating multivariate sensor fusion, broadening fault coverage for validation, and assessing robustness under long\-term operational conditions\.\{acknowledgement\}This research was funded by the Federal Ministry for economic Affairs and Climate Action under the funding number 20Y1910E\. While preparing this work, the authors used AI tools such as deepl\.com and Gemini 3 to improve readability and language\. After utilizing these tools, the authors reviewed and edited the content as necessary\. The authors take full responsibility for the publication’s content\.

## References

- Z\. Chen, C\. K\. Yeo, B\. S\. Lee, and C\. T\. Lau \(2018\)Autoencoder\-based network anomaly detection\.InWireless Telecommunications Symposium,pp\.\.External Links:[Document](https://dx.doi.org/)Cited by:[§2](https://arxiv.org/html/2606.05274#S2.p3.1)\.
- M\. Dörr, F\. Leitenberger, K\. Wolter, S\. Matthiesen, and T\. Gwosch \(2022\)Model based control design of an eha position control based on multicriteria optimization\.Machines\(\)\.External Links:Link,ISSN,[Document](https://dx.doi.org/10.3390/machines10121190)Cited by:[§6](https://arxiv.org/html/2606.05274#S6.p1.1)\.
- L\. Erhan, M\. Ndubuaku, M\. Di Mauro, W\. Song, M\. Chen, G\. Fortino, O\. Bagdasar, and A\. Liotta \(2021\)Smart anomaly detection in sensor systems: a multi\-perspective review\.Information Fusion67,pp\. 64–79\.External Links:ISSN 1566\-2535,[Document](https://dx.doi.org/https%3A//doi.org/10.1016/j.inffus.2020.10.001),[Link](https://www.sciencedirect.com/science/article/pii/S1566253520303717)Cited by:[§2](https://arxiv.org/html/2606.05274#S2.p4.1)\.
- P\. Filonov, F\. Kitashov, and A\. Lavrentyev \(2017\)RNN\-based early cyber\-attack detection for the tennessee eastman process\.External Links:1709\.02232Cited by:[§2](https://arxiv.org/html/2606.05274#S2.p3.1)\.
- F\. Gers, J\. Schmidhuber, and F\. Cummins \(2000\)Learning to forget: continual prediction with lstm\.Neural Computation12,pp\. 2451–2471\.External Links:[Document](https://dx.doi.org/10.1162/089976600300015015)Cited by:[§1](https://arxiv.org/html/2606.05274#S1.p1.1)\.
- S\. Günnemann, N\. Günnemann, and C\. Faloutsos \(2014\)Robust multivariate autoregression for anomaly detection in dynamic product ratings\.InProceedings of the 23rd International World Wide Web Conference,pp\. 361–372\.External Links:[Document](https://dx.doi.org/10.1145/2566486.2568008)Cited by:[§2](https://arxiv.org/html/2606.05274#S2.p2.1)\.
- T\. Guo, X\. Han, T\. Minav, and Y\. Fu \(2022\)A preliminary design method of high\-power electro\-hydrostatic actuators considering design robustness\.Actuators11\(11\)\.External Links:[Link](https://www.mdpi.com/2076-0825/11/11/308),ISSN 2076\-0825,[Document](https://dx.doi.org/10.3390/act11110308)Cited by:[§1](https://arxiv.org/html/2606.05274#S1.p1.1)\.
- P\. Jain, S\. Jain, O\. R\. Zaïane, and A\. Srivastava \(2022\)Anomaly detection in resource constrained environments with streaming data\.IEEE Transactions on Emerging Topics in Computational Intelligence6\(3\),pp\. 649–659\.External Links:[Document](https://dx.doi.org/10.1109/TETCI.2021.3070660)Cited by:[§2](https://arxiv.org/html/2606.05274#S2.p4.1)\.
- M\. A\. Khan, J\. Jang, N\. Iqbal, H\. Jamil, S\. S\. A\. Naqvi, S\. Khan, J\. Kim, and D\. Kim \(2025\)Enhancing patient rehabilitation predictions with a hybrid anomaly detection model: density\-based clustering and interquartile range methods\.CAAI Transactions on Intelligence Technology\.Cited by:[§1](https://arxiv.org/html/2606.05274#S1.p1.1)\.
- W\. Lee, S\.J\. Stolfo, P\.K\. Chan, E\. Eskin, W\. Fan, M\. Miller, S\. Hershkop, and J\. Zhang \(2001\)Real time data mining\-based intrusion detection\.InProceedings DARPA Information Survivability Conference and Exposition II\.,Vol\.,pp\.\.External Links:[Document](https://dx.doi.org/10.1109/DISCEX.2001.932195)Cited by:[§2](https://arxiv.org/html/2606.05274#S2.p4.1)\.
- F\. Leitenberger and S\. Matthiesen \(2021\)Architecture of the digital twin in product validation for the application in virtual\-physical testing to investigate system reliability\.InDS 111: Proceedings of the 32nd Symposium Design for X \(DFX2021\),Note:External Links:[Document](https://dx.doi.org/)Cited by:[Figure 2](https://arxiv.org/html/2606.05274#S6.F2),[Figure 2](https://arxiv.org/html/2606.05274#S6.F2.3.2),[§6](https://arxiv.org/html/2606.05274#S6.p1.1)\.
- S\. Li and W\. He \(2019\)VidAnomaly: lstm\-autoencoder\-based adversarial learning for one\-class video classification with multiple dynamic images\.InProceedings of the IEEE International Conference on Big Data \(Big Data\),pp\.\.External Links:[Document](https://dx.doi.org/10.1109/BigData47090.2019.9006260)Cited by:[Table 3](https://arxiv.org/html/2606.05274#S7.T3.1.5.3.1.1.1)\.
- M\. Memarzadeh, B\. Matthews, and I\. Avrekh \(2020\)Unsupervised anomaly detection in flight data using convolutional variational auto\-encoder\.Aerospace7\(8\)\.External Links:[Document](https://dx.doi.org/10.3390/aerospace7080115)Cited by:[§2](https://arxiv.org/html/2606.05274#S2.p3.1)\.
- M\. Munir, S\. A\. Siddiqui, M\. A\. Chattha, A\. Dengel, and S\. Ahmed \(2019\)FuseAD: unsupervised anomaly detection in streaming sensors data by fusing statistical and deep learning models\.Sensors19\(11\)\.External Links:[Link](https://www.mdpi.com/1424-8220/19/11/2451),ISSN 1424\-8220,[Document](https://dx.doi.org/10.3390/s19112451)Cited by:[§2](https://arxiv.org/html/2606.05274#S2.p4.1)\.
- H\. Nguyen, K\. Tran, S\. Thomassey, and M\. Hamad \(2021\)Forecasting and anomaly detection approaches using lstm and lstm autoencoder techniques with applications in supply chain management\.International Journal of Information Management57,pp\. 102282\.External Links:ISSN 0268\-4012,[Document](https://dx.doi.org/10.1016/j.ijinfomgt.2020.102282),[Link](https://www.sciencedirect.com/science/article/pii/S026840122031481X)Cited by:[Table 3](https://arxiv.org/html/2606.05274#S7.T3.1.4.2.1.1.1)\.
- H\. Nizam, S\. Zafar, Z\. Lv, F\. Wang, and X\. Hu \(2022\)Real\-time deep anomaly detection framework for multivariate time\-series data in industrial iot\.IEEE Sensors Journal\(\),pp\.\.External Links:[Document](https://dx.doi.org/10.1109/JSEN.2022.3211874)Cited by:[§2](https://arxiv.org/html/2606.05274#S2.p4.1)\.
- R\. Paffenroth, K\. Kay, and L\. Servi \(2018\)Robust pca for anomaly detection in cyber networks\.arXiv\.External Links:1801\.01571Cited by:[§2](https://arxiv.org/html/2606.05274#S2.p1.1)\.
- G\. Qiao, G\. Liu, Z\. Shi, Y\. Wang, S\. Ma, and T\. Lim \(2017\)A review of electromechanical actuators for more/all electric aircraft systems\.Proceedings of the Institution of Mechanical Engineers, Part C: Journal of Mechanical Engineering Science232,pp\. 095440621774986\.External Links:[Document](https://dx.doi.org/10.1177/0954406217749869)Cited by:[§1](https://arxiv.org/html/2606.05274#S1.p1.1)\.
- S\. Rajasegarar, C\. Leckie, M\. Palaniswami, and J\. C\. Bezdek \(2006\)Distributed anomaly detection in wireless sensor networks\.In2006 10th IEEE Singapore International Conference on Communication Systems,Vol\.,pp\. 1–5\.External Links:[Document](https://dx.doi.org/10.1109/ICCS.2006.301508)Cited by:[§2](https://arxiv.org/html/2606.05274#S2.p4.1)\.
- B\. Sharma, P\. Pokharel, and B\. Joshi \(2020\)User behavior analytics for anomaly detection using lstm autoencoder – insider threat detection\.InProceedings of the 11th International Conference on Advances in Information Technology \(IAIT ’20\),Bangkok, Thailand\.External Links:ISBN 9781450377591,[Document](https://dx.doi.org/10.1145/3406601.3406610),[Link](https://doi.org/10.1145/3406601.3406610)Cited by:[Table 3](https://arxiv.org/html/2606.05274#S7.T3.1.6.4.1.1.1)\.
- B\. Siegel \(2020\)Industrial anomaly detection: a comparison of unsupervised neural network architectures\.IEEE Sensors Letters4\(8\)\.External Links:[Document](https://dx.doi.org/10.1109/LSENS.2020.3007880)Cited by:[§2](https://arxiv.org/html/2606.05274#S2.p3.1)\.
- D\. M\. J\. Tax and R\. P\. W\. Duin \(2004\)Support vector data description\.Machine Learning\(\),pp\.\.Cited by:[§2](https://arxiv.org/html/2606.05274#S2.p2.1)\.
- P\. H\. Tran, C\. Heuchenne, and S\. Thomassey \(2020\)An anomaly detection approach based on the combination of lstm autoencoder and isolation forest for multivariate time series data\.InDevelopments of Artificial Intelligence Technologies in Computation and Robotics,pp\.\.External Links:[Document](https://dx.doi.org/),LinkCited by:[Table 3](https://arxiv.org/html/2606.05274#S7.T3.1.7.5.1.1.1)\.
- X\. R\. Wang, J\. T\. Lizier, O\. Obst, M\. Prokopenko, and P\. Wang \(2008\)Spatiotemporal anomaly detection in gas monitoring sensor networks\.InWireless Sensor Networks,R\. Verdone \(Ed\.\),Berlin, Heidelberg,pp\. 90–105\.External Links:ISBN 978\-3\-540\-77690\-1Cited by:[§2](https://arxiv.org/html/2606.05274#S2.p4.1)\.
- Y\. Wei, J\. Jang\-Jaccard, W\. Xu, F\. Sabrina, S\. Camtepe, and R\. Boulic \(2023a\)LSTM\-autoencoder\-based anomaly detection for indoor air quality time\-series data\.IEEE Sensors Journal23\(4\),pp\. 3787–3800\.External Links:[Document](https://dx.doi.org/10.1109/JSEN.2022.3230361)Cited by:[Table 3](https://arxiv.org/html/2606.05274#S7.T3.1.1.2.1.1)\.
- Y\. Wei, J\. Jang\-Jaccard, W\. Xu, F\. Sabrina, S\. Camtepe, and M\. Boulic \(2023b\)LSTM\-autoencoder\-based anomaly detection for indoor air quality time\-series data\.IEEE Sensors Journal23\(4\),pp\. 3787–3800\.External Links:[Document](https://dx.doi.org/10.1109/JSEN.2022.3230361)Cited by:[§2](https://arxiv.org/html/2606.05274#S2.p3.1)\.
- C\. Yin, S\. Zhang, J\. Wang, and N\. N\. Xiong \(2022\)Anomaly detection based on convolutional recurrent autoencoder for iot time series\.IEEE Transactions on Systems, Man, and Cybernetics: Systems\(\),pp\.\.External Links:[Document](https://dx.doi.org/)Cited by:[Table 3](https://arxiv.org/html/2606.05274#S7.T3.1.3.1.1.1.1)\.
- B\. Zhang, G\. Zou, D\. Qin, Y\. Lu, Y\. Jin, and H\. Wang \(2021a\)A novel encoder\-decoder model based on read\-first lstm for air pollutant prediction\.Science of The Total Environment,pp\.\.External Links:ISSN,[Document](https://dx.doi.org/https%3A//doi.org/10.1016/j.scitotenv.2020.144507),[Link](https://www.sciencedirect.com/science/article/pii/S0048969720380384)Cited by:[§1](https://arxiv.org/html/2606.05274#S1.p1.1)\.
- B\. Zhang, G\. Zou, D\. Qin, Y\. Lu, Y\. Jin, and H\. Wang \(2021b\)A novel encoder–decoder model based on read\-first lstm for air pollutant prediction\.Science of the Total Environment,pp\.\.External Links:[Document](https://dx.doi.org/)Cited by:[§2](https://arxiv.org/html/2606.05274#S2.p3.1)\.
- B\. Zong, Q\. Song, M\. R\. Min, W\. Cheng, C\. Lumezanu, D\. Cho, and H\. Chen \(2018\)Deep autoencoding gaussian mixture model for unsupervised anomaly detection\.International Conference on Learning Representations\.Cited by:[§2](https://arxiv.org/html/2606.05274#S2.p3.1)\.

Similar Articles

Evaluating Transformer and LSTM Frameworks for Prediction in Ungauged Basins

arXiv cs.AI

This paper evaluates encoder-only Transformer and LSTM models for streamflow prediction in ungauged basins using NOAA's National Water Model simulations. Results show LSTM outperforms Transformer, and incorporating downstream information significantly improves prediction skill across both architectures.

HalluSAE: Detecting Hallucinations in Large Language Models via Sparse Auto-Encoders

arXiv cs.CL

Researchers from Beihang University and other institutions propose HalluSAE, a framework using sparse autoencoders and phase transition theory to detect hallucinations in LLMs by modeling generation as trajectories through a potential energy landscape and identifying critical transition zones where factual errors occur.