Feature Selection for Fault Detection and Prediction based on Event Log Analysis

Zhong Li, Matthijs van Leeuwen

Abstract

Modern industrial systems, such as lithography machines, generate vast quantities of heterogeneous data, including continuous sensor readings and categorical event logs. While event logs contain critical diagnostic information, their high dimensionality and the presence of irrelevant "noise" often hinder effective fault detection. This paper presents a novel feature selection framework designed to identify the most relevant event log entries for predicting hardware failures. By transforming both sensor data and logs into a common "anomaly score" space and measuring their correlation via Kendall’s $\tau$ coefficient, the proposed method significantly improves detection accuracy. Experimental results on 12 real-world datasets demonstrate an increase in fault detection rates from 42% to 92%.

1. Introduction

In the semiconductor manufacturing industry, lithography machines are among the most complex systems in existence, comprising intricate subsystems like high-precision lasers, lenses, and robotic wafer-handling arms. To monitor health and prevent costly downtime, these machines generate two primary data streams: multivariate sensor time series (e.g., physical positions, temperatures) and system event logs (textual records of status changes or warnings).

While sensor data provides a direct view of physical performance, event logs offer context that can often predict a failure before it manifests physically. However, a single machine can generate hundreds of unique event types, the vast majority of which are unrelated to any specific hardware fault. This high dimensionality introduces significant noise, leading to increased computational overhead and a high rate of false alarms in unsupervised anomaly detection models. The core challenge addressed in this research is the automated selection of the specific log features that correlate with the physical degradation of a subsystem.

2. Methodology

The authors propose a three-stage pipeline to bridge the gap between categorical log data and numerical sensor measurements, enabling effective feature selection.

2.1 Log Event Vectorization

Unstructured logs are first parsed to identify unique event codes. These are then converted into numerical time series by counting the frequency of each event code within a fixed temporal window (e.g., one day). This step transforms discrete events into a format comparable to sensor data.

2.2 Anomaly-to-Anomaly Mapping

The central innovation of this work is the method used to calculate similarity between logs and sensors. Traditional metrics like Euclidean distance are ineffective because a spike in log frequency (a discrete event) does not look like a gradual drift in a sensor reading (a physical trend).

To solve this, the framework applies anomaly detectors to both the sensor data and the vectorized log counts to generate anomaly scores. This converts both data types into a "degree of outlyingness," creating a common language for comparison. The authors then utilize Kendall’s $\tau$ coefficient to measure the correlation between these scores. This approach prioritizes log events whose anomaly peaks either coincide with or—more importantly—precede sensor anomalies, thereby capturing predictive features.

2.3 Redundancy Removal

Following the initial selection, the framework calculates pairwise correlations between the selected log features. If two features are highly redundant, one is removed to ensure the final model remains computationally efficient and focused on unique information.

3. Experimental Evaluation

The framework was evaluated using 12 real-world datasets collected from the wafer transfer subsystems (load and unload robots) of lithography machines.

  • Data Scale: Each dataset contained 200–400 unique log features and approximately 100,000 total log messages.
  • Fault Diversity: The study included both "Gradual Faults" (predictable wear-and-tear) and "Sudden Faults" (abrupt failures).
  • Baseline Comparison: The authors compared an unsupervised K-Nearest Neighbors (KNN) anomaly detector using the full set of log features against one using only the top 40 features selected by their framework.

4. Results and Discussion

The application of the feature selection framework yielded a dramatic improvement in system performance:

  • Detection Accuracy: Using the original, unrefined log features, the KNN detector successfully identified faults in only 5 out of 12 machines (42%). With the proposed feature selection, the success rate rose to 11 out of 12 machines (92%).
  • Computational Efficiency: By reducing the feature set by approximately 80-90%, the computational burden of the anomaly detection phase was significantly lowered, making the system more suitable for real-time monitoring.
  • Predictive Power: The method successfully identified "precursor" events—logs that triggered before physical deviations were visible in the sensors—shifting the paradigm from reactive fault detection to proactive predictive maintenance.

5. Conclusion and Future Work

This research demonstrates that in high-dimensional log analysis, "less is more." By filtering out irrelevant noise through anomaly-to-anomaly mapping, the proposed framework enables more accurate and efficient fault prediction in complex industrial equipment.

Future work will focus on expanding the diversity of the datasets to include different types of industrial machinery. Additionally, the authors aim to move beyond correlation by incorporating causal discovery algorithms (such as Granger causality) to better distinguish between events that are merely coincident and those that are truly causative of system failure.

Summary updated

BibTeX
@article{li2022feature,
  author = {Zhong Li and Matthijs van Leeuwen},
  title = {{Feature Selection for Fault Detection and Prediction based on Event Log Analysis}},
  journal = {SIGKDD Explor.},
  year = {2022},
  doi = {10.1145/3575637.3575652},
}
Figure