Image-conditioned latent rectified flow models for 3D medical anomaly localisation.

IF 4
Frontiers in radiology Pub Date : 2026-07-24 eCollection Date: 2026-01-01 DOI:10.3389/fradi.2026.1847193
Matthew Baugh, Johanna P Müller, Sarah Cechnicka, Kexin Gu Baugh, John Bonnici, James Myles, Bernhard Kainz
{"title":"Image-conditioned latent rectified flow models for 3D medical anomaly localisation.","authors":"Matthew Baugh, Johanna P Müller, Sarah Cechnicka, Kexin Gu Baugh, John Bonnici, James Myles, Bernhard Kainz","doi":"10.3389/fradi.2026.1847193","DOIUrl":null,"url":null,"abstract":"<p><strong>Introduction: </strong>Reconstruction-based methods offer a promising solution for unsupervised anomaly detection in medical imaging tasks. These methods train generative models on healthy data alone and identify anomalies as deviations between an input image and its pseudo-healthy reconstruction. The downfall of these methods is their dependence on two assumptions that often fail in practice: that models cannot reproduce unseen pathologies, yet can faithfully reconstruct healthy tissue. A recent image-conditioned diffusion approach explicitly addresses these issues by training a model to restore synthetic anomalies inserted into healthy images. However, it operates in 2D pixel space, discarding inter-slice context and incurring high computational cost.</p><p><strong>Methods: </strong>We address both limitations by performing image-conditioned restoration in a 3D latent space using a pretrained VAE and rectified flow, capturing volumetric context whilst drastically reducing computational overhead. To mitigate false positives introduced by VAE compression, we propose using the restoration change which measures the difference between the pseudo-healthy latent restoration and the VAE reconstruction of the original, rather than the standard reconstruction error. We further experiment with applying the synthetic anomaly training task directly in latent space to improve sensitivity to low-contrast anomalies.</p><p><strong>Results: </strong>We perform extensive experiments across various medical imaging benchmarks, including brain MRI and the newly released AADD dataset, comparing against reconstruction-based, feature-modelling, attention-based and self-supervised anomaly detection methods. Our image-conditioned rectified flow models establish a new state-of-the-art, with an ensemble of models trained with pixel-space and latent-space anomalies yielding the strongest overall performance.</p><p><strong>Discussion: </strong>These results demonstrate how incorporating 3D context enables better anomaly detection performance whilst also being ∼10 times faster. The difference in performance between models trained using latent-space and pixel-space anomalies suggests that further broadening of the anomaly imputation process could continue to improve the robustness of these models. Such improvements are certainly necessary, as the AADD benchmark is far from being saturated. Code is available at https://github.com/matt-baugh/img-cond-latent-rflow-model-ad.</p>","PeriodicalId":73101,"journal":{"name":"Frontiers in radiology","volume":"6 ","pages":"1847193"},"PeriodicalIF":4.0000,"publicationDate":"2026-07-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC13447378/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Frontiers in radiology","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.3389/fradi.2026.1847193","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2026/1/1 0:00:00","PubModel":"eCollection","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Introduction: Reconstruction-based methods offer a promising solution for unsupervised anomaly detection in medical imaging tasks. These methods train generative models on healthy data alone and identify anomalies as deviations between an input image and its pseudo-healthy reconstruction. The downfall of these methods is their dependence on two assumptions that often fail in practice: that models cannot reproduce unseen pathologies, yet can faithfully reconstruct healthy tissue. A recent image-conditioned diffusion approach explicitly addresses these issues by training a model to restore synthetic anomalies inserted into healthy images. However, it operates in 2D pixel space, discarding inter-slice context and incurring high computational cost.

Methods: We address both limitations by performing image-conditioned restoration in a 3D latent space using a pretrained VAE and rectified flow, capturing volumetric context whilst drastically reducing computational overhead. To mitigate false positives introduced by VAE compression, we propose using the restoration change which measures the difference between the pseudo-healthy latent restoration and the VAE reconstruction of the original, rather than the standard reconstruction error. We further experiment with applying the synthetic anomaly training task directly in latent space to improve sensitivity to low-contrast anomalies.

Results: We perform extensive experiments across various medical imaging benchmarks, including brain MRI and the newly released AADD dataset, comparing against reconstruction-based, feature-modelling, attention-based and self-supervised anomaly detection methods. Our image-conditioned rectified flow models establish a new state-of-the-art, with an ensemble of models trained with pixel-space and latent-space anomalies yielding the strongest overall performance.

Discussion: These results demonstrate how incorporating 3D context enables better anomaly detection performance whilst also being ∼10 times faster. The difference in performance between models trained using latent-space and pixel-space anomalies suggests that further broadening of the anomaly imputation process could continue to improve the robustness of these models. Such improvements are certainly necessary, as the AADD benchmark is far from being saturated. Code is available at https://github.com/matt-baugh/img-cond-latent-rflow-model-ad.

三维医学异常定位的图像条件潜校正流模型。
基于重建的方法为医学成像任务中的无监督异常检测提供了一个很有前途的解决方案。这些方法仅在健康数据上训练生成模型,并将异常识别为输入图像与其伪健康重建之间的偏差。这些方法的缺陷在于它们依赖于两个在实践中经常失败的假设:模型不能重现看不见的病理,但可以忠实地重建健康组织。最近的一种图像条件扩散方法通过训练模型来恢复插入健康图像的合成异常,明确地解决了这些问题。然而,它在二维像素空间中运行,丢弃了片间上下文并且产生了很高的计算成本。方法:我们通过使用预训练的VAE和校正流在3D潜在空间中执行图像条件恢复来解决这两个限制,捕获体积上下文,同时大大减少计算开销。为了减少由VAE压缩带来的误报,我们建议使用恢复变化来衡量伪健康潜在恢复与原始VAE重建之间的差异,而不是标准重建误差。我们进一步尝试直接在潜在空间中应用合成异常训练任务,以提高对低对比度异常的灵敏度。结果:我们在各种医学成像基准上进行了广泛的实验,包括脑MRI和新发布的AADD数据集,比较了基于重建、特征建模、基于注意力和自我监督的异常检测方法。我们的图像条件整流模型建立了一种新的最先进的技术,通过像素空间和潜在空间异常训练的模型集合产生了最强的整体性能。讨论:这些结果表明,结合3D环境如何实现更好的异常检测性能,同时速度也提高了10倍。使用潜在空间和像素空间异常训练的模型之间的性能差异表明,进一步扩大异常输入过程可以继续提高这些模型的鲁棒性。这样的改进当然是必要的,因为AADD基准还远远没有达到饱和。代码可从https://github.com/matt-baugh/img-cond-latent-rflow-model-ad获得。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
CiteScore
1.20
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书