Transferring Complementary Operating Conditions for Anomaly Detection.

Gabriel Michau, Olga FinkarXiv 2020

Abstract

In complex industrial systems, the number of possible fault types is uncountable, making it impossible to train supervised models covering them all. Instead, anomaly detectors are trained on healthy operating condition data and raise an alarm when the data deviate from the healthy conditions, indicating the possible occurrence of faults. Data-driven anomaly detection performance relies on a representative collection of samples of the normal (healthy) class distribution. This means that the samples used to train the model should be sufficient in number and distributed so as to empirically determine the full healthy distribution. But for industrial systems in gradually varying environments or subject to changing usage, acquiring such a comprehensive set of samples would require a long collection period and delay the point at which the anomaly detector could be trained and operational. In this paper, we propose a framework for the transfer of complementary operating conditions between different units, to train more robust anomaly detectors. The domain shift due to different units' specificities needs to be accounted for. This problem is an extension of Unsupervised Domain Adaptation to the one-class classification task. We solve the problem with adversarial deep learning and replace the traditional classification loss, unavailable in one-class problems, with a new loss inspired by a dimensionality reduction tool. This loss enforces the conservation of the inherent variability of each dataset while the adversarial architecture ensures the alignment of the distributions, hence correcting the domain shift. We demonstrate the benefit of this approach using three open source datasets.

Introduction

In industrial settings, training an anomaly detector is a "cold start" challenge. To know what is "abnormal," a model first needs a comprehensive understanding of what is "normal." However, a single machine might take months or years to experience every possible healthy operating condition (different weather, loads, or speeds). If a model hasn't seen a specific healthy condition before, it will trigger a false alarm the moment that condition occurs.

While we could theoretically use data from other similar machines (a "fleet" approach), no two machines are identical due to manufacturing tolerances or wear. This creates a domain shift. Standard Unsupervised Domain Adaptation (UDA) usually relies on class labels (e.g., "Cat" vs. "Dog") to align these datasets. In anomaly detection, we only have one class ("Healthy"), making traditional alignment techniques fail because there are no "anchors" to prevent the model from collapsing all data into a single, meaningless point.

Conceptual overview of the ADAU framework for transferring healthy features across units with domain shift.

Methodology: Adversarial Domain Adaptation

We introduce ADAU (Adversarial Domain Adaptation for Unsupervised anomaly detection), a framework that allows industrial anomaly detectors to "borrow" healthy operating data from different machines to fill gaps in their own training sets. The architecture is composed of three parts:

  1. Feature Encoder ($N_1$): Transforms raw input data into a latent feature space.
  2. Domain Discriminator ($N_2$): A "critic" that tries to guess whether a data point came from the "Source" unit or the "Target" unit. It is connected via a Gradient Reversal Layer (GRL), which forces the encoder to create features that make the two units indistinguishable.
  3. One-Class Classifier ($N_3$): An Extreme Learning Machine (ELM) that performs the final anomaly detection.
Detailed ADAU architecture highlighting the Feature Extractor, Domain Discriminator with GRL, and the One-class classifier.

The Innovation: Multidimensional Scaling (MDS) Loss

Since there are no anomaly labels to guide the alignment, we introduce a loss function inspired by MDS. This loss ensures that if two data points were far apart in the original space (representing different operating conditions), they remain far apart in the latent space. This prevents "mode collapse" and preserves the inherent variability of the healthy data while the adversarial component handles the alignment. Traditionally, you need labels to "anchor" a domain adaptation; this work proves that inter-sample relationships (distances) can serve as a powerful alternative anchor when labels are unavailable.

Experimental Evaluation

The framework was validated across three distinct domains:

  • CWRU Bearing Dataset: Real-world vibration data from motor bearings under different loads. ADAU consistently outperformed "Mixed" training, achieving over 99% Balanced Accuracy even when the target unit had very few training samples.
  • Jet Engine Monitoring (AGTF-30): Simulated data of turbofan engines using real flight profiles. Without alignment, a model trained on one engine's cruise data would flag all other flight phases (takeoff/landing) as anomalies. With ADAU, the Balanced Accuracy reached nearly 100%, successfully identifying actual degradations while ignoring different flight phases.
  • MNIST to MNIST-M: A computer vision benchmark adapted for anomaly detection. ADAU improved the Balanced Accuracy from ~67% (unaligned) to ~90%, proving the method generalizes beyond 1D sensor signals.

Conclusion

ADAU demonstrates that preserving variability is key in one-class problems. By enforcing the MDS loss, the "shape" of the operating conditions is preserved even as the distribution is shifted to match the target. This framework allows a unit to learn what "Hot Weather" looks like without ever experiencing it, significantly reducing the time required to deploy a robust monitor. Future work could extend this to "Multi-source" alignment, allowing a new machine to pull healthy data from an entire fleet simultaneously.

Summary updated

BibTeX
@misc{michau2020transferring,
  author = {Gabriel Michau and Olga Fink},
  title = {{Transferring Complementary Operating Conditions for Anomaly Detection.}},
  year = {2020},
  eprint = {2008.07815},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2008.07815},
}
Figure