Skip to main content
QUICK REVIEW

[Paper Review] Surface Defect Classification in Real-Time Using Convolutional Neural Networks

Selim Arikan, Kiran Varanasi|arXiv (Cornell University)|Apr 7, 2019
Industrial Vision Systems and Defect DetectionEngineering12 citations
TL;DR

This paper proposes lightweight, real-time convolutional neural network (CNN) models specifically designed for industrial surface defect classification, achieving 98.0% accuracy on a custom dataset of 22,000+ images and 99.5% Top-1 accuracy on the public NEU dataset. The approach combines novel neural data augmentation techniques to address class imbalance and a custom architecture optimized for low inference latency, outperforming traditional hand-crafted feature methods in both accuracy and speed.

ABSTRACT

Surface inspection systems are an important application domain for computer vision, as they are used for defect detection and classification in the manufacturing industry. Existing systems use hand-crafted features which require extensive domain knowledge to create. Even though Convolutional neural networks (CNNs) have proven successful in many large-scale challenges, industrial inspection systems have yet barely realized their potential due to two significant challenges: real-time processing speed requirements and specialized narrow domain-specific datasets which are sometimes limited in size. In this paper, we propose CNN models that are specifically designed to handle capacity and real-time speed requirements of surface inspection systems. To train and evaluate our network models, we created a surface image dataset containing more than 22000 labeled images with many types of surface materials and achieved 98.0% accuracy in binary defect classification. To solve the class imbalance problem in our datasets, we introduce neural data augmentation methods which are also applicable to similar domains that suffer from the same problem. Our results show that deep learning based methods are feasible to be used in surface inspection systems and outperform traditional methods in accuracy and inference time by considerable margins.

Motivation & Objective

  • To develop deep learning models tailored for real-time industrial surface inspection systems with strict inference speed constraints.
  • To address the challenge of class imbalance in surface defect datasets through domain-specific data augmentation.
  • To create a large, diverse, and expert-validated surface defect image dataset for training and benchmarking.
  • To outperform traditional hand-crafted feature-based classifiers in both accuracy and inference speed.
  • To enable generalization across multiple surface materials and defect types with a single, adaptable model architecture.

Proposed method

  • Designed three custom CNN architectures (SurfNet, MultiVis, FastInf) from scratch, optimized for low inference latency and high accuracy in industrial settings.
  • Implemented a novel neural data augmentation strategy that generates realistic defect and non-defect images based on class-specific characteristics to address class imbalance.
  • Trained models on a newly collected dataset of over 22,000 labeled surface images from 23 real-world manufacturing systems across diverse materials like steel, foil, glass, and film.
  • Used transfer learning and architectural innovations such as skip-connections and efficient convolutional blocks to maintain high performance with minimal computational cost.
  • Evaluated models on both a private dataset (SurfMix) and the public NEU dataset, using 10-fold cross-validation and standard metrics like Top-1 accuracy and inference time per image.
  • Optimized hyperparameters including initial learning rate, weight decay, and batch size to maximize generalization and convergence speed.

Experimental results

Research questions

  • RQ1Can lightweight CNN models achieve state-of-the-art accuracy in surface defect classification while meeting real-time inference requirements?
  • RQ2How effective are neural data augmentation techniques in improving model generalization on imbalanced surface defect datasets?
  • RQ3Can a single, generalized CNN model effectively classify defects across diverse surface materials without per-material retraining?
  • RQ4How does the proposed method compare to traditional hand-crafted feature-based classifiers in terms of accuracy and inference speed?
  • RQ5To what extent does data augmentation improve performance on low-resource, class-imbalanced surface inspection datasets?

Key findings

  • The proposed SurfNet model achieved 99.7% accuracy on the standard SurfMix dataset and 99.5% Top-1 accuracy on the public NEU dataset, setting a new state-of-the-art for real-time surface defect classification.
  • Neural data augmentation improved test accuracy by up to 3.5%, with the largest gains observed in models with higher learning capacity like SurfNet.
  • The FastInf model achieved 94.4% accuracy with only 0.2ms inference time per image, demonstrating exceptional speed-efficiency trade-off.
  • The proposed models outperformed traditional C5.0 decision trees with over 400 hand-crafted features in both accuracy and inference speed.
  • The inference time of the proposed SurfNet model was 1.92ms per image, making it nearly 20 times faster than DenseNet while maintaining 99.0% test accuracy.
  • The results confirm that deep learning-based approaches are not only feasible but superior to traditional methods in industrial surface inspection, especially under real-time constraints.

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.