An MRF-UNet Product of Experts for Image Segmentation

Mikael Brudfors, Yaël Balbastre, John Ashburner, Geraint Rees, Parashkev Nachev +2 more
4/12/2021
cs.CVeess.IV

Official code: balbasty/nitorch (100 stars, Python, last commit 2026-11-07).

Abstract

While convolutional neural networks (CNNs) trained by back-propagation have seen unprecedented success at semantic segmentation tasks, they are known to struggle on out-of-distribution data. Markov random fields (MRFs) on the other hand, encode simpler distributions over labels that, although less flexible than UNets, are less prone to over-fitting.

Show full abstract

In this paper, we propose to fuse both strategies by computing the product of distributions of a UNet and an MRF. As this product is intractable, we solve for an approximate distribution using an iterative mean-field approach. The resulting MRF-UNet is trained jointly by back-propagation. Compared to other works using conditional random fields (CRFs), the MRF has no dependency on the imaging data, which should allow for less over-fitting. We show on 3D neuroimaging data that this novel network improves generalisation to out-of-distribution samples. Furthermore, it allows the overall number of parameters to be reduced while preserving high accuracy. These results suggest that a classic MRF smoothness prior can allow for less over-fitting when principally integrated into a CNN model. Our implementation is available at https://github.com/balbasty/nitorch.

View on arXivView PDF

Code Implementations(1)

balbasty/nitorchOfficial100%

Neuroimaging in PyTorch

10015Python, C++Apr 17, 20203 weeks agoNOASSERTION

Similar Papers

Cite this paper

@article{brudfors2021mrfunet,
  title  = {An MRF-UNet Product of Experts for Image Segmentation},
  author = {Mikael Brudfors and Yaël Balbastre and John Ashburner and Geraint Rees and Parashkev Nachev and Sébastien Ourselin and M. Jorge Cardoso},
  year   = {2021},
  eprint = {2104.05495},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.05495}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2104.05495.svg)](https://codeofpaper.com/paper/2104.05495)

Discussion