Information Flow Through U-Nets

Suemin Lee, Ivan V. Bajic · DOI

TL;DR

This paper uses information theory, specifically mutual information, to analyze how information flows through U-Net architectures, a popular choice for medical image segmentation. By introducing "U-Plots," the authors reveal insights into the learning dynamics of U-Nets, demonstrating that not all architectural components, like skip connections, are always necessary, depending on training duration.

What Problem Does This Paper Address?

Deep Neural Networks (DNNs), particularly U-Nets, are widely used for image segmentation tasks, especially in medical imaging. However, understanding why these networks work and how information is processed within them remains a challenge. There's a lack of principled methods to assess the efficiency of U-Net designs beyond trial-and-error. This paper aims to shed light on the internal workings of U-Nets by quantifying information flow, which can help in understanding their architectural choices and potentially lead to more efficient designs.

Methods

The core of this paper lies in applying information-theoretic concepts, primarily mutual information (MI), to analyze DNNs. MI quantifies the statistical dependence between two random variables, essentially measuring how much information one variable provides about another.

Key methods include:

  • Mutual Information Estimation: The authors use established methods like Kernel Density Estimation (KDE) and histogram-based estimators to quantify MI.
  • Data Processing Inequality (DPI): This fundamental principle states that information cannot increase as it passes through a series of processing steps. For a single-stream network (X → M → Y), DPI implies I(X; M) ≥ I(X; Y). The paper notes that U-Nets, with their skip connections, violate this simple Markovian assumption.
  • Estimating MI for Segmentation Masks: A significant challenge is estimating MI for high-dimensional outputs like segmentation masks. The authors address this by using two dimensionality reduction techniques:
  • Spatial Coarsening: Dividing the output mask into blocks and assigning a binary value based on pixel density.
  • K-means Clustering: Vectorizing the mask and clustering pixels into a smaller number of groups. K-means was found to produce more morphologically meaningful clusters and was preferred for experiments.
  • U-Plots: A novel visualization tool introduced by the authors. U-Plots graph mutual information between the input (I(X; Mᵢ)) and output (I(Y; Mᵢ)) with respect to intermediate layers (i). This helps visualize how information is compressed or preserved across different layers during training.

Datasets

The experiments were conducted on the cell image dataset from [12]. This dataset consists of 670 segmented nuclei images, acquired under various conditions and featuring different cell types, magnifications, and imaging modalities. The dataset was split into 605 images for training and 65 for validation/testing.

Key Insights and Ideas

  • U-Nets are not simple Markov chains: The presence of skip connections means that information can flow non-monotonically through layers, violating the strict data processing inequality seen in single-stream networks.
  • U-Plots reveal learning dynamics: The U-shape observed in the U-Plots (I(X; Mᵢ) decreasing and I(Y; Mᵢ) generally increasing with layer depth, then potentially decreasing) provides a visual roadmap of information flow and compression.
  • Skip connections can be redundant: The analysis suggests that if a layer has already reached its maximum mutual information with the output (I(Y; Mᵢ)), the skip connection feeding into a later merge layer might not be adding significant new information.
  • Training duration matters: The necessity of certain architectural components, like skip connections, is not absolute but depends on how long the network is trained. Shorter training might require more connections, while longer training can compensate for their removal.

Key Results

  • Architectural Simplification: The paper experimentally verified predictions made from U-Plot analysis. Removing the top skip connection (M₁ → M₂₀) in a U-Net allowed it to reach maximum accuracy with training around 1,000-2,000 epochs. Removing the top two skip connections (M₁ → M₂₀ and M₃ → M₁₇) also allowed for good performance with longer training (up to 10,000 epochs). However, removing the top three skip connections (including M₅ → M₁₄) prevented the network from reaching maximum performance within 10,000 epochs.
  • Qualitative Improvements: Figures 6 shows that simplified U-Nets (Models 2 and 3) produced segmentation masks of comparable quality to the original U-Net (Model 1) when trained appropriately.
  • Information Bottleneck: For some layers, mutual information I(Y; Mᵢ) reached a maximum of around 3 bits, indicating a significant level of information about the output being captured.

Limitations and Future Work

  • MI Estimation Challenges: Estimating mutual information in high-dimensional spaces remains a challenge, and the dimensionality reduction techniques used (spatial coarsening, K-means) are approximations that introduce upper bounds on the true MI values.
  • Canonical Model: The study focused on a simplified, canonical U-Net model. Extending this analysis to larger, state-of-the-art U-Nets could reveal more complex information flow patterns.
  • Generalizability: While the findings suggest architectural modifications based on training duration, further research could explore how these insights generalize to different datasets and tasks beyond medical image segmentation.
  • Principled Design: The authors hope their methodology will contribute to a more principled design of multi-stream neural networks, moving beyond empirical tuning.

Summary updated

BibTeX
@inproceedings{lee2021information,
  author = {Suemin Lee and Ivan V. Bajic},
  title = {{Information Flow Through U-Nets}},
  booktitle = {ISBI},
  year = {2021},
  doi = {10.1109/isbi48211.2021.9433801},
}
Figure