All models

QCNN (Quadratic Convolutional Neural Network / Qttention)

A 1D CNN for bearing fault diagnosis whose convolutions use quadratic neurons, which yield an attention map.

Time series · 60 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (44 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
158.5K
Operations
60
Framework
PyTorch
Recurrent
No
Published
IEEE Transactions on Instrumentation and Measurement 2023
Cited by
82 (as of 29 October 2026)
Authors
Jing-Xiao Liao, Hang-Cheng Dong, Zhi-Qi Sun and others
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m19539
Graph hash
6025fd3f88ac6b67935c8dee2062413099321578071a64d09d8907c06d78f9ee
Skeleton hash
8514b9537501103466058cc592b0192d764403678de98b6864a1c4022b8cac21
Architecture hash
c7f4e08b9f969c2cd2803777b825f2d4d6d935b511a10f41f8a93c88f3fa39f3
Diagram SHA-256
0a45402e3574ec95942ce837a54a0d08ec3e611c6698d8fa8c622795513ea989
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

QCNN is a one-dimensional convolutional network for bearing fault diagnosis that is built from quadratic neurons instead of conventional ones. Its convolutional layers replace the conventional convolution with a quadratic convolution operation. A quadratic neuron computes two inner products and one power term of the input vector and combines them before a nonlinear activation function. The layout is inherited from WDCNN and stacks 6 CNN blocks and 1 fully-connected layer. The authors describe the change as one at the neuronal level, in contrast to previous structural modifications.

The paper's motivation is interpretability: with a deep network it is difficult to know how a model separates faulty signals from normal ones. The authors derive an attention mechanism from the quadratic neuron, which they call qttention, by factorizing the learned quadratic function in analogy to attention. A qttention map can then be recovered for each layer. The article's experiments use the CWRU dataset, a public bearing fault dataset, and the HIT dataset.

Key idea. The paper builds a bearing fault diagnosis CNN from quadratic neurons and derives from them an attention mechanism, qttention, that makes the model interpretable.

  • qcnn
  • quadratic convolutional neural network
  • qttention
  • quadratic neuron
  • quadratic attention
  • bearing fault diagnosis
  • attention-embedded quadratic network
  • fault diagnosis
  • vibration signals

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{liao2022attentionembeddedquadraticnetworkqttention,
      title={Attention-embedded Quadratic Network (Qttention) for Effective and Interpretable Bearing Fault Diagnosis}, 
      author={Jing-Xiao Liao and Hang-Cheng Dong and Zhi-Qi Sun and Jinwei Sun and Shiping Zhang and Feng-Lei Fan},
      year={2022},
      eprint={2206.00390},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      doi={https://doi.org/10.1109/TIM.2023.3259031},
      url={https://arxiv.org/abs/2206.00390}, 
}