Skip to main content
QUICK REVIEW

[Paper Review] An Encoder-Decoder Based Approach for Anomaly Detection with Application in Additive Manufacturing

Baihong Jin, Yingshui Tan|arXiv (Cornell University)|Jul 26, 2019
Anomaly Detection Techniques and ApplicationsComputer Science22 references7 citations
TL;DR

This paper proposes an unsupervised encoder-decoder deep learning model for anomaly detection in additive manufacturing using infrared sensor data. By jointly minimizing reconstruction and regression errors on sequential thermal images, the model detects anomalies—especially temperature non-uniformities—without labeled data, achieving AUC > 0.97 on high-deviation layers and outperforming non-learning baselines.

ABSTRACT

We present a novel unsupervised deep learning approach that utilizes the encoder-decoder architecture for detecting anomalies in sequential sensor data collected during industrial manufacturing. Our approach is designed not only to detect whether there exists an anomaly at a given time step, but also to predict what will happen next in the (sequential) process. We demonstrate our approach on a dataset collected from a real-world testbed. The dataset contains images collected under both normal conditions and synthetic anomalies. We show that the encoder-decoder model is able to identify the injected anomalies in a modern manufacturing process in an unsupervised fashion. In addition, it also gives hints about the temperature non-uniformity of the testbed during manufacturing, which is what we are not aware of before doing the experiment.

Motivation & Objective

  • To develop an unsupervised deep learning approach for detecting anomalies in industrial manufacturing processes using only normal training data.
  • To enable not only anomaly detection but also predictive insight into the progression of anomalies in sequential sensor data.
  • To identify previously undetected temperature non-uniformities in an additive manufacturing testbed using unsupervised analysis of infrared images.
  • To evaluate the model’s performance on synthetic anomalies injected into real-world AM process data, particularly under varying laser power deviations.
  • To compare the proposed method against a simple non-learning baseline using root-mean-square temperature as an anomaly score.

Proposed method

  • The model uses an autoencoder-based encoder-decoder architecture to reconstruct input infrared images from sequential thermal data.
  • The anomaly score is computed as a weighted sum of reconstruction error (MSE between input and reconstructed image) and regression error (MSE between predicted and actual next-frame image).
  • A loss function combines both errors with equal weighting (λ = 1) and is minimized over 500 epochs during training.
  • A detrending technique with a 20-point window is applied to isolate sharp peaks in anomaly scores, enhancing detection of transient anomalies.
  • Spatial scoping is applied as an error metric to improve localization of anomalous regions, particularly in areas with high temperature gradients.
  • A threshold-based detection method uses the maximum line-wise regression score from normal layers to avoid false positives, enabling binary anomaly classification.

Experimental results

Research questions

  • RQ1Can an unsupervised encoder-decoder model detect synthetic anomalies in real additive manufacturing processes without labeled anomalous data?
  • RQ2Does the model’s joint reconstruction and regression loss provide better anomaly detection performance than simple temperature-based baselines?
  • RQ3Can the model reveal hidden process instabilities, such as temperature non-uniformities, that are not directly observable through standard metrics?
  • RQ4How does the model’s performance vary with the magnitude of laser power deviation in injected anomalies?
  • RQ5Can the model distinguish between different anomaly types, such as sharp peaks (transient) and big bumps (sustained thermal gradients), based on anomaly score patterns?

Key findings

  • The model successfully detects injected anomalies in an unsupervised manner, achieving an AUC of 0.976 on layer A1 and 0.972 on layer A2, where laser power deviations are highest.
  • Precision and recall exceed 90% on layers A1 and A2, but drop significantly to lower than 70% on layers A4 and A5 due to smaller laser power deviations and reduced thermal impact.
  • The AUC drops to 0.776 on layer A5, indicating reduced detectability for low-magnitude anomalies, especially those lasting only one scan line.
  • The model identifies previously unknown temperature non-uniformities in the powder bed, particularly in regions with 2°C higher temperatures and steep gradients.
  • The spatial scoping technique effectively highlights large anomaly scores correlated with physical thermal disturbances, improving localization of anomalous regions.
  • The encoder-decoder approach significantly outperforms a non-learning baseline using root-mean-square temperature, as shown by superior ROC curves across all anomalous layers.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.