TL;DR
SegmentMIL introduces a transformer-based multiple-instance learning (MIL) framework that diagnoses coronary artery stenosis at the patient level using multi-view angiography videos. By training directly on raw, real-world clinical data without requiring expensive view-level manual annotations, it achieves state-of-the-art diagnostic accuracy while providing zero-shot, interpretable localization of affected artery segments.
What Problem Does This Paper Address?
Coronary artery stenosis—the narrowing of arteries supplying blood to the heart—is a primary cause of cardiovascular disease. Cardiologists diagnose this condition using X-ray angiography, examining the flow of a contrast agent through the coronary arteries from multiple angles (views) to pinpoint blockages.
While deep learning has shown promise in automating stenosis detection, existing models suffer from two major flaws:
- Annotation Bottleneck: They typically require meticulous, frame-by-frame or view-by-view manual annotations, which are incredibly time-consuming and rarely available in standard hospital records.
- Context Blindness: Most models analyze a single frame from a single view, completely ignoring the multi-view dependencies and temporal dynamics (the flow of contrast fluid over time) that are fundamental to clinical decision-making.
To bridge this gap, the authors treat multi-view angiography as a Multiple-Instance Learning (MIL) problem, where a "bag" of different views maps to a single patient-level diagnosis.
Methods
The proposed framework, SegmentMIL, processes the full set of angiographic views available for a patient to jointly predict stenosis at the patient, artery, and segment levels.
The pipeline consists of several novel components:
- Key Frame Detection: Angiography sequences are videos. To find the moment of peak contrast visibility, an auxiliary segmentation model ranks frames based on visible artery pixels, automatically selecting the optimal "key frame" for each view.
- Angulation-Aware Transformer Decoder: Key frames are encoded using a Vision Transformer (ViT-S) initialized with DinoV2. Crucially, the spatial relationship between different views is preserved by injecting 2D fixed sinusoidal positional encodings based on the physical horizontal and vertical angulations of the X-ray C-arm.
- Hierarchical Prediction Head: The decoder uses 11 learned query tokens (1 for patient, 2 for main arteries, and 8 for major segments). To ensure anatomical consistency (e.g., a blocked segment must imply a blocked artery), the model employs a hierarchical prediction scheme where segment-level probabilities are mathematically constrained by artery- and patient-level outputs.
- Temporal Multi-Frame Extension: To capture temporal dynamics, the model can ingest multiple frames around the key frame, utilizing learned temporal embeddings to preserve their sequential order.
Datasets
The model was trained and evaluated on two distinct datasets:
- Internal Clinical Dataset: A large-scale dataset from the TUM Klinikum Rechts der Isar containing 17,741 angiography views from 2,003 patients. Labels were extracted directly from unstructured hospital records, reflecting real-world clinical targets ($\ge 70\%$ stenosis severity). A subset of 100 patients (760 views) was manually annotated by experts for view-level evaluation.
- CADICA Dataset: A publicly available external dataset from a hospital in Malaga, Spain, consisting of 382 views from 42 patients, used strictly to test the model's ability to generalize to unseen clinical environments.
Key Insights and Ideas
- Unlocking Passive Hospital Data: By framing the task as an MIL problem, SegmentMIL bypasses the need for manual view-level labeling. It scales effectively by training on standard patient-level clinical reports already present in hospital databases.
- Physical Coordinates as Spatial Anchors: Incorporating the physical angulation of the C-arm machine as a positional encoding provides the transformer with geometric context, mimicking how a cardiologist mentally reconstructs a 3D understanding of the heart from 2D projections.
- Zero-Shot Interpretability: Even though the model is never explicitly trained on pixel-level segmentation masks, its patch-level attention maps naturally align with the coronary arteries. This allows the model to generate visual explanations for its decisions "for free."
Key Results
SegmentMIL significantly outperformed classical MIL baselines (MaxMIL, AttnMIL) and view-level object detection baselines (SteDet2Cls):
- Patient-Level Accuracy: The multi-frame configuration achieved a patient-level Area Under the ROC Curve (AUC) of 0.845 on the internal test set and 0.878 on the external CADICA dataset.
- The Power of Time: Incorporating just three frames per view (capturing brief temporal context around the peak contrast moment) boosted patient-level AUC by roughly 1.6% to 2% compared to single-frame variants.
- Robustness Across Levels: Thanks to the hierarchical prediction scheme, the model maintained strong diagnostic performance down to specific artery branches, achieving an AUC of 0.809 for the Right Coronary Artery (RCA) and 0.779 for the Left Coronary Artery (LCA).
Limitations and Future Work
Despite its strong performance, the authors note a few limitations:
- Pseudo-Temporal Modeling: While the multi-frame setup uses temporal embeddings, the underlying encoder is still image-based. Transitioning to true video-based architectures (like 3D CNNs or Video Transformers) could better capture complex fluid dynamics.
- Anatomical Subsampling: The study focused only on 8 "major" coronary segments out of the standard 16, meaning stenosis in smaller, peripheral branches might be missed.
- Isolation from Clinical Context: The model relies purely on imaging data. In practice, cardiologists integrate angiograms with patient history, symptoms, and ECG data—a multi-modal approach that future iterations should explore.
Summary updated