耳鼻喉科Pubmed文献追踪每日 14:00 同步
← 返回全部文献
Article record

鼓膜耳镜分类的可解释深度学习:CNN与视觉Transformer架构的患者级、多种子比较

Explainable Deep Learning for Tympanic Membrane Otoscopy Classification: A Patient-Level, Multi-Seed Comparison of CNN and Vision Transformer Architectures.

AI/ML耳科IF 3.1Q2

文献信息

中文摘要

背景: 鼓膜的耳镜评估高度依赖临床医生的经验,因此存在观察者间差异。我们在患者级、多种子、防泄漏的评估框架内,比较了卷积神经网络(CNN)与视觉Transformer架构,将耳镜图像分为五类(急性中耳炎、耵聍栓塞、正常、穿孔和浆液性中耳炎)。
方法: 本研究纳入来自735例患者的2534张耳镜图像。一个由148例患者(20%)组成的留出测试集在模型开发的任何阶段均未使用,仅在研究结束时访问一次。对于其余患者,患者级五折交叉验证以五个种子重复进行,每个模型产生25次评估。七种架构在相同方案下训练,并使用Friedman检验及事后Nemenyi分析和95% bootstrap置信区间进行比较。
结果: Swin-T取得最高性能(F1-macro 0.900;95%置信区间0.890-0.910),且各模型间差异显著(Friedman p < 10⁻⁹)。这一优势更多源于设计选择而非架构家族。分层式ConvNeXt-T(CNN)与Swin-T在统计学上等效,而在共同方案下,平坦分块ViT-B/16位列最弱且计算成本最高的模型之一。两个家族之间的差异很小(CNN为0.881,Transformer为0.887)。在验证集上学习的温度缩放将平均期望校准误差(ECE)从0.077降至0.043。大多数错误发生在视觉上相似的急性中耳炎与浆液性中耳炎类别之间。解释忠实度使用Deletion和Insertion曲线下面积(AUC)指标进行量化。留出集性能与交叉验证一致(差异≤0.043),表明模型未过拟合。分层和局部窗口架构在准确性与计算效率之间取得了最佳平衡。本研究的主要局限性在于数据为单中心,且尚未进行外部验证。
结论: 结论:在患者级、多种子、防泄漏框架下,分层和局部窗口架构在鼓膜耳镜图像五分类中实现了准确性与计算效率的最佳平衡,架构家族间差异较小,温度缩放改善了校准,主要错误集中于视觉相似的急性中耳炎与浆液性中耳炎类别,但数据为单中心且尚需外部验证。

英文摘要

Otoscopic assessment of the tympanic membrane relies heavily on the clinician's experience and therefore exhibits inter-observer variability. We compared convolutional neural network (CNN) and Vision Transformer architectures for classifying otoscopic images into five classes (acute otitis, cerumen impaction, normal, perforation and serous otitis) within a patient-level, multi-seed, leakage-resistant evaluation framework. The study included 2534 otoscopic images obtained from 735 patients. A held-out test set of 148 patients (20%) was not used at any stage of model development and was accessed only once, at the end of the study. For the remaining patients, patient-level five-fold cross-validation was repeated with five seeds, yielding 25 evaluations per model. Seven architectures were trained under an identical protocol and compared using the Friedman test with post-hoc Nemenyi analysis and 95% bootstrap confidence intervals. Swin-T achieved the highest performance (F1-macro 0.900; 95% confidence interval 0.890-0.910), and the models differed significantly (Friedman p < 10⁻9). This superiority stemmed more from design choices than from the architectural family. The hierarchical ConvNeXt-T (CNN) was statistically equivalent to Swin-T, whereas, under the common protocol, the flat-patch ViT-B/16 ranked among the weakest and most costly models. The difference between the families was small (0.881 for CNN versus 0.887 for Transformer). Temperature scaling, learnt on the validation set, reduced the mean expected calibration error (ECE) from 0.077 to 0.043. Most errors occurred between the visually similar acute otitis and serous otitis classes. Explanation faithfulness was quantified using Deletion and Insertion area under the curve (AUC) metrics. Held-out performance was consistent with cross-validation (difference ≤ 0.043), indicating that the models did not overfit. Hierarchical and locally windowed architectures achieved the best balance between accuracy and computational efficiency. The main limitation of the study is that the data are single-centre and external validation has not yet been carried out.