ChromaNest:把染色剂光学密度编码进图注意力,修正病理切片数据泄漏
ChromaNest: Stain-Conditioned Nested Graph Attention with Optical-Density Edge Priors for Leakage-Audited H&E Histopathology Classification
这篇论文戳破了病理切片高准确率的泡沫:随机切分下淋巴瘤数据 100% 的测试图在训练集里有近似重复。它给了一个 5.33M 参数的小模型,把染色剂光学密度直接编码进注意力,抗染色漂移比 Swin-Tiny 强 34–38%。做医学影像或数据集切分的人都该看看他们的 SSIP 协议。
西班牙研究团队提出 ChromaNest,一个面向 H&E 病理切片分类的染色感知嵌套图 Transformer,仅 5.33M 参数、每张 tile 3.04 GFLOPs。模型先用非学习的逐图前端分离苏木精和伊红的光学密度,再在 784 个 patch 节点的窗口注意力中以可学习边惩罚编码染色差异,并由染色条件化的 key 将节点软分配到 16 个隔室,最后通过零初始化的特征调制将隔室上下文传回每个节点。
论文在六个公开数据集(共 150,581 张图像)上采用防泄漏切分:BreakHis 用患者分组交叉验证,淋巴瘤数据按源图分组,CRC-VAL-HE-7K 用 50 名患者的独立外部队列,其余用 SSIP(先按感知哈希分组近似重复再切分)。结果显示,随机切分下 LC25000 有 86.9%、淋巴瘤数据有 100%、口腔癌数据有 35.9% 的测试图存在近似重复泄漏。防泄漏切分下,ChromaNest 在 BreakHis 达 91.84 ± 2.37% 准确率,在 CRC-VAL-HE-7K 外部队列零适配达 96.84 ± 0.14%,SSIP 下五种子准确率 94.66%–99.88%,校准误差不超过 2.16%。
消融实验表明染色条件化的贡献不小于整个隔室层级,主要来自光学密度输入;在 ±30% 染色漂移下,ChromaNest 的 macro-F1 损失比 Swin-Tiny 和 ConvNexT-Tiny 少 34–38%。这项工作直接挑战了病理 AI 基准中普遍存在的数据泄漏问题,给出了可复用的 SSIP 切分协议和完整代码(Zenodo: 24403413)。
ChromaNest: Stain-Conditioned Nested Graph Attention with Optical-Density Edge Priors for Leakage-Audited H&E Histopathology Classification
Deep-learning classifiers for haematoxylin and eosin (H&E) tiles often report near-ceiling accuracy, yet public benchmarks are frequently split so that near-duplicates of test tiles appear in training, and stain chemistry is treated only as a nuisance. We present ChromaNest, a stain-aware nested graph transformer (5.33M parameters, 3.04 GFLOPs per tile) that uses stain physics inside the network. A non-learned, per-image front-end separates H&E optical densities; stain differences enter windowed attention among 784 patch nodes as learnable edge penalties, stain-conditioned keys softly assign the nodes to 16 compartments, and compartment context returns to every node through zero-initialised feature-wise modulation. We evaluate six public datasets (150,581 images), splitting each at the finest level its metadata allow: patient-grouped cross-validation on BreakHis, source-image grouping on lymphoma, a patient-disjoint external cohort, and otherwise Source-Separated Image Partitioning (SSIP), which groups perceptual-hash near-duplicates before splitting. Hyperparameters, checkpoints and calibration were chosen on validation data only. ChromaNest reached 91.84 +/- 2.37% accuracy under patient-grouped cross-validation on BreakHis and 96.84 +/- 0.14% on the external 50-patient CRC-VAL-HE-7K cohort without adaptation. Random tile splits leaked near-duplicates for 86.9% (LC25000), 100% (lymphoma) and 35.9% (oral cancer) of test images. Under SSIP, five-seed accuracies ranged from 94.66% to 99.88%, with calibration error at most 2.16%. Stain conditioning contributed at least as much macro-F1 as the whole compartment hierarchy, mainly through the optical-density input, and under +/-30% stain drift ChromaNest lost 34-38% less macro-F1 than Swin-Tiny and ConvNeXt-Tiny. Code: https://doi.org/10.5281/zenodo.24403413
This report is categorized under AITOP's "Papers" desk. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include ChromaNest, Swin-Tiny, BreakHis.
Source attribution: curated from arXiv cs.AI (@Touhid Alam, Sumaiya Sarkar Shimla, Md. Manzurul Hasan, Md. Rafiqul Islam).