Open Source
TorchCurves: Differentiable Parametric Curves
arXiv stat.ML0 views
arXiv:2611.14516v1 Announce Type: cross Abstract: 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. The library provides trainable modules, reusable basis modules, and a functional interface, supporting applications ranging from continuous feature embeddings to Kolmogorov-Arnold networks and functional regression. Its implementation combines classical evaluation algorithms with vectorized PyTorch operations, emphasizing readability and maintainability without custom hardware kernels. Timing experiments compare curve evaluation against NumPy and SciPy and KAN training against EfficientKAN across a range of problem sizes. The results illustrate where this generality remains computationally practical and where overhead is substantial. Library is available on GitHub at https://github.com/alexshtf/torchcurves.
Source:https://arxiv.org/abs/2611.14516PreviousA Theory of Policy Optimization in Post-Training: Coverage Collapse and Reference ResetsNextLow-degree lower bounds via almost orthonormal bases
Related posts
MRFoundry: Knowledge-guided agent loops for end-to-end MRI research
0arXiv eess.IV
Linear-size graphs at every strict dismantling level
0arXiv cs.GR
Free DESIGN.md Files for AI Coding Agents – 1,928 Design Systems You Can Use
0dev.to OpenSource
Qwen Code 1.0 Is Here — and It's Not Just a CLI Anymore
0dev.to OpenSource
Hoki: Hoki: a waving Chinese lucky cat (招财猫). Windows app with a live 3D desktop cat that follows your mouse, offline…
0dev.to OpenSource
Meet RustChrome — a lightweight, privacy-first browser written in Rust.
0dev.to Rust