arXiv:2503.07157cs.CV2025-03

用混合注意力机制让乳腺病灶分类模型在普通显卡上高效运行

Efficient Multi-scale Masked Autoencoders with Hybrid-Attention Mechanism for Breast Lesion Classification

  • 双解码器设计:全局语义用标准变换器,细节重建用线性复杂度模块
  • 基于Nyströmformer的版本准确率达61.0%,优于标准MAE和MoCo-v3
  • 计算复杂度从二次降为线性,可在消费级显卡训练高分辨率图像

自监督学习(SSL)与视觉变换器(ViT)在医学图像分析中展现巨大潜力。然而,标准自注意力机制的二次复杂度($/mathcal{O}(N^2)$)对高分辨率生物医学任务构成严重瓶颈,使资源有限的研究团队难以使用前沿模型。为此,我们提出MIRAM,一种多尺度掩码自编码器,采用混合注意力机制。架构通过双解码器设计,将语义学习与细节重建分离:标准变换器解码器在低分辨率下捕捉全局语义,线性复杂度解码器(对比Linformer、Performer、Nyströmformer)处理高分辨率重建。该设计将上采样阶段复杂度从二次降至线性($/mathcal{O}(N)$),支持在消费级显卡上进行高保真训练。我们在CBIS-DDSM乳腺钼靶数据集上验证方法。值得注意的是,基于Nyströmformer的变体达到61.0%分类准确率,优于标准MAE(58.9%)和MoCo-v3(60.2%),且显著降低内存占用。结果表明,混合注意力架构可推动高分辨率医学AI普及,使资源受限的研究者也能使用强大自监督模型。

原文摘要 · Abstract (English)

Self-supervised learning (SSL) with Vision Transformers (ViT) has shown immense potential in medical image analysis. However, the quadratic complexity ($\mathcal{O}(N^2)$) of standard self-attention poses a severe barrier for high-resolution biomedical tasks, effectively excluding resource-constrained research labs from utilizing state-of-the-art models. To address this computational bottleneck without sacrificing diagnostic accuracy, we propose \textbf{MIRAM}, a Multi-scale Masked Autoencoder that leverages a \textbf{hybrid-attention mechanism}. Our architecture uniquely decouples semantic learning from detail reconstruction using a dual-decoder design: a standard transformer decoder captures global semantics at low resolution, while a linear-complexity decoder (comparing Linformer, Performer, and Nyströmformer) handles the computationally expensive high-resolution reconstruction. This reduces the complexity of the upscaling stage from quadratic to linear ($\mathcal{O}(N)$), enabling high-fidelity training on consumer-grade GPUs. We validate our approach on the CBIS-DDSM mammography dataset. Remarkably, our \textbf{Nyströmformer-based variant} achieves a classification accuracy of \textbf{61.0\%}, outperforming both standard MAE (58.9\%) and MoCo-v3 (60.2\%) while requiring significantly less memory. These results demonstrate that hybrid-attention architectures can democratize high-resolution medical AI, making powerful SSL accessible to researchers with limited hardware resources.

乳腺病灶自监督学习混合注意力高效模型

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。