TL;DR
This paper introduces ViACT, a novel transformer-based model for classifying cardiac amyloidosis (CA) from echocardiograms. By anatomically constraining the model to focus on the myocardium, ViACT achieves improved accuracy and significantly reduces computational costs compared to existing methods, making it a more efficient and interpretable tool for diagnosing this rare condition.
What Problem Does This Paper Address?
Cardiac amyloidosis (CA) is a serious condition where amyloid fibrils build up in the heart muscle, leading to a stiffening and weakening of the heart. Echocardiography (echo) is a primary tool for diagnosing CA, with key indicators like reduced longitudinal strain in specific heart regions. However, traditional quantitative measures derived from echo can be variable, and deep learning models, while promising, often act as "black boxes." This means they process entire video clips without guaranteeing that their classifications are based on clinically relevant anatomical features. This lack of interpretability and reliance on potentially noisy global features can hinder clinical adoption. The paper aims to bridge this gap by developing a deep learning model that is explicitly guided to focus on the anatomically relevant regions of the myocardium, ensuring its decisions are grounded in clinically meaningful information.
Methods
The core innovation of this paper is the Anatomically Constrained Transformer (ViACT). This model adapts the space-time factorized ViViT architecture by introducing an anatomical tokenizer. Instead of splitting entire video frames into a regular grid of patches, ViACT uses a set of deforming points that track the myocardium. For each point, it samples an image patch and embeds both the point's location and the patch's pixel information into input tokens. This ensures that the transformer's attention is inherently focused on the myocardium.
Furthermore, the authors propose an anatomical variation of the Masked Autoencoder (MAE) pre-training strategy. Instead of masking random patches across the entire image, their MAE approach masks and reconstructs only the myocardium patches identified by the anatomical tokenizer. This anatomically constrained pre-training helps the model learn more relevant features for CA diagnosis.
The model architecture consists of:
- Anatomical Tokenizer: Embeds myocardium points and their corresponding image patches into input tokens.
- Frame Encoder: A standard transformer encoder that processes the anatomical tokens for each frame.
- Temporal Transformer: Aggregates frame-level encodings to capture temporal dynamics.
- Classification Head: Predicts the CA diagnosis.
Datasets
The experiments were conducted on a private, multi-site dataset comprising 1959 4-chamber echocardiograms in DICOM format. This dataset includes:
- 1520 control cases.
- 439 CA cases (comprising both transthyretin amyloidosis (ATTR) and amyloid light-chain (AL) types).
The control group was diverse, including patients with various cardiac conditions and healthy individuals. The CA cases were confirmed according to established clinical guidelines. The dataset was split into training, validation, and testing sets (70/15/15).
Key Insights and Ideas
- Anatomical Constraint is Key: Explicitly guiding the transformer to focus on the myocardium, rather than processing the entire image, significantly improves performance and interpretability. This aligns deep learning with established clinical knowledge about where CA abnormalities manifest.
- Anatomical Pre-training Boosts Performance: Adapting the MAE pre-training to mask and reconstruct only myocardium patches leads to better feature learning for CA classification compared to standard grid-based masking.
- Efficiency Gains: The anatomical constraint drastically reduces the number of input tokens, leading to substantial savings in GPU memory and compute time during pre-training. This is crucial for scaling deep learning models to larger datasets and more complex architectures.
- Interpretability through Attention: The model's attention maps can be visualized over the deforming myocardium, providing a clear indication of which anatomical regions are driving the classification decision.
Key Results
- Improved Accuracy: ViACT achieved a validation accuracy of 83.76 ± 1.25% and a weighted F1 score of 82.62 ± 1.65% in ablation studies, outperforming baseline ViViT models.
- Superior Performance on Test Set: On the test set, ViACT achieved an accuracy of 81.58 ± 1.70% and a weighted F1 score of 80.69 ± 1.74%, outperforming standard ViViT, ROI-constrained ViViT, and a spatio-temporal MAE model.
- Significant Computational Savings: ViACT used less than half the GPU memory and compute time for pre-training compared to a regular spatio-temporal ViViT.
- Guaranteed Anatomical Focus: The model provides an explicit guarantee that its classification is focused on the myocardium, offering a level of interpretability not present in standard video transformers.
Limitations and Future Work
- Point Acquisition Dependency: The performance of ViACT relies on the accurate acquisition of myocardium points. While the paper notes that these points can be obtained using commercially available software or other tracking methods, the initial contouring step adds an offline cost.
- Fixed Number of Points/Frames: For simplicity, the experiments used a fixed number of points and clip lengths. The authors acknowledge that the model is not inherently limited by these constraints and suggest future work could explore varying numbers of points and cycle lengths.
- Dataset Size: While the dataset is substantial (1959 echocardiograms), the authors suggest that future research could focus on scaling up the dataset and model size to further leverage the model's capacity.
- Generalizability: While promising for CA classification, further research could explore the generalizability of the ViACT framework to other cardiac conditions and echocardiographic tasks.
Summary updated