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

上下文至关重要:面向查询的千兆像素图像动态长序列建模

Context Matters: Query-aware Dynamic Long Sequence Modeling of Gigapixel Images

Hong Kong University of Science and Technology(香港科技大学);Beijing Institute of Collaborative Innovation(北京协同创新研究院);Peking University(北京大学)

Zhengrui Guo, Qichen Sun, Jiabo Ma, Lishuang Feng, Jinzhuo Wang, Hao Chen

AI总结:

本文提出Querent框架,通过查询感知的动态长序列建模,在千兆像素全切片图像分析中实现高效且近似完整自注意力的性能,并在多个WSI数据集上超越现有方法。

摘要:

全切片图像(WSI)分析因千兆像素图像中数量庞大的图像块而面临显著的计算挑战。尽管Transformer架构通过自注意力机制在建模长距离相关性方面表现出色,但其二次计算复杂度使其在计算病理学应用中不切实际。现有的解决方案如局部-全局或线性自注意力虽降低了计算成本,却削弱了完整自注意力的强大建模能力。在本工作中,我们提出了Querent,即查询感知的长上下文动态建模框架,它在实现完整自注意力的理论有界近似的同时,提供了实际效率。我们的方法自适应地预测每个图像块最相关的周围区域,从而仅对潜在重要的上下文进行聚焦但不受限制的注意力计算。通过使用高效的区域级元数据计算和重要性估计,我们的方法大幅降低了计算开销,同时保留全局感知以建模细粒度的图像块相关性。通过在超过10个WSI数据集上进行的生物标志物预测、基因突变预测、癌症亚型分类和生存分析的综合实验,我们的方法展现了优于现有最先进方法的性能。代码可在https://github.com/dddavid4real/Querent获取。

英文摘要:

Whole slide image (WSI) analysis presents significant computational challenges due to the massive number of patches in gigapixel images. While transformer architectures excel at modeling long-range correlations through self-attention, their quadratic computational complexity makes them impractical for computational pathology applications. Existing solutions like local-global or linear self-attention reduce computational costs but compromise the strong modeling capabilities of full self-attention. In this work, we propose Querent, i.e., the query-aware long contextual dynamic modeling framework, which achieves a theoretically bounded approximation of full self-attention while delivering practical efficiency. Our method adaptively predicts which surrounding regions are most relevant for each patch, enabling focused yet unrestricted attention computation only with potentially important contexts. By using efficient region-wise metadata computation and importance estimation, our approach dramatically reduces computational overhead while preserving global perception to model fine-grained patch correlations. Through comprehensive experiments on biomarker prediction, gene mutation prediction, cancer subtyping, and survival analysis across over 10 WSI datasets, our method demonstrates superior performance compared to the state-of-the-art approaches. Codes are available at https://github.com/dddavid4real/Querent.

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

↑