光谱视觉Transformer:有限数据下的高效token化方案
Spectral Vision Transformer for Efficient Tokenization with Limited Data
研究提出光谱视觉Transformer架构,用固定基的系数替代空间图像块进行token化,每个token对应一个光谱模式,序列长度可主动选择而非由分辨率决定,从而降低注意力计算成本。该方案在数据稀缺的公共医学影像基准、自然图像、物体形状、仿真及受保护临床数据上表现优于或可比。代码已开源。
arXiv:2605.12026v2 Announce Type: replace Abstract: Vision transformers tokenize an image into patches, which couples the token count to resolution and requires the embedding to be learned from data. We propose a spectral vision transformer architecture for efficient tokenization in the limited-data regime, with an emphasis on medical imaging. Rather than using spatial patches, we tokenize into coefficients of a fixed basis. This approach defines each token as one spectral mode, and the sequence length is chosen rather than implied by resolution, reducing the cost of attention. Our proposed spectral ViT shows superior or comparable performance where data is scarce in public medical imaging benchmarks, natural images, object shapes, simulations, and protected clinical data. We release our code at: https://github.com/agr78/SpectralViT.
来源:arXiv (AI + Vision + Imaging) · arxiv.org