LGFeb 27

pathsig: A GPU-Accelerated Library for Truncated and Projected Path Signatures

Tobias Nygaard
arXiv:2602.24066v1
Originality Incremental advance
AI Analysis

This work addresses a bottleneck for researchers and practitioners using path signatures in machine learning, offering a significant performance improvement but is incremental as it builds on existing methods.

The paper tackles the scalability limitations of existing path signature libraries for large-scale gradient-based learning by introducing pathsig, a GPU-accelerated library that achieves 10-30x speedups for truncated signature computation and up to 4-10x speedups in training with backpropagation.

Path signatures provide a rich representation of sequential data, with strong theoretical guarantees and good performance in a variety of machine-learning tasks. While signatures have progressed from fixed feature extractors to trainable components of machine-learning models, existing libraries often lack the required scalability for large-scale, gradient-based learning. To address this gap, this paper introduces pathsig, a PyTorch-native library that computes path signatures directly in the word basis. By using CUDA kernels to update signature coefficients in parallel over prefix-closed word sets, pathsig achieves high GPU throughput and near-minimal peak memory. Compared with other libraries, pathsig achieves 10-30x speedups for computation of truncated signatures and up to 4-10x speedups in training that require backpropagation through the signature. Beyond regular truncation, pathsig supports projections of the (infinite-dimensional) signature onto user-specified sets of words and anisotropic truncation motivated by inhomogeneous path regularity, enabling more compact representations that can reduce dimensionality, redundancy, and computational cost.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes