A Closed-Form Soft Spectral Partition for Adaptive Mode Decomposition
Authors: Hao Jia, Chunyu Yang, Fan Feng, Cesar F. Caiafa, Feng Duan, Jordi Solé-Casals
Organizations: School of Medicine, Nankai University, Tianjin, China · Tianjin Key Laboratory of Interventional Brain-Computer Interface and Intelligent Rehabilitation, Nankai University, Tianjin, China · Department of Mechanical Engineering, Universitat Politècnica de Catalunya-BarcelonaTech, Terrassa, Spain · Instituto Argentino de Radioastronomía (CCT-CONICET La Plata/CIC-PBA/UNLP), Villa Elisa, Argentina · College of Artificial Intelligence, Nankai University, Tianjin, China · Data and Signal Processing Research Group, University of Vic-Central University of Catalonia, Vic, Spain
Density-based Adaptive Mode Decomposition (DAMD) shows that the Variational Mode Decomposition (VMD) objective, restricted to hard binary partitions, is equivalent to weighted K-means clustering, enabling automatic mode detection. The equivalence concerns detection only; extraction with hard Voronoi masks introduces boundary artefacts. This paper develops a soft extraction theory independent of the detector. First, the hard-partition equivalence is shown to be an algebraic identity that holds if and only if the weights are binary; hard and soft extraction are optima of two different functionals (linear K-means and regularised quadratic VMD) over the same simplex. Second, the regularised soft VMD problem is proved to have a closed-form global optimum, unique on the support of the spectrum: the Lorentzian-weighted partition sk∗(ω)∝[1+2α(ω−ωk)2]−1. Every fixed point of the VMD ADMM mode update is proportional to ∣ω−ωk∣−2; when the dual ascent enforces reconstruction, it is the α→∞ endpoint of this family. The Lorentzian shape at finite α is therefore a consequence of the regulariser, and α controls how closely the allocation approaches that fixed point. Third, under a Lorentzian spectral prior the partition equals the minimum mean-square error (MMSE) estimator of each mode in the low-noise limit, tying α to the inverse squared mode bandwidth. Since the partition needs only detected centre frequencies, the extraction rule can be switched without recomputing detection. Synthetic experiments with known ground truth test the predictions; four categories of real signals show how much the two allocations differ.
Figures & tables
α
Prior β
Mode extraction
→∞
→0 (vanishing width)
Inverse-square soft, sk∗→dk−2/∑jdj−2 ; VMD ADMM fixed point if τ>0 enforces reconstruction (Rem. VI.5 )
finite α
1/2α
Lorentzian mask ( 6 )
small
wide-band
Diffuse soft partition
TABLE I: Bayesian interpretation of the bandwidth parameter α . At fixed peak σk2 , ( 19 ) (area πσk2βk over R ) tends pointwise to zero away from the centre as βk→0 : a vanishing-width prior, a delta only after renormalising the area.
STVMD
DAMD
DAMD-Soft
K
fixed
auto
auto
Transform ( 1× )
O(FlogF)
O(FlogF)
O(FlogF)
Mode detection
—
O(SNMF)
O(SNMF)
Extraction
O(KNAF)
O(FK)
O(FK)
Soft weights
inside ADMM
no
O(FK)
Exact weights
×
—
✓
TABLE II: Per-frame complexity and exactness. ✓ : exact minimiser of the regularised objective ( 11 ) (closed form, one pass); × : iterative ADMM, whose fixed points ( τ>0 ) are ( 5 ), not ( 12 ). STVMD: short-time VMD; DAMD: hard extraction; DAMD-Soft: soft extraction (Algorithm 1 ).
Exp.
Statement tested
Nature of the test
A
Rem. VI.5
Against the solver’s output
B
Cor. IV.9 , Rem. IV.10
Analytic, exact
C
Thm. V.2 , Rem. V.4
Monte Carlo vs. oracle
C ′
Scope of Thm. V.2
Monte Carlo under misspecification
D
Boundary, allocation difference
Descriptive, no ground truth
S2
Cor. V.5
Analytic and noisy spectra
TABLE III: Experiment–theory mapping. Rows prefixed S are in Appendices B – F . Experiment S1, an implementation unit test, is not evidence for any statement and is not listed.
Fig. 1: Experiment A (Remark VI.5 ). (a) Mask realised by the ADMM solver, from its own output. (b) Distance from the converged ADMM spectra to each closed form versus α .
Fig. 2: Experiment B, mode at 80 Hz. (a) Lorentzian weights sk(ω;α) for α∈{10−2,50,200,2000,105} ( 10−2 is the uniform α→0 endpoint), with the inverse-square asymptote dk−2/∑jdj−2 (dashed) and the Voronoi indicator 1Bk (dotted). (b) Soft–hard extraction discrepancy versus α (Cor. IV.9 , Rem. IV.10 ).
Fig. 3: Experiment C (Theorem V.2 , Remark V.4 ). (a) nMSE versus peak SNR; relative Monte Carlo standard errors are below 0.3% , smaller than the markers. (b) Shrinkage factor ( 22 ) across frequency at three SNRs.
Fig. 4: Experiment C ′ . (a) nMSE versus SNR for four FWHM-matched spectral shapes; solid: soft (Lorentzian), dashed: hard (Voronoi), dotted: oracle MMSE. (b) Centre error (Lorentzian modes): nMSEsoft/nMSEhard with the true modes fixed and the assumed centres displaced; values below one favour the soft mask, and a symmetric displacement of 2 FWHM reverses the ranking from 25 dB on. (c) nMSE at 40 dB versus centre separation (Lorentzian modes, exact centres); circles: soft, squares: hard.
SSVEP
Grav.
Bearing
Speech
Transform
SSQ-CWT
SSQ-STFT
SSQ-STFT
SSQ-STFT
fs (Hz)
250
220
250
500
Duration (s)
10.00
3.00
4.00
2.00
Frames
2500
660
1000
1000
Bin width (Hz)
0.036
2.000
2.000
2.000
Kt
5.7
3.0
4.9
5.0
TABLE IV: Boundary exposure and allocation difference (Experiment D) for four neighbourhood widths. Grav.: gravitational wave; Kt : mean modes per frame.
Fig. 5: Hard versus soft DAMD on four real-signal classes (Experiment D). Rows: spectrogram; hard detected modes (dot size ∝ energy); soft extraction, centres coloured by energy quintile (energy-stratified), α=2000 . All panels come from the time–frequency map; no inverse transform is applied. Settings: Section VIII-D . The per-frame counts in the third-row titles are Kt of Table IV , rounded.
Appendix figures & tables5 assets
Supplementary material from the paper’s appendix.
Appendix
Fig. S1: Lorentzian soft-partition weights sk∗(ω) from the pipeline implementation and the normalised Lorentzian mask wk(ω) of (6) from a standalone implementation, for two modes, α=2000 (Experiment S1). The maximum difference ∥sk∗−wk∥∞ , printed in the panel, is at the floating-point floor, consistent with the by-construction identity in Remark IV.5.
Fig. S2: Accuracy of the FWHM estimator (Experiment S2, Corollary V.5). (a) Noiseless case, plotted against the number of bins across the FWHM, n=2β/Δω , rather than against α : since the FWHM is measured as an integer bin count, the average error over the position of the centre is at most about 1/n (dashed) and the worst case over that position is (1−1/n)−2−1 (solid black). At one centre position the 10% threshold is met from n≈10 ; over 20 sub-bin offsets it is exceeded up to n≈12 at the sampled n (up to n≈20 on a continuous scan), and guaranteed only for n≥22 . The power-weighted second moment is unusable throughout because a Lorentzian has no finite second moment; the Type-II MLE is far more accurate on a noiseless spectrum matching its model, at the cost of a numerical solve. (b) With noise: a single periodogram is too rough for a half-power crossing, and spectral averaging improves but does not by itself restore the estimator at 20 dB, so a smoothed spectrum is a precondition of Corollary V.5, one that has to be supplied by averaging or smoothing and that the single-frame magnitudes used in Algorithm 1 do not by themselves provide.
Fig. S3: Theorem IV.3 and the three functionals. (a) The regularised objective (11) over the two-simplex at one frequency, for K=3 . The closed form (12) (cross) sits on the minimiser found by a generic sequential quadratic programme (circle); the inverse-square allocation and the hard Voronoi mask, which is a vertex, are marked for comparison. Over 400 random configurations with K∈[2,6] and α∈[10,105] the two agree to a median of 6×10−9 . (b) Each allocation rule evaluated under each functional, normalised by that functional’s own optimum and averaged over frequency: every rule attains one under its own functional and strictly more under the others. The hard mask optimises the linear K-means functional, the inverse-square allocation the unregularised quadratic one, and (12) the regularised quadratic one, which is Theorem III.1 and Corollary III.2 read as a table.
SNR
component
soft
hard
VMD ( K=3 )
soft < hard
Lorentzian modes matching α
0
60 Hz
0.722 ± 0.007
0.781 ± 0.007
0.703 ± 0.007
20/20
0
110 Hz
0.888 ± 0.011
1.001 ± 0.013
0.833 ± 0.020
20/20
0
250 Hz
1.878 ± 0.013
1.935 ± 0.013
0.966 ± 0.035
20/20
10
60 Hz
0.523 ± 0.004
0.553 ± 0.004
0.625 ± 0.006
20/20
10
110 Hz
0.654 ± 0.005
0.706 ± 0.006
0.693 ± 0.007
20/20
Appendix
TABLE S1: Experiment S4: relative waveform error (mean ± standard error, 20 trials). Last column: trials in which soft < hard on the same detection.
Fig. S4: Computational cost (Experiment S5); medians of nine repetitions after a warm-up, bars are interquartile ranges. (a) Cost by stage. (b) Modes returned at the largest length, against the fixed K given to STVMD.
When do mode energies preserve regime information as measurement quality changes? Stochastic Kernel Mode Decomposition (sKMD) fits joint regime laws on signed KMD mode coordinates and transfers the reference mode posterior to regime probabilities and conditional reconstructions. For centered Gaussian regimes with independently varying known noise variances, fixed coordinate energies retain the full regime posterior precisely when all classes share their cross-covariances and class variances can differ only at isolated vertices of the covariance graph. We extend the characterization to nonzero means and show that freely varying correlated noise forces a fixed linear log-odds decoder to retain the full quadratic feature span even for two distinct centered regimes. At fixed quality, a three-regime example has no sufficient two-energy basis. Its smallest Bayes log-loss gap over bases of condition number at most κ has sharp order κ−1. Exact Bayes energy posteriors supply numerical gap estimates for specified bases. Additional bounds relate feature compression, independently learned mode spans and sensor-noise error to log loss. Two controlled experiments with 64 independent panels each show that signed information can improve prediction over energy summaries, while integration gives small gains over strong signed controls and depends on how the competing point rule is calibrated and how accurately observation noise is measured.
Boumediene Hamzi, Houman Owhadi
The Alan Turing Institute, London NW1 2DB, UK · Department of Computing and Mathematical Sciences, California Institute of Technology, Pasadena, CA 91125, USA
Exemplar methods separate a mixture by picking one learned spectrum per source and deforming it until it explains the observation, making one deformation class both reconstructor and selector. We show that the second role is empty as soon as the class can interpolate: the rule then ranks candidates on its regulariser, a choice made before the data, and the estimates sum back to the mixture whichever candidate wins. The condition is a parameter count, so the diagnosis runs before any experiment. On free per-bin deformation of complex spectra it explains the observed pathologies at once: a criterion that ranks candidates by their loudness, and half an output that is a mask on the mixture rather than an exemplar. The same theorem prescribes the repair, a selection class poorer than the reconstruction class: one complex gain and one pure delay rank the candidates, and a local combination of the best-aligned atoms, fitted jointly in closed form, rebuilds them. On MUSDB18 against the exact ceiling of the masking class, the distance between the criterion and an oracle inside its own candidate pool falls under the rigid selector from 6.2-7.7 to 0.5-2.8 dB, though only 0.9-1.2 dB of that reaches the output, and the per-frame latency of the deployed rule by a factor of 47 to 806. One lock remains, quantified: atoms are scored against the mixture, so the score carries a term for the other source that absorbs the capacity the reconstruction class gains, leaving the output 10.0 dB under the ceiling. Ranking hypotheses by the residual of a fit free enough to interpolate ranks them on the regulariser alone.
Mode separation, namely how sharply a distribution fragments into barrier-separated clusters, is a fundamental geometric property of densities, difficult to quantify in high dimensions. Modes are often the meaningful alternatives in the data, such as the conformations of a molecule or the distinct semantic types among a generative model's outputs. Mode separation is distinct from dispersion, which is what standard label-free tools capture: differential entropy rises with spread regardless of fragmentation, and PCA orders directions by variance regardless of barriers. Mutual information does capture it, but only given the latent component labels, which are usually unavailable. We measure mode separation through a single stochastic process intrinsic to the density, namely the unique reversible diffusion with f as its stationary distribution and a constant scalar diffusion coefficient. From its autocovariance matrix we extract two readouts. The first, SSA (Sum of Squared Autocorrelations), is a scalar barrier-sensitive measure. The second, DA (Dominant Autocorrelation directions), gives linear projections ordered by metastability rather than variance. Under an isotropic-Gaussian null, we derive the limiting spectrum of the empirical autocovariance in closed form, generalizing the Marchenko--Pastur law. Its upper edge gives a noise floor that separates metastable directions from sampling noise. Both readouts use only samples and a score function, scaling to high dimensions through pretrained score-based generative models via Tweedie's identity. We apply our framework to three settings: (i) synthetic Gaussian mixtures, where SSA tracks mutual information; (ii) SDXL text-to-image generations, where SSA and DA capture structure that entropy and PCA miss; and (iii) molecular dynamics of alanine dipeptide, where DA recovers the known slow backbone dihedrals from static samples alone.