Researchers release TorchCurves for differentiable parametric curves
First merged summary.
TorchCurves, a PyTorch library for learnable B-spline and Legendre curves, is available on GitHub.
Researchers present TorchCurves, a PyTorch library that treats vector-valued parametric curves as learnable primitives. Its core operation maps batches of scalar inputs to points on B-spline or Legendre polynomial curves and differentiates through both inputs and coefficients. Coefficients can be optimized with a surrounding model or produced by another network. The library offers trainable modules, reusable basis modules, and a functional interface for continuous embeddings, Kolmogorov-Arnold networks, and functional regression. Timing tests compare curve evaluation with NumPy and SciPy and KAN training with EfficientKAN; the authors say overhead is practical for some sizes and substantial for others. Code is on GitHub.
- Maps scalar batches to B-spline or Legendre polynomial curves.
- Gradients flow through both inputs and curve coefficients.
- Uses classical evaluation and vectorized PyTorch, without custom kernels.
- Authors report practical cost for some sizes and high cost for others.
- Code is published at github.com/alexshtf/torchcurves.
Timeline
dated events in the reporting · oldest first- Nov 9, 2026Hugging Face daily papers lists TorchCurves. · Hugging Face daily papers
- Nov 10, 2026TorchCurves paper appears on arXiv. · arXiv
What each outlet adds
beyond the shared facts- Hugging Face daily papersLists interfaces, use cases, and the GitHub path.
- arXivAttributes the mixed cost finding to the authors.
- Products
- TorchCurvesPyTorch
Coverage
oldest first · one row per article · UTCTorchCurves treats parametric curves as learnable PyTorch primitives
The library maps scalar batches to B-spline or Legendre curves and differentiates through inputs and coefficients.
TorchCurves adds differentiable B-spline and Legendre curves to PyTorch
Coefficients can train with a surrounding model, with timings against NumPy, SciPy and EfficientKAN.