RASALoRE: Region Aware Spatial Attention with Location-based Random Embeddings for Weakly Supervised Anomaly Detection in Brain MRI Scans

Bheeshm Sharma, Karthikeyan Jaganathan, Balamurugan Palaniappan
10/9/2025
cs.CV

Official code: BheeshmSharma/RASALoRE-BMVC-2025 (0 stars, last commit 2026-02-12).

Abstract

Weakly Supervised Anomaly detection (WSAD) in brain MRI scans is an important challenge useful to obtain quick and accurate detection of brain anomalies when precise pixel-level anomaly annotations are unavailable and only weak labels (e.g., slice-level) are available. In this work, we propose RASALoRE: Region Aware Spatial Attention with Location-based Random Embeddings, a novel two-stage WSAD framework. In the first stage, we introduce a Discriminative Dual Prompt Tuning (DDPT) mechanism that generates high-quality pseudo weak masks based on slice-level labels, serving as coarse localization cues. In the second stage, we propose a segmentation network with a region-aware spatial attention mechanism that relies on fixed location-based random embeddings. This design enables the model to effectively focus on anomalous regions. Our approach achieves state-of-the-art anomaly detection performance, significantly outperforming existing WSAD methods while utilizing less than 8 million parameters. Extensive evaluations on the BraTS20, BraTS21, BraTS23, and MSD datasets demonstrate a substantial performance improvement coupled with a significant reduction in computational complexity. Code is available at: https://github.com/BheeshmSharma/RASALoRE-BMVC-2025/.

View on arXivView PDF

Code Implementations(1)

"RASALoRE: Region Aware Spatial Attention with Location-based Random Embeddings for Weakly Supervised Anomaly Detection in Brain MRI Scans" Accepted in The 36th British Machine Vision Conference (BMVC 2025), Sheffield, UK.

00Shell, PythonAug 18, 20258 months ago

Similar Papers

Cite this paper

@article{sharma2025rasalore,
  title  = {RASALoRE: Region Aware Spatial Attention with Location-based Random Embeddings for Weakly Supervised Anomaly Detection in Brain MRI Scans},
  author = {Bheeshm Sharma and Karthikeyan Jaganathan and Balamurugan Palaniappan},
  year   = {2025},
  eprint = {2510.08052},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.08052v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2510.08052.svg)](https://codeofpaper.com/paper/2510.08052)

Discussion