NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning for Feature Selection and Shape Detection

Rita Cucchiara, Massimo Piccardi, Michele Bariani, Paola MelloICIAP 1997

Abstract

Detecting unstructured shapes in noisy, real-world environments remains a significant challenge for traditional computer vision pipelines. This paper presents a pragmatic approach that moves away from rigid segmentation-first workflows in favor of a hierarchical, learning-based hypothesis validation system. By integrating symbolic machine learning (C4.5) into the vision pipeline, the proposed architecture automatically identifies the most relevant visual features, optimizing both detection accuracy and computational efficiency for industrial defect inspection.

Introduction

In traditional computer vision, the standard workflow typically follows a linear path: segment the object, extract features, and then classify. While this works well for rigid, man-made objects with clear boundaries, it often fails in "unstructured" scenarios, such as detecting cracks on metallic surfaces. In these cases, the target is qualitative, noisy, and lacks a predictable geometric model.

The authors identify two primary hurdles in these environments: model uncertainty, where a "defect" cannot be easily defined by a simple formula, and feature overload, where engineers calculate numerous features without knowing which ones truly contribute to accurate classification.

System Architecture

To address these challenges, the paper introduces a hierarchical and layered architecture for visual analysis. Unlike traditional systems, this framework uses a hypothesis-driven detection method. Instead of segmenting the entire image, the system identifies "points of interest" in a high-level feature space and then works backward (top-down) to collect lower-level features only for those specific points.

Figure 1: The proposed system architecture, highlighting the feedback loop between the learning module and feature selection.

As shown in Figure 1, the core of the system is the integration of Quinlan’s C4.5 symbolic learning algorithm. This module processes feature tuples to generate human-readable decision trees and production rules. This allows the system to "learn" the qualitative description of a defect from examples and provides a critical feedback loop to the low-level vision system, enabling it to stop calculating irrelevant features.

Experimental Data

The researchers evaluated their system using a specialized industrial dataset consisting of images of metallic products undergoing Magnetic Particle Inspection (MPI) under UV light.

Figure 2: Sample images from the MPI dataset showing both defect and no-defect cases under noisy conditions.

The training set comprised 317 tuples (67 "Defect" and 250 "NoDefect" cases). As illustrated in Figure 2, these images contain significant noise from surface roughness, sensor interference, and spurious fluorescent blobs that mimic the appearance of actual cracks, making simple geometric detection impossible.

Key Insights and Results

The most striking finding was the efficiency of the learning-based feature selection. Out of eight complex features initially calculated, the decision tree determined that only three were necessary for accurate classification: the Correlated Hough (CH) peak, the Global Average Gradient (GA), and a local peak neighbor (H2a).

Furthermore, the study highlighted the critical importance of global context. While the high-level Correlated Hough Transform was the primary indicator of a shape, the Global Average Gradient (GA)—a simple, low-level feature—proved to be a vital "corrective weight." In an ablation study, removing the GA feature caused the defect error rate to skyrocket from 4.5% to 44.8%, proving that high-level shape detection cannot ignore low-level global image statistics.

Overall, the system achieved an impressive error rate of 2.8% on the test set, with a false negative rate of 4.5% and a false positive rate of 2.3%.

Conclusion

By embracing symbolic machine learning, the authors demonstrated a system that not only detects defects with high accuracy but also identifies the minimal necessary feature set. This approach significantly reduces computational overhead, saving precious time in real-time production lines while maintaining high reliability in unstructured industrial environments.

Summary updated

BibTeX
@inproceedings{cucchiara1997learning,
  author = {Rita Cucchiara and Massimo Piccardi and Michele Bariani and Paola Mello},
  title = {{Learning for Feature Selection and Shape Detection}},
  booktitle = {ICIAP},
  year = {1997},
  doi = {10.1007/3-540-63507-6\_242},
}
Figure