Related Experiment Video For Attention supervision
Updated: Jan 27, 2026

Analyzing Mitochondrial Morphology Through Simulation Supervised Learning
Published on: March 3, 2023
Enhancing accuracy and explainability in colorectal lesion classification with attention-supervised Vision
Luca Carlini1, Luca Di Stefano1, Chiara Lena1
1Dipartimento di Elettronica, Informazione, Bioingegneria (DEIB), Politecnico di Milano, Piazza Leonardo da Vinci, 32, Milano, 20133, Italy.
Objective:
Accurate assessment of colorectal lesion morphology during colonoscopy is essential for guiding treatment and estimating cancer risk. The Paris classification is widely adopted for this purpose but suffers from substantial inter-observer variability, while Vision Transformers (ViTs) can base their decisions on diffuse, off-lesion attention patterns that are hard to interpret. This study investigates whether directly supervising ViT attention maps with expert lesion annotations can concurrently improve Paris classification performance and model explainability.
Method:
We propose a Lesion-Focused Attention Loss (LLFA), an attention-supervised pretraining objective that uses expert polyp bounding boxes to focus last-layer [CLS] attention on annotated lesion regions, followed by standard cross-entropy fine-tuning. LLFA is applied to six ViT architectures and evaluated on the public SUN dataset for binary (0-I vs. 0-II) and three-class (0-Ip, 0-Is, 0-IIa) Paris classification. Performance is assessed using frame-wise accuracy and the AttIn, we additionally perform an ablation study against a Grad-CAM consistency baseline.
Results:
Attention-supervised pretraining yields consistent gains in both accuracy and lesion-focused attention. Across the six ViTs, adding LLFA improves three-class accuracy by up to 7 percentage points. In a detailed ablation on ViT-B/16, LLFA outperforms a Grad-CAM consistency baseline by about 5-13 percentage points across the 2-class and 3-class tasks, and χ2 tests confirm a significant association between high AttIn and correct predictions.
Conclusion:
Direct supervision of ViT attention with LLFA leverages expert knowledge to jointly boost Paris classification accuracy and spatial interpretability, and compares favourably with Grad-CAM-based explanation regularisation. The source code and dataset splits are publicly available at https://github.com/LucaCarlini/SUNDatasetPretraining.
Related Concept Videos
Vision
Improving Translational Accuracy
Improving Translational Accuracy
Uncertainty in Measurement: Accuracy and Precision
Color Vision
Bacterial Transformation
Griffith made an unexpected discovery when he killed the pathogenic strain and mixed its remains with the live, non-pathogenic strain. Not only did the mixture kill host mice, but it also contained living pathogenic bacteria that...

