Jinze Yu , Shuo Li , Luxin Tan , Haoyi Zhou , Zhongwu Li , Jianxin Li
{"title":"HiViT: Hierarchical attention-based Transformer for multi-scale whole slide histopathological image classification","authors":"Jinze Yu , Shuo Li , Luxin Tan , Haoyi Zhou , Zhongwu Li , Jianxin Li","doi":"10.1016/j.eswa.2025.127164","DOIUrl":null,"url":null,"abstract":"<div><div>The classification of Whole Slide Images (WSIs) remains a challenging task in computer-aided diagnostics. Though Multi-Instance Learning (MIL) and patch-wise modeling have become the mainstream methods in current research, they rely on a strong assumption that different patches are independent and identically distributed. Therefore, the contextual correlations within the images and across all the patches have been neglected, resulting in inferior performance, particularly in global-level tasks like mutation predictions. In this paper, we propose <strong>HiViT</strong>, a multi-scale WSI classification Transformer model utilizing the proposed Cross-scale Hierarchical Self-Attention (CHSA) mechanism to aggregate patch features among different scales and capture context information from the entire image with a reasonable memory cost. The CHSA mechanism is developed based on the multiple magnification scannings of WSIs and restricts cross-scale self-attention computation within local-constrained windows to aggregate patch features among different scales and capture context information from the entire image while getting rid of the infeasible memory cost of vanilla Transformers, and finally achieves the first fully trainable Transformer model for the WSI classification problem. Additionally, the Multi-Scale Feature Augmentation method is proposed to enhance permutation invariance on a large scale, which is important in the MIL assumption, while preserving local fine-grained contextual correlations. We extensively evaluated HiViT on several real-world datasets of diverse tasks, and our model outperformed the current state-of-the-art Transformer and MIL-based methods. Code will be available at <span><span>https://github.com/BUAA-SMART-Med-CV/HiViT</span><svg><path></path></svg></span>.</div></div>","PeriodicalId":50461,"journal":{"name":"Expert Systems with Applications","volume":"277 ","pages":"Article 127164"},"PeriodicalIF":7.5000,"publicationDate":"2025-03-14","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Expert Systems with Applications","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0957417425007869","RegionNum":1,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
引用次数: 0
Abstract
The classification of Whole Slide Images (WSIs) remains a challenging task in computer-aided diagnostics. Though Multi-Instance Learning (MIL) and patch-wise modeling have become the mainstream methods in current research, they rely on a strong assumption that different patches are independent and identically distributed. Therefore, the contextual correlations within the images and across all the patches have been neglected, resulting in inferior performance, particularly in global-level tasks like mutation predictions. In this paper, we propose HiViT, a multi-scale WSI classification Transformer model utilizing the proposed Cross-scale Hierarchical Self-Attention (CHSA) mechanism to aggregate patch features among different scales and capture context information from the entire image with a reasonable memory cost. The CHSA mechanism is developed based on the multiple magnification scannings of WSIs and restricts cross-scale self-attention computation within local-constrained windows to aggregate patch features among different scales and capture context information from the entire image while getting rid of the infeasible memory cost of vanilla Transformers, and finally achieves the first fully trainable Transformer model for the WSI classification problem. Additionally, the Multi-Scale Feature Augmentation method is proposed to enhance permutation invariance on a large scale, which is important in the MIL assumption, while preserving local fine-grained contextual correlations. We extensively evaluated HiViT on several real-world datasets of diverse tasks, and our model outperformed the current state-of-the-art Transformer and MIL-based methods. Code will be available at https://github.com/BUAA-SMART-Med-CV/HiViT.
期刊介绍:
Expert Systems With Applications is an international journal dedicated to the exchange of information on expert and intelligent systems used globally in industry, government, and universities. The journal emphasizes original papers covering the design, development, testing, implementation, and management of these systems, offering practical guidelines. It spans various sectors such as finance, engineering, marketing, law, project management, information management, medicine, and more. The journal also welcomes papers on multi-agent systems, knowledge management, neural networks, knowledge discovery, data mining, and other related areas, excluding applications to military/defense systems.