Repository navigation
pySigLib v4.2.0
Released: 2026-12-04
pySigLib v4.2.0 adds prefix-suffix algorithms for truncated signatures and selected signature coefficients on CPU and CUDA, including backpropagation. The algorithms are described in Shmelev and Salvi (2026). This release changes signature algorithm options and native entry points.
Shmelev, D. and Salvi, C. (2026). Matrix Factorisation Techniques for Path Signatures. arXiv:2612.06256.
Breaking changes
- The
hornerargument tosighas been removed. Usemethod="horner"to select Horner's algorithm,method="ps"to select prefix-suffix, ormethod="auto"for automatic selection. The new default is"auto".
Features
- Added prefix-suffix computation for truncated signatures and their gradients on CPU and CUDA, with support for time augmentation, lead-lag, and corrections. The NumPy, PyTorch, and JAX APIs expose the algorithm through
sig(..., method="ps"), and explicit backpropagation accepts the same method.method="auto"selects an algorithm separately for the forward and backward passes. - Added prefix-suffix computation and backpropagation for selected signature coefficients on CPU and CUDA.
sig_coefdefaults tomethod="ps"; passmethod="horner"to use Horner recursion. Both methods support PyTorch and JAX differentiation. Explicit prefix-suffix backpropagation accepts coefficients and derivatives for complete words as well as prefix coefficients.