Neural component analysis for fault detection

Haitao Zhao

This paper, published in late 2017, introduces Neural Component Analysis (NCA), a hybrid approach to industrial fault detection that combines the nonlinear representational power of neural networks with the statistical rigor of Principal Component Analysis (PCA).

TL;DR

Neural Component Analysis (NCA) improves industrial fault detection by adding orthogonal constraints to a neural network-based autoencoder. This allows the model to learn complex, nonlinear relationships in process data while maintaining the clear separation between "signal" and "noise" that makes traditional PCA so effective.

What Problem Does This Paper Address?

In large-scale industrial plants (like chemical refineries), monitoring thousands of sensors to detect "faults" (malfunctions) is a massive challenge known as Multivariate Statistical Process Monitoring (MSPM).

The industry standard has long been Principal Component Analysis (PCA). PCA is great because it uses "orthogonal projection" to split data into two parts: a principal subspace (the important stuff) and a residual subspace (noise). However, PCA is linear—it fails when process variables have complex, curvy relationships.

Existing nonlinear solutions have major drawbacks:

  1. Kernel PCA (KPCA): Doesn't scale well. It requires an "eigen-decomposition" of a matrix that grows with the number of data points, making it computationally expensive for big data.
  2. Autoencoders (AE): These neural networks are great at nonlinear mapping but lack "orthogonal constraints." Without these constraints, the model often overfits or mixes signal and noise together, making it harder to set reliable alarm thresholds.

Methods

The authors propose Neural Component Analysis (NCA), which is essentially a "nonlinear-encoder, linear-decoder" architecture.

  • The Architecture: The encoder is a standard feedforward neural network that maps high-dimensional input to a lower-dimensional latent space. The decoder, however, is a simple linear transformation matrix ($B$).
  • The Orthogonal Constraint: The core innovation is forcing the decoder matrix to be orthonormal ($B^T B = I$). This mimics PCA’s ability to reduce redundancy and isolate independent features.
  • The Optimization: Since adding a hard constraint to a neural network is difficult, the authors use an iterative two-step training process:
  • Backpropagation: Fix the decoder and update the neural network weights to minimize reconstruction error.
  • Procrustes Rotation: Fix the neural network and update the decoder using a closed-form solution (Singular Value Decomposition) to find the best orthogonal fit.
  • Thresholding: To decide if a data point is a "fault," the model uses $T^2$ and Squared Prediction Error (SPE) statistics. Instead of assuming the data follows a bell curve, they use Kernel Density Estimation (KDE) to set flexible, data-driven alarm limits.

Datasets

The model was evaluated using the Tennessee Eastman Process (TEP) benchmark. This is a world-standard simulation of a real chemical plant (consisting of a reactor, condenser, compressor, separator, and stripper).

  • Variables: 52 continuous and sampled variables.
  • Faults: 21 different fault modes (e.g., step changes in temperature, sticking valves, or random variations in feed composition).

Key Insights and Ideas

  • Bridging the Gap: NCA provides the "best of both worlds." It has the adaptive learning of deep learning (no need to manually pick a kernel like in KPCA) and the structural clarity of PCA.
  • Dimensionality Independence: Unlike KPCA, the computational cost of NCA does not grow with the number of training samples, making it much more suitable for modern "Big Data" industrial environments.
  • Overfitting Mitigation: By forcing the decoder to be linear and orthogonal, the model is less likely to "memorize" noise, which is a common failure mode for standard deep autoencoders in anomaly detection.

Key Results

NCA was compared against PCA, KPCA, and standard Autoencoders across all 21 TEP faults.

  • Superior Detection: NCA achieved the best performance (lowest Missed Detection Rate) in 11 out of 21 cases.
  • Fault 4 Success: In a particularly difficult scenario (Fault 4: reactor cooling water inlet temperature change), PCA had a 39% missed detection rate, and KPCA/AE failed significantly. NCA reduced the missed detection rate to just 5.75%.
  • Efficiency: Despite being an iterative neural network, NCA trained in just 2.58 seconds on a standard GPU, proving it is fast enough for real-world industrial deployment.

Limitations and Future Work

  • Global vs. Local: The authors acknowledge that NCA focuses on the global Euclidean structure of the data. It might miss "local" latent correlations where data points are related only within a small neighborhood.
  • Regularization: The current model relies on the orthogonal constraint for stability. The authors suggest that adding further regularization terms (like sparsity constraints) could further improve performance.
  • Complexity: While faster than KPCA for large datasets, it is still more complex to implement and tune than traditional linear PCA.

Source Code: The authors have made the NCA source code available on GitHub.

Summary updated

Abstract

Principal component analysis (PCA) is largely adopted for chemical process monitoring and numerous PCA-based systems have been developed to solve various fault detection and diagnosis problems. Since PCA-based methods assume that the monitored process is linear, nonlinear PCA models, such as autoencoder models and kernel principal component analysis (KPCA), has been proposed and applied to nonlinear process monitoring. However, KPCA-based methods need to perform eigen-decomposition (ED) on the kernel Gram matrix whose dimensions depend on the number of training data. Moreover, prefixed kernel parameters cannot be most effective for different faults which may need different parameters to maximize their respective detection performances. Autoencoder models lack the consideration of orthogonal constraints which is crucial for PCA-based algorithms. To address these problems, this paper proposes a novel nonlinear method, called neural component analysis (NCA), which intends to train a feedforward neural work with orthogonal constraints such as those used in PCA. NCA can adaptively learn its parameters through backpropagation and the dimensionality of the nonlinear features has no relationship with the number of training samples. Extensive experimental results on the Tennessee Eastman (TE) benchmark process show the superiority of NCA in terms of missed detection rate (MDR) and false alarm rate (FAR). The source code of NCA can be found in https://github.com/haitaozhao/Neural-Component-Analysis.git.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
TEP · Fault 4NCASPE missed detection rate (MDR)5.75%Fault Detection · split: test · fault=4 · statistic=SPE · reduced-dimension=27
Source quote
L704: {{}4} │ {{}39.1(2.50)} │ {{}0.00(24.4)} │ {{}51.1(5.00)} │ {{}81.8(3.75)} │ {{}55.8(0.63)} │ {{}96.3(0.00)} │ {{}63.3(1.25)} │ \textbf{{}5.75}{{}(0.63)}\tabularnewline
TEP · Fault 4NCASPE false alarm rate (FAR)0.63%Fault Detection · split: test · fault=4 · statistic=SPE · reduced-dimension=27
Source quote
L704: {{}4} │ {{}39.1(2.50)} │ {{}0.00(24.4)} │ {{}51.1(5.00)} │ {{}81.8(3.75)} │ {{}55.8(0.63)} │ {{}96.3(0.00)} │ {{}63.3(1.25)} │ \textbf{{}5.75}{{}(0.63)}\tabularnewline
TEP · Fault 7NCASPE missed detection rate (MDR)0.00%-2 vs baselineFault Detection · split: test · fault=7 · statistic=SPE · reduced-dimension=27
Source quote
L710: {{}7} │ \textbf{{}0.00}{{}(0.00)} │ {{}0.00(16.3)} │ \textbf{{}0.00}{{}(0.63)} │ {{}2.0(0.63)} │ \textbf{{}0.00}{{}(0.00)} │ {{}30.1(0.63)} │ \textbf{{}0.00}{{}(0.00)} │ \textbf{{}0.00}{{}(1.88)}\tabularnewline
TEP · Fault 7NCASPE false alarm rate (FAR)1.88%Fault Detection · split: test · fault=7 · statistic=SPE · reduced-dimension=27
Source quote
L710: {{}7} │ \textbf{{}0.00}{{}(0.00)} │ {{}0.00(16.3)} │ \textbf{{}0.00}{{}(0.63)} │ {{}2.0(0.63)} │ \textbf{{}0.00}{{}(0.00)} │ {{}30.1(0.63)} │ \textbf{{}0.00}{{}(0.00)} │ \textbf{{}0.00}{{}(1.88)}\tabularnewline
Reported baseline / comparator measurements (2)
BenchmarkMethodMetricScoreProtocol / Evidence
TEP · Fault 7KPCA baselineSPE missed detection rate (MDR)2.0%Fault Detection · split: test · fault=7 · statistic=SPE · reduced-dimension=27
Source quote
L710: {{}7} │ \textbf{{}0.00}{{}(0.00)} │ {{}0.00(16.3)} │ \textbf{{}0.00}{{}(0.63)} │ {{}2.0(0.63)} │ \textbf{{}0.00}{{}(0.00)} │ {{}30.1(0.63)} │ \textbf{{}0.00}{{}(0.00)} │ \textbf{{}0.00}{{}(1.88)}\tabularnewline
TEP · Fault 7KPCA baselineSPE false alarm rate (FAR)0.63%Fault Detection · split: test · fault=7 · statistic=SPE · reduced-dimension=27
Source quote
L710: {{}7} │ \textbf{{}0.00}{{}(0.00)} │ {{}0.00(16.3)} │ \textbf{{}0.00}{{}(0.63)} │ {{}2.0(0.63)} │ \textbf{{}0.00}{{}(0.00)} │ {{}30.1(0.63)} │ \textbf{{}0.00}{{}(0.00)} │ \textbf{{}0.00}{{}(1.88)}\tabularnewline
BibTeX
@inproceedings{zhao2018neural,
  author = {Haitao Zhao},
  title = {{Neural component analysis for fault detection}},
  booktitle = {Chemometrics},
  year = {2018},
  doi = {10.1016/j.chemolab.2018.02.001},
}

Loading related content...

Figure