AFFMAE: 在桌面硬件上实现高分辨率显微图像分割的可扩展视觉预训练
AFFMAE: Scalable Vision Pre-Training for High-Resolution Microscopy Segmentation on Desktop Hardware
AI总结:
提出AFFMAE框架,通过自适应离网格令牌合并实现分层预训练,在桌面硬件上以2倍预训练速度和减半内存达到与MAE相当的显微分割性能。
摘要:
自监督预训练通过实现数据高效的微调改变了计算机视觉,然而高分辨率预训练通常需要服务器级基础设施,限制了许多研究实验室的自定义域内训练。掩码自编码器(MAE)通过仅编码可见令牌来减少计算,但由于密集网格先验和掩码感知设计妥协,将MAE与分层下采样架构结合在结构上仍然具有挑战性。我们引入了AFFMAE,一种基于自适应离网格令牌合并的掩码友好型分层预训练框架。AFFMAE在预训练和微调期间去除了密集网格假设,同时保持了分层可扩展性。为了支持这种架构,我们开发了数值稳定的混合精度Triton内核和一个轻量级的基于点的解码器,该解码器可以直接用作分割头。在高分辨率显微图像分割中,AFFMAE在足突宽度估计上以相同的参数数量与ViT骨干网络的MAE微调性能相匹配,同时预训练速度快2倍,峰值内存使用减半。此外,AFFMAE在1024像素分辨率下微调时实现了高达5倍的吞吐量加速,从而在桌面硬件上实现了高分辨率模型训练。代码见此https URL。
英文摘要:
Self-supervised pretraining has transformed computer vision by enabling data-efficient fine-tuning, yet high-resolution pretraining typically requires server-scale infrastructure, limiting custom in-domain training for many research laboratories. Masked Autoencoders (MAE) reduce computation by encoding only visible tokens, but combining MAE with hierarchical downsampling architectures has remained structurally challenging due to dense grid priors and mask-aware design compromises. We introduce AFFMAE, a masking-friendly hierarchical pretraining framework built on adaptive, off-grid token merging. AFFMAE removes dense-grid assumptions while preserving hierarchical scalability during pre-training and fine-tuning. To support this architecture, we developed numerically stable mixed-precision Triton kernels and a lightweight, point-based decoder that can be directly repurposed as a segmentation head. On high-resolution microscopy segmentation, AFFMAE matches MAE finetuning performance on foot process width estimation with ViT backbone at equal parameter counts while being 2x faster during pre-training and halving peak memory usage. Furthermore, AFFMAE achieves up to 5x throughput speedups fine-tuning at the 1024px resolution, providing high-resolution model training on desktop hardware. Code available at https://github.com/najafian-lab/affmae.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。