U-Nets as Belief Propagation: Efficient Classification, Denoising, and Diffusion in Generative Hierarchical Models
Song Mei
TL;DR
This work provides a theoretical bridge between U-Net architectures and belief propagation denoising within generative hierarchical models (GHMs), showing that the encoder–decoder structure with long skip connections naturally implements BP-like downward/upward message passing on tree-structured graphs. It establishes polynomial sample complexity bounds for learning the denoising function with U-Nets in GHMs and similarly demonstrates ConvNets excel at classification within the same framework, offering a unified view of ConvNets and U-Nets in modeling complex data across language and image domains. The results connect to diffusion modeling by situating denoising within GHMs as a core component of diffusion-like procedures, and provide constructive approximation theorems showing how BP/MP updates can be emulated by neural networks. Overall, the paper advances theoretical understanding of why U-Nets perform well in denoising and diffusion tasks and suggests directions for validating these insights on practical pretrained models and extending to conditional denoising.
Abstract
U-Nets are among the most widely used architectures in computer vision, renowned for their exceptional performance in applications such as image segmentation, denoising, and diffusion modeling. However, a theoretical explanation of the U-Net architecture design has not yet been fully established. This paper introduces a novel interpretation of the U-Net architecture by studying certain generative hierarchical models, which are tree-structured graphical models extensively utilized in both language and image domains. With their encoder-decoder structure, long skip connections, and pooling and up-sampling layers, we demonstrate how U-Nets can naturally implement the belief propagation denoising algorithm in such generative hierarchical models, thereby efficiently approximating the denoising functions. This leads to an efficient sample complexity bound for learning the denoising function using U-Nets within these models. Additionally, we discuss the broader implications of these findings for diffusion models in generative hierarchical models. We also demonstrate that the conventional architecture of convolutional neural networks (ConvNets) is ideally suited for classification tasks within these models. This offers a unified view of the roles of ConvNets and U-Nets, highlighting the versatility of generative hierarchical models in modeling complex data distributions across language and image domains.
