Abstract
Information processing techniques based on sparseness have been actively studied in several disciplines. Among them, a mathematical framework to approximately express a given dataset by a combination of a small number of basis vectors of an overcomplete basis is termed the sparse approximation. In this paper, we apply simulated annealing, a metaheuristic algorithm for general optimization problems, to sparse approximation in the situation where the given data have a planted sparse representation and noise is present. The result in the noiseless case shows that our simulated annealing works well in a reasonable parameter region: the planted solution is found fairly rapidly. This is true even in the case where a common relaxation of the sparse approximation problem, the $\ell_1$-relaxation, is ineffective. On the other hand, when the dimensionality of the data is close to the number of non-zero components, another metastable state emerges, and our algorithm fails to find the planted solution. This phenomenon is associated with a first-order phase transition. In the case of very strong noise, it is no longer meaningful to search for the planted solution. In this situation, our algorithm determines a solution with close-to-minimum distortion fairly quickly.
Introduction
In signal processing and compressed sensing, the sparse approximation problem involves representing a signal $y$ using the fewest possible components from a large dictionary $A$, such that $y = Ax$. Finding the absolute sparsest solution is NP-hard, leading researchers to rely on convex relaxations like $\ell_1$-minimization. While efficient, these shortcuts have a "reconstruction limit"—they fail if the signal is not sufficiently sparse or the data dimensionality is too low.
This paper explores the limits of Simulated Annealing (SA) as an alternative. By framing sparse approximation through the lens of statistical mechanics, the authors demonstrate that a "rapid" SA approach can outperform standard $\ell_1$ methods, succeeding in "hard" regions until it encounters a physical "wall" known as a first-order phase transition.
Methodology and Datasets
The authors frame sparse approximation as a probabilistic sampling problem using a Gibbs-Boltzmann distribution. The "energy" of the system is defined as the distortion (mean squared error) between the original signal and the reconstruction. To maintain constant sparsity, the algorithm employs a "pair flipping" Monte Carlo move, where one active component is deactivated and one inactive component is activated at each step.
Experiments were conducted on synthetic datasets to allow for precise parameter control. The dictionary $A$ consists of random matrices with independent Gaussian entries, and the planted solution $\hat{x}$ is generated from a Bernoulli-Gaussian distribution. Simulations were performed for system sizes $N = 100, 200,$ and $400$ to observe scaling behavior and compare against analytical predictions derived from the replica method in the $N \to \infty$ limit.
Surpassing the $\ell_1$ Limit
A key finding is that SA can achieve perfect reconstruction in parameter regimes where $\ell_1$-relaxation is mathematically guaranteed to fail. This "hard" region exists between the $\ell_1$ threshold and the theoretical information-theoretic limit.
Thermodynamics of Error and Phase Transitions
The transition from successful reconstruction to failure is characterized as a first-order phase transition. As the temperature $T$ (or its inverse $\mu$) is varied, the algorithm's behavior changes abruptly. In difficult parameter regions, the phase space splits, and a metastable state (a local minimum) emerges. The algorithm becomes trapped in this state, and the time required to escape grows exponentially with the system size $N$.
In the noiseless case, SA successfully finds the planted solution even when the number of measurements is barely above the number of non-zero components. In the presence of heavy noise, where no "true" sparse solution exists, SA consistently finds solutions with lower distortion than competing methods like Orthogonal Matching Pursuit (OMP).
Conclusion
While rapid simulated annealing is a powerful tool for sparse recovery, its performance is bounded by the emergence of metastable states. Future work may involve "seeding" strategies or "extended ensembles" to help the algorithm jump out of these traps. Despite these limitations, the $O(N^3)$ complexity makes SA a competitive and often superior alternative to standard convex optimization solvers in challenging regimes.
Summary updated