Abstract
A matrix information-geometric method was developed to detect the change-points of rigid body motions. Note that the set of all rigid body motions is the special Euclidean group , so the Riemannian mean based on the Lie group structures of reflects the characteristics of change-points. Once a change-point occurs, the distance between the current point and the Riemannian mean of its neighbor points should be a local maximum. A gradient descent algorithm is proposed to calculate the Riemannian mean. Using the Baker–Campbell–Hausdorff formula, the first-order approximation of the Riemannian mean is taken as the initial value of the iterative procedure. The performance of our method was evaluated by numerical examples and manipulator experiments.
The research of capturing motion, including both rotational and translational information, has been investigated by many scholars [1,2,3,4,5,6]. Abrupt changes of time series often contain critically important information, hence the problem of discovering time points where changes occur, called change points. Moreover, if we are able to discover all the change points of a discrete time series, then the smooth motion trajectories between each adjacent change point can be obtained. The present paper focuses on change-point detection for a time series of elements in the rigid body motion group. This group is the special Euclidean group in , denoted by .
Most of the existing detection techniques apply only to scalar or vector time series [7,8,9,10,11]. Furthermore, some of these methods only discuss very simple models that cannot provide a suitable solution to deal with time series of elements in more complex structures [12,13]. For example, an efficient and robust means method was proposed in [12], but it was performed only by means of linear operations. It is well-known that does not satisfy closure under linear combination. Consequently, most of the statistical properties (e.g., the mean) cannot be properly estimated in a straightforward manner. Recently, Merckel and Nishida presented a means method that took advantage of the Lie group structure of [14], but their method was constrained by the condition that each displacement between two consecutive points and of a series in should be small enough. The means method has also been adapted by other scholars [12,15,16]. For example, to improve the detection performance of a mechanical scan radar system, Liu et al. [15] designed a detector based on the Riemannian geometry of Toeplitz covariance matrices. Arnaudon et al. [16] also used the Riemannian geometry of Toeplitz covariance matrices to develop a detection approach for high-resolution Doppler processing. In this paper, we use the means method that, once a change-point occurs, the distance between the current point and the Riemannian mean of its neighbor points should be a local maximum.
Classical information geometry is developed from the research of the statistical manifolds consisting of probability density functions, where the Fisher information matrix was first taken as a Riemannian metric by Rao [17]. Chentsov [18] introduced a family of affine connections and Efron [19] found the relationship between curvatures and statistical inference. Moreover, the theory of dual connections was investigated by Amari [20]. Thus, classical information geometry covers a range of random cases. In order to study non-random cases, Barbaresco, Nielsen, and Bhatia et al. introduced the concept of matrix information geometry, which is mainly used to study radar signal processing, manifold learning, optimization, system stability and optimization, image processing, and so on [21,22]. Especially, matrix Lie groups (including orthogonal group, unitary group, special symplectic group, special Euclidean group, etc.) and submanifolds of the general linear group (including positive definite matrix manifold, Stiefel manifold and Grassman manifold, etc.) have important applications in many fields. Here, the left-invariant (or right-invariant) metric is adopted as the Riemannian metric and the geodetic distance is used to define the distance function. Importantly, the geodesic can be expressed explicitly by exponential map and logarithmic map on manifold, which is very convenient for solving practical problems.
In this paper, a matrix information-geometric method is presented to detect change points, based on the differential-geometric structure of and not restricted by the above-mentioned condition in [14]. Note that the group is unclosed under linear combination, so we first define the Riemannian mean in view of the Lie group structure of . Then, a gradient descent algorithm is proposed to calculate the Riemannian mean. Based on the Baker–Campbell–Hausdorff formula, the first-order approximation of the Riemannian mean is taken as the initial value of the iterative procedure so that the algorithm converges rapidly. Simulations and experiments were run to show the computational behavior of the proposed method.
The paper is organized as follows: Section 1 briefly introduces the Riemannian framework of Riemannian manifolds and matrix Lie groups. In Section 2, our proposed change-point detection method is described based on the Lie group structures of . Section 3 reports the experimental results to demonstrate the effectiveness of our method.
1. A Survey of Some Geometrical Concepts
In this section, we give a brief overview of Riemannian manifolds and matrix Lie groups [23,24,25,26,27,28,29], which forms the foundation of our change-point detection method on .
1.1. Riemannian Manifolds
Let us denote a Riemannian manifold by . Its tangent space at point is denoted by . Given any pair of points , an inner product can be defined. Let be a sufficiently smooth curve on , then the length of is defined by
where tr denotes the trace of a matrix. The geodesic distance between two matrices X and Y on is the infimum of the lengths of all curves connecting them
which can be achieved by the length of geodesics connecting them.
Given a regular function , its Riemannian gradient in the direction of the vector measures the change rate of the function f in the direction V. Namely, for any smooth curve satisfying and , the Riemannian gradient is the unique vector in such that
1.2. Matrix Lie Groups
A group G is called a Lie group if it has differentiable structure, such that the group operators
are differentiable, . A matrix Lie group is a Lie group consisting of matrices. The tangent space of G at the identity is the Lie algebra , where the Lie bracket is defined.
It is essential that the information between G and is transmitted by exponential map and logarithmic map. The map from to G is the exponential map, denoted by exp. In most problems, the exponential map has the characteristics of neither injective nor surjective projection, but it is a homeomorphic mapping from a neighborhood of the identity to a neighborhood of the identity . On the other hand, there is a map from G to , called the logarithmic map, denoted by log, which is the local inverse of the exponential map.
It is well known that the exponential function has the property with real numbers a and b, but there is no such property in non-commutative Lie groups, such as the special orthogonal group. The product in logarithmic coordinates is defined as a mapping such that
where the Baker–Campbell–Hausdorff formula
represents the Taylor series for about the point .
The set of real matrices is denoted by and the set consisting of all invertible real matrices is called the general linear group, denoted by . Moreover, using the continuous map , is an open subset of and isomorphic to . Hence, is a differentiable manifold.
On , the group multiplication is defined as the matrix multiplication. Its inverse map is a matrix X on to its inverse matrix , and the identity element on is the identity matrix I. In addition, the Lie algebra of is with the Lie bracket as follows:
All other real matrix Lie groups are subgroups of . At the same time, their group operators are subgroup restriction of the one on . The Lie bracket on their Lie algebras is the matrix commutator.
Let S and represent a matrix Lie group and its Lie algebra, respectively. Then, the exponential map of is the exponential of the matrix. That is to say, if an element is given, the exponential map is as follows:
The definition of the logarithmic map is as follows:
where X belongs to a neighborhood of the identity I on S.
A matrix Lie group also has the geometric structure of manifolds. Let , the tangent space of S at X is denoted by . Then for any and , we have the following maps
where L and R respectively denote the left translation and the right translation, and represents the tangent mapping of •. The adjoint action is defined as
From (9) and (10), the following formula is easy to obtain:
Therefore, for and , we obtain the left invariant metric on S as follows:
1.3. Special Euclidean Group
Let denote the special orthogonal group acting on , then the special Euclidean group is represented as
It is well-known that the action of on is equivalent to a rotation with a translation, namely, the semi-direct product of with [30], as follows:
The Lie algebra of can be expressed by
The tangent space and the normal space associated with can be characterized as follows:
Notice that is connected, which means that for any given pair , we can find a geodesic
such that and , by taking the initial velocity as .
When , a matrix of represents a displacement of the rigid body, where A denotes the orientation or attitude and b corresponds to the translation. The skew-symmetric matrix in can be uniquely written as
with . Let denote the Frobenius norm, then expresses the amount of rotation corresponding to the identity vector along . Physically, stands for the angular velocity of the rigid body motion and v represents its linear velocity [31].
2. Proposed Method for Change-Point Detection
2.1. Design for Change-Point Detection Method
Let denote a time series. The detection procedure is formulated as follows: For each point under test, the Riemannian mean of the points from to is calculated. Here N is the window size and its value can be selected experimentally. Then, the Riemannian distance from to its Riemannian mean of can be obtained. If this distance is a local maximum, then is possibly a change point.
Substituting (18) into (1), the Riemannian distance between X and Y on , which arises from the left-invariant metric (12), is expressed as
Thus, for each point , the Riemannian mean of points from to is the point X minimizing
Then, our principle can be redescribed as that is found to possibly be a change point if is a local maximum of the Riemannian distances . As Figure 1 shows, whenever a change-point appears, the series displays a local maximum point.
Figure 1.
When a change-point occurs, the series displays a local maximum.
2.2. Method for Change-Point Detection
As previously discussed, this subsection proposes an algorithm to calculate the series so that all local maximum points may be sought out. Actually, Riemannian means in Lie group have been discussed well in [27,32]. Here these ideas are extended to propose an algorithm for calculating the Riemannian mean of a set of points on .
First, we need to compute the Riemannian gradient of the objective function to be optimized. In the definition of the Riemannian gradient (3), the generic smooth curve may be replaced with a geodesic, then we obtain the following theorem.
Theorem 1.
The Riemannian gradient of the objective functionat point X is given by
Proof.
Let denote the Riemannian exponential map about the point X, then the Riemannian gradient algorithm can be expressed as [23,24]:
From (16), the Riemannian exponential map on is defined by . By Theorem 1, the Riemannian gradient algorithm for calculating the Riemannian mean of points from to is rewritten as
According to (22), the Riemannian mean is the stable point of Algorithm (26) if and only if
As algorithm (26) converges rapidly to the Riemannian mean , the first-order approximate value of is taken as the initial value of the iterative procedure. In fact, using the Baker–Campbell–Hausdorff formula (5) up to first-order terms, the Riemannian distance (20) between two points on can be approximated as follows:
Here the sum of squared approximate distances in (21) is minimized by the arithmetic mean of the logarithmic maps of the points in the neighborhood of , so the first-order approximation of the Riemannian mean is given by
To sum up, the algorithm for calculating the series , in which the first-order approximation of the Riemannian mean is taken the initial value, is presented as follows:
| Algorithm 1 Algorithm for calculating the series of geodesic distances |
| Inputs: Points on and window size N. Output: The approximation of the series . For Initialization: Set Main loop: . . . If is sufficiently small, the output is . Otherwise continue looping. Endfor. |
Geometrically, we left-multiply these points by , so that are moved to the vicinity of the identity. Although this algorithm is proposed to detect the change-points of rigid body motion on , we can extend it to similar problems on other matrix Lie groups, especially the subgroups of the general linear group.
3. Simulations
In this section, we are devoted to illustrating the effectiveness of Algorithm 1. First, the simulation of a cylinder motion is provided, and the effects of the window size N are analyzed for the results of the change-point detection. Secondly, the change-point detection experiment is presented, which was carried out using a STAUBERT TX90XL manipulator (Staubli, Faverges, France). Change points of the manipulator’s motion were identified in order to reduce its speed near the change points, so that the manipulator could move smoothly.
3.1. Change-Point Detection for the Motion of a Cylinder
Consider a cylinder’s synthetic motion , where six change points happen at moments 21, 51, 96, 121, 141, and 156. In Figure 2a, the blue cylinders represent the found change points, with a visual representation of this cylinder at every two poses of the corresponding position .
Figure 2.
(a) Blue cylinders denote identified change-points; (b) Detection results with different window sizes.
The proposed Algorithm 1 was applied to calculate the series with different window sizes . As Figure 2b shows, a visual representation of the series is given by four-color simulation curves. Six local maxima were present at indices 21, 51, 96, 121, 141, and 156, so the simulation coincided with the practical motion of the cylinder extremity. Moreover, it can be observed that when the window size , the sixth change-point was missed. Therefore, the window size should not be greater than the difference between the corresponding moments of two adjacent change-points.
3.2. Change-Point Detection for the Motion of the STAUBERT TX90XL Manipulator
The STAUBLI manipulator has high motion accuracy and protection level, which is suitable for welding or ultrasonic non-destructive testing. In our experiment, a STAUBLI TX90XL manipulator is used to scan the surface of a rectangular workpiece with rounded corners, as shown in Figure 3a. The motion trajectory contained 2400 points with 1 mm equal arc length interval, and the tip-position of the flexible manipulator needed to scan back and forth across the rounded rectangular workpiece. Our provided method was used to find the change points, as shown in Figure 3b. After identifying those change points, it was convenient and necessary to reduce the speed of the manipulator at each change-point from 60 mm/s to 30 mm/s, so that a smooth movement could be maintained.
Figure 3.
(a) Scanning on the surface of a rectangular workpiece with rounded corners by a STAUBLI TX90XL manipulator; (b) Change points of the motion trajectory.
In the practical experiments, each joint velocity was measured based on the data given by each motor encoder. Figure 4 shows a comparison of the original velocity without change-point detection to the corrected velocity for each joint axis. It can be seen that the peak velocity after change-point detection and calibration was significantly reduced. The maximum velocities of joints 2–3 and 5–6 decreased by more than 40%. This application had good performance in smooth transition and stable operation for the manipulator’s control.
Figure 4.
Comparison of the original velocity without change-point detection to the correction velocity for each joint axis.
4. Conclusions
In this paper, we propose a change-point detection method in the view of matrix information geometry. Using the Lie group structure of , a gradient descent algorithm is proposed to calculate the Riemannian mean. Based on the Baker–Campbell–Hausdorff formula, the first-order approximation of the Riemannian mean is taken as the initial value so that the iterative procedure can converge rapidly. The numerical example indicates that the provided method can identify these change points with significant posture changes in the rigid body motion. An experiment was also carried out on the motion control of the manipulator. By identifying the change points and reducing the speed of neighbor points, the sharp velocity change of each manipulator joint could be effectively improved, and a smooth transition could be maintained.
Author Contributions
Investigation, X.D.; Methodology, X.D. and H.S.; Software, X.Z.; Writing—original draft, X.D.; Writing—review and editing, X.D., H.S., and X.Z.
Acknowledgments
The present research is supported by the National Natural Science Foundation of China (No. 61401058, No. 61179031), the National Science and Technology Major Project of China (No. 2016YFF0203001-2), and the Natural Science Foundation of Liaoning Province (No. 20180550112).
Conflicts of Interest
The authors declare no conflict of interest.
References
- Cabrieto, J.; Tuerlinckx, F.; Kuppens, P.; Wilhelm, F.H.; Liedlgruber, M.; Ceulemans, E. Capturing correlation changes by applying kernel change point detection on the running correlations. Inf. Sci. 2018, 447, 117–139. [Google Scholar] [CrossRef]
- Pullen, K.; Bregler, C. Motion capture assisted animation: Texturing and synthesis. ACM Trans. Graph. 2002, 21, 501–508. [Google Scholar]
- Müller, B.; Ilg, W.; Giese, M.A.; Ludolphet, N. Validation of enhanced Kinect sensor based motion capturing for gait assessment. PLoS ONE 2017, 12, 0175813. [Google Scholar]
- Chan, J.C.P.; Leung, H.; Tang, J.K.T.; Komura, T. A virtual reality dance training system using motion capture technology. IEEE Trans. Learn. Technol. 2011, 4, 187–195. [Google Scholar] [CrossRef]
- Barbič, J.; Safonova, A.; Pan, J.-Y.; Faloutsos, C.; Hodgins, J.K.; Pollard, N.S. Segmenting motion capture data into distinct behaviors. Graph. Interface 2004, 2004, 185–194. [Google Scholar]
- Moeslund, T.B.; Hilton, A.; Krüger, V. A survey of advances in vision-based human motion capture and analysis. Comput. Vis. Image Underst. 2006, 104, 90–126. [Google Scholar] [CrossRef]
- Kawahara, Y.; Yairi, T.; Machida, K. Change-point detection in time-series data based on subspace identification. In Proceedings of the Seventh IEEE International Conference on Data Mining (ICDM 2007), Omaha, NE, USA, 28–31 October 2007; pp. 559–564. [Google Scholar]
- Fasola, S.; Muggeo, V.M.R.; Küchenhoff, H. A heuristic, iterative algorithm for change-point detection in abrupt change models. Comput. Stat. 2018, 33, 1–19. [Google Scholar] [CrossRef]
- Liu, S.; Yamada, M.; Collier, N.; Sugiyama, M. Change-point detection in time-series data by relative density-ratio estimation. Neural Netw. 2013, 43, 72–83. [Google Scholar] [CrossRef] [PubMed]
- Pillow, J.W.; Ahmadian, Y.; Paninski, L. Model-based decoding, information estimation, and change-point detection techniques for multineuron spike trains. Neural Comput. 2011, 23, 1–45. [Google Scholar] [CrossRef] [PubMed]
- Goldberg, Y.; Pollak, M.; Mitelpunkt, A.; Orlovsky, M.; Weiss-Meilik, A.; Gorfine, M. Change-point detection for infinite horizon dynamic treatment regimes. Stat. Methods Med. Res. 2017, 26, 1590–1604. [Google Scholar] [CrossRef]
- Agarwal, M.; Gupta, M.; Mann, V.; Sachindran, N.; Anerousis, N.; Mummert, L. Problem determination in enterprise middleware systems using change point correlation of time series data. In Proceedings of the 2006 IEEE/IFIP Network Operations and Management Symposium NOMS 2006, Vancouver, BC, Canada, 3–7 April 2006; pp. 471–482. [Google Scholar]
- Basseville, M.; Nikiforov, I.V. Detection of Abrupt Changes-Theory and Application; Prentice-Hall, Inc.: Englewood Cliffs, NJ, USA, 1993. [Google Scholar]
- Merckel, L.; Nishida, T. Change-Point detection on the Lie group SE(3). Commun. Comput. Inf. Sci. 2010, 229, 230–245. [Google Scholar]
- Liu, J.-K.; Wang, X.; Wang, T.; Qu, L.-H. Application of information geometry to target detection for pulsed doppler Radar. J. Natl. Univ. Def. Technol. 2011, 33, 77–80. [Google Scholar]
- Arnaudon, M.; Barbaresco, F.; Yang, L. Riemannian medians and means with applications to Radar signal processing. IEEE J. Sel. Top. Signal Process. 2013, 7, 595–604. [Google Scholar] [CrossRef]
- Rao, C.R. Information and accuracy attainable in the estimation of statistical parameters. Bull. Calcutta Math. Soc. 1945, 37, 81–91. [Google Scholar]
- Chentsov, N.N. Statistical Decision Rules and Optimal Inference (in Russian, Nauka, Moscow, 1972); AMS: Providence, RI, USA, 1982. [Google Scholar]
- Efron, B. Defining the curvature of a statistical problem (with applications to second order efficiency) (with discussion). Ann. Statist. 1975, 3, 1189–1242. [Google Scholar] [CrossRef]
- Amari, S. Differential Geometrical Methods in Statistics; Springer: Berlin, Germany, 1990. [Google Scholar]
- Nielsen, F.; Bhatia, R. Matrix Information Geometry; Springer: Berlin, Germany, 2013. [Google Scholar]
- Sun, H.F.; Zhang, Z.N.; Peng, L.Y.; Duan, X.M. An Elementary Introduction to Information Geometry; Science Press: Beijing, China, 2016. [Google Scholar]
- Udriste, C. Convex Functions and Optimization Methods on Riemannian Manifolds; Kluwer: Dordrecht, Germany, 1994. [Google Scholar]
- Carmo, M.P.D. Riemannian Geometry; Springer: Berlin, Germany, 1992. [Google Scholar]
- Kirillov, A. An Introduction to Lie Groups and Lie Algebras; Cambridge University Press: Cambridge, UK, 2008. [Google Scholar]
- Chen, W.; Li, X. An Introduction to Riemannian Geometry; Peking University Press: Beijing, China, 2002. [Google Scholar]
- Duan, X.M.; Sun, H.F.; Peng, L.Y. Riemannian means on special Euclidean group and unipotent matrices group. Sci. World J. 2013, 2013, 292787. [Google Scholar] [CrossRef] [PubMed]
- Andruchow, E.; Larotonda, G.; Recht, L.; Varela, A. The left invariant metric in the general linear group. J. Geom. Phys. 2014, 86, 241–257. [Google Scholar] [CrossRef]
- Newman, M.; So, W.; Thompson, R.C. Convergence domains for the Campbell–Baker–Hausdorff formula. Linear Algebra Appl. 1989, 24, 30–310. [Google Scholar] [CrossRef]
- Selig, J.M. Geometric Fundamentals of Robotics; Springer: New York, NY, USA, 2005. [Google Scholar]
- Zefran, M.; Kumar, V.; Croke, C.B. On the generation of smooth three-dimensional rigid body motions. IEEE Trans. Robot. Autom. 1998, 14, 576–589. [Google Scholar] [CrossRef]
- Moakher, M. Means and averaging in the group of rotations. SIAM J. Matrix Anal. Appl. 2002, 24, 1–16. [Google Scholar] [CrossRef]
- Moakher, M. A differential geometric approach to the geometric mean of symmetric positive-definite matrices. SIAM J. Matrix Anal. Appl. 2005, 26, 735–747. [Google Scholar] [CrossRef]
© 2019 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).



