MDDO: An Analytical Spectral Operator for Supervised Contrastive Representation Learning on Continuous Signals

Songtao Tian, Zixiong Yu, Bohan Li, Guhan Chen, Rui ChenarXiv 2026

TL;DR

Training deep contrastive networks on continuous scientific or medical signals usually requires massive datasets, delicate negative-sampling tricks, and hours of gradient descent. This paper introduces a mathematical shortcut: an analytical spectral operator that achieves the exact same goal—pulling apart different classes while grouping similar ones—in a single, closed-form linear algebra step. The resulting algorithm matches or beats deep learning baselines in accuracy while shrinking training times from minutes to fractions of a second.

What Problem Does This Paper Address?

Imagine you are working with continuous, high-resolution waveforms—like ECG heart monitors, brain fMRI scans, or physical sensor streams. Mathematically, these aren't just discrete vectors; they are smooth functions living in infinite-dimensional spaces, where subtle, task-critical patterns are often buried beneath high-frequency noise.

When trying to extract useful, low-dimensional features from this data, researchers hit a frustrating trilemma:

  1. Deep Learning Overfits and Burns Compute: Supervised contrastive networks and autoencoders are expressive, but rely on iterative gradient descent, huge batch sizes, and finicky negative-pair mining. When samples are scarce (common in medicine and science), they easily overfit and remain black boxes.
  2. Unsupervised Methods are Blind to Labels: Classic tools like PCA compress data by maximizing variance. If your most predictive medical signal happens to be a subtle, low-variance blip, PCA throws it right in the trash.
  3. Classical Supervised Statistics Break Continuity: Methods like Sliced Inverse Regression (SIR) use labels, but require artificially chopping ("slicing") continuous target variables into discrete bins—destroying the natural geometry of the data and introducing fragile hyperparameters.

Methods

To escape this trilemma, the authors bridge operator-theoretic statistics and modern representation learning via two core innovations:

  • Martingale Difference Divergence Operator (MDDO): Defined in functional Hilbert spaces (spaces of continuous curves), MDDO measures exact conditional mean dependencies between continuous inputs and labels. While derived in the frequency domain, the authors prove it simplifies into a remarkably clean expectation: $-\mathbb{E}[\mathbf{X} \otimes \mathbf{X}' \cdot \|\mathbf{Y} - \mathbf{Y}'\|]$. That Euclidean label distance $\|\mathbf{Y} - \mathbf{Y}'\|$ acts as an automatic, closed-form contrastive weight!
  • Functional Slicing-Free Inverse Regression (FSFIR): Building on MDDO, FSFIR is a gradient-free algorithm for dimensionality reduction. Because inverting covariance matrices in infinite dimensions is mathematically ill-posed, FSFIR first applies a low-pass spectral filter (projecting signals onto their top $m$ principal components). It then constructs the empirical MDDO matrix and solves a single generalized eigenvalue problem to extract the optimal discriminative subspace—no epochs, learning rates, or slicing required.

Datasets

The authors evaluate FSFIR across four distinct regimes (no new benchmarks are introduced):

  • Continuous Physiological & Sensor Signals: FordA and ECG5000 from the UCR Time Series Archive (restricted to $N = 500$ training samples to test low-data regimes).
  • Frozen Deep Vision Embeddings: MNIST and CIFAR-10 passed through a frozen, pre-trained ResNet-18 backbone to test FSFIR as a plug-and-play projection head.
  • Synthetic Nonlinear Manifolds: A custom cubic nonlinearity model ($\mathcal{M}_2$) to test hyperparameter sensitivity.
  • Real-World Physics/Meteorology: The Bike Sharing dataset, predicting daily rental counts from continuous hourly temperature curves.

Key Insights and Ideas

  • Contrastive Learning Without Gradients: Look closely at MDDO's pairwise weighting $\|\mathbf{Y} - \mathbf{Y}'\|$. When two samples have similar labels ($\approx 0$), their interaction is suppressed, filtering out non-discriminative noise. When labels are far apart, their functional differences are amplified. It naturally executes supervised contrastive learning via pure linear algebra.
  • The "Safe-Fail" Property: Unlike kernel methods (which break if you misjudge the bandwidth) or slicing methods (which fail if you pick the wrong bin count), FSFIR's spectral truncation parameter $m$ is remarkably forgiving. Even if you over-parameterize it ($m = 50$ when the true subspace is tiny), estimation error stays flat instead of overfitting trailing noise.
Figure 1: Sensitivity Analysis. (a) TFSIR fails due to slicing bias. (b) KFSIR is highly fragile to bandwidth σ. (c) FSFIR exhibits a Safe-Fail property, maintaining stability even when over-parameterized (m > 20).
  • Taming the $O(N^2)$ Memory Monster: Pairwise distance matrices normally blow up GPU memory on large datasets. Because $m$ is small, FSFIR rewrites the math as a block-wise tensor contraction—processing data in chunks so the massive $N \times N$ matrix is never materialized in VRAM.

Key Results

  • Low-Data Superiority: With only 500 training samples, FSFIR + Ridge Classifier hits 89.1% on FordA and 94.3% on ECG5000, easily beating 1D-ResNet (75.2% / 88.5%) and Time-Series Transformers (68.4% / 84.2%) which overfit.
  • Orders-of-Magnitude Speedup: On frozen CIFAR-10 ResNet features, FSFIR achieves 86.4% accuracy (beating Linear Probing at 85.2% and matching MLPs) in under 1.0 second, compared to $>100$ seconds for MLPs and Deep Supervised Autoencoders.
Figure 2: Fair Comparison on Frozen Deep Features. (Left) FSFIR matches or exceeds the accuracy of Lin- ear Probing and deep MLPs. (Right) FSFIR requires a fraction of a second, significantly outperforming gradient-based and iterative solvers.
  • Massive Scalability: Using block-wise tensor contraction on a standard GPU, FSFIR processes $N = 40,000$ samples in 0.58 seconds with negligible memory overhead.
  • White-Box Interpretability: On the Bike Sharing dataset, plotting FSFIR's learned functional weight curve $\beta(t)$ directly highlights 4:00 AM (daily minimum temperature) and 2:00 PM (daily maximum) as the dominant physical drivers of bike rentals.

Limitations and Future Work

FSFIR relies on a fixed, global spectral basis. For data with extremely complex geometries or highly localized, sudden frequency shifts, adaptive deep filters (like Mamba neural operators) still offer greater expressivity. Looking ahead, the authors suggest embedding MDDO as a differentiable spectral layer inside end-to-end neural operators—marrying analytical stability with deep adaptive flexibility—as well as extending the math to handle sequence-to-sequence (functional-to-functional) translations.

Summary updated

BibTeX
@misc{tian2026mddo,
  author = {Songtao Tian and Zixiong Yu and Bohan Li and Guhan Chen and Rui Chen},
  title = {{MDDO: An Analytical Spectral Operator for Supervised Contrastive Representation Learning on Continuous Signals}},
  year = {2026},
  eprint = {2611.38543},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.38543},
}
Figure