arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.17586cs.CVcs.LGeess.IV
收藏

对ViT进行风格化:面向领域泛化的解剖保持实例风格迁移

Stylizing ViT: Anatomy-Preserving Instance Style Transfer for Domain Generalization

xAILab Bamberg, University of Bamberg, Bamberg, Germany(巴姆堡大学)

Sebastian Doerrich, Francesco Di Salvo, Jonas Alle, Christian Ledig

AI总结:

Stylizing ViT通过权重共享的注意力块实现解剖保持的实例风格迁移,提升领域泛化能力,实验显示在多个医学图像分类任务中准确率提升13%并减少伪影。

摘要:

在医学图像分析中,深度学习模型常常由于数据异质性和稀缺性而难以在不同领域和人口群体间实现泛化。传统增强方法虽然能提高鲁棒性,但在显著的领域转移下却失效。最近的风格增强技术通过改变图像风格来提升领域泛化能力,但在风格多样性或引入生成图像中的伪影方面存在不足。为了解决这些限制,我们提出了Stylizing ViT,一种新的Vision Transformer编码器,它利用权重共享的注意力块进行自注意力和交叉注意力。这种设计使相同的注意力块可以通过自注意力保持解剖一致性,同时通过交叉注意力进行风格迁移。我们通过在病理学和皮肤病学中的三个不同图像分类任务中使用该方法进行数据增强,评估了我们方法在领域泛化上的有效性。结果表明,我们的方法在鲁棒性方面(最高提升+13%的准确率)优于现有技术,同时生成的图像在视觉上令人信服且无伪影。此外,我们还展示了Stylizing ViT在训练之外的有效性,当用于推理时增强时,性能提升了17%。源代码可在https://github.com/sdoerrich97/stylizing-vit上获得。

英文摘要:

Deep learning models in medical image analysis often struggle with generalizability across domains and demographic groups due to data heterogeneity and scarcity. Traditional augmentation improves robustness, but fails under substantial domain shifts. Recent advances in stylistic augmentation enhance domain generalization by varying image styles but fall short in terms of style diversity or by introducing artifacts into the generated images. To address these limitations, we propose Stylizing ViT, a novel Vision Transformer encoder that utilizes weight-shared attention blocks for both self- and cross-attention. This design allows the same attention block to maintain anatomical consistency through self-attention while performing style transfer via cross-attention. We assess the effectiveness of our method for domain generalization by employing it for data augmentation on three distinct image classification tasks in the context of histopathology and dermatology. Results demonstrate an improved robustness (up to +13% accuracy) over the state of the art while generating perceptually convincing images without artifacts. Additionally, we show that Stylizing ViT is effective beyond training, achieving a 17% performance improvement during inference when used for test-time augmentation. The source code is available at https://github.com/sdoerrich97/stylizing-vit .

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑