Utilizing Excess Resources in Training Neural Networks

Amit Henig, Raja Giryes

Abstract

Kernel Filtering Linear Overparameterization (KFLO) is a novel training strategy designed to leverage abundant training resources to improve the performance of neural networks without increasing inference-time costs. By introducing redundant linear layers that filter the convolutional kernels themselves rather than the input signal, KFLO avoids the common pitfalls of overparameterization, such as vanishing gradients. These auxiliary layers are mathematically collapsed into the base kernels post-training, providing a "free lunch" of enhanced accuracy. Experiments on CIFAR-10 and CIFAR-100 demonstrate that KFLO consistently outperforms vanilla training and other state-of-the-art reparameterization techniques.

Introduction

A significant disparity exists between the computational resources available during the training of deep learning models and those available during their deployment on edge devices. While overparameterization is known to facilitate better optimization and generalization, deploying large models is often impractical. Linear Overparameterization (LO) techniques attempt to bridge this gap by adding extra linear layers during training that are later collapsed. However, traditional LO adds depth to the signal path, which can exacerbate the vanishing gradient problem and complicate optimization.

This paper introduces Kernel Filtering Linear Overparameterization (KFLO), a method that increases parameter depth without increasing signal depth. By filtering the weights of a layer rather than the data passing through it, KFLO maintains the original number of non-linearities, ensuring stable training while reaping the benefits of overparameterization.

Methodology: Kernel Filtering

The fundamental innovation of KFLO is the shift from filtering feature maps to filtering kernels. In a standard convolutional layer, an input signal is processed by a filtering kernel to produce a filtered signal. KFLO modifies this by treating the target kernel as the output of a linear cascade of weights.

Comparison of Vanilla and KFLO filtering layers, along with a LeNet-5 implementation.

The KFLO Mechanism

During training, a base kernel $W$ is generated by convolving it with several pointwise (1x1) kernels. This creates a more complex weight space for optimization. Crucially, because these operations are linear, the entire cascade can be pre-multiplied into a single effective kernel once training is complete. The resulting model is structurally identical to a vanilla network, ensuring zero overhead during inference.

Signal Integrity and Initialization

By applying overparameterization to the kernels, the input signal's path remains unchanged in terms of non-linear depth. This avoids the optimization difficulties associated with making networks deeper. To ensure a stable starting point, KFLO uses Dirac initialization for the pointwise convolutions, causing the network to behave like its vanilla counterpart at the onset of training.

Experimental Results

The authors evaluated KFLO on CIFAR-10 and CIFAR-100 using various architectures, including Wide ResNet (WRN), VGG16, and Cifar-quick.

Performance Comparison

KFLO consistently demonstrated superior performance compared to vanilla training and other reparameterization methods such as ACNet and DO-Conv. As shown in the table below, KFLO 2x4 (referring to specific depth and width multipliers) achieved the highest accuracy across multiple models on the CIFAR-100 dataset.

Comparison of KFLO with other state-of-the-art methods across various architectures on CIFAR-100.

For instance, on VGG16, KFLO improved accuracy from 73.97% to 75.69%. The gains were not merely due to weight smoothing, as KFLO also outperformed Exponential Moving Average (EMA) techniques, suggesting a fundamental improvement in the optimization landscape.

Impact of Hyperparameters

Ablation studies revealed that increasing the width ($\rho$) of the filtering layers generally improves performance. However, increasing the depth ($B$) beyond 2 or 3 layers often led to diminishing returns or performance degradation, suggesting that excessively deep linear cascades might introduce new optimization challenges in the weight space.

Conclusion and Future Work

KFLO provides an effective way to utilize excess training resources to boost model performance for free at inference time. By overparameterizing the kernels instead of the signal path, it circumvents the optimization issues typical of deep linear networks. While KFLO shows great promise in supervised image classification, future research could explore its application in transfer learning, where initial results were less conclusive, and its extension to other domains such as Natural Language Processing.

Summary updated

BibTeX
@inproceedings{henig2022utilizing,
  author = {Amit Henig and Raja Giryes},
  title = {{Utilizing Excess Resources in Training Neural Networks}},
  booktitle = {ICIP},
  year = {2022},
  url = {https://openreview.net/forum?id=QShZCPzB9QK},
}
Figure