Skip to content
NewA calmer, faster ZeroHour

TorchCurves treats parametric curves as learnable PyTorch primitives

Original title: TorchCurves: Differentiable Parametric Curves

Hugging Face daily papersby Alex Shtoff ()1 min read
Part of a story covered by 2 sourcesResearchers release TorchCurves for differentiable parametric curvesMerged summary & timeline
AI summary · x-ai/grok-4.7Summaries by Vani AI

The library maps scalar batches to B-spline or Legendre curves and differentiates through inputs and coefficients.

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, with differentiation through both inputs and coefficients. Coefficients can be optimized with a surrounding model or produced by another network. Timing tests compare curve evaluation with NumPy and SciPy and KAN training with EfficientKAN. The code is on GitHub.

Key facts
  • Trainable modules, reusable basis modules, and a functional interface are included.
  • Uses include continuous embeddings, Kolmogorov-Arnold networks, and functional regression.
  • Implementation uses classical evaluation plus vectorized PyTorch, without custom kernels.
  • Overhead is practical for some sizes and substantial for others.
  • Code is at github.com/alexshtf/torchcurves.
Explain this AI news with Vani AIWhat was announced, what is new and why it matters, in a new chat

From the original article

1 min read at huggingface.co

We present TorchCurves, a PyTorch library that treats vector-valued parametric curves as learnable primitives. Its central operation maps batches of scalar inputs to points on curves represented in B-spline or Legendre polynomial bases, with differentiation through both inputs and coefficients. Curve coefficients can be optimized jointly with the surrounding model or produced by another network.

Hugging Face daily papers

By Alex Shtoff · huggingface.co

Read the full article at Hugging Face daily papers

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.