Foundation Models for Structural Health Monitoring

Luca Benfenati, Daniele Jahier Pagliari, Luca Zanatta, Yhorman Alexander Bedoya Velez, Andrea Acquaviva, Massimo Poncino, Enrico Macii, Luca Benini, Alessio Burrello

TL;DR

This paper introduces the first "Foundation Model" for Structural Health Monitoring (SHM) by adapting Transformer-based Masked Autoencoders to vibration data. By pre-training on large, unlabeled datasets across multiple bridges, the model learns generalizable features that significantly outperform traditional state-of-the-art methods in both anomaly detection and traffic load estimation, even when compressed for real-time edge deployment.

What Problem Does This Paper Address?

Civil infrastructure like bridges and viaducts requires constant monitoring to ensure safety. Traditionally, Structural Health Monitoring (SHM) relies on specialized, single-task models (like PCA or basic CNNs) trained on small, labeled datasets.

However, labeling SHM data is a massive bottleneck; it often requires expensive auxiliary equipment like high-speed cameras or Weigh-in-Motion (WiM) systems. Furthermore, these "shallow" models often fail to generalize across different structures or handle the complex, non-linear interactions found in vibration signals. The authors tackle this by applying the "Foundation Model" paradigm—pre-training a massive model on diverse, unlabeled data to create a robust backbone that can be easily fine-tuned for specific tasks.

Methods

The researchers utilize a Masked Autoencoder (MAE) architecture based on the Vision Transformer (ViT).

  1. Preprocessing: Raw 3-axis acceleration data is converted into 2D spectrograms.
  2. Self-Supervised Pre-training: The model is trained to reconstruct missing "patches" of these spectrograms. This forces the encoder to learn the underlying patterns of structural vibrations without needing any human-provided labels.
  3. Fine-tuning: The pre-trained encoder is then specialized for two downstream tasks:
  4. Anomaly Detection (AD): Framed as an unsupervised reconstruction task where high error indicates a structural change.
  5. Traffic Load Estimation (TLE): A regression task where the model predicts vehicle counts/weights.
  6. Knowledge Distillation (KD): To make these heavy models practical, the authors used KD to train smaller "student" models that mimic the performance of the large "teacher" model, enabling deployment on resource-constrained edge devices.
The Masked Autoencoder architecture used for self-supervised pre-training on vibration spectrograms.

Datasets

The study uses data from three operational Italian viaducts:

  • UC1 (Anomaly Detection): Data from a viaduct before and after a structural strengthening intervention, simulating an "abrupt change" like earthquake damage.
  • UC2 (Traffic Load Estimation): A smaller dataset labeled using optical cameras to identify light and heavy vehicles.
  • UC3 (Traffic Load Estimation): A newly introduced, large-scale dataset (750,000 samples) labeled via a Weigh-in-Motion system located 600 meters from the bridge.

Key Insights and Ideas

  • The Power of Pre-training: The "Aha!" moment is that pre-training on all available data (even from different bridges) consistently improves performance on specific bridges. This suggests the model is learning fundamental "physics" or universal structural signatures.
  • Transformers vs. The Rest: While CNNs and LSTMs are common in time-series, the Transformer's self-attention mechanism proves superior at capturing the long-range dependencies in frequency-domain vibration data.
  • Latency vs. Accuracy: Traditional methods like PCA require long observation windows (up to 20 minutes) to reach high accuracy. The Foundation Model achieves near-perfect results in just 5 minutes, drastically reducing the time to signal a potential structural failure.
  • Edge Feasibility: Despite their complexity, these models can run in real-time on gateway-class hardware like the NVIDIA Jetson Nano, with latencies well below the required thresholds.

Key Results

  • Anomaly Detection: The model achieved 99.9% accuracy with a monitoring span of only 15 windows. The previous state-of-the-art (PCA) only reached 95.03% accuracy after 120 windows.
  • Traffic Load Estimation: On the UC2 benchmark, the model reached an $R^2$ score of 0.97 for heavy vehicles, significantly beating the best previous Random Forest approach (0.91).
  • Model Compression: Through Knowledge Distillation, the authors reduced the model size by 195x (down to 0.5MB) while only losing a few percentage points in accuracy, making it small enough for many embedded SHM nodes.
A comparison of the processing pipelines for the proposed foundation model versus traditional state-of-the-art algorithms.

Limitations and Future Work

The authors note that performance on the UC3 dataset was lower ($R^2$ of 0.54) compared to UC2. They attribute this to "label noise"—the physical distance between the Weigh-in-Motion sensors and the bridge means vibrations don't always perfectly correlate with the recorded traffic.

Future work will focus on:

  • Incorporating even larger and more diverse datasets for pre-training.
  • Testing the model on a wider variety of civil infrastructures (tunnels, dams).
  • Exploring further hyper-parameter optimization to close the gap on noisy datasets like UC3.

Summary updated

BibTeX
@article{benfenati2025foundation,
  author = {Luca Benfenati and Daniele Jahier Pagliari and Luca Zanatta and Yhorman Alexander Bedoya Velez and Andrea Acquaviva and Massimo Poncino and Enrico Macii and Luca Benini and Alessio Burrello},
  title = {{Foundation Models for Structural Health Monitoring}},
  journal = {IEEE Trans. Sustain. Comput.},
  year = {2025},
  doi = {10.1109/tsusc.2025.3592097},
}
Figure