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

可学习的令牌稀疏化用于高效十亿像素全切片图像推理

Learnable Token Sparsification for Efficient Gigapixel Whole Slide Image Reasoning

Shenzhen University of Advanced Technology(深圳先进技术大学)

Jingzhi Chen, Landi He, Zhuo Chen, Shawn Young, Lijian Xu

AI总结:

针对视觉语言模型中全切片图像令牌过多的问题,提出可学习的稀疏化方法,通过SparseLearn组件和可微分的Soft Top-K算子实现训练,推理时仅保留32个令牌,在SlideBench上达到73.32%准确率。

摘要:

在视觉语言模型中处理十亿像素全切片图像面临的主要困难是视觉令牌数量过多。现有解决方案通常依赖于无需训练的空间下采样或启发式剪枝策略,这些方法往往会丢弃细微但具有临床意义的模式,因为病理证据在组织中不规则地分布。为了克服这一限制,我们将全切片图像中的令牌减少重新定义为可训练的稀疏化问题,使模型能够学习最优选择策略,而不是遵循固定的启发式规则。我们提出了一种解耦路由架构。为了在训练过程中通过不可微的剪枝操作实现梯度传播,我们引入了一个名为SparseLearn的组件。该组件使用一个方差保持的噪声门,通过可微分的Soft Top-K算子调节每个补丁的信息流,并配合一个对角注意力去噪器,在不泄露空间信息的情况下恢复受扰动的表示。在推理时,SparseLearn模块被完全丢弃,训练好的评分器应用确定性的Hard Top-K算子,仅保留得分最高的32个令牌,不产生额外计算。通过将视觉序列压缩到仅32个令牌的稀疏集合(仅占原始长度的0.78%),我们的框架在SlideBench(TCGA)上实现了73.32%的总体准确率,持续优于基于采样的基线和通用视觉语言模型。在SlideBench(BCNB)和WSI VQA*上也展示了强大的零样本泛化能力。通过解决视觉上下文瓶颈并防止稀疏诊断证据的稀释,这项工作为端到端的十亿像素全切片图像推理提供了一种高效范式。

英文摘要:

The processing of gigapixel whole slide images within vision language models faces a major difficulty due to an excessive number of visual tokens. Existing solutions typically rely on spatial downsampling or heuristic pruning strategies that operate without training, and these methods often discard subtle but clinically meaningful patterns because pathological evidence is scattered irregularly across the tissue. To overcome this limitation, we reformulate token reduction in whole slide images as a trainable sparsification problem, allowing the model to learn an optimal selection strategy instead of following fixed heuristics. We propose a decoupled routing architecture. To enable gradient propagation through the nondifferentiable pruning operation during training, we introduce a component called SparseLearn. This component uses a variance-preserving noise gate that regulates the information flow of each patch via a differentiable Soft Top-K operator, together with a diagonal attention denoiser that recovers perturbed representations without leaking spatial information. At inference time, the SparseLearn module is entirely discarded, and the trained scorer applies a deterministic Hard Top-K operator to keep only the highest scoring 32 tokens, incurring no extra computation. By compressing the visual sequence down to a sparse set of just 32 tokens, which represents as little as 0.78% of the original length, our framework achieves 73.32% overall accuracy on SlideBench (TCGA), consistently surpassing sampling-based baselines and general-purpose vision language models. It also demonstrates strong zero shot generalization on SlideBench (BCNB) and WSI VQA*. By resolving the visual context bottleneck and preventing the dilution of sparse diagnostic evidence, this work provides a highly efficient paradigm for end to end gigapixel whole slide image reasoning.

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

↑