AAW-YOLO: Wavelet & Attention for Artery Segmentation
- The paper presents a novel deep learning architecture that integrates wavelet transforms and attention modules to achieve high-precision cerebral artery segmentation from TCCD ultrasound images.
- It employs a YOLO-based detection framework enhanced with wavelet-based convolution blocks for multi-scale feature extraction and a linear attention module to refine small, low-contrast vessel features.
- Model evaluation on a prospectively collected TCCD dataset shows outstanding performance with a Dice of 0.901 and mAP of 0.953, and an inference speed of ~70 FPS, making it suitable for clinical deployment.
Attention-Augmented Wavelet YOLO (AAW-YOLO) is a real-time deep learning system for automated segmentation and detection of cerebral arteries within the Circle of Willis (CoW) from transcranial color-coded Doppler (TCCD) ultrasound. Designed specifically for cerebrovascular analysis, AAW-YOLO integrates wavelet-domain convolutional operations and attention mechanisms into a lightweight YOLO-based detection architecture, achieving high-precision instance segmentation with rapid inference suitable for clinical deployment. It is the first reported approach for AI-driven CoW segmentation on TCCD, addressing challenges in operator-dependent landmark identification and angle correction inherent to ultrasound-based neuroimaging (Zhang et al., 19 Aug 2025).
1. Network Architecture and Wavelet Integration
The AAW-YOLO architecture builds on a YOLO-11 backbone composed of convolutional (Conv) layers and C3K2 bottleneck blocks. To increase the effective receptive field efficiently, AAW-YOLO replaces selected bottlenecks with a wavelet-aided block (WTC2f). This block decomposes input feature maps using a one-level 2D discrete wavelet transform (DWT) into four subbands:
with:
Here, and represent the low/high-pass Haar wavelet kernels and denotes 2× downsampling. Each subband undergoes channel-wise convolution followed by feature reconstruction via the inverse DWT (). This mechanism introduces multi-scale context, facilitates small vessel recognition, and delivers minimal increase in computational cost.
2. Attention-Augmented Bottleneck
To improve refinement of fine vascular features, especially those associated with small and low-contrast (contralateral) vessels, AAW-YOLO incorporates a linear attention module within a C2F-style bottleneck. The input tensor 0 is split by channel. For the second half, query, key, and value projections are computed:
1
where 2 flattens spatial dimensions to a sequence of length 3. Linear attention is performed:
4
with 5 as softmax or other normalization. The resultant attended features are reshaped, processed by a lightweight bottleneck, and concatenated with the unchanged first half of the channels, yielding more discriminative features for segmentation and detection.
3. Multi-Task Training Objective
AAW-YOLO's training objective jointly optimizes detection and instance segmentation by combining four loss components:
6
- Bounding box regression uses mean-squared error on object center, width, and height:
7
- Objectness is trained via binary cross-entropy:
8
- Classification employs multi-class cross-entropy:
9
- Segmentation is guided by Dice loss:
0
This design enables simultaneous instance detection and fine-grained vascular mask prediction.
4. Dataset Composition and Preprocessing Protocols
AAW-YOLO was trained and evaluated on a prospectively collected TCCD dataset comprising 29 videos (left and right insonation) from 15 subjects. Manual annotation yielded 738 frames and 3,419 labeled artery instances, with vessel classes including ipsilateral/contralateral ACA_A1, ACA_A2, MCA_M1, PCA_P1, and PCA_P2. Annotations adhered to established cerebrovascular segmentation criteria. Image-level preprocessing consisted of normalization; data augmentation involved random flip, minor rotation, and intensity/contrast jittering to promote robustness to scanning angle and appearance variation. No contrast agent was administered, and data originated from a single ultrasound platform, with all images manually segmented.
5. Performance Metrics and Experimental Outcomes
Model evaluation leveraged multiple metrics:
- Dice coefficient:
1
- Intersection over Union (IoU):
2
- Pixel-level Precision and Recall:
3
- Mean average precision (mAP) over predicted classes:
4
On the held-out test set, AAW-YOLO achieved:
- Dice: 5
- IoU: 6
- Precision: 7
- Recall: 8
- mAP: 9
Inference time per 0 frame was 1 ms on RTX 4070 GPUs (≈2 FPS), surpassing clinical real-time requirements (20–50 FPS).
6. Ablation Study and Comparative Evaluation
Ablation experiments compared variants: | Model | Dice | mAP | |-----------------------------|-------|-------| | YOLO-11 Baseline | 0.860 | 0.922 | | Baseline + WTConv | 0.870 | 0.930 | | AA-YOLO (attention only) | 0.880 | 0.941 | | AA-YOLO + WTConv | 0.895 | 0.949 | | AAW-YOLO (attention + wavelet) | 0.901 | 0.953 |
Integrating WTConv improved Dice and mAP over the baseline. The addition of attention (AA-YOLO) further boosted both metrics. Full AAW-YOLO yielded the highest results. Subgroup analysis demonstrated the difficulty of segmenting contralateral arteries, but AAW-YOLO reduced the ipsilateral/contralateral Dice gap to 3 compared to baseline (4), consistent with improvements for small, low-contrast vessels.
7. Strengths, Limitations, and Future Prospects
AAW-YOLO demonstrates several strengths:
- First real-time deep learning solution for CoW segmentation in TCCD combining detection and mask prediction.
- Network parameters: 5M, computational cost: 6 GFLOPs, and operational throughput suitable for clinical use.
- Enhanced detection of small vessels via wavelet and attention integration.
Limitations:
- Analysis is single-frame; does not leverage temporal (video) consistency.
- Unilateral analysis precludes bilateral anatomical referencing.
- No contrast enhancement for fine vessel visibility.
- Entire dataset from a single clinical site/platform.
Future research directions include integration of video-based temporal modeling (e.g. Space-Time Memory networks), bilateral vessel modeling, exploration of contrast-enhanced TCCD, and multi-center, multi-platform validation.
Reference: "A Novel Attention-Augmented Wavelet YOLO System for Real-time Brain Vessel Segmentation on Transcranial Color-coded Doppler" (Zhang et al., 19 Aug 2025)