TorchCurves Adds Differentiable Parametric Curves to PyTorch
Alex Shtoff introduced TorchCurves, a PyTorch library that treats vector-valued parametric curves as learnable primitives. It maps batches of scalar inputs to B-spline or Legendre polynomial curves, supports differentiation through inputs and coefficients, and lets coefficients be optimized jointly or generated by another network. The paper also reports timing comparisons with NumPy, SciPy, and EfficientKAN, noting cases where the approach remains practical and where overhead is substantial.
TorchCurves provides a reusable implementation of differentiable curve primitives for continuous feature embeddings, Kolmogorov-Arnold networks, and functional regression.
Computer Science > Machine Learning
arXiv:2611.14516 (cs)
[Submitted on 10 Nov 2026]
Title:TorchCurves: Differentiable Parametric Curves
Authors:Alex Shtoff
View a PDF of the paper titled TorchCurves: Differentiable Parametric Curves, by Alex Shtoff