Predictive Maintenance for General Aviation Using Convolutional Transformers

Hong Yang, Aidan P. LaBella, Travis Desell

Abstract

Predictive maintenance in general aviation offers the potential to enhance safety and reduce operational costs by identifying mechanical failures before they occur. However, the field is hampered by data scarcity and the challenges of processing long-duration multivariate time series (MTS) flight data. This paper introduces NGAFID-MC, a comprehensive open-access dataset for aircraft maintenance classification, and proposes a novel Convolutional Multiheaded Self Attention (Conv-MHSA) architecture. By combining 1D convolutional layers for efficient feature extraction with Transformer-style attention mechanisms, the Conv-MHSA model achieves superior classification accuracy and up to a 15x training speedup over traditional Recurrent Neural Networks (RNNs).

Introduction

In the general aviation sector, maintenance strategies are predominantly reactive or scheduled based on fixed intervals. Transitioning to predictive maintenance—leveraging sensor data to anticipate failures—could significantly improve safety margins and financial efficiency. Despite its promise, two primary obstacles remain: the lack of large-scale, labeled, public flight datasets and the technical difficulty of modeling long-horizon dependencies in high-frequency sensor data. Standard sequence models like LSTMs often suffer from vanishing gradients when processing flights that span thousands of seconds.

The NGAFID-MC Dataset

To address the data gap, this work introduces the NGAFID Maintenance Classification (NGAFID-MC) dataset. It comprises over 7,500 labeled flights, totaling more than 11,500 hours of real-world data from Cessna 172S aircraft. Each flight includes 23 sensor parameters (e.g., RPM, oil pressure, pitch, roll) recorded at 1Hz. Flights are categorized as "pre-maintenance" or "post-maintenance" specifically for two mechanical issues: intake gasket leaks (Cluster 28) and rocker cover issues (Cluster 37). Unlike synthetic benchmarks, NGAFID-MC captures the complexities of actual flight operations with sequences often exceeding 4,000 timesteps.

Proposed Methodology: Conv-MHSA

The authors propose Conv-MHSA, a hybrid architecture designed to handle the scale and complexity of flight data.

The Conv-MHSA architecture integrates 1D convolutions for downsampling and feature extraction followed by Transformer encoder layers for global sequence modeling.

The model consists of three primary components:

  1. 1D Convolutional Layers: These layers serve as local feature extractors, capturing immediate relationships between sensors while downsampling the input to reduce the computational burden on subsequent layers.
  2. Multiheaded Self Attention (MHSA): Borrowing from Transformer architectures, MHSA layers allow the model to attend to the entire flight duration simultaneously. This enables the detection of correlations between events separated by long time intervals, such as a takeoff anomaly influencing a landing-phase prediction.
  3. Time-Series Augmentation: To improve generalization, the authors adapted image-processing techniques—Cutout, Mixup, and Cutmix—for time-series data. These methods help the model remain robust against noise and prevent overfitting, particularly on smaller subsets like the C37 cluster.

Results and Discussion

The Conv-MHSA model consistently outperformed baseline Convolutional LSTMs. For the C28 maintenance cluster, it achieved an ROC-AUC of 0.826 and a PR-AUC of 0.802. Beyond accuracy, the architecture proved highly efficient; training on Google Cloud TPUs was 15x faster than standard Conv-LSTM models. Furthermore, Conv-MHSA is significantly more parameter-efficient, utilizing only 7.9M parameters compared to over 24.7M in the LSTM baselines.

Attention maps from the third encoder layer demonstrate the model's ability to focus on specific time steps across the entire flight duration.

Visualization of the attention maps (Figure 3) confirms that the model successfully attends to dependencies spanning over 300 time units, a feat that traditional RNNs struggle to achieve. Interestingly, unsupervised approaches like Variational Autoencoders (VAEs) failed to distinguish between pre- and post-maintenance flights, suggesting that maintenance signals are often masked by "pilot-induced noise" and require supervised learning to be effectively isolated.

Conclusion and Future Work

While Conv-MHSA shows great promise, real-world deployment faces challenges such as label noise in human-recorded maintenance logs and the need for wireless flight data transmission (WFDT) for real-time monitoring. Future research will focus on expanding the dataset to include a broader range of mechanical issues and moving toward multiclass classification systems.

Summary updated

BibTeX
@inproceedings{yang2022predictive,
  author = {Hong Yang and Aidan P. LaBella and Travis Desell},
  title = {{Predictive Maintenance for General Aviation Using Convolutional Transformers}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.1609/aaai.v36i11.21538},
}
Figure