Search arXiv⌕ Search

arXiv · 2612.06256

Matrix Factorisation Techniques for Path Signatures

Abstract

Path signature transforms have become an increasingly popular tool in the analysis of sequential data. Efficient computation is essential for their use in practical applications. We propose algorithms based on matrix multiplication for the computation of truncated signatures and individual signature coefficients. For a path with $n$ linear segments in fixed dimension $d\geq2$, the forward and backward passes for its depth-$m$ truncated signature each use $\mathcal{O}_d(nd^{(ω-1)m/2})$ arithmetic operations when $m\geq2$ and $n\geq d^{m/2}$, assuming that $q \times q$ matrices can be multiplied in $\mathcal{O}(q^ω)$ operations for some $2<ω<3$. The algorithm achieves an asymptotic speedup as $m\to\infty$ over Horner's algorithm, which requires $\mathcal{O}(nd^m)$ operations. For a single level-$m$ coefficient, our proposed algorithm uses $\tfrac12 nm^2+\mathcal{O}(nm)$ multiplications, compared to $nm^2+\mathcal{O}(nm)$ for Horner's recurrence. We derive backpropagation algorithms for our methods and compare their performance with Horner's algorithm on CPU and GPU.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Daniil Shmelev, Cristopher Salvi. 2026-12-03. Matrix Factorisation Techniques for Path Signatures. https://searcharxiv.org/abs/2612.06256

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

Multiscaling in Wasserstein Spaces

We present a novel multiscale framework for analyzing sequences of probability measures in Wasserstein spaces over Euclidean domains. Exploiting the intrinsic geometry of optimal transport, we construct a multiscale transform applicable to both absolutely continuous and discrete measures. Central to our approach is a refinement operator based on McCann's interpolants, which preserves the geodesic structure of measure flows and serves as an upsampling mechanism. Building on this, we introduce the optimality number, a scalar that quantifies deviations of a sequence from Wasserstein geodesicity across scales, enabling the detection of irregular dynamics and anomalies. We establish key theoretical guarantees, including stability of the transform and geometric decay of coefficients, ensuring robustness and interpretability of the multiscale representation. Finally, we demonstrate the versatility of our methodology through numerical experiments: denoising and anomaly detection in Gaussian flows, analysis of point cloud dynamics under vector fields, and the multiscale characterization of neural network learning trajectories.

math.NA↗

Forward and backward error bounds for a mixed precision preconditioned conjugate gradient algorithm

The preconditioned conjugate gradient (PCG) algorithm is one of the most popular algorithms for solving large-scale linear systems $Ax = b$, where $A$ is a symmetric positive definite matrix. Rather than computing residuals directly, it updates the residual vectors recursively. Current analyses of the conjugate gradient (CG) algorithm in finite precision typically assume that the norm of the recursively updated residual goes orders of magnitude below the machine precision, focusing mainly on bounding the residual gap thereafter. This work introduces a framework for the PCG algorithm and provides rigorous proofs that the relative backward and forward errors of the computed results of PCG can reach the levels $O(u)$ and $O(u)κ(A)^{1/2}$, respectively, after a sufficient number of iterations without relying on an assumption concerning the norm of the recursively updated residual, where $u$ represents the unit roundoff and $κ(A)$ is the condition number of $A$. Our PCG framework further shows that applying preconditioners in low precision does not compromise the accuracy of the final results, provided that reasonable conditions are satisfied. Moreover, this framework introduces a new split PCG variant that improves upon the classical split PCG algorithm when the left preconditioner is applied in low precision. Our theoretical results are illustrated through a set of numerical experiments.

math.NA↗

A Semi-Discrete Optimal Transport Scheme for the Semi-Geostrophic Slice Compressible Model

We develop a semi-discrete optimal transport scheme for the compressible semi-geostrophic equations, a system that plays an important role in modelling large-scale atmospheric dynamics and frontogenesis. Unlike the incompressible case, the compressible equations involve variable density and internal energy, but can be recast into a variational framework that naturally couples the dynamics with an optimal transport formulation. This is done by a change to the so-called geostrophic coordinates, via a transformation inspired by the incompressible case. The discrete version of this variational formulation provides the basis for a numerical particle scheme. The implementation of this scheme presents considerable challenges, due to a non-quadratic cost function and parabolic $c$-Laguerre cells. To address these challenges, we use $c$-exponential charts to construct $c$-Laguerre tessellations efficiently, in which the cells become convex polygons. The time-continuous particle system conserves mass and energy, and the fully discrete scheme conserves them up to the time-discretisation error. We study the convergence of the scheme numerically, including a single-seed benchmark and error analysis. This work provides a significant new generalisation of existing semi-discrete optimal transport techniques, offering a robust and structure-preserving tool for simulating realistic atmospheric flows.

math.NA↗