Papers
Topics
Authors
Recent
Search
2000 character limit reached

Frequency Pretraining (FPT) Methods

Updated 4 June 2026
  • Frequency pretraining (FPT) is a self-supervised method that uses pairwise relative shifts to capture long-range dependencies and relational geometry.
  • It has been effectively applied in EEG representation learning, joint alignment, and balanced clustering, often outperforming traditional techniques.
  • Its methodology integrates transformer-based encoding, spectral initialization, and projected power iterations to achieve efficient global structure recovery.

Frequency pretraining (FPT), also known as PAirwise Relative Shift (PARS) pretraining in self-supervised learning literature, encompasses a family of methods that utilize relative shifts between temporal or categorical elements as explicit training signals. FPT methodologies are designed to endow models with the capacity to internalize global structure—such as long-range dependencies in time series or pairwise relational geometry in discrete assignment tasks—by predicting, regressing, or optimizing over relative shifts between pairs of elements. This paradigm appears centrally in state-of-the-art EEG pretraining for time series representation, joint alignment problems (especially in combinatorial settings), and as a mechanism to regularize pairwise similarities for balanced clustering.

1. Foundations and Objective Formulations

Frequency pretraining approaches operationalize learning via the prediction of relative shifts between elements in a sequence or graph. In the context of self-supervised EEG signal representation learning, FPT tasks compel the encoder to infer the normalized temporal difference between pairs of masked windows, effectuating a direct inductive bias toward global temporal structure. Formally, for an input sequence X∈RTX \in \mathbb{R}^T, NN non-overlapping windows xi∈RMx_i \in \mathbb{R}^M are sampled with associated timestamps tit_i, and a subset of windows is "position-masked," i.e., positional information is replaced by a learned mask token. The core target θjk=tj−tkTs∈[−1,1]\theta_{jk} = \frac{t_j - t_k}{T_s} \in [-1,1] is then regressed solely from the masked window content, where TsT_s denotes sequence duration (Sandino et al., 14 Nov 2025).

In joint alignment and assignment problems on graphs, FPT-like methods appear as the recovery of nn discrete variables xi∈{1,…,m}x_i \in \{1,\dots,m\} from noisy pairwise modulo-mm difference observations yij=(xi−xj) mod my_{ij} = (x_i - x_j) \bmod m over an observation set NN0 (Chen et al., 2016). Here, the maximum likelihood objective is expressed over all candidate discrete labelings, as: NN1 where NN2 quantifies log-likelihood of the observed shift.

In balanced clustering tasks, FPT manifests concretely in "shifting" pairwise similarity matrices adaptively to achieve regularization and symmetry, with the shift NN3 determined by node-level similarity statistics (Chehreghani, 2021). This results in a new shifted matrix NN4 satisfying NN5 for each NN6, and reframes the clustering objective as a function of these pairwise shifts.

2. Mathematical Architecture and Algorithmic Components

In EEG pretraining, the FPT workflow consists of: patch tokenization, masked positional embedding perturbation, transformer-based encoding of patches, generation of all masked patch pairs, and regression of normalized temporal shifts via a cross-attention decoder. Specifically, encoder outputs NN7 are concatenated into all pairwise feature vectors NN8, projected through NN9, and combined canonically via cross-attention to produce shift predictions xi∈RMx_i \in \mathbb{R}^M0. The loss is mean squared error xi∈RMx_i \in \mathbb{R}^M1 (Sandino et al., 14 Nov 2025).

In modulo-shifted alignment, the Projected Power Method (PPM) involves block-lifting the discrete labels into high-dimensional indicators, initializing using a best-rank-xi∈RMx_i \in \mathbb{R}^M2 SVD-based spectral approximation, and refining via projected power iterations: xi∈RMx_i \in \mathbb{R}^M3 where xi∈RMx_i \in \mathbb{R}^M4 is the block matrix of pairwise likelihoods and xi∈RMx_i \in \mathbb{R}^M5 the simplex, ultimately converging under mild conditions to the unique global optimum (Chen et al., 2016).

For clustering, the local search algorithm proceeds by greedy reassignment of cluster labels to individual data points, using incremental updates on the shifted similarity matrix to evaluate the improvement in the cost function, iterating until a local minimum is achieved (Chehreghani, 2021).

3. Applications in Representation Learning, Alignment, and Clustering

FPT’s principal application in time series domain has been in EEG self-supervised representation learning, where it outperforms masked autoencoders and masked position prediction (e.g., MP3) by encouraging the encoding of long-range temporal dependencies. For instance, in sleep stage decoding with minimal labeled data (sleep staging with only 10 subjects), PARS-pretrained models achieved the highest Cohen’s κ relative to baselines, and maintained or surpassed competing paradigms (MAE, MP3, DropPos, random initialization) in balanced accuracy and κ across larger datasets and transfer settings (Sandino et al., 14 Nov 2025).

In combinatorial settings, PPM-based frequency pretraining is effectively used for discrete joint alignment problems such as 3D shape alignment and multi-view graph matching. Empirical performance demonstrates phase transition behavior matching theoretical recovery thresholds, and substantial computational speedups over SDP-based relaxations, e.g., aligning 50 ShapeNet chairs in 2.4 seconds (versus 900s for SDP) and reducing graph matching errors from 13% to ∼3% (Chen et al., 2016).

In clustering, the adaptively shifted min-cut objective driven by pairwise frequency pretraining wins or ties for cluster agreement metrics (Adjusted Mutual Information, Rand Index, V-measure) on 75–80% of UCI datasets versus standard and advanced baselines, and is robust to negative similarities without thresholding. This unifies balanced cut heuristics with correlation clustering in a data-driven, parameter-free manner (Chehreghani, 2021).

4. Theoretical Guarantees and Convergence Analysis

FPT regimes exhibit strong theoretical performance guarantees. In joint alignment:

  • Exact recovery is achieved if xi∈RMx_i \in \mathbb{R}^M6 (KL-separation) in random corruption models, with geometric contraction of misclassification rate per iteration, and xi∈RMx_i \in \mathbb{R}^M7 algorithmic complexity to reach global optimum. Below this threshold, no algorithm (even in principle) can recover true assignments (Chen et al., 2016).
  • Computational complexity per iteration is xi∈RMx_i \in \mathbb{R}^M8 due to FFT-based multiplication, and spectral initialization is dominated by xi∈RMx_i \in \mathbb{R}^M9 per block power step.

For pairwise shift-based clustering, the local search optimization achieves tit_i0 decrease in duality gap, comparable to Frank–Wolfe with exact line search, whereas generic nonconvex methods provide only tit_i1. Convergence to a local optimum is deterministic due to monotonic improvement at each step (Chehreghani, 2021).

5. Protocols, Hyperparameters, and Empirical Results

In EEG pretraining, the following protocol is instantiated:

  • Window (patch) size: tit_i2 s, tit_i3 windows sampled uniformly per 30s clip.
  • Position-mask ratio: tit_i4 (32 masked / 8 unmasked per clip).
  • AdamW optimizer with learning rate tit_i5, weight decay tit_i6, batch size 512.
  • Training for 1000 epochs with linear warm-up (100 epochs) and cosine annealing.
  • Data augmentations: random crop of the 30s window, per-epoch random single-channel selection; at fine-tuning, channel dropout and restoring standard sinusoidal positional encoding (Sandino et al., 14 Nov 2025).

Empirical comparison across four EEG tasks (EESM17, TUAB, TUSZ, PhysioNet-MI) confirms that PARS is optimal or near-optimal in balanced accuracy and tit_i7 in three of four tasks, with pronounced strength in the low-supervision regime.

Task PARS Balanced Accuracy Best Baseline
EESM17 (5-class) tit_i8 tit_i9 (MAE)
TUAB (2-class) θjk=tj−tkTs∈[−1,1]\theta_{jk} = \frac{t_j - t_k}{T_s} \in [-1,1]0 θjk=tj−tkTs∈[−1,1]\theta_{jk} = \frac{t_j - t_k}{T_s} \in [-1,1]1 (MAE)
TUSZ (2-class) θjk=tj−tkTs∈[−1,1]\theta_{jk} = \frac{t_j - t_k}{T_s} \in [-1,1]2 θjk=tj−tkTs∈[−1,1]\theta_{jk} = \frac{t_j - t_k}{T_s} \in [-1,1]3 (MAE)
PhysioNet-MI (4-class) θjk=tj−tkTs∈[−1,1]\theta_{jk} = \frac{t_j - t_k}{T_s} \in [-1,1]4 θjk=tj−tkTs∈[−1,1]\theta_{jk} = \frac{t_j - t_k}{T_s} \in [-1,1]5 (MAE) (Sandino et al., 14 Nov 2025)

6. Limitations, Assumptions, and Implementation Notes

FPT methods demand careful handling of symmetry and negative similarities. Input similarity matrices must be symmetric; shifting may yield negative values, which are integrated naturally in the cost function without post-processing (Chehreghani, 2021). Global optimality is computationally infeasible (NP-hardness in clustering), but local minima are reachable efficiently and restarts can address sensitivity to initialization.

A plausible implication is that FPT’s global structure prediction bias offers natural robustness to unbalanced or incomplete data. However, some FPT applications are limited by the requirement of predefined window or patch size and position masking ratios, and may not generalize directly to all sequence modalities without adaptation or validation of shift statistics.

7. Synthesis and Relationships to Broader Methodologies

Frequency pretraining synthesizes two paradigms: explicit temporal or categorical relation prediction (as in self-supervised signal representation, joint alignment, and clustering-by-shift) and spectral, block-wise architectural lifting (enabling global recovery or balanced partitions). In clustering, it unifies min-cut, ratio-cut, and correlation clustering under a regularization-by-shift framework. In alignment tasks, spectral methods and projected power iterations enable provable and efficient global recovery in high-noise regimes. In sequence pretraining, regression to pairwise relative shifts enforces representations capturing high-level compositionality.

These advances illustrate FPT’s centrality in problems where the relational geometry—whether in time, label, or similarity space—is both the problem and the supervision. The methodology’s information-theoretic sharpness and empirical efficacy across self-supervised learning, combinatorial optimization, and clustering make it a robust tool for endowing models with an intrinsic notion of global structure (Sandino et al., 14 Nov 2025, Chen et al., 2016, Chehreghani, 2021).

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Frequency Pretraining (FPT).