Skip to main content
QUICK REVIEW

[Paper Review] Fine-tuning deep CNN models on specific MS COCO categories

Daniel Sonntag, Michael Barz|arXiv (Cornell University)|Sep 5, 2017
Advanced Neural Network ApplicationsComputer Science8 references9 citations
TL;DR

This paper presents a modified version of the py-faster-rcnn framework, called py-faster-rcnn-ft, which streamlines fine-tuning the VGG_CNN_M_1024 model on specific object categories from the MS COCO dataset. It automates prototxt file adjustments and category ID handling, reducing user error and enabling efficient transfer learning; fine-tuning on 'person' and 'car' improved mean average precision (AP) to 29.4% and 15.6% respectively, exceeding the baseline model's performance.

ABSTRACT

Fine-tuning of a deep convolutional neural network (CNN) is often desired. This paper provides an overview of our publicly available py-faster-rcnn-ft software library that can be used to fine-tune the VGG_CNN_M_1024 model on custom subsets of the Microsoft Common Objects in Context (MS COCO) dataset. For example, we improved the procedure so that the user does not have to look for suitable image files in the dataset by hand which can then be used in the demo program. Our implementation randomly selects images that contain at least one object of the categories on which the model is fine-tuned.

Motivation & Objective

  • To reduce manual configuration errors during fine-tuning of deep CNNs on specific MS COCO categories.
  • To automate the management of prototxt files and category IDs to streamline the fine-tuning workflow.
  • To improve transfer learning efficiency by enabling targeted fine-tuning on subsets of MS COCO classes without manual file selection.
  • To provide a user-friendly, open-source tool for researchers to adapt pre-trained models to custom object detection tasks.
  • To demonstrate performance gains through fine-tuning on specific categories using the VGG_CNN_M_1024 architecture.

Proposed method

  • The framework extends py-faster-rcnn with a Python wrapper that automatically modifies train.prototxt and test.prototxt files based on selected category IDs.
  • It introduces a configuration file (faster_rcnn_end2end.yml) to specify target categories, eliminating manual edits across multiple source code locations.
  • A dedicated script (MSCOCO_API_categories.py) extracts and lists all MS COCO 2014 category IDs for easy user reference.
  • The training pipeline uses end-to-end fine-tuning with a pre-trained VGG_CNN_M_1024 model on the MS COCO dataset, leveraging transfer learning.
  • The system supports GPU-based training and inference via Caffe, with automatic model and dataset management through shell scripts.
  • A demo program randomly selects images containing target categories and visualizes detection results with AP scores.

Experimental results

Research questions

  • RQ1Can automated configuration handling reduce errors and streamline the fine-tuning process for deep CNNs on specific MS COCO categories?
  • RQ2Does fine-tuning a pre-trained VGG_CNN_M_1024 model on a subset of MS COCO categories improve mean average precision (mAP) compared to the full-dataset baseline?
  • RQ3To what extent does targeted fine-tuning on 'person' and 'car' categories enhance detection performance on the COCO minival2014 set?
  • RQ4How effective is the proposed automation in reducing manual effort and configuration complexity in transfer learning workflows?
  • RQ5Can the framework be extended to support other datasets beyond MS COCO using automated data collection from sources like Google Images?

Key findings

  • Fine-tuning the VGG_CNN_M_1024 model on the 'person' and 'car' categories using the py-faster-rcnn-ft framework improved the mean average precision (AP) to 29.4% and 15.6% respectively on the COCO minival2014 set.
  • The baseline model trained on all 80 MS COCO categories achieved 26.2% AP for 'person' and 11.2% for 'car', indicating a performance gain from targeted fine-tuning.
  • The automated configuration system successfully eliminated manual edits to prototxt files and reduced the risk of incorrect model states during training.
  • The demo program successfully visualized detection results with accurate bounding boxes and AP scores for selected categories.
  • The framework demonstrated robustness and usability, with training taking approximately 12 hours on a single NVIDIA GTX 1080 GPU using 490,000 iterations.
  • The system supports easy model deployment by allowing users to move the trained caffemodel to a designated directory and update the model path in demo.py.

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.