Skip to main content
QUICK REVIEW

[Paper Review] Visualized Insights into the Optimization Landscape of Fully Convolutional Networks

Jianjie Lu, Raymond Kai‐Yu Tong|arXiv (Cornell University)|Jan 20, 2019
Advanced Neural Network ApplicationsComputer Science27 references9 citations
TL;DR

This paper provides visualized insights into the optimization landscapes of fully convolutional networks (FCNs) by projecting loss surfaces around trained models using random directions. It demonstrates that skip-layer connections promote flatter, more generalizable loss landscapes, and small-batch training leads to flatter minimizers with smoother regions, while large-batch training results in sharp minimizers with chaotic neighborhoods—offering empirical explanations for generalization differences in FCN architectures.

ABSTRACT

Many image processing tasks involve image-to-image mapping, which can be addressed well by fully convolutional networks (FCN) without any heavy preprocessing. Although empirically designing and training FCNs can achieve satisfactory results, reasons for the improvement in performance are slightly ambiguous. Our study is to make progress in understanding their generalization abilities through visualizing the optimization landscapes. The visualization of objective functions is obtained by choosing a solution and projecting its vicinity onto a 3D space. We compare three FCN-based networks (two existing models and a new proposed in this paper for comparison) on multiple datasets. It has been observed in practice that the connections from the pre-pooled feature maps to the post-upsampled can achieve better results. We investigate the cause and provide experiments to shows that the skip-layer connections in FCN can promote flat optimization landscape, which is well known to generalize better. Additionally, we explore the relationship between the models generalization ability and loss surface under different batch sizes. Results show that large-batch training makes the model converge to sharp minimizers with chaotic vicinities while small-batch method leads the model to flat minimizers with smooth and nearly convex regions. Our work may contribute to insights and analysis for designing and training FCNs.

Motivation & Objective

  • To understand the generalization behavior of fully convolutional networks (FCNs) through visualization of their optimization landscapes.
  • To investigate the role of skip-layer connections in shaping the geometry of the loss surface.
  • To analyze how batch size affects convergence to sharp or flat minimizers in FCNs.
  • To compare the optimization landscape properties of different FCN architectures (e.g., FCN-16s, FCN-8s, U-Net) on multiple datasets.

Proposed method

  • The optimization landscape is visualized by selecting a trained model and projecting its local neighborhood onto a 3D space using two random directions.
  • The sharpness of the loss surface is quantified using the Cε measure, defined as the average of the loss over a spherical neighborhood of radius ε around the model weights.
  • Three FCN-based models—FCN-16s, FCN-8s, and a newly proposed model—are trained and compared across multiple datasets with identical training loss to isolate architectural effects.
  • Small-batch (B2) and large-batch (B16) training protocols are applied to the same models to compare their convergence behavior and resulting loss surface geometry.
  • The visualization is performed at fixed resolution (n=40) and reduced region size (r=0.025) to enhance clarity and allow direct comparison of minimizer flatness.
  • Experiments are conducted on edge detection and biomedical segmentation datasets to evaluate generalization performance and landscape properties.

Experimental results

Research questions

  • RQ1How do skip-layer connections in FCNs affect the geometry of the loss surface and generalization performance?
  • RQ2What is the relationship between batch size and the flatness of the minimizer in FCNs?
  • RQ3Why do some FCN architectures generalize better than others despite similar training loss?
  • RQ4Can visualizing the optimization landscape explain the superior performance of U-Net over FCN-16s in EM segmentation tasks?

Key findings

  • Skip-layer connections from earlier, higher-resolution feature maps to later, upsampled layers lead to flatter optimization landscapes, which are associated with better generalization.
  • FCN-4s exhibits the flattest landscape with Cε=1.4904 at ε=0.1, followed by FCN-8s (1.7724) and FCN-16s (2.1822), indicating improved generalization with finer-grained skip connections.
  • Small-batch training (B2) consistently leads to flatter minimizers with smoother, nearly convex regions, while large-batch training (B16) results in sharp minimizers with chaotic, irregular neighborhoods.
  • The average Cε sharpness for B2 is 0.0252 at ε=0.01 for FCN-16s, compared to 0.0418 for B16, confirming that small batches yield flatter minima.
  • U-Net achieves lower sharpness values (0.0175 at ε=0.01 for B2) than FCN-16s (0.0252), suggesting its architecture promotes flatter, more generalizable solutions.
  • The study provides empirical evidence that flatter minimizers correlate with better generalization, supporting the hypothesis that optimization landscape geometry influences generalization in FCNs.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.