Abstract
Traditional computer vision pipelines rely on high-fidelity image reconstruction before performing high-level tasks like classification. This process is often redundant and computationally expensive, especially in resource-constrained or non-visible spectrum environments. This paper introduces Single-Pixel Sensing (SPS), an end-to-end framework that performs image classification directly from 1D light measurements captured by a single-pixel detector. By jointly optimizing binary light modulation patterns (the physical encoder) and a deep learning decoder, the system achieves high-speed (~1kHz) inference with minimal data. Experimental results on the MNIST dataset demonstrate a classification accuracy of 96.68% using only 22 measurements, highlighting the potential for efficient, low-bandwidth sensing in challenging optical conditions.
Introduction
Conventional computer vision systems typically follow a rigid sequence: capture a high-resolution image using an array sensor, reconstruct the scene for human viewing, and then process that image with machine learning models. This approach suffers from significant inefficiencies. Natural scenes often contain vast amounts of redundant background information that contributes little to the final task, yet consumes substantial hardware and bandwidth resources. Furthermore, high-resolution sensors for non-visible wavelengths (e.g., short-wave infrared) are often prohibitively expensive.
Single-Pixel Imaging (SPI) offers a cost-effective alternative by using a single detector and modulated light. However, standard SPI still focuses on image reconstruction as an intermediate step. This research proposes a paradigm shift: skipping reconstruction entirely. By teaching a neural network to interpret raw, compressed 1D measurements, we can achieve "machine intelligence" without the need for human-viewable images.
Methodology
The proposed system integrates physical light modulation with digital inference in a unified deep learning framework.
Hardware and Physical Encoding
The hardware setup utilizes a Digital Micromirror Device (DMD) to modulate light from the scene. The DMD consists of an array of mirrors that can be flipped at ultra-high speeds (~22kHz) to create binary (black and white) patterns. These patterns act as the "encoder" of the neural network. Unlike previous methods that relied on grayscale patterns—which are difficult to implement at high speeds—this framework optimizes strictly binary patterns. This allows the system to operate at the physical limit of the DMD hardware.
Deep Learning Decoder
The 1D sequence of light intensities captured by the single-pixel detector is fed into a digital decoder. The decoder is based on an EfficientNet architecture, a type of Convolutional Neural Network (CNN) optimized for efficiency and accuracy. The network learns to extract semantic features directly from the compressed temporal signal rather than a spatial 2D grid.
Two-Stage Training Strategy
To bridge the gap between continuous optimization and discrete hardware, the authors employ a two-stage training process:
- Stage 1 (Joint Optimization): Both the modulation patterns (encoder) and the classification network (decoder) are trained simultaneously. A special scaling factor and binarization function are used to ensure the encoder weights converge to binary values while still allowing gradient backpropagation.
- Stage 2 (Fine-tuning): The binary encoder weights are frozen to match the physical DMD patterns. The decoder is then fine-tuned to maximize classification performance based on these fixed physical constraints.
Experimental Results
The system was evaluated using the MNIST dataset of handwritten digits. The results demonstrate that high-level semantic information can be extracted from extremely sparse data:
- Efficiency: At a sampling ratio of 0.03, the system achieved 96.68% accuracy using only 22 measurements for a 28x28 (784 pixel) image.
- Scalability: Performance remains robust even at lower sampling rates, reaching 91.73% accuracy with just 8 measurements (0.01 ratio). Increasing the sampling ratio to 0.1 (78 measurements) pushed accuracy to 97.36%.
- Speed: By bypassing the computationally heavy image reconstruction step and utilizing high-speed binary modulation, the end-to-end classification rate reaches approximately 1kHz.
Discussion and Key Insights
The success of this approach underscores several critical insights for future sensing technologies. First, it proves that machine intelligence does not require "images" in the traditional sense; 1D compressed signals contain sufficient information for complex tasks. Second, the use of a single-pixel detector significantly improves the Signal-to-Noise Ratio (SNR) by funneling all available light into one point, making the system ideal for low-light environments.
Furthermore, the system provides an inherent layer of physical encryption. Because the 1D measurements are generated using a specific, optimized set of patterns, the transmitted data appears as noise to any receiver lacking the corresponding trained decoder.
Conclusion and Future Work
While this study provides a powerful proof-of-concept using the MNIST dataset, future work will focus on scaling the system to more complex, natural scenes like those found in ImageNet. Additionally, the authors envision adaptive sensing techniques where the spatial resolution of the modulation patterns dynamically adjusts based on the scene content, further optimizing the balance between speed and accuracy. This non-imaging approach paves the way for a new generation of high-speed, low-cost, and secure computer vision sensors.
Summary updated