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

[Paper] A Method for Improving SVM-based Image Classification Performance Based on a Target Object Detection Scheme

Soh Yoshida, Hiroshi Okada, Takahiro Ogawa, Ren TogoITE 2013

Abstract

This paper presents a new method to improve performance of SVM-based classification, which contains a target object detection scheme. The proposed method tries to detect target objects from training images and improve the performance of the image classification by calculating the hyperplane from the detection results. Specifically, the proposed method calculates a Support Vector Machine (SVM) hyperplane, and detects rectangular areas surrounding the target objects based on the distances between their feature vectors and the separating hyperplane in the feature space. Then modification of feature vectors becomes feasible by removing features that exist only in background areas. Furthermore, a new hyperplane is calculated by using the modified feature vectors. Since the removed features are not part of the target object, they are not relevant to the learning process. Therefore, their removal can improve the performance of the image classification. Experimental results obtained by applying the proposed methods to several existing SVM-based classification method show its effectiveness.

Introduction

In computer vision, image classification is often hindered by background clutter. When a model learns to identify a specific category, such as a "sunflower," it may inadvertently incorporate features from the surrounding environment—green leaves, blue skies, or soil—into its definition of the object. Standard techniques like Bag-of-Features (BoF) or Spatial Pyramid Matching (SPM) process the entire image, making them susceptible to this "noise." The challenge is that most training datasets do not include manual bounding box annotations to isolate the target object. This paper introduces an iterative scheme that automatically detects and crops target objects to refine the learning process.

Methodology

The authors propose a two-step iterative scheme to refine the SVM hyperplane by focusing on the most relevant features of the target object.

1. Generation and Detection of Positive-Blocks

The system begins by training a standard SVM on full images. It then partitions each positive training image into numerous local blocks of varying scales and aspect ratios.

Generation of local blocks with varying scales and aspect ratios for target object detection

Using the initial SVM, the system calculates the distance of each block's feature vector from the decision hyperplane. Since this distance correlates with the probability of class membership, the block with the highest value is likely to contain the target object.

2. Refining the Target Area

To ensure the model does not simply select the largest possible block (which would still include background), a "smallest-fit" strategy is implemented. The algorithm searches for the smallest block that maintains a high SVM classification score, effectively tight-cropping the object.

Refining the target area by selecting optimal positive-blocks that tightly circumscribe the object

3. Updating the Hyperplane

The original feature vectors from the full images are replaced with modified vectors extracted only from these detected positive-blocks. A new, updated hyperplane is then calculated. By removing non-relevant background features, the resulting classifier becomes more specialized toward the actual object, improving overall robustness.

Datasets and Experimental Setup

The method was evaluated using two benchmark datasets:

  • Caltech 101: 9,144 images across 101 categories, known for high inter-class variability.
  • Caltech 256: A more challenging successor with 30,607 images and 256 categories, featuring significant variations in object size, location, and pose.

Key Results

The proposed method consistently outperformed conventional methods across all tests. Using the "Bosch SVM" as a base, accuracy improved from 71.2% to 72.8% on Caltech 101 and from 36.3% to 37.6% on Caltech 256. These improvements held steady regardless of the number of training examples used (tested from 5 to 30 images per class), proving that the method is robust even with limited data.

Conclusion

By leveraging the classifier's own decision boundary as a tool for object detection, the authors created a "self-cleaning" loop for training data. This plug-and-play framework can be wrapped around various state-of-the-art methods to improve their performance. While the process adds computational overhead during training, the resulting gains in classification accuracy demonstrate its effectiveness in mitigating the impact of background clutter.

Summary updated

BibTeX
@inproceedings{yoshida2013paper,
  author = {Soh Yoshida and Hiroshi Okada and Takahiro Ogawa and Ren Togo},
  title = {{[Paper] A Method for Improving SVM-based Image Classification Performance Based on a Target Object Detection Scheme}},
  booktitle = {ITE},
  year = {2013},
  doi = {10.3169/mta.1.237},
}
Figure