arXiv:2610.08650cs.ROOct 2026

Manuscript Offprint

arXiv:2610.08650

Fast Non-Parametric Heteroscedastic Imitation Learning With Geometric Priors

Maximilian Mühlbauer, Arne Sachtler, Markus Knauer, Cem Küçükgenç, Yanlong Huang, Alin Albu-Schäffer, João Silvério

Maximilian Mühlbauer1,2^{1,2}, Arne Sachtler1,2^{1,2}, Markus Knauer2,1^{2,1}, Cem Küçükgenç1,2^{1,2}, Yanlong Huang3^{3}, Alin Albu-Schäffer2,1^{2,1}, João Silvério2^{2}

Abstract—When learning probabilistic policies from human demonstrations, data-efficient learning and fast adaptations to new scenarios are key requirements. One popular way to achieve intuitive and reliable adaptations is through non-parametric, typically kernel-based, methods. However, existing solutions either fail to account for the geometry of manifolds common in robotics, limiting data efficiency, or, when geometry-aware, provide unreliable uncertainty estimates or require retraining to adapt. We propose a non-parametric approach leveraging geometric priors in scenarios of data scarcity and heteroscedastic uncertainties for probabilistic modeling. We utilize the method to formulate policies based on time or robot state, where non-separable diagonal kernels allow capturing uncertainty relations between degrees of freedom for same-sized in- and outputs. Fast updates, requiring less than 3 ms for a trajectory involving both position and orientation are possible through an optimized formulation. Our approach supports both manifold-valued input and manifold-valued output with large orientation changes. Using task parameterization, adaptation to different object poses is easily possible. We evaluate the approach on a set of toy examples and on real robot manipulation tasks both in autonomous execution and in shared control scenarios.

Index Terms—Human-Robot Interaction, Imitation Learning, Uncertainty Quantification, Task and Motion Planning

I. INTRODUCTION

Probabilistic representations of movement primitives are key in applications with requirements in robustness and safety guarantees, as for example in space robotics [1], underwater robotics [2] or healthcare assistance [3]. Parametric approaches such as Gaussian Mixture Models (GMMs) [4, 5] provide an aleatoric (inherent to the data) uncertainty estimate while non-parametric approaches like Gaussian Processes (GPs) [6] provide epistemic (lack of data) uncertainty [7]. Kernelized Movement Primitives (KMPs) [8] and their extensions [9, 10] have shown remarkable qualities regarding modeling capability and adaptability, while in parallel providing both uncertainty estimates. Both uncertainty types are required in applications – the epistemic uncertainty estimate can, e.g., be used to render the robot compliant when unsure about its actions [11] while the aleatoric uncertainty helps to compute control gains encoding task variability [12]. Heteroscedasticity allows our method to model different uncertainties for different phases of a task, which is a key requirement in policy arbitration [13, 12]. KMPs have already been applied to a range of

Riemannian Kernelized Movement Primitives

III-A

Figure

Fig. 1: Overview of our contributions. In Section III we leverage Riemannian geometry to learn, adapt and task-parameterize demonstrated movement primitives including both aleatoric and epistemic uncertainties. Section IV further extends the framework to DoF-dependent uncertainties. Finally, Section V improves the efficiency of the required computations.

learning problems, such as manufacturing tasks [11], in space applications [1] or to guide reinforcement learning [14].

Currently, these approaches are however only designed for Euclidean [8, 10] or single tangent space (STS) [9], linearizing curved manifolds at one point, thus inducing distortions [15] and not allowing to incorporate prior geometric knowledge. In contrast, approaches for multiple tangent spaces as already developed for GMMs [4] induce much less distortion through the utilization of multiple linearization points. A notable exception for KMPs is developed in [16] fusing multiple STS KMPs [9] on multiple tangent spaces on SO(3), at the cost, however, of an intricate formulation and a lack of generalizability to other geometries. Additionally, each of the STS KMPs still suffers from issues resulting from using a single linearization point. Conversely, Lopez-Custodio et al. [17] developed a kernel-based, on-manifold approach which, however, uses different distributions per manifold which are hard to join in product manifolds and computationally slow. This approach also only outputs aleatoric uncertainty, neglecting epistemic uncertainty which is fundamental in many imitation learning problems. Our solution (Fig. 1) combines the advantages of the aforementioned methods, namely fast predictions with aleatoric and epistemic uncertainty. On selected manifolds such as SO(3), we achieve global validity through the double-coverage by S3S^{3}. Using the Riemannian Gaussian distribution [4, 5], no discrete linearization points are required, removing the covariance distortions caused by STS methods (Section III).

Moreover, currently available kernel-based methods, using separable kernels, can only predict scalar-valued epistemic uncertainties as also seen in the decomposition in [11]. Recently, matrix-valued kernels have become available [18, 19] which allow for encoding correlations for same-sized inputs

1^{1} Department of Computer Engineering, Technical University of Munich, Friedrich-Ludwig-Bauer-Str. 3, Garching, Germany.

2^{2} German Aerospace Center (DLR), Robotics and Mechatronics Center (RMC), Münchener Str. 20, 82234 Weßling, Germany.

3^{3} School of Computer Science, University of Leeds, Leeds, UK.

Figure

(a) M1:R3×SO(3).\mathcal{M}_1: \mathbb{R}^3 \times \mathrm{SO}(3).

Figure

(b) M2:S1×R2×SO(3).\mathcal{M}_2: \mathcal{S}^1 \times \mathbb{R}^2 \times \mathrm{SO}(3).

Figure

(c) M3:S2×R1×SO(3).\mathcal{M}_3: \mathcal{S}^2 \times \mathbb{R}^1 \times \mathrm{SO}(3).

Fig. 2: Manifolds used in this work, proposed by [21]. Cylindrical ( M2M_2) or spherical ( M3M_3) coordinates allow expressing some tasks more data-efficient compared to Cartesian ( M1M_1) coordinates. Coordinate systems in each image depict the unit quaternion (0,0,0,1)⊤(0, 0, 0, 1)^\top for different positions on the manifold.

and outputs. As a large step in the direction of such kernels, we leverage diagonal kernels to improve the learning of state-based Dynamical Systems (DSs) (Section IV).

Finally, as in any non-parametric method, runtime in KMPs is a function of the number of data points and in general slower than for parametric methods. Especially adding or removing points is computationally expensive, requiring the inversion of a large matrix. Wang et al. [20] recently proposed a method for avoiding to recalculate the whole inverse. Similar to GPs [6], we leverage the Cholesky decomposition, significantly improving runtime over both vanilla KMP and [20] while keeping flexibility in adding and removing points (Section V).

In summary, the key contributions of our work are:

  1. A Riemannian formulation of a non-parametric approach to imitation learning [8] providing both aleatoric and epistemic heteroscedastic uncertainties (Section III-A);

  2. The Riemannian derivation of two adaptation schemes for different requirements based on via points [8] as well as on a soft null space projector [10] (Section III-B);

  3. Task-parameterization of the method on different charts [21] on SE(3) (Section III-C);

  4. The integration of non-separable matrix-valued kernels in the approach to allow for the prediction of a matrix-valued epistemic uncertainty (Section IV-B);

  5. Computational improvements allowing for fast prediction and adaptation in several geometries commonly used in robotics problems (Section V).

At the end of Sections III to V we provide toy examples evaluating the key contributions in simplified scenarios. Furthermore, we have implemented both time-based policies and their modification as well as state-based DSs on a torque-controlled robot (Section VI). Section II covers background. We discuss results in Section VII and conclude in Section VIII.

References (41)