Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2024 Feb 28;19(2):e0294046.
doi: 10.1371/journal.pone.0294046. eCollection 2024.

Tracing curves in the plane: Geometric-invariant learning from human demonstrations

Affiliations

Tracing curves in the plane: Geometric-invariant learning from human demonstrations

Sri Harsha Turlapati et al. PLoS One. .

Abstract

The empirical laws governing human-curvilinear movements have been studied using various relationships, including minimum jerk, the 2/3 power law, and the piecewise power law. These laws quantify the speed-curvature relationships of human movements during curve tracing using critical speed and curvature as regressors. In this work, we provide a reservoir computing-based framework that can learn and reproduce human-like movements. Specifically, the geometric invariance of the observations, i.e., lateral distance from the closest point on the curve, instantaneous velocity, and curvature, when viewed from the moving frame of reference, are exploited to train the reservoir system. The artificially produced movements are evaluated using the power law to assess whether they are indistinguishable from their human counterparts. The generalisation capabilities of the trained reservoir to curves that have not been used during training are also shown.

PubMed Disclaimer

Conflict of interest statement

One of the authors (DC) holds equity positions in ARTICARES Pte. Ltd., a company that manufactures robotic devices for rehabilitation similar to the device used in this study. This does not alter our adherence to PLOS ONE policies on sharing data and materials.

Figures

Fig 1
Fig 1. Points on a curve extremizing the distance to a point r.
When these points are interior, the tangent at those points is always perpendicular to the segment joining r to the point itself.
Fig 2
Fig 2. Self-looped configurations of a trained ELM to forecast discrete-time dynamical systems.
Note that Δt in a discrete-time experiment corresponds to the sampling rate.
Fig 3
Fig 3
(a) The figure of eight was provided as the reference curve to the subjects to perform tracing demonstrations on and the training data for the ELM was prepared by selecting the data-points where the speed was non-zero. (b) Omitted regions with the curvature close to zero are marked in green.
Fig 4
Fig 4
S1 tracing data for the figure of eight (the reference curve geometry) showing (a) speed v, (b) curvature κ, (c) Euclidean reparameterisation of tracing data tp* to yield the pairs {rt, c(p*)} satisfying (11), and (d) the piecewise linear power law estimated for S1 tracing data {rt}, yielding critical speed vcreal and curvature κcreal.
Fig 5
Fig 5. Self-looping ELM: Generalisation of the tracing task is based on the observation set zt constituting of the signed error evaluated at the current point with respect to the reference geometry c(p*) after the reparameterisation step is done, the Euclidean curvature in moving frame μ′ and the parameter p*—the same structure as the training set data {z˜t} (Eq 19).
The trained ELM predicts the moving frame velocity r˙t that the tracing task requires at time t. The instantaneous spatial frame position of the tracing task is updated to rt+ 1 with an additional force field α(c(p*) − rt) imposed to ensure stability, where α = 0.05 was heuristically chosen.
Fig 6
Fig 6
(a) The ELM self-looping behavior may be observed as going slow at the corners and picking up speed along the straighter segments, plotted against the reference curve geometry and the ELM-induced velocity field around the reference geometry. (b) Piece-wise power law evaluated for ELM data. (c) Comparison of the ELM performance with the human demonstration data based on the piecewise power law.
Fig 7
Fig 7
Tracing performance of ELM trained using demonstration data from S1 on (a) Affine transformed figure of eight, (b) Affine transformed cloverleaves, (c) Ellipse and (d) Spiral.
Fig 8
Fig 8. Standard choices of clustering techniques fail to separate the human and ELM-generated power-laws.
Fig 9
Fig 9. The importance of geometric invariance is demonstrated by the ELM’s failure to generalize even for the same curve, just described with a different speed.
In (a)-(b), the ELM trained using css, successfully traces the figure of eight even at different reparameterisations of n = {1, 2} (see Eq 22). However, in the non-invariant ELM (which was trained using cpp), in (c)-(d), the generalisation performance declines.

Similar articles

References

    1. Mündermann Lars, Corazza Stefano, and Andriacchi Thomas P. “The evolution of methods for the capture of human movement leading to markerless motion capture for biomechanical applications.” Journal of neuroengineering and rehabilitation 3, no. 1 (2006): 1–11. doi: 10.1186/1743-0003-3-6 - DOI - PMC - PubMed
    1. Ajemian Robert, and Hogan Neville. “Experimenting with theoretical motor neuroscience.” Journal of motor behavior 42, no. 6 (2010): 333–342. doi: 10.1080/00222895.2010.529332 - DOI - PubMed
    1. Rosenbaum David A. Human motor control. Academic press, 2009.
    1. Shadmehr Reza, and Mussa-Ivaldi Sandro. Biological learning and control: how the brain builds representations, predicts events, and makes decisions. Mit Press, 2012.
    1. Morasso Pietro. “Spatial control of arm movements.” Experimental brain research 42, no. 2 (1981): 223–227. doi: 10.1007/BF00236911 - DOI - PubMed