pathsig: 一种用于截断和投影路径签名的GPU加速库
pathsig: A GPU-Accelerated Library for Truncated and Projected Path Signatures
AI总结:
pathsig是一种基于GPU加速的库,用于高效计算路径签名,支持截断、投影和各向异性截断,提升大规模机器学习任务的性能。
摘要:
路径签名提供了一种丰富的序列数据表示,具有较强的理论保证,并在多种机器学习任务中表现出良好的性能。尽管签名从固定的特征提取器发展为机器学习模型中的可训练组件,但现有库往往缺乏对大规模、基于梯度的学习所需的可扩展性。为解决这一差距,本文介绍了pathsig,一个原生支持PyTorch的库,可以直接在词基上计算路径签名。通过使用CUDA内核并行更新签名系数,遍历闭合词集,pathsig实现了高GPU吞吐量和接近最小的峰值内存。与其它库相比,pathsig在计算截断签名时实现了10-30倍的加速,在需要通过签名进行反向传播的训练中实现了4-10倍的加速。除了常规截断外,pathsig还支持将无限维的签名投影到用户指定的词集上,并支持由非均匀路径规律激发的各向异性截断,从而实现更紧凑的表示,可减少维度、冗余和计算成本。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。