Papers
Topics
Authors
Recent
Search
2000 character limit reached

Random Fourier Signature Features

Updated 25 November 2025
  • Random Fourier Signature Features are a scalable method for approximating signature kernels, enabling efficient similarity measurement over sequential data.
  • The approach integrates tensor algebra with level-wise independent Random Fourier Feature maps to provide unbiased estimators with strong uniform error guarantees.
  • Reduction variants like RFSF-DP and RFSF-TRP optimize computational and memory complexity, making the method practical for large-scale time series and high-dimensional data.

Random Fourier Signature Features (RFSF) provide a scalable framework for approximating the signature kernel—a powerful similarity measure for sequential data—by leveraging random Fourier feature (RFF) methods within the tensor algebra of signature representations. This combination yields unbiased, uniform-approximation estimators for kernel methods on sequences, reducing computational barriers associated with classic signature kernel computation and enabling practical application to very large datasets while preserving expressive kernel structure (Toth et al., 2023).

1. The Signature Kernel and Tensor Algebra

Given a metric space XRdX \subset \mathbb{R}^d, a sequence x=(x1,,xL)x = (x_1, \ldots, x_L) of points in XX, and a base kernel k:X×XRk: X \times X \to \mathbb{R} with corresponding RKHS H\mathcal{H}, the signature kernel encodes multilevel sequential interactions through the discrete signature map. The mm-th level signature of xx is a tensor in Hm\mathcal{H}^{\otimes m}, constructed by iteratively taking tensor products of differences along the path. Truncating at level MM gives the truncated signature kernel: KM(x,y)=σM(x),σM(y)T(H)=m=0MiΔm(x1),jΔm(y1)=1mδi,j2k(xi,yj)K^{\leq M}(x, y) = \langle \sigma^{\leq M}(x), \sigma^{\leq M}(y) \rangle_{T(\mathcal{H})} = \sum_{m=0}^M \sum_{i \in \Delta_m(\ell_x-1),\, j \in \Delta_m(\ell_y-1)} \prod_{\ell=1}^m \delta^2_{i_\ell,j_\ell}k(x_{i_\ell},y_{j_\ell}) where x=(x1,,xL)x = (x_1, \ldots, x_L)0 denotes the second-order difference of x=(x1,,xL)x = (x_1, \ldots, x_L)1 (Toth et al., 2023). Computing the Gram matrix for x=(x1,,xL)x = (x_1, \ldots, x_L)2 sequences of length x=(x1,,xL)x = (x_1, \ldots, x_L)3 incurs x=(x1,,xL)x = (x_1, \ldots, x_L)4 time, rendering direct application infeasible at scale.

2. Random Fourier Features for Signature Kernels

Random Fourier Features accelerate kernel methods via a mapping x=(x1,,xL)x = (x_1, \ldots, x_L)5 (of dimension x=(x1,,xL)x = (x_1, \ldots, x_L)6) such that x=(x1,,xL)x = (x_1, \ldots, x_L)7 is an unbiased estimator of a translation-invariant kernel x=(x1,,xL)x = (x_1, \ldots, x_L)8. For the Gaussian (RBF) kernel, this mapping takes the form x=(x1,,xL)x = (x_1, \ldots, x_L)9 with XX0 drawn from the kernel's spectral measure.

The RFSF approach replaces the "static" feature map XX1 in the discrete signature computation by level-wise independent RFF maps XX2. For a truncation level XX3 and feature size XX4, independent RFF matrices XX5 are drawn for each XX6. The level-XX7 RFSF kernel is then constructed using: XX8 and signature features as

XX9

where k:X×XRk: X \times X \to \mathbb{R}0 (Toth et al., 2023). The resulting kernel,

k:X×XRk: X \times X \to \mathbb{R}1

is an unbiased estimator of k:X×XRk: X \times X \to \mathbb{R}2.

3. Uniform Approximation Guarantees

RFSF enjoys high-probability, uniform approximation guarantees on compact domains. For fixed k:X×XRk: X \times X \to \mathbb{R}3 and sequences k:X×XRk: X \times X \to \mathbb{R}4 with bounded 1-variation, the supremum error between k:X×XRk: X \times X \to \mathbb{R}5 and its RFSF estimator is subexponentially small in k:X×XRk: X \times X \to \mathbb{R}6: k:X×XRk: X \times X \to \mathbb{R}7 where constants depend on k:X×XRk: X \times X \to \mathbb{R}8 and the kernel's Lipschitz constant. This enables setting k:X×XRk: X \times X \to \mathbb{R}9 to attain error at most H\mathcal{H}0 with failure probability H\mathcal{H}1 (Toth et al., 2023). The proof applies recursive bias-propagation in tensor levels and Bernstein-type concentration in Banach spaces.

4. Scalable Tensor Reduction Variants: RFSF-DP and RFSF-TRP

Although RFSF is linear in sequence length H\mathcal{H}2, feature dimension scales as H\mathcal{H}3. Two reduction strategies, diagonal-projection (RFSF-DP) and tensor-random-projection (RFSF-TRP), alleviate this:

  • RFSF-DP: Projects onto diagonal tensor entries by averaging over H\mathcal{H}4 independent RFFs at each level; total dimension is H\mathcal{H}5.
  • RFSF-TRP: Applies Johnson–Lindenstrauss-type random projections respecting the tensor CP structure, mapping H\mathcal{H}6 via rank-1 CP projections, yielding total dimension H\mathcal{H}7.

Both offer provable concentration inequalities: RFSF-DP has subexponential and RFSF-TRP has H\mathcal{H}8-subexponential tails in H\mathcal{H}9. Extraction costs are mm0 for RFSF-DP and mm1 for RFSF-TRP. These properties ensure feasibility in high-throughput settings (Toth et al., 2023).

5. Empirical Scaling, Complexity, and Accuracy

On benchmark datasets, RFSF-DP and RFSF-TRP demonstrate negligible loss relative to the exact signature kernel (KSig) on moderate sizes (mm2) and superior performance versus alternative scalable approaches (Random Warping Series, flattened RFF) at larger scale (mm3). On the SITS1M satellite dataset (mm4), RFSF-DP training with mm5, mm6 completes in minutes, unattainable by other signature-based or kernel approaches.

Method Time per fit Memory
KSig (full) mm7 mm8
Classical RFF mm9 xx0
RFSF-DP xx1 xx2
RFSF-TRP xx3 xx4

Accuracy is competitive: on SITS1M, RFSF-DP achieves xx5 test accuracy, compared to xx6 for RWS and xx7 for classical RFF (Toth et al., 2023).

6. Relation to Classical Random Fourier Features and High-Dimensional Learning

The construction of RFSF is rooted in Random Fourier Features as introduced in prior work (Liao et al., 2020), where RFFs are shown to give unbiased estimators for shift-invariant kernels and permit high-dimensional asymptotics. In the classical regime with large feature dimension xx8, the empirical Gram matrix of RFF converges (in expectation) to the underlying kernel matrix. However, in the joint high-dimensional setting—where data dimension xx9, number of samples Hm\mathcal{H}^{\otimes m}0, and Hm\mathcal{H}^{\otimes m}1 scale comparably—the convergence is only in expectation and requires careful analysis. The explicit integration of RFFs into sequential signatures as in RFSF extends these techniques to the tensorial, non-Euclidean context, yielding expressive yet scalable representations (Toth et al., 2023, Liao et al., 2020).

7. Summary and Outlook

Random Fourier Signature Features inherit the expressivity and theoretical guarantees of signature kernels while providing strong uniform error controls and enabling linear computational scaling in both sequence length and data set size. Reduction variants RFSF-DP and RFSF-TRP further extend applicability to million-scale time series, with consistent empirical robustness and accuracy. The methodology aligns RFF-based kernel approximation with the algebraic richness of signatures, offering a principled approach for scalable, powerful sequential similarity in machine learning and data analysis (Toth et al., 2023).

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 Random Fourier Signature Features.