Skip to content
All research

R2 · First author · Scientific Reports, article in press

Which view of the signal does the model trust?

A Vision Transformer that reads six physics-based images of one vibration signal, and shows which it relies on.

Best test accuracy
99.62%
Mean over five seeds
98.72 ± 0.70%
Unseen conditions, mean
97.15%
Venue
Scientific Reports · Article in press
Accepted
20 October 2026
Authors
Pratyush Vishal, Shristi Sahani, Narendiranath Babu T.
DOI
10.1038/s41598-026-77398-5

01 / Method

Six views in, one answer out

Nine stages, from a raw window to which view the model trusts.

  1. 01 · Data

    Same rig, raw windows

    The rig and recordings from the first paper, cut into non-overlapping windows. No augmentation: the natural speed and load variation is the diversity.

    Window
    8192 samples
    Split
    70 / 15 / 15 %
  2. 02 · Six views

    One signal, six images

    Each window becomes six images that each stress a different physical side of a fault: harmonics, transients, impulsiveness, energy bursts and the fault frequencies themselves.

    Views
    STFT, CWT, CQT, SK, TEM, ES
  3. 03 · Fusion

    Fused before the first layer

    The six images are resized and stacked as channels, so every patch the transformer sees already holds all six views.

    Input
    224 × 224 × 6
  4. 04 · Tokens

    Patches become tokens

    A convolutional patch embedding cuts the input into a grid of patches; a learnable CLS token goes in front.

    Patch
    16 × 16 (see note)
    Tokens
    196 + CLS, 512-d
  5. 05 · Encoder

    One shared transformer

    Six encoder layers of multi-head self-attention and feed-forward blocks relate the patches across all six views at once.

    Layers, heads
    6, 8
    MLP, dropout
    2048, 0.1
    Parameters
    19.47 M
  6. 06 · Objective

    Keep the heads different

    Two small extra losses push the attention heads to differ and to specialise. They end up moderately alike, mean similarity 0.409.

    Loss
    Cross-entropy + λ₁·diversity + λ₂·specialisation
    Loss weights
    λ₁ = λ₂ = 0.01
    Optimizer
    AdamW, lr 1e-4, weight decay 0.05
    Schedule
    Cosine annealing, mixed precision
  7. 07 · Classify

    Five health states

    The CLS token feeds a classifier. Best test accuracy 99.62%; 98.72 ± 0.70% over five seeds. Combined faults are the hardest class.

    Best, mean
    99.62%, 98.72 ± 0.70%
    CF precision
    0.964, recall 0.982
  8. 08 · Attention

    The envelope spectrum leads

    Summing the CLS token’s attention by view, the envelope spectrum draws about 42.8% and CQT 20.3%: the view that exposes the bearing’s fault frequencies leads.

    Note
    Results text gives 34.4% for ES
  9. 09 · Ablation

    Remove a view, lose accuracy

    Dropping the envelope spectrum costs the most, confirming the attention. Spectral kurtosis is redundant: the others cover it.

    Without ES
    98.50% (−1.12)
    Without SK
    99.62% (±0)

02 / Results

Consistent, general, and small enough to deploy

Not a lucky initialisation

Five training runs with different random seeds.
Five random seedsTable 4
SeedValidationTest
42100.00%99.25%
798.87%98.12%
12399.62%98.87%
202498.87%97.74%
99998.87%99.62%
Mean ± SD99.25 ± 0.53%98.72 ± 0.70%

Wilcoxon signed-rank, validation against test: p = 0.3125, no significant gap.