Skip to main content
QUICK REVIEW

[Paper Review] A Fast Learning Algorithm for Image Segmentation with Max-Pooling Convolutional Networks

Jonathan Masci, Alessandro Giusti|arXiv (Cornell University)|Feb 7, 2013
Advanced Neural Network ApplicationsComputer Science6 references16 citations
TL;DR

This paper proposes a novel training algorithm for Max-Pooling Convolutional Neural Networks (MPCNNs) that processes entire images in a single pass, eliminating redundant patch-wise computations. By introducing a MaxPoolingFragment (MPF) layer and adapting back-propagation for full-image processing, the method achieves a 1500-fold speed-up over patch-based training while maintaining state-of-the-art segmentation accuracy on industrial and medical datasets.

ABSTRACT

We present a fast algorithm for training MaxPooling Convolutional Networks to segment images. This type of network yields record-breaking performance in a variety of tasks, but is normally trained on a computationally expensive patch-by-patch basis. Our new method processes each training image in a single pass, which is vastly more efficient. We validate the approach in different scenarios and report a 1500-fold speed-up. In an application to automated steel defect detection and segmentation, we obtain excellent performance with short training times.

Motivation & Objective

  • To address the computational inefficiency of training MPCNNs via patch-by-patch processing, which is slow and redundant.
  • To enable fast, scalable training of MPCNNs on large industrial and medical image datasets.
  • To develop a new neural network layer (MaxPoolingFragment) that supports end-to-end back-propagation on full images.
  • To achieve real-time inference and training for industrial applications such as steel defect detection.
  • To maintain high segmentation accuracy while drastically reducing training time compared to conventional patch-based methods.

Proposed method

  • Introduces the MaxPoolingFragment (MPF) layer, which extends standard max-pooling to operate on image fragments derived from a full input image, enabling full-image processing.
  • Designs a new forward and backward pass mechanism for MPF layers that avoids recomputing overlapping regions, reducing redundant calculations.
  • Adapts the standard back-propagation algorithm to compute gradients across fragments, ensuring parameter updates are consistent with the full-image computation graph.
  • Uses a fragment-based storage structure where each fragment corresponds to a non-overlapping region of the input image, enabling efficient computation and memory management.
  • Employs a modified loss function (MCCE) to handle class imbalance in datasets with rare defect pixels.
  • Trains the network using LBFGS optimization and down-samples images by a factor of 4 to further accelerate learning.

Experimental results

Research questions

  • RQ1Can full-image processing be used to train MPCNNs without sacrificing segmentation accuracy?
  • RQ2How much faster can MPCNN training be when processing entire images instead of individual patches?
  • RQ3Can the proposed MPF layer enable real-time inference and training in industrial applications with high variability in image quality?
  • RQ4Does the new training method maintain state-of-the-art performance on benchmark datasets like ISBI EM and industrial steel defect detection?
  • RQ5What is the impact of fragment-based processing on gradient computation and model convergence?

Key findings

  • The proposed method achieves a 1500-fold speed-up in training time compared to patch-based methods, reducing training from hours to minutes on a standard CPU.
  • The model reaches a per-pixel error rate of 5.8% on the steel defect detection dataset, significantly outperforming random guessing (50% error).
  • Training on the membrane dataset achieved state-of-the-art performance, validating the method's effectiveness on challenging biological image segmentation tasks.
  • Inference on a new image takes only 0.07 seconds, enabling real-time deployment in industrial steel production environments.
  • The method maintains high detection accuracy, making only 3 errors on a test set of 534 images, with 3 additional defects correctly detected that were mislabeled in annotations.
  • The overhead of generating transformed samples is minimal, and the overall training time remains highly efficient even with complex optimization (LBFGS).

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.