Abstract
Edge vision systems, ranging from remote satellites to wearable AR glasses, are fundamentally limited by the energy costs of data digitization and transmission. We present SnapPix, a sensor-algorithm co-designed system that implements "efficient coding"—a principle observed in mammalian retinas—to compress video data directly within the analog domain of an image sensor. By utilizing learned coded exposure patterns to decorrelate pixels, SnapPix reduces edge sensing energy by up to 15.4×. When paired with a patch-aligned Vision Transformer (ViT), the system maintains high accuracy on complex action recognition tasks, outperforming state-of-the-art video models while processing significantly less data.
1. Introduction
In modern edge vision, the primary energy bottleneck is not the AI computation itself, but the Analog-to-Digital Converter (ADC) readout and the subsequent wireless transmission of raw pixel data. Conventional sensors capture full-resolution frames that are often highly redundant, leading to wasted power. While in-sensor compression offers a solution, existing methods frequently suffer from two flaws: they are often task-specific, losing utility if the downstream AI model changes, and they can destroy the temporal features necessary for high-level understanding like action recognition.
SnapPix addresses these challenges by drawing inspiration from the biological retina. By performing decorrelation in the analog domain before digitization, SnapPix ensures that every bit transmitted carries maximum unique information, creating a general-purpose compressed representation suitable for diverse vision tasks.
2. Methodology
2.1 General-Purpose Sampling via Decorrelation
SnapPix utilizes Coded Exposure (CE) to compress a sequence of $T$ video frames into a single "coded" image. To determine the optimal exposure pattern, the system employs an efficient coding strategy. Rather than training the sensor for a specific classification loss, SnapPix learns a pattern that minimizes the Pearson correlation coefficient between pixels within a tile. This task-agnostic approach maximizes information density, allowing the compressed output to generalize across different models and tasks more effectively than end-to-end learned patterns.
2.2 ViT-Sensor Synergy
Standard convolutional neural networks (CNNs) often struggle with the non-uniform pixel exposures inherent in CE images. SnapPix resolves this by using a Vision Transformer (ViT) backbone. The architecture is co-designed such that the transformer's "patches" align perfectly with the sensor's exposure "tiles." This alignment allows the ViT to naturally compensate for localized variations in exposure, maintaining high performance without the computational overhead of shift-variant convolutions.
2.3 Coded Image-to-Video Pre-training
To bridge the gap between a single 2D coded image and the 3D temporal dynamics of video, the authors developed a specialized pre-training task. Using the K710 dataset, the model is trained to reconstruct original video sequences from masked, coded inputs. This allows the ViT to learn the underlying motion physics required for accurate action recognition from compressed data.
2.4 Hardware Implementation
The proposed architecture requires minimal modifications to stacked CMOS sensors. By adding a single-bit storage element (D-Flip-Flop) and two transistors to each pixel, the sensor can store and apply complex exposure patterns. Logic synthesis in TSMC 65nm suggests this implementation incurs negligible area overhead while enabling significant power savings.
3. Experimental Results
3.1 Energy Efficiency
SnapPix demonstrates dramatic energy reductions compared to conventional sensing pipelines. In short-range communication scenarios (e.g., passive WiFi), the system achieves a 7.6× energy saving. In long-range scenarios (e.g., LoRa), where transmission costs are dominant, the savings increase to 15.4×. These gains are primarily due to performing frame integration in the analog charge domain, avoiding the energy-intensive digitization of multiple raw frames.
3.2 Action Recognition Performance
The system was evaluated on major benchmarks including Something-Something v2 (SSV2), Kinetics-400, and UCF-101. On the fine-grained SSV2 dataset, SnapPix-B achieved 45.21% accuracy, nearly doubling the 23.05% achieved by previous state-of-the-art CE methods like SVC2D. Remarkably, SnapPix also outperformed standard video-based models such as C3D and VideoMAE, despite processing a fraction of the data. The "Small" variant of the model demonstrated high throughput, reaching up to 2282 inferences per second.
4. Discussion and Limitations
A key insight of this work is that task-agnostic decorrelation is often superior to task-specific learning for in-sensor compression. By focusing on information theory rather than a specific loss function, the sensor remains robust to model updates.
However, some limitations remain. While the hardware design was validated through logic synthesis and circuit schematics, a physical tape-out chip was not produced for this study. Additionally, the current evaluation focused on grayscale video; future work must address the integration of color filters (Bayer patterns) and the impact of sensor noise in low-light environments.
5. Conclusion
SnapPix represents a significant step toward energy-autonomous edge vision. By combining biological principles of efficient coding with the architectural strengths of Vision Transformers, it breaks the traditional trade-off between compression and accuracy. The result is a high-speed, low-power sensing system capable of sophisticated temporal reasoning at the extreme edge.
Summary updated