Improving CNN Performance with Min-Max Objective

Weiwei Shi, Yihong Gong, Jinjun WangIJCAI 2016

Abstract

In this paper, we propose a novel method to improve object recognition accuracies of convolutional neural networks (CNNs) by embedding the proposed Min-Max objective into a high layer of the models during the training process. The Min-Max objective explicitly enforces the learned object feature maps to have the minimum compactness for each object manifold and the maximum margin between different object manifolds. The Min-Max objective can be universally applied to different CNN models with negligible additional computation cost. Experiments with shallow and deep models on four benchmark datasets including CIFAR-10, CIFAR-100, SVHN and MNIST demonstrate that CNN models trained with the Min-Max objective achieve remarkable performance improvements compared to the corresponding baseline models.

Introduction

The evolution of Convolutional Neural Networks (CNNs) has largely been driven by increasing model depth and complexity. While architectures like ResNet and GoogLeNet have set new benchmarks, this "arms race" requires massive computational resources, often centralizing cutting-edge research within a few well-funded organizations.

A fundamental challenge in object recognition is learning invariant features—representations that remain stable despite transformations like rotation or lighting changes. These features typically form manifolds in high-dimensional space. Standard training methods, such as backpropagation with cross-entropy loss, focus primarily on the final classification boundary rather than the geometric structure of these manifolds. This paper introduces the Min-Max objective, a plug-and-play loss function designed to directly optimize the geometry of learned features.

The Min-Max Objective

The Min-Max objective is a secondary loss function integrated into the higher layers of a CNN during training. It aims to refine the feature space by focusing on two geometric properties:

  1. Within-Manifold Compactness ($\mathcal{L}_1$): Utilizing an "intrinsic graph," this component ensures that features belonging to the same class are pulled closer to their $k_1$-nearest neighbors, effectively "shrinking" the class manifold.
  2. Between-Manifold Margin ($\mathcal{L}_2$): Using a "penalty graph," this component identifies the nearest neighbors across different classes and pushes them apart, thereby maximizing the decision margin.
The Min-Max objective optimizes feature geometry using (a) an intrinsic graph for compactness and (b) a penalty graph for margin maximization.

The total loss is defined as $L = \text{Error} + \lambda(\mathcal{L}_1 - \mathcal{L}_2)$. Additionally, a kernelized version (kMin-Max) employs a Gaussian kernel to better handle non-linear relationships in the feature space, allowing for more flexible manifold modeling.

Experimental Results

The proposed method was evaluated across several benchmark datasets, including CIFAR-10, CIFAR-100, MNIST, and SVHN. The results consistently demonstrated that the Min-Max objective enhances generalization across both shallow and deep architectures.

Performance Gains

  • Deep Models: Integrating kMin-Max with the Network-in-Network (NIN) architecture on CIFAR-10 reduced test error to 7.06%, surpassing the standard NIN (8.81%) and Deeply-Supervised Nets (DSN) (8.22%). On CIFAR-100, error dropped from 35.68% to 33.12%.
  • Shallow Models: The impact was particularly pronounced in smaller networks. For the SVHN dataset, a shallow "Quick-CNN" saw its error rate plummet from 8.92% to 4.85%, representing a nearly 46% relative improvement.

Visual Analysis

t-SNE visualizations confirm the objective's efficacy. Features learned with the Min-Max objective form significantly tighter and more distinct clusters compared to those learned via standard cross-entropy loss alone.

t-SNE visualization of feature manifolds learned (a) without and (b) with the Min-Max objective, demonstrating superior class separation.

Conclusion

The Min-Max objective offers a computationally efficient way to boost CNN performance by supervising the geometric structure of feature manifolds. Its architecture-agnostic nature and negligible overhead make it a versatile tool for improving object recognition across various scales of neural networks. Future work may explore its scalability to high-resolution datasets like ImageNet and more complex manifold topologies.

Summary updated

BibTeX
@inproceedings{shi2016improving,
  author = {Weiwei Shi and Yihong Gong and Jinjun Wang},
  title = {{Improving CNN Performance with Min-Max Objective}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2016},
  url = {https://openreview.net/forum?id=B1bktEMOWr},
}
Figure