arXiv:2610.42027eess.SYOct 2026

Manuscript Offprint

arXiv:2610.42027

A Neural Network Approach towards Real-Time Knot Point Density Estimates for the Nonlinear Quadrotor

Jasmine Ratchford, Raffaele Romagnoli, Mark H. Klein

Jasmine Ratchford, Raffaele Romagnoli, and Mark H. Klein

Abstract—Spline representations provide a compact way to approximate continuous trajectories using a finite number of parameters. When approximating trajectories generated by dynamical systems, the efficiency of a spline representation depends strongly on the placement of knot points. Uniform knot distributions often lead to inefficient representations, requiring either unnecessary control points or producing poor approximations in regions where the trajectory varies rapidly.

In this work we propose a learning-based method for adaptive knot placement in B-spline approximations of trajectories generated by ordinary differential equations. A neural network learns a mapping from the initial condition of the system to quantities that characterize the local variation of the resulting trajectory. These estimates are used to construct nonuniform knot distributions that approximately equidistribute a local error indicator, reducing the number of control points needed to meet a prescribed accuracy. 1^{1}

I. INTRODUCTION

Modern autonomous systems such as unmanned aerial vehicles, robotic manipulators, and autonomous ground vehicles must predict the future evolution of their dynamics under strict computational constraints [1]–[3]. Fast and compact representations of system trajectories are required both for motion planning and for safety analysis [4]–[6]. Spline-based representations are widely used for this purpose because they provide smooth approximations described by a finite number of control points [7]. Splines are piecewise polynomial [8] defined over a sequence of knot points that partition the domain into intervals. On each interval the function is described by a polynomial segment, and smoothness conditions are imposed at the knots to ensure continuity of the function and its derivatives across adjacent segments.

B-splines provide a particularly convenient formulation [9]. The function is expressed as a linear combination of basis functions defined with respect to a knot vector, which specifies the sequence of knot locations and determines the support of each basis function. The coefficients associated with the basis functions are called control points, and their sequence forms the control polygon. This geometric structure provides a compact description of the spline and allows useful bounds on the approximation error to be derived from the relationship between the spline and its control polygon [10]. B-splines can also be directly employed as a parametric representation of the solution, enabling the approximation of differential equations within the spline space [11]–[13]. Despite these advantages, constructing efficient B-spline representations remains challenging [14], [15]. Often, trajectories are obtained by first solving the governing ordinary differential equation and only subsequently approximated using a B-spline. The efficiency of the representation depends strongly on the placement of knot points [15]–[17]. Uniformly spaced knots are commonly used in practice, but they often lead to inefficient representations: simple portions of a trajectory may require only a few control points, while regions where the trajectory varies rapidly may require a much higher density of knots.

Classical results in spline approximation theory relate the error between a spline and its control polygon to the spacing between knot points and to the curvature of the underlying function [10], [18]. These results motivate adapting the knot distribution to the local variation of the trajectory. In many dynamical systems the trajectory is uniquely determined by the initial condition together with the governing differential equation [19]. This observation suggests that information about the complexity of the resulting trajectory—and therefore about an appropriate knot distribution—may be inferred directly from the initial condition.

In this work we explore this idea by learning a mapping from the initial condition of the system to quantities that characterize the local variation of the resulting trajectory. These estimates are then used to determine knot placement for B-spline representations that approximate the solution of the differential equation with a prescribed accuracy. Importantly, the desired approximation tolerance can be specified at inference time, allowing the accuracy of the representation to be adjusted without retraining the model. We first review the spline approximation results that motivate adaptive knot placement and then present the proposed learning framework. We demonstrate that it produces efficient B-spline representations of dynamical trajectories using fewer control points than uniform knot placement while maintaining accuracy.

J. Ratchford conducted this work while with the Software Engineering Institute, Carnegie Mellon University, Pittsburgh, PA 15213, USA: jasmine.star.ma@gmail.com

R. Romagnoli is with the School of Science and Engineering, Duquesne University, Pittsburgh, PA 15213, USA: romagnolir@duq.edu

M. H. Klein is with the Software Engineering Institute, Carnegie Mellon University, Pittsburgh, PA 15235, USA: mk@sei.cmu.edu

1^{1}This work has been submitted to the IEEE for possible publication. Copyright may be transferred without notice, after which this version may no longer be accessible.