All models

TabAttention

3D ResNet-18 with TabAttention blocks that condition channel, spatial and temporal attention on tabular data.

Medical imaging · 685 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 (28 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
51.2M
Operations
685
Framework
PyTorch
Recurrent
No
Published
MICCAI 2023
Cited by
8 (as of 28 October 2026)
Authors
Michal K. Grzeszczyk, Szymon Płotka, Beata Rebizant 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
m20875
Graph hash
ffef586f8de6d6d3cbdeb4dab050705cee93c819ff122cc8d5bb1529be1fea5c
Skeleton hash
b45fb59b78ad379ca93a365e8c0982d948a696de9d9c6afc1d56bacfaa0809ed
Architecture hash
b2bcb50e8bcb06f71dbb9089361cb0f0baba355232ddf8ffbc17097ae63d8972
Diagram SHA-256
03308eb8cdf57501c5ae4186458cdd809f0909e292de3a07ddec9965a69f3ce9
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

TabAttention is an attention module that lets a convolutional network learn where to focus conditionally on tabular data that accompanies the images. The paper observes that concatenating tabular and imaging features in the final layers is widely used but limits the interaction between them. This model is a 3D ResNet-18 with TabAttention placed in the residual block, between the first ReLU and the second convolution.

The module extends the Convolutional Block Attention Module (CBAM) to the temporal dimension by adding a Temporal Attention Module that uses multi-head self-attention. Channel, spatial and temporal attention maps are generated from pooled imaging feature maps together with embeddings of the tabular data. The authors say this helps the network identify what, where and when to focus on.

The paper demonstrates the approach on fetal birth weight estimation, using 92 fetal abdominal ultrasound video scans and fetal biometry measurements. The tabular input consists of six numerical features. The paper reports that TabAttention outperformed clinicians on this task, with a mean MAPE of 5.0% against 5.9%. Against other deep learning models that use both modalities its results were also best, but the paper notes that the difference does not reach statistical significance.

Key idea. TabAttention extends CBAM with a temporal attention module and trains the channel, spatial and temporal attention maps conditionally on tabular data.

  • TabAttention
  • Tab-Attention
  • fetal birth weight estimation
  • tabular data
  • attention module
  • fetal ultrasound
  • ultrasound video
  • temporal attention module
  • imaging and tabular data

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

Cite the paper

@misc{grzeszczyk2023tabattentionlearningattentionconditionally,
      title={TabAttention: Learning Attention Conditionally on Tabular Data}, 
      author={Michal K. Grzeszczyk and Szymon Płotka and Beata Rebizant and Katarzyna Kosińska-Kaczyńska and Michał Lipa and Robert Brawura-Biskupski-Samaha and Przemysław Korzeniowski and Tomasz Trzciński and Arkadiusz Sitek},
      year={2023},
      eprint={2310.18129},
      archivePrefix={arXiv},
      primaryClass={eess.IV},
      doi={https://doi.org/10.1007/978-3-031-43990-2_33},
      url={https://arxiv.org/abs/2310.18129}, 
}