Adaptive Patching for High-resolution Image Segmentation with Transformers
EZEnzhi ZhangIsaac LyngaasPCPeng ChenXiao WangJun Igarashi
Yuankai Huo
Mohamed Wahib
Masaharu Munetomo EZEnzhi Zhang
Isaac Lyngaas
PCPeng Chen
Xiao Wang
Jun Igarashi

Yuankai Huo

Mohamed Wahib

Masaharu Munetomo
+8
This paper proposes an adaptive patching method for high-resolution image segmentation with transformers. Inspired by Adaptive Mesh Refinement in HPC, it pre-processes images by using fewer, larger patches in smooth regions and more, smaller patches in detailed regions, reducing the number of patches by orders of magnitude. This method has negligible overhead and works with any attention-based model. It achieves superior segmentation quality over state-of-the-art models on real-world pathology datasets, with a geomean speedup of $6.9\times$ for resolutions up to $64K^2$ on up to $2,048$ GPUs.

arXiv ·
· April 15, 2024