The status of We included 1695 slides from 1417 patients with ovarian, breast, prostate, and pancreatic cancers across three independent cohorts. Using a self-attention mechanism, we constructed a multi-instance attention model (MIAM) to detect Across the four cancer types, MIAM-C outperformed the deep learning-based MIAM in identifying the The MIAM-C model accurately detected