Ramanujan Subspace Pursuit (RSP)
- Ramanujan Subspace Pursuit (RSP) is a greedy iterative algorithm that decomposes any finite-length signal into a unique sum of exactly-periodic components using orthogonal projections onto Ramanujan subspaces.
- It leverages Ramanujan sums to construct these subspaces, enabling precise identification of both overt and latent integer periodicities regardless of signal length or divisibility.
- The fast RSP variant (FRSP) significantly reduces computational complexity to O(N log N), enhancing period estimation accuracy and robustness in diverse applications such as signal processing and sequence analysis.
The Ramanujan Subspace Pursuit (RSP) is a greedy iterative signal decomposition algorithm that uniquely represents any finite-length signal as a sum of exactly periodic components. RSP operates by sequentially identifying and subtracting the most energetic exactly-periodic structure at each step, leveraging orthogonal projections into a hierarchy of Ramanujan subspaces. The algorithm’s backbone is an explicit construction of these subspaces using Ramanujan sums, which enable the discovery of both overt and latent integer periodicities regardless of signal length or divisibility. This methodology, along with its computationally optimized fast variant (FRSP), provides precise, robust decomposition and period estimation capabilities for applications in signal processing, sequence analysis, and beyond (Deng et al., 2015).
1. Ramanujan Subspaces: Construction and Properties
For integer period , the Ramanujan sum is defined as:
These sums are -periodic in . The circulant Ramanujan matrix embeds these sums:
The Ramanujan subspace is the range of , with dimension equal to Euler’s totient . Every element 0 is exactly 1-periodic and not periodic for any 2. The orthogonal projector onto 3 is 4, satisfying 5 and 6, with the projection operation given by 7 for 8.
2. Periodicity Metric and Energy Quantification
Given 9 and a candidate period 0, one extends projection into 1 over the entire signal (using zero-padding or block-averaging as needed). Define the projected signal 2, and compute its sample autocorrelation:
3
The periodicity metric is
4
Analysis yields
5
For 6,
7
This metric allows the identification and ordering of dominant periodicities within a signal.
3. Greedy Decomposition: The RSP Algorithm
RSP decomposes a signal 8 by iteratively projecting the residual into all exactly-periodic Ramanujan subspaces and extracting the component whose periodicity metric is maximized. At iteration 9 (starting with 0):
- For each 1:
- Compute 2.
- Compute 3.
- Select 4.
- Update the residual: 5.
After 6 steps:
7
with energy conservation 8. In the limit 9, 0, yielding a unique orthogonal sum of exactly-periodic components.
4. Computational Complexity and Fast RSP (FRSP)
Naïve RSP requires 1 operations per iteration, due to 2 projections (each 3) per step. Fast RSP circumvents direct projection by exploiting the structure of periodic subspaces:
4
Here, 5 is the space of all 6-periodic signals, and 7 is the projection into 8. By maximum likelihood estimation,
9
0 is computed by subtracting projections onto proper divisors of 1. If the autocorrelation is calculated via FFT methods (2), the total per-iteration complexity becomes 3, yielding 4 overall.
5. Comparative Performance Across Period Estimation Methods
Experimental evaluations on synthetic 5 signals reveal that Ramanujan Periodicity Transforms (RPT) and Even-Period Synchronous Detection (EPSD) are limited to cases where period 6 divides length 7. Classical periodicity transforms (Small2Large, BestCorrelation, BestFrequency, Mbest) often miss true periods or yield spurious ones, particularly at low SNR or when 8. In contrast, RSP and FRSP identify all integer and non-integer periods, are robust to additive noise down to SNR 9 dB, and show accuracy 0 (Hellinger-based periodic similarity) at 1 dB, surpassing all compared methods (Deng et al., 2015). This suggests superior adaptability and reliability for complex, noisy, or non-ideal data scenarios.
6. Applications and Spectral Interpretation
RSP/FRSP is applicable to any context requiring the extraction of hidden, overt, or integer-valued periodicities, including but not limited to:
- Biomolecular sequence analysis (e.g., latent repeats in DNA/protein)
- Speech signal pitch and sub-harmonic estimation
- Music rhythm and beat tracking
- Mechanical vibration and fault diagnosis (e.g., gear-tooth periodicities)
- General signal denoising and periodic feature extraction
In practical data analysis, these algorithms yield both an exact decomposition into orthogonal exactly-periodic signals and a spectral description via the Periodic Energy Spectrum (PES):
2
A plausible implication is that RSP/FRSP provides insight analogous to frequency spectra, but resolves fine integer-structured periodicities that may be hidden from classical spectral transforms.