Abstract
This paper explores a computationally efficient framework for recovering sparse signals from a continuous stream of measurements. By transitioning from traditional batch processing to an online approach, the authors propose an algorithm that processes measurements sequentially and discards them immediately. This method reduces computational costs to $O(N)$ per update. Theoretical analysis and numerical simulations demonstrate that in noisy environments, this "forgetful" online approach can asymptotically match the performance of optimal offline methods, offering a scalable solution for real-time signal processing.
Introduction
Compressed sensing (CS) is a well-established framework for recovering high-dimensional sparse signals from a limited number of linear measurements. Traditionally, signal recovery is performed in an "offline" or "batch" manner, where all measurements are collected before running a global optimization algorithm. While effective, batch processing suffers from significant drawbacks in large-scale systems or low-power devices due to high memory requirements and processing latency. Furthermore, batch methods are poorly suited for time-varying signals where immediate estimation is required.
The authors address these challenges by asking whether signal recovery can be performed "online"—using each piece of data only once—without a substantial loss in accuracy.
Methodology
The proposed online algorithm treats signal recovery as a Bayesian inference problem, utilizing two primary techniques to maintain efficiency:
- Bayesian Recursion: Instead of re-evaluating the entire posterior distribution with every new measurement, the algorithm uses a recursive formula. The current signal estimate serves as the "prior" for the next step, which is then updated using only the most recent measurement.
- Mean Field Approximation: To overcome the mathematical intractability of the true posterior, the authors approximate it as a product of independent distributions (a factorized distribution). Given that sparse signals contain many zero components (represented by a delta function "spike"), the distribution is non-Gaussian. The authors employ a specific parameterization from the exponential family to handle this non-Gaussianity effectively.
These approximations result in an update rule with a computational cost of $O(N)$ operations per measurement. For a total of $t = \alpha N$ measurements, the total cost is $O(N^2)$, making it competitive with the fastest offline algorithms while requiring significantly less memory.
Results and Discussion
The algorithm was evaluated using synthetic generative models, specifically Bernoulli-Gaussian sparse signals, across standard and 1-bit compressed sensing scenarios.
The Noise Equalizer and the Noiseless Gap
A key finding, illustrated in Figure 1, is the "noise equalizer" effect. In the presence of Gaussian measurement noise (e.g., $\sigma_n^2 = 0.1$), the Mean Square Error (MSE) of the online algorithm eventually converges to that of the optimal offline method. This suggests that the penalty for processing data sequentially vanishes as more data is collected.
Conversely, in perfectly noiseless scenarios ($\sigma_n^2 = 0$), a fundamental gap remains. While offline methods can achieve perfect recovery (MSE = 0) once a measurement threshold is crossed, the online method only approaches zero MSE exponentially ($e^{-\alpha/\rho}$), never reaching absolute perfection.
1-bit Compressed Sensing
In 1-bit CS, where only the sign of the measurement is recorded, the online method remains viable despite a performance trade-off. Asymptotically, the online method is approximately four times less accurate than the offline method in terms of MSE, but it provides massive savings in computational overhead, making it suitable for hardware with limited resources.
Conclusion and Future Work
The authors' theoretical validation, supported by Ordinary Differential Equations (ODEs), shows an almost perfect match with numerical simulations for signals up to $N=4000$ dimensions. However, the current approach assumes prior knowledge of the signal distribution and noise levels. Future research aims to incorporate "parameter estimation" into the online loop, allowing the algorithm to learn these characteristics on the fly in "blind" scenarios. Despite the theoretical gap in noiseless settings, the algorithm's $O(N)$ efficiency and robust performance in noise make it a powerful tool for real-time, resource-constrained applications.
Summary updated