Compressed Learning: A Deep Neural Network Approach

Amir Adler, Michael Elad, Michael ZibulevskyarXiv 2016

Abstract Compressed Learning (CL) is a joint signal processing and machine learning framework for inference from a signal, using a small number of measurements obtained by linear projections of the signal. In this paper we present an end-to-end deep learning approach for CL, in which a network composed of fully-connected layers followed by convolutional layers perform the linear sensing and non-linear inference stages. During the training phase, the sensing matrix and the non-linear inference operator are jointly optimized, and the proposed approach outperforms state-of-the-art for the task of image classification. For example, at a sensing rate of 1% (only 8 measurements of 28 X 28 pixels images), the classification error for the MNIST handwritten digits dataset is 6.46% compared to 41.06% with state-of-the-art.

Introduction

Traditional Compressed Sensing (CS) focuses on reconstructing a sparse signal from a limited number of linear measurements. However, in many practical scenarios—such as surveillance or medical imaging—the ultimate goal is not reconstruction but inference (e.g., classification). Compressed Learning (CL) addresses this by performing inference directly in the compressed domain without the intermediate step of full signal reconstruction.

Existing CL methods often rely on task-agnostic sensing matrices, such as random Gaussian or Hadamard matrices, which are designed for signal reconstruction. This paper proposes a paradigm shift: jointly designing the sensing mechanism and the inference engine to preserve task-relevant features rather than the entire signal energy.

Methodology

The authors propose a Deep Neural Network (DNN) architecture that integrates the sensing stage as a learnable component of the model.

  1. Sensing Layer: The initial layer is a fully-connected layer with $M$ nodes, where $M \ll N$ (the input size). The weights of this layer represent the sensing matrix $\Phi$. While the sensing itself is linear, the inclusion of a ReLU activation immediately after allows the system to capture complex non-linear relationships.
  2. Inference Operator: The compressed vector is processed by a non-linear inference engine. The architecture employs a second fully-connected layer to project the compressed data back to the original image dimensions (acting as a learned pre-processor), followed by a modified LeNet structure consisting of convolutional and max-pooling layers.
  3. Joint Optimization: Unlike traditional approaches that use fixed sensing matrices, this framework utilizes backpropagation to simultaneously optimize both the sensing matrix and the classifier weights. This allows the network to learn the most informative linear projections for the specific classification task.

Experimental Results

The proposed approach was primarily evaluated on the MNIST dataset, consisting of 70,000 handwritten digit images (28x28 pixels). The performance was compared against "Smashed Filters" and a standard CNN-based approach using random sensing matrices.

Classification error comparison across different sensing rates on the MNIST dataset.

As shown in the table above, the joint optimization approach consistently outperforms existing methods across all sensing rates. The advantage is most pronounced at extremely low sensing rates. At a 1% sensing rate ($R=0.01$), which corresponds to only 8 measurements for a 784-pixel image, the proposed method achieves a 6.46% error rate, a massive improvement over the 41.06% error rate of the random sensing baseline.

Discussion and Conclusion

The results demonstrate that task-specific compression is significantly superior to random projections for inference tasks. By allowing the network to "choose" its sensing strategy, it prioritizes structural features essential for classification. This end-to-end synergy suggests a future where physical sensors can be optimized for specific environments and tasks, bridging the gap between hardware sensing and software inference.

While the results on MNIST are promising, future work should explore scalability to high-resolution datasets and consider hardware-specific constraints on the sensing matrix weights (e.g., non-negativity for CMOS sensors). Extending this joint optimization to other domains, such as hyperspectral imaging or action recognition, remains a fertile area for research.

Summary updated

BibTeX
@misc{adler2016compressed,
  author = {Amir Adler and Michael Elad and Michael Zibulevsky},
  title = {{Compressed Learning: A Deep Neural Network Approach}},
  year = {2016},
  eprint = {1610.09615},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1610.09615},
}
Figure