[Paper Review] ProjectionNet: Learning Efficient On-Device Deep Networks Using Neural Projections
ProjectionNet introduces a joint training framework that distills large, accurate deep neural networks into compact, efficient models using neural projections—mapping activations to low-bit representations via random projections. The method achieves high accuracy with drastically reduced memory and computation, demonstrating that just 720 bits can preserve over 90% of a full network's performance on CIFAR-100.
Deep neural networks have become ubiquitous for applications related to visual recognition and language understanding tasks. However, it is often prohibitive to use typical neural networks on devices like mobile phones or smart watches since the model sizes are huge and cannot fit in the limited memory available on such devices. While these devices could make use of machine learning models running on high-performance data centers with CPUs or GPUs, this is not feasible for many applications because data can be privacy sensitive and inference needs to be performed directly "on" device. We introduce a new architecture for training compact neural networks using a joint optimization framework. At its core lies a novel objective that jointly trains using two different types of networks--a full trainer neural network (using existing architectures like Feed-forward NNs or LSTM RNNs) combined with a simpler "projection" network that leverages random projections to transform inputs or intermediate representations into bits. The simpler network encodes lightweight and efficient-to-compute operations in bit space with a low memory footprint. The two networks are trained jointly using backpropagation, where the projection network learns from the full network similar to apprenticeship learning. Once trained, the smaller network can be used directly for inference at low memory and computation cost. We demonstrate the effectiveness of the new approach at significantly shrinking the memory requirements of different types of neural networks while preserving good accuracy on visual recognition and text classification tasks. We also study the question "how many neural bits are required to solve a given task?" using the new framework and show empirical results contrasting model predictive capacity (in bits) versus accuracy on several datasets.
Motivation & Objective
- Address the challenge of deploying large deep neural networks on memory-constrained devices like mobile phones and smartwatches.
- Overcome limitations of post-training compression techniques that degrade model accuracy.
- Develop a joint optimization framework that trains a lightweight projection network to mimic a full, high-performing network.
- Investigate the minimal number of neural bits required to preserve predictive capacity of deep networks.
- Enable efficient, low-memory inference by learning compact models through apprenticeship-style training using projections.
Proposed method
- Use a full, high-capacity neural network (e.g., feed-forward or RNN) as a 'trainer' to supervise a smaller, lightweight 'projection' network.
- Apply locality-sensitive hashing-based random projections to transform input or hidden representations into binary vectors (neural bits).
- Train both networks jointly via backpropagation, where the projection network learns to mimic the trainer network’s outputs.
- Optimize the projection network using a combined loss: one for prediction accuracy (matching ground-truth labels) and one for consistency with neighboring trainer predictions.
- Represent the projection network as a discrete, bit-level model that enables ultra-efficient inference with minimal memory and computation.
- Extend the framework to structured prediction tasks using graph-structured loss functions, where both trainer and projection graphs are learned end-to-end.
Experimental results
Research questions
- RQ1How many neural bits are required to capture the predictive capacity of a full deep neural network for a given task?
- RQ2Can a lightweight projection network trained via joint optimization match the accuracy of a full network while using orders of magnitude less memory?
- RQ3To what extent can random projections preserve the representational power of deep network activations in low-dimensional bit spaces?
- RQ4How does the framework generalize across different architectures and tasks, including vision and text classification?
- RQ5Can the projection framework be extended to semi-supervised or graph-structured learning settings with structured loss functions?
Key findings
- A 100-bit ProjectionNet achieves ~80% of the accuracy of a full 3-layer feed-forward network on MNIST, demonstrating high efficiency.
- On CIFAR-100, a 720-bit ProjectionNet recovers over 90% of the predictive performance of the full network, indicating strong capacity with minimal bits.
- The predictive ratio increases sharply between 120 and 720 bits on CIFAR-100, suggesting a critical threshold for effective representation.
- The joint training framework enables end-to-end optimization that preserves model accuracy while reducing model size significantly.
- The approach supports flexible model sizing and can be adapted to various network architectures and learning settings, including graph-based and semi-supervised learning.
- The framework enables on-device inference with low memory and computation cost, making it suitable for privacy-sensitive and connectivity-limited environments.
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.