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
Show HN: TrueDate – Filter searches to pre-2023 and detect fake article dates
0Hacker News Show
Show HN: A DOCX editing library inspired by Rosyln's syntax trees
0Hacker News Show

OrbStack needs a licence for work, so I tuned Colima itself
0dev.to

SpaceX Just Attempted the Impossible: Catching a Rocket in Mid-Air
0dev.to News

Three And A Half Months, Then One Week
0dev.to Testing
Workspace memory for larkos
0dev.to Programming