arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2211.07384cs.CV
收藏

语言模型是优秀的病理学家:采用基于注意力的序列缩减与文本预训练Transformer实现高效WSI分类

Language models are good pathologists: using attention-based sequence reduction and text-pretrained transformers for efficient WSI classification

Institute for Biomedical Informatics, Faculty of Medicine and University Hospital Cologne, University of Cologne(科隆大学医学院暨科隆大学医院生物医学信息学研究所);Center for Molecular Medicine Cologne (CMMC), Faculty of Medicine and University Hospital Cologne, University of Cologne(科隆大学医学院暨科隆大学医院科隆分子医学中心(CMMC))

Juan I. Pisula, Katarzyna Bozek

AI总结:

针对数字病理WSI分类中Transformer处理长序列计算成本高的问题,提出基于多头注意力的SeqShort序列缩短层,结合文本预训练Transformer微调少量参数,在两类病理任务中以低开销实现了优异分类性能。

摘要:

在数字病理学领域,全切片图像(WSI)分析通常被建模为多示例学习(MIL)问题。尽管基于Transformer的架构已被应用于WSI分类,但这些方法需要进行调整以适配这类图像数据的特定挑战,其中一大挑战是深度Transformer模型处理长输入所需的内存与计算量——例如在10倍或20倍放大倍率下,一张WSI可由数千个图像块组成。我们提出了SeqShort,这是一种基于多头注意力的序列缩短层,可将每张WSI总结为长度固定且较短的实例序列,既能降低长序列上自注意力的计算成本,还能引入其他MIL方法不具备的位置信息。此外我们发现,当下游Transformer架构已在大规模文本语料上预训练,且仅微调不到0.1%的参数时,WSI分类性能可得到提升。我们在淋巴结转移分类和癌症亚型分类任务上验证了该方法的有效性,无需设计WSI专用Transformer,也无需进行域内预训练,同时保持了较低的计算开销与少量可训练参数。

英文摘要:

In digital pathology, Whole Slide Image (WSI) analysis is usually formulated as a Multiple Instance Learning (MIL) problem. Although transformer-based architectures have been used for WSI classification, these methods require modifications to adapt them to specific challenges of this type of image data. Among these challenges is the amount of memory and compute required by deep transformer models to process long inputs, such as the thousands of image patches that can compose a WSI at $\times 10$ or $\times 20$ magnification. We introduce \textit{SeqShort}, a multi-head attention-based sequence shortening layer to summarize each WSI in a fixed- and short-sized sequence of instances, that allows us to reduce the computational costs of self-attention on long sequences, and to include positional information that is unavailable in other MIL approaches. Furthermore, we show that WSI classification performance can be improved when the downstream transformer architecture has been pre-trained on a large corpus of text data, and only fine-tuning less than 0.1\% of its parameters. We demonstrate the effectiveness of our method in lymph node metastases classification and cancer subtype classification tasks, without the need of designing a WSI-specific transformer nor doing in-domain pre-training, keeping a reduced compute budget and low number of trainable parameters.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑