[Paper Review] Deep Fried Convnets
This paper introduces the Adaptive Fastfood transform, a differentiable method that reparameterizes fully connected layers in convolutional neural networks, reducing parameter count from O(nd) to O(n) and computation from O(nd) to O(n log d). Deep fried convnets using this method achieve state-of-the-art accuracy on MNIST and ImageNet with up to 55% fewer parameters, outperforming post-training low-rank factorization and pruning techniques.
The fully connected layers of a deep convolutional neural network typically contain over 90% of the network parameters, and consume the majority of the memory required to store the network parameters. Reducing the number of parameters while preserving essentially the same predictive performance is critically important for operating deep neural networks in memory constrained environments such as GPUs or embedded devices. In this paper we show how kernel methods, in particular a single Fastfood layer, can be used to replace all fully connected layers in a deep convolutional neural network. This novel Fastfood layer is also end-to-end trainable in conjunction with convolutional layers, allowing us to combine them into a new architecture, named deep fried convolutional networks, which substantially reduces the memory footprint of convolutional networks trained on MNIST and ImageNet with no drop in predictive performance.
Motivation & Objective
- To reduce the number of parameters in fully connected layers of deep convolutional networks without sacrificing predictive performance.
- To enable end-to-end training of compressed networks by making the parameter reduction differentiable.
- To address the inefficiency of large fully connected layers, which dominate parameter count despite low computational cost.
- To explore whether structured random projections can be adapted effectively for large-scale vision tasks like ImageNet.
- To compare the performance of adaptive vs. non-adaptive random projections in deep learning settings.
Proposed method
- Proposes the Adaptive Fastfood transform as a differentiable reparameterization of matrix-vector multiplication in fully connected layers.
- Generalizes the Fastfood transform to allow adaptive weights, enabling end-to-end training.
- Uses structured random projections with learnable parameters to approximate dense weight matrices.
- Applies the transform to replace fully connected layers in standard convolutional architectures, forming 'deep fried convnets'.
- Employs a parameter-sharing scheme that reduces storage from O(nd) to O(n) and computation from O(nd) to O(n log d).
- Integrates the transform into the network training pipeline, allowing joint optimization of convolutional and fully connected components.
Experimental results
Research questions
- RQ1Can a differentiable, structured random projection method reduce the number of parameters in fully connected layers without degrading model accuracy?
- RQ2How does the performance of adaptive Fastfood compare to non-adaptive random projections on large-scale datasets like ImageNet?
- RQ3Does end-to-end training with the Adaptive Fastfood transform yield better results than post-training low-rank factorization or pruning?
- RQ4To what extent can the output softmax layer be compressed without significant accuracy loss?
- RQ5Can the proposed method enable efficient training and deployment of large models in resource-constrained environments?
Key findings
- Deep fried convnets using the Adaptive Fastfood transform achieve 55% parameter reduction (32.8M parameters) on ImageNet with only 0.14% top-1 error increase compared to the reference model (58.7M parameters).
- The method outperforms post-training SVD factorization: SVD-half-F reduces parameters to 46.6M but increases error to 42.73%, while Adaptive Fastfood 32 maintains 41.93% error with fewer parameters.
- Applying SVD to the final softmax layer of the Adaptive Fastfood 32 model further reduces parameters by 12.5M (to 20.3M) at the cost of ~0.7% error increase.
- Adaptive Fastfood 16 achieves 28% parameter reduction (16.4M parameters) with 42.90% top-1 error, showing strong efficiency-accuracy trade-off.
- The adaptive version significantly outperforms non-adaptive Fastfood on ImageNet, demonstrating that learning the projection parameters is essential for large-scale vision tasks.
- The method enables substantial parameter reduction at training time, unlike post-processing techniques such as pruning or SVD, which require full model pre-training.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.