arXiv:2509.02488cs.CVcs.LG2025-09

为医学影像设计可适配结构形状与数据各向异性的位置编码方法

Anisotropic Fourier Features for Positional Encoding in Medical Imaging

  • 提出各向异性傅里叶特征位置编码,融合类别与领域特异性空间依赖
  • 在胸部X光、CT器官分类和超声射血分数回归任务中显著优于现有编码
  • 强调选择匹配数据各向异性和目标结构形状的位置编码至关重要

Transformer架构在医学领域的应用日益广泛。医学影像中复杂解剖结构(如器官、组织)的分析,加之高维图像固有的各向异性特性,给模型适配带来挑战。本文批判性审视位置编码(PEs)的作用,指出常用方法对医学影像任务可能不最优。虽然正弦位置编码(SPEs)在视觉任务中表现良好,但在高维空间难以保持欧氏距离;各向同性傅里叶特征编码(IFPEs)虽改善了距离保持,但无法捕捉图像各向异性。为此,我们提出各向异性傅里叶特征位置编码(AFPE),作为IFPE的推广,能建模各向异性、类别特异性和领域特异性空间依赖。我们在多标签胸部X光分类、CT器官分类和超声射血分数回归任务中系统评估了AFPE与常见PEs的表现。结果表明,合适的PE可显著提升模型性能,且最优编码依赖于感兴趣结构的形状和数据各向异性。最终,所提AFPE在所有测试的各向异性设置中均显著优于现有先进编码。

原文摘要 · Abstract (English)

The adoption of Transformer-based architectures in the medical domain is growing rapidly. In medical imaging, the analysis of complex shapes - such as organs, tissues, or other anatomical structures - combined with the often anisotropic nature of high-dimensional images complicates these adaptations. In this study, we critically examine the role of Positional Encodings (PEs), arguing that commonly used approaches may be suboptimal for the specific challenges of medical imaging. Sinusoidal Positional Encodings (SPEs) have proven effective in vision tasks, but they struggle to preserve Euclidean distances in higher-dimensional spaces. Isotropic Fourier Feature Positional Encodings (IFPEs) have been proposed to better preserve Euclidean distances, but they lack the ability to account for anisotropy in images. To address these limitations, we propose Anisotropic Fourier Feature Positional Encoding (AFPE), a generalization of IFPE that incorporates anisotropic, class-specific, and domain-specific spatial dependencies. We systematically benchmark AFPE against commonly used PEs on multi-label classification in chest X-rays, organ classification in CT images, and ejection fraction regression in echocardiography. Our results demonstrate that choosing the correct PE can significantly improve model performance. We show that the optimal PE depends on the shape of the structure of interest and the anisotropy of the data. Finally, our proposed AFPE significantly outperforms state-of-the-art PEs in all tested anisotropic settings. We conclude that, in anisotropic medical images and videos, it is of paramount importance to choose an anisotropic PE that fits the data and the shape of interest.

位置编码医学影像各向异性Transformer

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