Skip to main content
QUICK REVIEW

[Paper Review] Vehicle classification using ResNets, localisation and spatially-weighted pooling

Rohan Watkins, Nick Pears|arXiv (Cornell University)|Oct 15, 2018
Advanced Neural Network ApplicationsComputer Science4 references5 citations
TL;DR

This paper proposes a ResNet-50-based method for fine-grained vehicle classification using spatially-weighted pooling (SWP) and a dedicated localization network, achieving 96.351% top-1 accuracy on the Comprehensive Cars dataset—improving by 3.7 percentage points over standard ResNet-50 through combined use of SWP and localization, though still slightly below state-of-the-art pre-trained models.

ABSTRACT

We investigate whether ResNet architectures can outperform more traditional Convolutional Neural Networks on the task of fine-grained vehicle classification. We train and test ResNet-18, ResNet-34 and ResNet-50 on the Comprehensive Cars dataset without pre-training on other datasets. We then modify the networks to use Spatially Weighted Pooling. Finally, we add a localisation step before the classification process, using a network based on ResNet-50. We find that using Spatially Weighted Pooling and localisation both improve classification accuracy of ResNet50. Spatially Weighted Pooling increases accuracy by 1.5 percent points and localisation increases accuracy by 3.4 percent points. Using both increases accuracy by 3.7 percent points giving a top-1 accuracy of 96.351\% on the Comprehensive Cars dataset. Our method achieves higher accuracy than a range of methods including those that use traditional CNNs. However, our method does not perform quite as well as pre-trained networks that use Spatially Weighted Pooling.

Motivation & Objective

  • To evaluate whether ResNet architectures outperform traditional CNNs in fine-grained vehicle classification without pre-training.
  • To investigate the impact of spatially-weighted pooling (SWP) on classification accuracy in vehicle recognition.
  • To assess the contribution of a localization network in improving vehicle classification performance.
  • To compare the proposed method with existing state-of-the-art approaches, particularly those using pre-trained models.

Proposed method

  • The method uses ResNet-50 as the backbone network for feature extraction, trained from scratch on the Comprehensive Cars dataset without ImageNet pre-training.
  • Spatially-weighted pooling (SWP) is applied after the final convolutional layer to emphasize spatially relevant features, with binning based on bounding box dimensions and locations.
  • A separate localization network based on ResNet-50 is trained to predict bounding boxes for vehicles, improving feature relevance before classification.
  • The localization network predicts x, y coordinates, width, and height of vehicle bounding boxes using a regression head on top of the ResNet-50 feature extractor.
  • The final classification head uses a 1024-unit fully connected layer followed by softmax, with SWP enhancing spatial feature representation.
  • The system combines the localization network’s output and SWP-enhanced features to improve classification accuracy.

Experimental results

Research questions

  • RQ1Can ResNet architectures achieve superior performance in fine-grained vehicle classification compared to traditional CNNs without pre-training?
  • RQ2To what extent does spatially-weighted pooling (SWP) improve classification accuracy in vehicle recognition tasks?
  • RQ3How much does a dedicated localization network contribute to performance gains in vehicle classification?
  • RQ4How does the proposed method compare in accuracy to state-of-the-art models, especially those using pre-training?

Key findings

  • Spatially-weighted pooling (SWP) alone improves top-1 accuracy by 1.5 percentage points over standard ResNet-50.
  • The localization network alone increases top-1 accuracy by 3.4 percentage points.
  • Using both SWP and localization together boosts top-1 accuracy by 3.7 percentage points, reaching 96.351%.
  • The top-5 accuracy of the best model reaches 99.463%, indicating strong robustness to prediction errors.
  • The method achieves higher accuracy than non-ResNet baselines such as the deep edge-colour method (95.9% top-1), though at the cost of higher parameter count (67M vs. 11M).
  • The localization network is robust, with 99% of predictions being within one bin (10.5 pixels) of the true value, though width and height predictions are less accurate than location predictions.

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.